Bug 95486 - CRASH - std::bad_alloc when starting Writer
Summary: CRASH - std::bad_alloc when starting Writer
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-01 06:13 UTC by Kami
Modified: 2015-11-04 18:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
std::bad_alloc error window (8.09 KB, image/png)
2015-11-01 06:13 UTC, Kami
Details
lowrite --backtrace (624 bytes, application/x-compressed-tar)
2015-11-01 20:07 UTC, Kami
Details
Memory before - error - after (1.52 KB, text/x-log)
2015-11-01 20:29 UTC, Kami
Details
Fonts-dpkg (5.82 KB, text/plain)
2015-11-01 20:58 UTC, Kami
Details
Font list / fc-list (30.01 KB, text/plain)
2015-11-01 20:59 UTC, Kami
Details
fonts list (3.37 KB, text/plain)
2015-11-01 21:07 UTC, Julien Nabet
Details
strace log (258.65 KB, application/x-compressed-tar)
2015-11-01 22:18 UTC, Kami
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kami 2015-11-01 06:13:30 UTC
Created attachment 120149 [details]
std::bad_alloc error window

Starting LibreOffice with Writer causes immediately crash on startup or std::bad_alloc error message then crash.

Linux Mint 17.2, 64 bit, Ubuntu 14.04 based
LibreOffice PPA package version: 1:5.0.3~rc2-0ubuntu1~trusty2
Comment 1 Julien Nabet 2015-11-01 18:10:34 UTC
For the test, could you rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux)
Comment 2 Kami 2015-11-01 19:54:24 UTC
I did it, but now I could not start at all. The message is same but I can reproduce at 100%.
Comment 3 Julien Nabet 2015-11-01 19:57:26 UTC
1) Would it be possible you retrieve a backtrace by following this link https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace ?
2) Do you reproduce this with earlier version (at least 5.0.2)?
Comment 4 Kami 2015-11-01 20:07:47 UTC
Created attachment 120174 [details]
lowrite --backtrace
Comment 5 Julien Nabet 2015-11-01 20:21:26 UTC
Badfully, there's no stack here.

Could you check the available memory during LibreOffice launching?
(eg: launch "top" on a first console, then launch LibreOffice on a second console, then monitor first console).
Comment 6 Kami 2015-11-01 20:29:47 UTC
Created attachment 120177 [details]
Memory before - error - after
Comment 7 Kami 2015-11-01 20:34:04 UTC
Yes I was able to reproduce 5.0.x series however I haven't reported it ;(

for the Python problem (  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>) I found this: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1473599
Comment 8 Julien Nabet 2015-11-01 20:41:50 UTC
Did you install any specific fonts? If yes, could you uninstall them and give a new try?
Also, what locale UI do you use?
Comment 9 Kami 2015-11-01 20:58:21 UTC
Created attachment 120179 [details]
Fonts-dpkg
Comment 10 Kami 2015-11-01 20:59:46 UTC
Created attachment 120181 [details]
Font list / fc-list
Comment 11 Kami 2015-11-01 21:01:30 UTC
LibreOffice 4.4.x, package 1:4.4.3~rc2-0ubuntu1~trusty1 works well.
Comment 12 Kami 2015-11-01 21:06:26 UTC
I am  using Hungarian.
Comment 13 Julien Nabet 2015-11-01 21:07:21 UTC
Created attachment 120182 [details]
fonts list

Fonts I've got.
Comment 14 Julien Nabet 2015-11-01 21:08:21 UTC
I don't know if it's linked to a specific font or if it's completely unrelated.
Since I don't have more questions, I put this one back to unconfirmed.
Comment 15 Kami 2015-11-01 21:15:25 UTC
Now I am installing dbg package of LibreOffice. I will come back after I got this installed.
Comment 16 Kami 2015-11-01 22:18:35 UTC
Created attachment 120183 [details]
strace log
Comment 17 Kami 2015-11-04 18:16:27 UTC
Updated to official upstream LibreOffice 5.0.3 and it is working.

Downstream bug has reported here:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1513172
Comment 18 Julien Nabet 2015-11-04 18:26:59 UTC
Thank you for your feedback, let's put this one to WFM.