Bug 117004 - libreoffice writer freezes on lock_wait sometimes
Summary: libreoffice writer freezes on lock_wait sometimes
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-14 05:41 UTC by H. C.
Modified: 2018-11-06 11:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H. C. 2018-04-14 05:41:08 UTC
Description:
Random freeze after opening a word doc.  

It was ok in Ubuntu 16.04.
It's been happening since I upgraded to Ubuntu 18.04

Here's the stack trace from gdb when the freeze happens...

#0  0x00007fbd17e5410d in __lll_lock_wait ()
    at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fbd17e4d023 in __GI___pthread_mutex_lock (mutex=0x1d78440)
    at ../nptl/pthread_mutex_lock.c:78
#2  0x00007fbd1500c603 in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#3  0x00007fbd1501ca3e in XCreateWindow () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007fbd00a37f03 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#5  0x00007fbd00a0bf95 in gdk_window_new ()
    at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#6  0x00007fbd00ed84ab in  () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#7  0x00007fbd16192f6d in g_closure_invoke ()
    at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007fbd161a5e0e in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fbd161ae3f5 in g_signal_emit_valist ()
    at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fbd161aee0f in g_signal_emit ()
    at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fbd00ecc3d8 in gtk_widget_realize ()
    at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007fbd0131ba49 in  () at /usr/lib/libreoffice/program/libvclplug_gtklo.so
#13 0x00007fbd0131be3f in  () at /usr/lib/libreoffice/program/libvclplug_gtklo.so
#14 0x00007fbd0131c63b in  () at /usr/lib/libreoffice/program/libvclplug_gtklo.so
#15 0x00007fbd012fd21b in  () at /usr/lib/libreoffice/program/libvclplug_gtklo.so
#16 0x00007fbd1b419d99 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#17 0x00007fbd1b380235 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#18 0x00007fbd1b3802fe in Dialog::doDeferredInit(long) ()
    at /usr/lib/libreoffice/program/libmergedlo.so
#19 0x00007fbd1b36fbe9 in VclBuilder::insertObject(vcl::Window*, rtl::OString const&, rtl::OString const&, std::map<rtl::OString, rtl::OUString, std::less<rtl::OString>, std::alloc---Type <return> to continue, or q <return> to quit---
ator<std::pair<rtl::OString const, rtl::OUString> > >&, std::map<rtl::OString, rtl::OUString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OUString> > >&, std::map<rtl::OString, rtl::OUString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OUString> > >&) ()
    at /usr/lib/libreoffice/program/libmergedlo.so
#20 0x00007fbd1b372b7f in VclBuilder::handleObject(vcl::Window*, xmlreader::XmlReader&) () at /usr/lib/libreoffice/program/libmergedlo.so
#21 0x00007fbd1b370f0d in VclBuilder::handleChild(vcl::Window*, xmlreader::XmlReader&) ()
    at /usr/lib/libreoffice/program/libmergedlo.so
#22 0x00007fbd1b3735f5 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&) () at /usr/lib/libreoffice/program/libmergedlo.so
#23 0x00007fbd1b3e6f85 in SystemWindow::loadUI(vcl::Window*, rtl::OString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) ()
    at /usr/lib/libreoffice/program/libmergedlo.so
#24 0x00007fbd1b38077b in Dialog::Dialog(vcl::Window*, rtl::OUString const&, rtl::OUString const&) () at /usr/lib/libreoffice/program/libmergedlo.so
#25 0x00007fbd1a9cc2b0 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#26 0x00007fbd1ab0831a in  () at /usr/lib/libreoffice/program/libmergedlo.so
#27 0x00007fbd1a607618 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#28 0x00007fbd1a6078c6 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#29 0x00007fbd1b629ff8 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#30 0x00007fbd1866d0f2 in  () at /usr/lib/libreoffice/program/libuno_sal.so.3
#31 0x00007fbd1869229f in  () at /usr/lib/libreoffice/program/libuno_sal.so.3
#32 0x00007fbd182a4f20 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#33 0x00007fbd182a4e97 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:51
#34 0x00007fbd182a6801 in __GI_abort () at abort.c:79
#35 0x00007fbd1829639a in __assert_fail_base (fmt=0x7fbd1841d7d8 "%s%s%s:%u: %s%sAssertion---Type <return> to continue, or q <retur---Type <return> to continue, or q <return> to quit---
 `%s' failed.\n%n", assertion=assertion@entry=0x7fbd15090660 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7fbd150904cb "../../src/xcb_io.c", line=line@entry=259, function=function@entry=0x7fbd15090908 "poll_for_event") at assert.c:92
#36 0x00007fbd18296412 in __GI___assert_fail (assertion=0x7fbd15090660 "!xcb_xlib_threads_sequence_lost", file=0x7fbd150904cb "../../src/xcb_io.c", line=259, function=0x7fbd15090908 "poll_for_event") at assert.c:101
#37 0x00007fbd1501e1da in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#38 0x00007fbd1501e28b in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#39 0x00007fbd1501e57d in _XEventsQueued () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#40 0x00007fbd15010237 in XPending () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#41 0x00007fbd00a21085 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#42 0x00007fbd15eb8e51 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fbd15eb93e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fbd15eb954c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fbd012fc0c3 in  () at /usr/lib/libreoffice/program/libvclplug_gtklo.so
#46 0x00007fbd1b624d7e in Application::Yield() () at /usr/lib/libreoffice/program/libmergedlo.so
#47 0x00007fbd1b6265d5 in Application::Execute() () at /usr/lib/libreoffice/program/libmergedlo.so
#48 0x00007fbd1a60d785 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#49 0x00007fbd1b62bb06 in  () at /usr/lib/libreoffice/program/libmergedlo.so
#50 0x00007fbd1b62bc02 in SVMain() () at /usr/lib/libreoffice/program/libmergedlo.so
#51 0x00007fbd1a63071a in soffice_main () at /usr/lib/libreoffice/program/libmergedlo.so
#52 0x00000000004006eb in  ()
#53 0x00007fbd18287b97 in __libc_start_main (main=
    0x4006e0, argc=4, argv=0x7ffe02ef8698, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7ffe02ef8688) at ../csu/libc-start.c:310
#54 0x0000000000400729 in  ()


Steps to Reproduce:
1. Open word doc
2. Wonder around, maybe an hour or a few hours.
3. Freeze

Actual Results:  
freeze

Expected Results:
no freeze


Reproducible: Sometimes


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Comment 1 Jean-Baptiste Faure 2018-04-14 19:58:03 UTC
Ubuntu 18.04 is not yet released. Did you used the same version of LibreOffice on Ubuntu 16.04?

Status set to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF
Comment 2 H. C. 2018-04-15 00:51:58 UTC
I am using the pre-release Ubuntu 18.04 which has v6.0.3.2

In Ubuntu 16.04, the default was v5.1.6 so I was probably using that.  It was ok, no freezes.

Sorry, it only happens sometimes.  Not doing anything in particular, it happens when I'm just reading a file and not making any edits.
Comment 3 Jean-Baptiste Faure 2018-04-15 06:09:22 UTC
(In reply to H. C. from comment #2)
> I am using the pre-release Ubuntu 18.04 which has v6.0.3.2

Ok, so we don't know if the problem is on pre-release Ubuntu side or on LO side.
I suggest you to check again when Ubuntu 18.04 will be released.

Best regards. JBF
Comment 4 QA Administrators 2018-11-05 16:08:07 UTC Comment hidden (obsolete)
Comment 5 H. C. 2018-11-05 22:26:15 UTC
Hasn't happened recently.
I am on the release version of Ubuntu 18.04 now.
Comment 6 Xisco Faulí 2018-11-06 11:36:47 UTC
Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.