Problem description: When I use the "page preview" function to see how a document I'm working on will print, the preview takes a while to appear and CPU usage hangs out around 100%. Eventually, the preview will appear. When I close it, the preview window will disappear and then LibreOffice will crash. I've submitted several crash reports to Ubuntu via the Ubuntu built-in crash reporting mechanism. I'm running on Ubuntu 12.10 64-bit. Steps to reproduce: 1. Open or create a ODF document 2. Click the "page preview" button to preview the document 3. Close the preview window and Writer eventually crashes Current behavior: Writer crashes after doing a page preview. Expected behavior: Writer should not crash after doing a page preview. Operating System: Ubuntu Version: 3.6.2.2 release Last worked in: 3.5.4 release
Thanks for reporting! Can't reproduce this behavior. Is this reproducible for *every* document? To exclude this is a 'user profile'-error: is it possible for you to reset your profile? (guide = https://wiki.documentfoundation.org/UserProfile#Resetting_the_user_profile) I'll mark this bug as 'NEEDINFO' for the moment. Kind regards, Joren
(In reply to comment #1) > Can't reproduce this behavior. Is this reproducible for *every* document? Tested with LibreOffice Versie 4.0.0.2 .0.2 (Bouw-id: 408fe71bd18616c467b3dcd7ab6756528ffcae2); Dutch UI; Linux Mint 14 x64.
(In reply to comment #1) > Thanks for reporting! > > Can't reproduce this behavior. Is this reproducible for *every* document? > > To exclude this is a 'user profile'-error: is it possible for you to reset > your profile? (guide = > https://wiki.documentfoundation.org/UserProfile#Resetting_the_user_profile) > > I'll mark this bug as 'NEEDINFO' for the moment. > > Kind regards, > Joren Yes, this happens with every document I load. I renamed my user profile from "user" to "user-old", rebooted, and fired up LibreOffice Writer. I opened the last document I was editing and after I closed the preview window, Writer crashed. However, this time I was prompted to send a crash report. The Writer window just disappeared. Is there anything else I can do to gather info that might help identify why the crash is occurring? Thanks!
Tom: do you have lo-menubar installed? If yes could you uninstall it and give it a new try? Could you give a try to the last version 3.6.4? (you can find it here: https://launchpad.net/~libreoffice/+archive/ppa) If you still reproduce this, could you try to retrieve a bt by following this? (https://wiki.documentfoundation.org/BugReport#How_to_get_a_backtrace_.28on_Linux.29)
(In reply to comment #4) > Tom: do you have lo-menubar installed? If yes could you uninstall it and > give it a new try? > > Could you give a try to the last version 3.6.4? (you can find it here: > https://launchpad.net/~libreoffice/+archive/ppa) > > If you still reproduce this, could you try to retrieve a bt by following > this? > (https://wiki.documentfoundation.org/BugReport#How_to_get_a_backtrace_. > 28on_Linux.29) Thanks for the reply. I do not have the "lo-menubar" package installed. I upgraded to LibreOffice 3.6.4, using the PPA you mentioned, and was able to recreate the problem. Then, I installed the libreoffice-dbg package so I could generate the requested backtrace and the crash went away. When I run LibreOffice in gdb, the crash doesn't happen. When I run LibreOffice normally, outside of gdb, the crash doesn't happen. So, something got installed or updated when I installed the debug package that seems to have resolved the issue. :) Thanks!
Tom: thank you for your feedback. Quite weird the debug package which would prevent LO from crashing but Just for the test, could you uninstall the debug package and give a new try? If you reproduce this, try to get a backtrace (without debug package), it may give some hints.
Ok, I removed the libreoffice-dbg package and tried to recreate the problem. The first time I clicked "page preview", everything worked. I then clicked it a second time and after I closed the preview window, the main Writer window just disappeared. If I restart LibreOffice, I'll be prompted to recover the last document I had open. I ran this command *after* removing the libreoffice-dbg package: soffice --backtrace a gdbtrace.log file got created and I'll attach it to this report. Thanks for your help with this!
Created attachment 73943 [details] Requested gdbtrace.log
Tom: thank you for the feedback. I put it at NEW since there's a bt. Caolán: bt without symbols but showing something wrong in vcl. Weirdly with symbol package installed, no crash. one for you?
Without symbols I can't hazard a guess. But "I've submitted several crash reports to Ubuntu via the Ubuntu built-in crash reporting mechanism." suggests that there might be some backtrace info available through that route if you were prompted with a link for where those ended up. (of if bjoern can dig that info out for us)
it crashes in the "gio" library which happens to be used in the Ubuntu specific menu bar implementation. according to this log the lo-menubar package is just a transitional dummy in Ubuntu 12.10 and the menubar itself is in the GTK+ VCLplug: https://launchpad.net/ubuntu/+source/lo-menubar/+changelog you could try if the bug can be reproduced in a desktop _other_ than Unity or if you run it as: SAL_USE_VCLPLUGIN=gen soffice i'll pre-emptively assign it to Bjoern.
(In reply to comment #10) > Without symbols I can't hazard a guess. But "I've submitted several crash > reports to Ubuntu via the Ubuntu built-in crash reporting mechanism." > suggests that there might be some backtrace info available through that > route if you were prompted with a link for where those ended up. (of if > bjoern can dig that info out for us) When I stated that, I was referring to Ubuntu displaying a popup indicating it detected the crash of Writer and asked me if I wanted to send the crash report in to wherever it gets sent. I always send the reports, so there should be a handful (maybe 5-10, ballpark) laying around somewhere. :)
(In reply to comment #11) > you could try if the bug can be reproduced in a desktop _other_ > than Unity or if you run it as: > SAL_USE_VCLPLUGIN=gen soffice > I'll see about trying this. How do I run it as: SAL_USE_VCLPLUGIN=gen soffice Do I enter that in a terminal window? Thanks!
(In reply to comment #13) > SAL_USE_VCLPLUGIN=gen soffice > > Do I enter that in a terminal window? Yes it's a command line.
Ok, I ran the "SAL_USE_VCLPLUGIN=gen soffice" command and Writer didn't crash aftr closing the page preview window. I was able to preview my document twice in a row and writer didn't crash.
I assume this to be: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1042070 so marking it as RESOLVED NOTOURBUG as per for now (please reopen, if you find something hinting that this is different): https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1042070/comments/20 To be sure we would need a stacktrace with glib symbols installed too (which ould be package libglib2.0-0-dbg).