Bug 82209 - CRASH - Selecting worksheet causes program to crash (HbLayoutEngine::layout->std::bad_alloc)
Summary: CRASH - Selecting worksheet causes program to crash (HbLayoutEngine::layout->...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Not Assigned
Whiteboard: BSA
Keywords: bibisectRequest, haveBacktrace, regression
Depends on:
Reported: 2014-08-05 21:14 UTC by James Murray
Modified: 2015-12-17 08:29 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

Example spreadsheet. Unsure what was used to create it, but it crashes LO 4.3. (51.00 KB, application/vnd.ms-excel)
2014-08-05 21:14 UTC, James Murray
gdbtrace.log (24.61 KB, text/x-log)
2014-08-06 04:48 UTC, ign_christian

Note You need to log in before you can comment on or make changes to this bug.
Description James Murray 2014-08-05 21:14:06 UTC
Created attachment 104105 [details]
Example spreadsheet. Unsure what was used to create it, but it crashes LO 4.3.

Problem description: 
Calc crashes immediately on switching worksheet.

Steps to reproduce:
1. Open Output-pins.xls
2. Click on 'Old manual' worksheet
3. * CRASH *

Current behavior:
Crash, every time.

Expected behavior:
Display worksheet. (Works ok on
Operating System: Ubuntu
Version: release
Last worked in: release
Comment 1 ign_christian 2014-08-06 04:31:46 UTC
Confirm crash with:
Build ID: ce65a47f6028879337e9e133053cc397b1b582bd
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:libreoffice-4-3, Time: 2014-07-30_10:54:10

Error message in pop up box before LO closed: std::bad_alloc

No crash with LO - Ubuntu 12.04 x86
Comment 2 ign_christian 2014-08-06 04:48:26 UTC
Created attachment 104122 [details]

Attached backtrace is output after running: $ ~/LibreOfficeDev_4. --backtrace

Hope it's sufficient
Comment 3 Xisco Faulí 2014-08-07 14:57:02 UTC
I can't reproduce it in master with Version:
Build ID: 58069f3676ab98b7383c11ff2fd1f17fa4522d77 under Ubuntu 14.04.1 LTS
Comment 4 Michael Zaugg 2014-08-15 07:40:51 UTC
I can confirm this problem on Ubuntu 12.04 and 14.04 with 1:4.3.0-0ubuntu1~trusty1 from the ppa.

The crash occurs also with a spreadsheet created in Calc with Version (can not attach the file publicly)
Comment 5 raal 2014-08-24 20:12:14 UTC
No crash with Version:
Build ID: 25459cb0c9afdf46c3d90ae8ba0b6ffb375f67da
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-3, Time: 2014-08-17_22:48:01
Comment 6 Caolán McNamara 2014-08-27 19:42:19 UTC
caolanm->ign_christian: Can you check again with latest x86 4.3.X daily to see if its still buggy on 32bit ?
Comment 7 ign_christian 2014-08-28 02:52:28 UTC
Caolán, I've checked in several days later until now no x86 deb packages for 4.2 and 4.3 in http://dev-builds.libreoffice.org/daily/

So I still can't test :(
Comment 8 ign_christian 2014-08-28 03:02:02 UTC
Still crash in LO - Ubuntu 12.04 x86

I forgot to tell, crash reproduced after selecting 'Old manual' worksheet then scrolling down.

No crash if only selecting 'Old manual' worksheet then selecting back '333b1 - by function'

So the crash is triggered by scrolling down in 'Old manual' worksheet
Comment 9 raal 2014-08-28 15:25:10 UTC
No crash after selecting 'Old manual' worksheet then scrolling down.

Build ID: 5c1b508b172f0047d86e1acde92239ebf3438251
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-3, Time: 2014-08-27_06:11:49
Comment 10 ign_christian 2014-08-28 16:15:56 UTC
(In reply to comment #9)
Ehm..I'll try asap while x86 daily from 4.3.2 available. Still don't believe if it's only repro in x86.
Comment 11 ign_christian 2014-08-29 14:39:37 UTC
Crash not reproduced anymore with:

Build ID: 266a9536b5abf4c36fed1785ae657da923bbbb8d
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:libreoffice-4-3, Time: 2014-08-29_03:57:12
Comment 12 Robinson Tryon (qubit) 2015-12-17 08:29:35 UTC
Migrating Whiteboard tags to Keywords: (bibisectRequest)