Issue 113591 - DEV300_m86: smoketestoo_native fails for wntmsci12 and unxlngi6 (nonpro)
Summary: DEV300_m86: smoketestoo_native fails for wntmsci12 and unxlngi6 (nonpro)
Status: CLOSED DUPLICATE of issue 107490
Alias: None
Product: *Testproduct
Classification: Test
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: All All
: P2 Trivial (vote)
Target Milestone: 3.4.1
Assignee: Stephan Bergmann
QA Contact: issues@test
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 14:43 UTC by oliver.bolte
Modified: 2010-08-09 14:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oliver.bolte 2010-08-02 14:43:51 UTC
Shell output for Linux:

text = "" type = "10WorkWindow"
text = "" type = "10WorkWindow"
 From File /so/ws/DEV300/ooo/vcl/source/app/svmain.cxx at Line 374
Error: document list not empty! From File
/so/ws/DEV300/ooo/ucb/source/ucp/tdoc/tdoc_docmgr.cxx at Line 87
OK (1)

../stlport/stl/debug/_debug.c(429): STL error : Taking an iterator out of
destroyed (or otherwise corrupted) container
../stlport/stl/debug/_debug.c(429): STL assertion failure:     __l->_Owner()!=0 

../stlport/stl/debug/_debug.c(429): STL error : Taking an iterator out of
destroyed (or otherwise corrupted) container
../stlport/stl/debug/_debug.c(429): STL assertion failure:     __l->_Owner()!=0 
/bin/bash: line 1:  6861 Aborted                
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/so/ws/DEV300/ooo/smoketestoo_native/unxlngi6/lib:/so/ws/DEV300/unxlngi6/lib
/so/ws/DEV300/unxlngi6/bin/cppunittester
-env:UNO_SERVICES=file:///so/ws/DEV300/ooo/smoketestoo_native/./unxlngi6/misc/smoketest/services.rdb
-env:UNO_TYPES=file:///so/ws/DEV300/unxlngi6/bin/types.rdb
-env:arg-soffice=path:/so/ws/DEV300/unxlngi6/installation/opt/openoffice.org3/program/soffice
-env:arg-user=./unxlngi6/misc/smoketest/user
-env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}"
./unxlngi6/lib/libsmoketest.so -env:arg-doc=./unxlngi6/bin/smoketestdoc.sxw
dmake:  Error code 134, while making 'cpptest'

For wntmsci12:
The office hangs in an endless loop. The stack isn't really helpful
 	ntdll.dll!7792f861() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
 	ntdll.dll!7792f861() 	
 	ntdll.dll!77948c44() 	
>	stlport_vc71_stldebug45.dll!_STL::_Atomic_swap(volatile long * __p=0x0186f824,
long __q=1)  Line 459	C++
 	stlport_vc71_stldebug45.dll!_STL::_STLP_mutex_spin<0>::_M_do_lock(volatile
long * __lock=0x00000000)  Line 111 + 0xb bytes	C++
Comment 1 mst.ooo 2010-08-04 15:33:32 UTC
i've captured a stack of the STL assertion:

(gdb) bt
#0  0xb774c422 in __kernel_vsyscall ()
#1  0xb700d651 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7010a82 in *__GI_abort () at abort.c:92
#3  0xb72cc83d in _STLD::__stl_debug_engine<bool>::_Terminate() ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libstlport_gcc_stldebug.so
#4  0xb72cc8d7 in _STLD::__stl_debug_engine<bool>::_VerboseAssert(char const*,
int, char const*, int) ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libstlport_gcc_stldebug.so
#5  0xb72ccf8f in
_STLD::__stl_debug_engine<bool>::_M_attach(_STLD::__owned_list*,
_STLD::__owned_link*) ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libstlport_gcc_stldebug.so
#6  0xb6d1e19b in __owned_link (this=0xa8cfd254, __c=0xb6d61718)
    at m86/DEV300/unxlngi6/inc/stl/stl/debug/_debug.h:250
#7  0xb6d47d80 in _DBG_iter_base (this=0xa8cfd254, __c=0xb6d61718, __it=...)
    at m86/DEV300/unxlngi6/inc/stl/stl/debug/_iterator.h:155
#8  0xb6d47db7 in _DBG_iter_mid (this=0xa8cfd254, __c=0xb6d61718, __it=...)
    at m86/DEV300/unxlngi6/inc/stl/stl/debug/_iterator.h:201
#9  0xb6d47dd9 in _DBG_iter (this=0xa8cfd254, __c=0xb6d61718, __it=...)
    at m86/DEV300/unxlngi6/inc/stl/stl/debug/_iterator.h:231
#10 0xb6d47e29 in _STLD::list<cppu_threadpool::WaitingThread*,
_STLD::allocator<cppu_threadpool::WaitingThread*> >::end (this=0xb6d61714)
    at m86/DEV300/unxlngi6/inc/stl/stl/debug/_list.h:126
#11 0xb6d45ccc in cppu_threadpool::ThreadPool::waitInPool (this=0xb6d616e0, 
    pThread=0xb0396878)
    at m86/DEV300/ooo/cppu/source/threadpool/threadpool.cxx:202
#12 0xb6d4d2ae in cppu_threadpool::ORequestThread::run (this=0xb0396878)
    at m86/DEV300/ooo/cppu/source/threadpool/thread.cxx:214
#13 0xb6d4d91d in cppu_requestThreadWorker (pVoid=0xb0396878)
    at m86/DEV300/ooo/cppu/source/threadpool/thread.cxx:46
#14 0xb757e028 in ?? ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3
#15 0xb6fca96e in start_thread (arg=0xa8cfdb70) at pthread_create.c:300
#16 0xb70b0a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130


the only other interesting thread seems to be the main thread:

Thread 1 (Thread 0xb3cfc6d0 (LWP 28300)):
#0  0xb75bb9eb in rtl_cache_free ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3
#1  0xb75b9978 in rtl_freeMemory ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3
#2  0x08048f81 in ?? ()
#3  0x0804900e in operator delete(void*) ()
#4  0xb5462ae3 in salhelper::SimpleReferenceObject::operator delete(void*) ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#5  0xb1725174 in ?? ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/configmgr.uno.so
[...]
#104 0xb17118fc in ?? ()
   from
m86/DEV300/unxlngi6/installation/opt/openoffice.org3/program/../basis-link/program/configmgr.uno.so
#105 0xb70121bf in __run_exit_handlers (status=0, listp=0xb7139324, 
    run_list_atexit=true) at exit.c:78
#106 0xb701222f in *__GI_exit (status=0) at exit.c:100
#107 0xb6ff9bde in __libc_start_main (main=0x8048de4 <main>, argc=8, 
    ubp_av=0xbfc954a4, init=0x80492f0 <__libc_csu_init>, 
    fini=0x80492e0 <__libc_csu_fini>, rtld_fini=0xb775b0c0 <_dl_fini>, 
    stack_end=0xbfc9549c) at libc-start.c:258
#108 0x08048d61 in _start ()


the main thread seem to be running exit handlers.

the only ThreadPool is apparently a static variable in threadpool.cxx:127.

i guess the main thread already called some exit handler that destroyed the
static ThreadPool or something?
Comment 2 Stephan Bergmann 2010-08-09 14:31:03 UTC
sporadic problem during OOo shutdown

*** This issue has been marked as a duplicate of 107490 ***
Comment 3 Stephan Bergmann 2010-08-09 14:31:36 UTC
.