[Libreoffice-bugs] [Bug 107477] New: Hang when trying to mount a share in the filechooser

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 27 11:59:38 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107477

            Bug ID: 107477
           Summary: Hang when trying to mount a share in the filechooser
           Product: LibreOffice
           Version: 5.2.6.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: gicmo at gnome.org

- Open File
- Click on "+ Other locations"
- Enter an mount in "Connect to Server" (here an sftp with pubkey auth so no
password needs to be entered)
- Click connect

=> Hangs libreoffice

Stack trace:

Thread 6 (Thread 0x7f7f33fff700 (LWP 19403)):
#0  0x00007f7f701ff01d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f6e899166 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f7f2c001130, timeout=<optimized out>, context=0x55b3146c5c80)
at gmain.c:4228
#2  0x00007f7f6e899166 in g_main_context_iterate
(context=context at entry=0x55b3146c5c80, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007f7f6e89927c in g_main_context_iteration
(context=context at entry=0x55b3146c5c80, may_block=may_block at entry=1) at
gmain.c:3990
#4  0x00007f7f1fbdcfad in dconf_gdbus_worker_thread (user_data=0x55b3146c5c80)
at dconf-gdbus-thread.c:82
#5  0x00007f7f6e8c0b93 in g_thread_proxy (data=0x55b314583630) at gthread.c:784
#6  0x00007f7f6feec6ca in start_thread (arg=0x7f7f33fff700) at
pthread_create.c:333
#7  0x00007f7f7020af7f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7f7f48d9b700 (LWP 19390)):
#0  0x00007f7f701ff01d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f6e899166 in g_main_context_poll (priority=<optimized out>,
n_fds=8, fds=0x7f7f34051f00, timeout=<optimized out>, context=0x55b312f38750)
at gmain.c:4228
#2  0x00007f7f6e899166 in g_main_context_iterate (context=0x55b312f38750,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3924
#3  0x00007f7f6e8994f2 in g_main_loop_run (loop=0x55b312f386e0) at gmain.c:4125
#4  0x00007f7f69722a76 in gdbus_shared_thread_func (user_data=0x55b312f38720)
at gdbusprivate.c:247
#5  0x00007f7f6e8c0b93 in g_thread_proxy (data=0x55b312ee5d40) at gthread.c:784
#6  0x00007f7f6feec6ca in start_thread (arg=0x7f7f48d9b700) at
pthread_create.c:333
#7  0x00007f7f7020af7f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7f7f4959c700 (LWP 19389)):
#0  0x00007f7f701ff01d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f6e899166 in g_main_context_poll (priority=<optimized out>,
n_fds=2, fds=0x7f7f400008e0, timeout=<optimized out>, context=0x55b312f37ef0)
at gmain.c:4228
#2  0x00007f7f6e899166 in g_main_context_iterate
(context=context at entry=0x55b312f37ef0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007f7f6e89927c in g_main_context_iteration (context=0x55b312f37ef0,
may_block=may_block at entry=1) at gmain.c:3990
#4  0x00007f7f6e8992c1 in glib_worker_main (data=<optimized out>) at
gmain.c:5783
#5  0x00007f7f6e8c0b93 in g_thread_proxy (data=0x55b312ee5cf0) at gthread.c:784
#6  0x00007f7f6feec6ca in start_thread (arg=0x7f7f4959c700) at
pthread_create.c:333
#7  0x00007f7f7020af7f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7f7f4a9fb700 (LWP 19387)):
#0  0x00007f7f7020bc1d in accept () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f7079b800 in osl_acceptPipe(oslPipe) (pPipe=0x55b312e94120) at
/usr/src/debug/libreoffice-5.2.6.2/sal/osl/unx/pipe.cxx:428
#2  0x00007f7f70510fba in osl::Pipe::accept(osl::StreamPipe&) (Connection=...,
this=0x55b312e92cb0) at
/usr/src/debug/libreoffice-5.2.6.2/include/osl/pipe.hxx:136

#3  0x00007f7f70510fba in desktop::PipeIpcThread::execute()
(this=0x55b312e92c80) at
/usr/src/debug/libreoffice-5.2.6.2/desktop/source/app/officeipcthread.cxx:1183
#4  0x00007f7f6cdd0a26 in salhelper::Thread::run() (this=0x55b312e92c80) at
/usr/src/debug/libreoffice-5.2.6.2/salhelper/source/thread.cxx:40
#5  0x00007f7f6cdd0c3a in osl::threadFunc(void*) (param=0x55b312e92c90) at
/usr/src/debug/libreoffice-5.2.6.2/include/osl/thread.hxx:185
#6  0x00007f7f707a1027 in osl_thread_start_Impl(void*) (pData=0x55b312e92ac0)
at /usr/src/debug/libreoffice-5.2.6.2/sal/osl/unx/thread.cxx:240
#7  0x00007f7f6feec6ca in start_thread (arg=0x7f7f4a9fb700) at
pthread_create.c:333
#8  0x00007f7f7020af7f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7f7f57731700 (LWP 19382)):
#0  0x00007f7f6fef2809 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f7f7077ceab in rtl_cache_wsupdate_wait (seconds=10) at
/usr/src/debug/libreoffice-5.2.6.2/sal/rtl/alloc_cache.cxx:1335
#2  0x00007f7f7077ceab in rtl_cache_wsupdate_all(void*) (arg=0xa) at
/usr/src/debug/libreoffice-5.2.6.2/sal/rtl/alloc_cache.cxx:1483
#3  0x00007f7f6feec6ca in start_thread (arg=0x7f7f57731700) at
pthread_create.c:333
#4  0x00007f7f7020af7f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f7f70aeda80 (LWP 19373)):
#0  0x00007f7f6fef059a in __GI___pthread_mutex_unlock (mutex=0x7f7f709bf880
<HashLock>) at pthread_mutex_unlock.c:325
#1  0x00007f7f707a14ca in lookupThreadId (hThread=140185328081536) at
/usr/src/debug/libreoffice-5.2.6.2/sal/osl/unx/thread.cxx:584
#2  0x00007f7f707a14ca in osl_getThreadIdentifier(oslThread)
(Thread=Thread at entry=0x0) at
/usr/src/debug/libreoffice-5.2.6.2/sal/osl/unx/thread.cxx:677
#3  0x00007f7f69ec0144 in osl::Thread::getCurrentIdentifier() () at
/usr/src/debug/libreoffice-5.2.6.2/include/osl/thread.hxx:138
#4  0x00007f7f69ec0144 in SalYieldMutex::acquire() (this=0x55b31254af50) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/unx/generic/app/geninst.cxx:55
#5  0x00007f7f4ff25599 in GtkYieldMutex::ThreadsEnter() (this=0x55b31254af50)
at /usr/src/debug/libreoffice-5.2.6.2/vcl/unx/gtk/gtkinst.cxx:310
#6  0x00007f7f4f304e60 in gdk_threads_dispatch () at /lib64/libgdk-3.so.0
#7  0x00007f7f6e8958e7 in g_idle_dispatch (source=0x55b313a8ce10,
callback=0x7f7f4f304e50 <gdk_threads_dispatch>, user_data=0x55b3130668e0) at
gmain.c:5545
#8  0x00007f7f6e898e52 in g_main_dispatch (context=0x55b312527d30) at
gmain.c:3203
#9  0x00007f7f6e898e52 in g_main_context_dispatch
(context=context at entry=0x55b312527d30) at gmain.c:3856
#10 0x00007f7f6e8991d0 in g_main_context_iterate (context=0x55b312527d30,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3929
#11 0x00007f7f6e8994f2 in g_main_loop_run (loop=0x55b313a98b20) at gmain.c:4125
#12 0x00007f7f4f76a880 in gtk_dialog_run () at /lib64/libgtk-3.so.0
#13 0x00007f7f4f78f85a in error_message_with_parent () at /lib64/libgtk-3.so.0
#17 0x00007f7f6eb8c43f in <emit signal ??? on instance 0x55b3145dc4c0
[GtkPlacesView]> (instance=<optimized out>, signal_id=<optimized out>,
detail=<optimized out>) at gsignal.c:3447
    #14 0x00007f7f6eb713e5 in g_closure_invoke (closure=0x55b31463ce80,
return_value=return_value at entry=0x0, n_param_values=3,
param_values=param_values at entry=0x7ffee03b4600,
invocation_hint=invocation_hint at entry=0x7ffee03b4580) at gclosure.c:804
    #15 0x00007f7f6eb83432 in signal_emit_unlocked_R
(node=node at entry=0x55b3145cb7c0, detail=detail at entry=0,
instance=instance at entry=0x55b3145dc4c0,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7ffee03b4600) at gsignal.c:3635
    #16 0x00007f7f6eb8c05f in g_signal_emit_valist (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args at entry=0x7ffee03b47f0)
    at gsignal.c:3391
#18 0x00007f7f4f84b7a2 in server_mount_ready_cb () at /lib64/libgtk-3.so.0
#19 0x00007f7f696d02b7 in g_simple_async_result_complete (simple=0x55b313b82f20
[GSimpleAsyncResult]) at gsimpleasyncresult.c:801
#20 0x00007f7f499ecc7a in mount_reply () at
/usr/lib64/gio/modules/libgvfsdbus.so
#21 0x00007f7f696e19b4 in g_task_return_now (task=0x55b3147a66c0 [GTask]) at
gtask.c:1121
#22 0x00007f7f696e2066 in g_task_return (task=0x55b3147a66c0 [GTask],
type=<optimized out>) at gtask.c:1179
#23 0x00007f7f6971ff99 in reply_cb (connection=<optimized out>, res=<optimized
out>, user_data=0x55b3147a66c0) at gdbusproxy.c:2573
#24 0x00007f7f696e19b4 in g_task_return_now (task=0x55b3147a6520 [GTask]) at
gtask.c:1121
#25 0x00007f7f696e2066 in g_task_return (task=0x55b3147a6520 [GTask],
type=<optimized out>) at gtask.c:1179
#26 0x00007f7f69714a8f in g_dbus_connection_call_done (source=<optimized out>,
result=0x55b3147a6450, user_data=0x55b3147a6520) at gdbusconnection.c:5706
#27 0x00007f7f696e19b4 in g_task_return_now (task=0x55b3147a6450 [GTask]) at
gtask.c:1121
#28 0x00007f7f696e19e9 in complete_in_idle_cb (task=task at entry=0x55b3147a6450)
at gtask.c:1135
#29 0x00007f7f6e8958e7 in g_idle_dispatch (source=0x7f7f340c5200,
callback=0x7f7f696e19e0 <complete_in_idle_cb>, user_data=0x55b3147a6450) at
gmain.c:5545
#30 0x00007f7f6e898e52 in g_main_dispatch (context=0x55b312527d30) at
gmain.c:3203
---Type <return> to continue, or q <return> to quit---
#31 0x00007f7f6e898e52 in g_main_context_dispatch
(context=context at entry=0x55b312527d30) at gmain.c:3856
#32 0x00007f7f6e8991d0 in g_main_context_iterate (context=0x55b312527d30,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3929
#33 0x00007f7f6e8994f2 in g_main_loop_run (loop=0x55b314749fe0) at gmain.c:4125
#34 0x00007f7f4f76a880 in gtk_dialog_run () at /lib64/libgtk-3.so.0
#35 0x00007f7f4ff2ce8e in RunDialog::run() (this=this at entry=0x7f7f303f5418) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/unx/gtk/fpicker/SalGtkPicker.cxx:180
#36 0x00007f7f4ff34178 in SalGtkFilePicker::execute() (this=0x7f7f31c41ce8) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx:937
#37 0x00007f7f6c544927 in sfx2::FileDialogHelper_Impl::implDoExecute()
(this=this at entry=0x7f7f312f9970) at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/dialog/filedlghelper.cxx:1262
#38 0x00007f7f6c544ac1 in
sfx2::FileDialogHelper_Impl::execute(std::vector<rtl::OUString,
std::allocator<rtl::OUString> >&, SfxItemSet*&, rtl::OUString&)
(this=0x7f7f312f9970, rpURLList=std::vector of length 0, capacity 0,
rpSet=@0x7ffee03b5640: 0x0, rFilter="") at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/dialog/filedlghelper.cxx:1411
#39 0x00007f7f6c54534a in
sfx2::FileDialogHelper::Execute(std::vector<rtl::OUString,
std::allocator<rtl::OUString> >&, SfxItemSet*&, rtl::OUString&, rtl::OUString
const&) (this=this at entry=0x7ffee03b4fe0, rpURLList=std::vector of length 0,
capacity 0, rpSet=@0x7ffee03b5640: 0x0, rFilter="", rDirPath="")
    at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/dialog/filedlghelper.cxx:2314
#40 0x00007f7f6c5453f0 in sfx2::FileOpenDialog_Impl(short, FileDialogFlags,
rtl::OUString const&, std::vector<rtl::OUString, std::allocator<rtl::OUString>
>&, rtl::OUString&, SfxItemSet*&, rtl::OUString const*, short, rtl::OUString
const&, com::sun::star::uno::Sequence<rtl::OUString> const&)
(nDialogType=nDialogType at entry=8,
nFlags=nFlags at entry=FileDialogFlags::MultiSelection, rFact="",
rpURLList=std::vector of length 0, capacity 0, rFilter="",
rpSet=@0x7ffee03b5640: 0x0, pPath=0x7ffee03b55a0, nDialog=0, rStandardDir="",
rBlackList=empty uno::Sequence) at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/dialog/filedlghelper.cxx:2590
#41 0x00007f7f6c426cf5 in SfxApplication::OpenDocExec_Impl(SfxRequest&)
(this=0x55b3132603b0, rReq=...) at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/appl/appopen.cxx:641
#42 0x00007f7f6c4b730c in SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&),
SfxRequest&) (rReq=..., pFunc=<optimized out>, this=0x55b3132603b0)
    at /usr/src/debug/libreoffice-5.2.6.2/include/sfx2/shell.hxx:204
#43 0x00007f7f6c4b730c in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&,
SfxRequest&, bool) (this=this at entry=0x55b312f9f010, rShell=..., rSlot=...,
rReq=..., bRecord=<optimized out>) at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/control/dispatch.cxx:362
#44 0x00007f7f6c4bbbb6 in SfxDispatcher::PostMsgHandler(SfxRequest*)
(this=0x55b312f9f010, pReq=0x55b31436f4c0)
    at /usr/src/debug/libreoffice-5.2.6.2/sfx2/source/control/dispatch.cxx:1185
#45 0x00007f7f6c69b933 in Link<SfxRequest*, void>::Call(SfxRequest*) const
(data=<optimized out>, this=0x55b31326a210) at
/usr/src/debug/libreoffice-5.2.6.2/include/tools/link.hxx:84
#46 0x00007f7f6c69b933 in SfxHintPoster::DoEvent_Impl(void*)
(this=0x55b31326a200, pPostedHint=<optimized out>) at
/usr/src/debug/libreoffice-5.2.6.2/sfx2/source/notify/hintpost.cxx:44
#47 0x00007f7f69bf337f in Link<void*, void>::Call(void*) const (data=<optimized
out>, this=0x55b313ef1368) at
/usr/src/debug/libreoffice-5.2.6.2/include/tools/link.hxx:84
#48 0x00007f7f69bf337f in ImplHandleUserEvent (pSVEvent=0x55b313ef1360) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/source/window/winproc.cxx:1959
#49 0x00007f7f69bf337f in ImplWindowFrameProc(vcl::Window*, SalEvent, void
const*) (_pWindow=0x55b312fc3c00, nEvent=SalEvent::UserEvent,
pEvent=0x55b313ef1360)
    at /usr/src/debug/libreoffice-5.2.6.2/vcl/source/window/winproc.cxx:2527
#50 0x00007f7f69e7f9ec in SalFrame::CallCallback(SalEvent, void const*) const
(pEvent=0x55b313ef1360, nEvent=SalEvent::UserEvent, this=0x55b312fa4b20)
    at /usr/src/debug/libreoffice-5.2.6.2/vcl/inc/salframe.hxx:276
#51 0x00007f7f69e7f9ec in SalGenericDisplay::DispatchInternalEvent()
(this=<optimized out>) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/unx/generic/app/gendisp.cxx:86
#52 0x00007f7f4ff1f45d in GtkData::userEventFn(void*)
(data=data at entry=0x55b31254b0d0) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/unx/gtk3/gtk3gtkdata.cxx:811
#53 0x00007f7f4ff1f4d1 in call_userEventFn(void*)
(data=data at entry=0x55b31254b0d0) at
/usr/src/debug/libreoffice-5.2.6.2/vcl/unx/gtk3/gtk3gtkdata.cxx:821
#54 0x00007f7f6e8958e7 in g_idle_dispatch (source=0x55b3144dc330,
callback=0x7f7f4ff1f4b0 <call_userEventFn(void*)>, user_data=0x55b31254b0d0) at
gmain.c:5545
#55 0x00007f7f6e898e52 in g_main_dispatch (context=0x55b312527d30) at
gmain.c:3203
#56 0x00007f7f6e898e52 in g_main_context_dispatch
(context=context at entry=0x55b312527d30) at gmain.c:3856
#57 0x00007f7f6e8991d0 in g_main_context_iterate
(context=context at entry=0x55b312527d30, block=block at entry=0,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3929
#58 0x00007f7f6e89927c in g_main_context_iteration (context=0x55b312527d30,
context at entry=0x0, may_block=0) at gmain.c:3990
#59 0x00007f7f4ff1ea53 in GtkData::Yield(bool, bool) (this=0x55b31254b0d0,
bWait=<optimized out>, bHandleAllCurrentEvents=<optimized out>)
    at /usr/src/debug/libreoffice-5.2.6.2/vcl/unx/gtk3/gtk3gtkdata.cxx:467
#60 0x00007f7f69de26e1 in ImplYield(bool, bool, unsigned long) (nReleased=0,
i_bAllEvents=false, i_bWait=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/libreoffice-5.2.6.2/vcl/source/app/svapp.cxx:511
#61 0x00007f7f69de26e1 in Application::Yield() () at
/usr/src/debug/libreoffice-5.2.6.2/vcl/source/app/svapp.cxx:556
#62 0x00007f7f69de4c65 in Application::Execute() () at
/usr/src/debug/libreoffice-5.2.6.2/vcl/source/app/svapp.cxx:473
#63 0x00007f7f704ec75c in desktop::Desktop::DoExecute() () at
/usr/src/debug/libreoffice-5.2.6.2/desktop/source/app/app.cxx:1318
#64 0x00007f7f704ec75c in desktop::Desktop::Main() (this=0x7ffee03b6150) at
/usr/src/debug/libreoffice-5.2.6.2/desktop/source/app/app.cxx:1648
#65 0x00007f7f69de84f6 in ImplSVMain() () at
/usr/src/debug/libreoffice-5.2.6.2/vcl/source/app/svmain.cxx:185
#66 0x00007f7f69de85f2 in SVMain() () at
/usr/src/debug/libreoffice-5.2.6.2/vcl/source/app/svmain.cxx:223
#67 0x00007f7f7051629a in soffice_main() () at
/usr/src/debug/libreoffice-5.2.6.2/desktop/source/app/sofficemain.cxx:166
#68 0x000055b3120027cb in sal_main () at
/usr/src/debug/libreoffice-5.2.6.2/desktop/source/app/main.c:48
#69 0x000055b3120027cb in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/libreoffice-5.2.6.2/desktop/source/app/main.c:47

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170427/a8715219/attachment-0001.html>


More information about the Libreoffice-bugs mailing list