https://bugs.freedesktop.org/show_bug.cgi?id=79979

Michael Meeks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Linux (All)
            Summary|services unit test hang ... |linux / unit test hang ...

--- Comment #3 from Michael Meeks <[email protected]> ---
Oooh - I got another unit test hang - again a crash in backtrace:

0x40023424 in __kernel_vsyscall ()
(gdb) bt
#0  0x40023424 in __kernel_vsyscall ()
#1  0x40369c23 in __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:97
#2  0x402e799e in _L_lock_8457 () at malloc.c:5143
#3  0x402e45c8 in malloc_check (sz=28, caller=0x4000d2c3
<_dl_map_object_deps+1139>) at hooks.c:260
#4  0x402e561f in __GI___libc_malloc (bytes=28) at malloc.c:2848
#5  0x4000d2c3 in _dl_map_object_deps (map=map@entry=0x4020a2b0,
preloads=preloads@entry=0x0, npreloads=npreloads@entry=0, 
    trace_mode=<optimized out>, trace_mode@entry=0, open_mode=<optimized out>,
open_mode@entry=-2147483648) at dl-deps.c:511
#6  0x4001316b in dl_open_worker (a=0xbfa596fc) at dl-open.c:261
#7  0x4000f0ba in _dl_catch_error (objname=objname@entry=0xbfa596f4,
errstring=errstring@entry=0xbfa596f8, mallocedp=mallocedp@entry=0xbfa596f3, 
    operate=operate@entry=0x40013040 <dl_open_worker>,
args=args@entry=0xbfa596fc) at dl-error.c:177
#8  0x40012b34 in _dl_open (file=0x403d0a8d "libgcc_s.so.1", mode=-2147483647,
caller_dlopen=0x4036a4c8 <init+40>, nsid=<optimized out>, 
    argc=18, argv=0xbfa5b124, env=0x86d15d0) at dl-open.c:650
#9  0x403946ab in do_dlopen (ptr=0xbfa598a0) at dl-libc.c:87
#10 0x4000f0ba in _dl_catch_error (objname=0xbfa59868, errstring=0xbfa5986c,
mallocedp=0xbfa59867, operate=0x40394650 <do_dlopen>, 
    args=0xbfa598a0) at dl-error.c:177
#11 0x4039479b in dlerror_run (operate=operate@entry=0x40394650 <do_dlopen>,
args=args@entry=0xbfa598a0) at dl-libc.c:46
#12 0x40394821 in __GI___libc_dlopen_mode (name=name@entry=0x403d0a8d
"libgcc_s.so.1", mode=mode@entry=-2147483647) at dl-libc.c:163
#13 0x4036a4c8 in init () at ../sysdeps/i386/backtrace.c:43
#14 0x40430560 in pthread_once () at
../nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S:120
#15 0x4036a735 in __GI___backtrace (array=0xbfa59980, size=64) at
../sysdeps/i386/backtrace.c:120
#16 0x40285c63 in backtrace_and_maps (do_abort=-512, do_abort@entry=2,
written=195, fd=22) at ../sysdeps/unix/sysv/linux/libc_fatal.c:47
#17 0x402dbfd3 in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x403d6a40 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:172
#18 0x402e218a in malloc_printerr (action=<optimized out>, str=0x403d24a6
"malloc(): memory corruption", ptr=0x4061b458) at malloc.c:4916
#19 0x402e3bd1 in _int_malloc (av=av@entry=0x4041b420 <main_arena>,
bytes=bytes@entry=285) at malloc.c:3395
#20 0x402e45e1 in malloc_check (sz=284, caller=0x4016c545 <operator
new(unsigned int)+37>) at hooks.c:261
#21 0x402e561f in __GI___libc_malloc (bytes=284) at malloc.c:2848
#22 0x4016c545 in operator new (sz=284) at
../../../../libstdc++-v3/libsupc++/new_op.cc:51
#23 0x450164fc in ImplCreateWindow (this=0x0, nWinBits=0, pParent=0x8cd2248,
rDescriptor=..., ppNewComp=0xbfa5a18c)
    at
/data/opt/libreoffice/libreoffice-4-3/toolkit/source/awt/vclxtoolkit.cxx:850
#24 (anonymous namespace)::VCLXToolkit::ImplCreateWindow
(this=this@entry=0x486cab68, rDescriptor=..., nForceWinBits=0)
    at
/data/opt/libreoffice/libreoffice-4-3/toolkit/source/awt/vclxtoolkit.cxx:1244
#25 0x45018406 in (anonymous namespace)::VCLXToolkit::createWindow
(this=0x486cab68, rDescriptor=...)
    at
/data/opt/libreoffice/libreoffice-4-3/toolkit/source/awt/vclxtoolkit.cxx:724
#26 0x4600b6b1 in framework::createToolkitWindow (rxContext=warning: RTTI
symbol not found for class 'cppu::ComponentContext'
warning: RTTI symbol not found for class 'cppu::ComponentContext'
uno::Reference to (com::sun::star::uno::XInterface *) 0x421674c4, rParent=
    uno::Reference to (VCLXTopWindow *) 0x48c32f74, 
    pService=0x460c7c48
<framework::ToolbarLayoutManager::setParentWindow(com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer>
const&)::DOCKINGAREASTRING> "dockingarea") at
/data/opt/libreoffice/libreoffice-4-3/framework/source/layoutmanager/helpers.cxx:178
---Type <return> to continue, or q <return> to quit---
#27 0x4601d325 in framework::ToolbarLayoutManager::setParentWindow
(this=0x48f78760, 
    xParentWindow=uno::Reference to (VCLXTopWindow *) 0x48c32f74)
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/layoutmanager/toolbarlayoutmanager.cxx:1024
#28 0x46010802 in framework::LayoutManager::implts_reset (this=0x4737ce0c,
bAttached=true)
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/layoutmanager/layoutmanager.cxx:396
#29 0x4601570c in framework::LayoutManager::frameAction (this=0x4737ce0c,
aEvent=...)
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/layoutmanager/layoutmanager.cxx:2779
#30 0x460460d6 in (anonymous namespace)::Frame::implts_sendFrameActionEvent
(this=this@entry=0x47b5381c, 
    aAction=@0xbfa5a4ac: com::sun::star::frame::FrameAction_COMPONENT_ATTACHED)
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/services/frame.cxx:2860
#31 0x46049385 in (anonymous namespace)::Frame::setComponent (this=0x47b5381c,
xComponentWindow=uno::Reference to (VCLXContainer *) 0x48dea374, 
    xController=uno::Reference to (SwXTextView *) 0x48dab730) at
/data/opt/libreoffice/libreoffice-4-3/framework/source/services/frame.cxx:1605
#32 0x442029b7 in impl_createDocumentView (this=0x48f580f0,
i_rViewName="Default", i_rViewFactoryArgs=..., 
    i_rFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x47b53830,
i_rModel=uno::Reference to (SwXTextDocument *) 0x48ff5cc4)
    at /data/opt/libreoffice/libreoffice-4-3/sfx2/source/view/frmload.cxx:607
#33 (anonymous namespace)::SfxFrameLoader_Impl::load (this=0x48f580f0,
rArgs=uno::Sequence of length 10 = {...}, 
    _rTargetFrame=uno::Reference to ((anonymous namespace)::Frame *)
0x47b53830)
    at /data/opt/libreoffice/libreoffice-4-3/sfx2/source/view/frmload.cxx:726
#34 0x4602da3d in framework::LoadEnv::impl_loadContent (this=0xbfa5a79c)
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/loadenv/loadenv.cxx:1125
#35 0x4602df61 in framework::LoadEnv::startLoading (this=0xbfa5a79c)
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/loadenv/loadenv.cxx:386
#36 0x4602e0c5 in framework::LoadEnv::loadComponentFromURL
(xLoader=uno::Reference to (framework::Desktop *) 0x46a42bac, xContext=warning:
RTTI symbol not found for class 'cppu::ComponentContext'
warning: RTTI symbol not found for class 'cppu::ComponentContext'

uno::Reference to (com::sun::star::uno::XInterface *) 0x421674c4, 
   
sURL="file:///data/opt/libreoffice/libreoffice-4-3//sw/qa/extras/ooxmlexport/data/fdo78432.docx",
sTarget="_default", nFlags=0, 
    lArgs=uno::Sequence of length 2 = {...}) at
/data/opt/libreoffice/libreoffice-4-3/framework/source/loadenv/loadenv.cxx:165
#37 0x46040eb0 in framework::Desktop::loadComponentFromURL (this=0x46a42b70, 
   
sURL="file:///data/opt/libreoffice/libreoffice-4-3//sw/qa/extras/ooxmlexport/data/fdo78432.docx",
sTargetFrameName="_default", 
    nSearchFlags=0, lArguments=uno::Sequence of length 2 = {...})
    at
/data/opt/libreoffice/libreoffice-4-3/framework/source/services/desktop.cxx:568
#38 0x42e04806 in unotest::MacrosTest::loadFromDesktop(rtl::OUString const&,
rtl::OUString const&) ()
   from
/data/opt/libreoffice/libreoffice-4-3/workdir/LinkTarget/CppunitTest/../Library/libunotest.so
#39 0x422f7602 in SwModelTestBase::load (this=0x86a8f20, pDir=0x422fe306
"/sw/qa/extras/ooxmlexport/data/", pName=0x423046bf "fdo78432.docx")
    at
/data/opt/libreoffice/libreoffice-4-3/sw/qa/extras/inc/swmodeltestbase.hxx:506
#40 0x422fa0ac in SwModelTestBase::executeImportExportImportTest
(this=0x86a8f20, filename=0x423046bf "fdo78432.docx")
    at
/data/opt/libreoffice/libreoffice-4-3/sw/qa/extras/inc/swmodeltestbase.hxx:204
#41 0x422fa2cb in testAbsolutePositionOffsetValue::Import_Export_Import
(this=0x86a8f20)
    at
/data/opt/libreoffice/libreoffice-4-3/sw/qa/extras/ooxmlexport/ooxmlexport.cxx:3372

deadlocked vs.

Thread 3 (Thread 0x47590b40 (LWP 30843)):
#0  0x40023424 in __kernel_vsyscall ()
#1  0x40369c23 in __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:97
#2  0x402e79de in _L_lock_9911 () at malloc.c:5143
#3  0x402e4e07 in free_check (mem=0x8da0158, caller=0x400d1e70
<osl_destroyCondition+51>) at hooks.c:272
#4  0x402e594b in __GI___libc_free (mem=0x8da0158) at malloc.c:2879
#5  0x400d1e70 in osl_destroyCondition () from
/data/opt/libreoffice/libreoffice-4-3/instdir/ure/lib/libuno_sal.so.3
#6  0x46001dd0 in framework::WakeUpThread::run() () from
/data/opt/libreoffice/libreoffice-4-3/instdir/program/libfwklo.so
#7  0x45ff9f22 in osl::threadFunc (param=0x48f52404) at
/data/opt/libreoffice/libreoffice-4-3/include/osl/thread.hxx:187
#8  0x400b9d62 in osl_thread_start_Impl () from
/data/opt/libreoffice/libreoffice-4-3/instdir/ure/lib/libuno_sal.so.3
#9  0x4042b07a in start_thread (arg=0x47590b40) at pthread_create.c:309
#10 0x4035c80e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0x48c12b40 (LWP 30858)):
#0  0x40023424 in __kernel_vsyscall ()
#1  0x40431bb9 in __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:144
#2  0x4042ee2e in _L_lock_32 () from /lib/libpthread.so.0
#3  0x4042ed5b in __pthread_cond_destroy (cond=0xa822890) at
pthread_cond_destroy.c:35
#4  0x403697f4 in __pthread_cond_destroy (cond=0xa822890) at forward.c:117
#5  0x400b9bca in osl_thread_destruct_Impl () from
/data/opt/libreoffice/libreoffice-4-3/instdir/ure/lib/libuno_sal.so.3
#6  0x400b9f13 in osl_destroyThread () from
/data/opt/libreoffice/libreoffice-4-3/instdir/ure/lib/libuno_sal.so.3
#7  0x4318eb5e in JoinMainLoopThread () at
/data/opt/libreoffice/libreoffice-4-3/vcl/source/app/svmain.cxx:622
#8  0x45014839 in (anonymous namespace)::ToolkitWorkerFunction
(pArgs=0x486cab68)
    at
/data/opt/libreoffice/libreoffice-4-3/toolkit/source/awt/vclxtoolkit.cxx:625
#9  0x4318e894 in MainWorkerFunction (pArgs=0xa792bd0) at
/data/opt/libreoffice/libreoffice-4-3/vcl/source/app/svmain.cxx:589
#10 0x400b9d62 in osl_thread_start_Impl () from
/data/opt/libreoffice/libreoffice-4-3/instdir/ure/lib/libuno_sal.so.3
#11 0x4042b07a in start_thread (arg=0x48c12b40) at pthread_create.c:309
#12 0x4035c80e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
---Type <return> to continue, or q <return> to quit---

as you'd expect when we try to do complicated things in a signal handler =)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to