Bug 100118

Summary: [EDIT] Writer not responding, idle (sleeping)
Product: LibreOffice Reporter: Luke Kendall <luke.kendall>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: major CC: ilmari.lauhakangas
Priority: medium    
Version: 5.1.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Luke Kendall 2016-05-29 12:03:54 UTC
Editing my novel, suddenly (just editing some text, some undo and re-typing), the screen greyed out (Unity or Compiz's method of showing that the program is busy or unresponsive).

I don't want to lose the last 15 mins of editing if I can avoid it.  The window redraws if obscured and then exposed; but it will not respond.  ps shows:

20288 ?        Sl   390:30 /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=5

Five minutes later, it's unchanged:

20288 ?        Sl   390:30 /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=5

$ ps xl | grep off
0  1000  8970  8556  20   0  14228  1020 pipe_w S+   pts/23     0:00 grep off
0  1000 20269  2639  20   0 207860  4492 pipe_w Sl   ?          0:01 /usr/lib/libreoffice/program/oosplash --writer
0  1000 20288 20269  20   0 2722516 551888 futex_ Sl ?        390:30 /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=5

Attaching to it for a traceback in gdb gives this:

(gdb) where
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ff66730028c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6675ab361 in g_signal_connect_data ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007ff6675b6359 in g_type_create_instance ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ff66759831b in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ff66759a1b5 in g_object_new_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007ff6573fbc34 in gtk_widget_new ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#7  0x00007ff65785882e in ?? ()
   from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#8  0x00007ff657858c33 in ?? ()
   from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#9  0x00007ff6578397bb in ?? ()
   from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#10 0x00007ff66da51288 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ff66d9ce1b1 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#12 0x00007ff66d9ce497 in Dialog::doDeferredInit(long) ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#13 0x00007ff66d9be93a in VclBuilder::insertObject(vcl::Window*, rtl::OString const&, rtl::OString const&, std::map<rtl::OString, rtl::OString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OString> > >&, std::map<rtl::OString, rtl::OString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OString> > >&, std::map<rtl::OString, rtl::OString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OString> > >&) () from /usr/lib/libreoffice/program/libmergedlo.so
#14 0x00007ff66d9bff4b in VclBuilder::handleObject(vcl::Window*, xmlreader::XmlReader&) () from /usr/lib/libreoffice/program/libmergedlo.so
#15 0x00007ff66d9c0765 in VclBuilder::handleChild(vcl::Window*, xmlreader::XmlReader&) () from /usr/lib/libreoffice/program/libmergedlo.so
#16 0x00007ff66d9c1218 in VclBuilder::VclBuilder(vcl::Window*, rtl::OUString const&, rtl::OUString const&, rtl::OString const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#17 0x00007ff66da24875 in SystemWindow::loadUI(vcl::Window*, rtl::OString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) () from /usr/lib/libreoffice/program/libmergedlo.so
#18 0x00007ff66d9ce7ca in Dialog::Dialog(vcl::Window*, rtl::OUString const&, rtl::OUString const&) () from /usr/lib/libreoffice/program/libmergedlo.so
#19 0x00007ff66d0bcfe8 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#20 0x00007ff66d1c5cd6 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#21 0x00007ff66cd3c200 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#22 0x00007ff66cd3c6c3 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#23 0x00007ff66dc581d0 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#24 0x00007ff66b2c9966 in ?? ()
   from /usr/lib/libreoffice/program/libuno_sal.so.3
#25 <signal handler called>
#26 0x00007ff6675a4820 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ff6675add5c in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ff6675ae08f in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ff6675974d4 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ff667596d88 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ff667598636 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ff66759a1b5 in g_object_new_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ff66759a521 in g_object_new ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ff65783ad3d in ?? ()
   from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#35 0x00007ff66dcc1811 in SalGenericSystem::ShowNativeMessageBox(rtl::OUString const&, rtl::OUString const&, int, int, bool) ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#36 0x00007ff66cd35c8c in ?? ()
---Type <return> to continue, or q <return> to quit--- 
   from /usr/lib/libreoffice/program/libmergedlo.so
#37 0x00007ff66cd444cb in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#38 0x00007ff66dc59331 in ?? ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#39 0x00007ff66dc59382 in SVMain() ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#40 0x00007ff66cd60c42 in soffice_main ()
   from /usr/lib/libreoffice/program/libmergedlo.so
#41 0x00000000004006eb in ?? ()
#42 0x00007ff66aee7830 in __libc_start_main (main=0x4006e0, argc=3, 
    argv=0x7ffe594d9a28, init=<optimised out>, fini=<optimised out>, 
    rtld_fini=<optimised out>, stack_end=0x7ffe594d9a18)
    at ../csu/libc-start.c:291
#43 0x0000000000400729 in ?? ()

Since it seems to be waiting for something but consuming no CPU, I imagine there's nothing I can do but kill it, hope that I didn't do too much since the last autosave (which I've scraped out of /tmp), and my screenshot of the window when I realised something was wrong, and then cross my fingers?
Comment 1 Luke Kendall 2016-05-29 12:28:30 UTC
Killed, loaded the pending update for LO (5.1.2.2 IIRC), and restarted.  Yeah, lost about 20 mins work.  Thank god for the screenshot I took; and that most work had been concentrated on that page.
Comment 2 Caolán McNamara 2016-08-02 12:05:36 UTC
The SalGenericSystem::ShowNativeMessageBox lets me know that FatalError has been called, some other stuff clearly goes wrong after that so the dialog that states the error isn't shown.

Unfortunately whatever went wrong, went wrong before the follow up problem of not showing the error dialog
Comment 3 Buovjaga 2016-08-02 12:13:50 UTC
Luke: have you run into any more crashes like this? If not, RESOLVED INSUFFICIENTDATA would be the conclusion.
Comment 4 Luke Kendall 2016-08-02 12:16:20 UTC
No, no recent crashes.  Okay, resolve it as insufficient data.