Issue 111223 - cppu_threadpool::ThreadAdmin::remove during shutdown
Summary: cppu_threadpool::ThreadAdmin::remove during shutdown
Status: CLOSED DUPLICATE of issue 107490
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: DEV300m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: Stephan Bergmann
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 13:14 UTC by Stephan Bergmann
Modified: 2010-05-03 15:26 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 Stephan Bergmann 2010-04-28 13:14:21 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing the forms/qa/unoapi tests at least under unxsols4.pro once
crashed during OOo shutdown with

t@168 (l@168) terminated by signal SEGV (no mapping at the fault address)
0xfbe268ec: find+0x0040:        ld       [%g1 + 8], %g2
(dbx) where
current thread: t@168
=>[1]
_STL::find<_STL::_List_iterator<cppu_threadpool::ORequestThread*,_STL::_Nonconst_traits<cppu_threadpool::ORequestThread*>
>,cppu_threadpool::ORequestThread*>(0xf257beb8, 0xf257beb4, 0xf257beb0,
0xf257bf08, 0xf257beaf, 0xf257beb4), at 0xfbe268ec
  [2] cppu_threadpool::ThreadAdmin::remove(0xfbe3f5d0, 0xcc1f78, 0x1,
0xfbe3f5d4, 0x8a8290, 0xa92070), at 0xfbe26410
  [3] cppu_threadpool::ORequestThread::onTerminated(0xcc1f78, 0xf257bf90,
0xff343800, 0x0, 0xfefa5200, 0x0), at 0xfbe26724
  [4] osl_thread_start_Impl(0x9580a0, 0xfbe26308, 0x16, 0xff01d9e0, 0xff069dd4,
0x9580c8), at 0xff01dbd4

while the main thread was already in exit:

(dbx) where t@1
current thread: t@1
=>[1] clear_lockbyte(0xff1f2c54, 0xffffff, 0xff000000, 0x1c00, 0xe, 0xfffc00),
at 0xff2bd500
  [2] mutex_unlock_queue(0xff1f2c48, 0x0, 0x0, 0x934, 0x933, 0xff1f2c48), at
0xff2bee44
  [3] _private_mutex_unlock(0xff1f2c48, 0x0, 0xff343800, 0x0, 0xff392a00, 0x42),
at 0xff2c02a0
  [4] rtl_cache_magazine_clear(0xff1f2c00, 0xf06e453c, 0xd4, 0x35, 0x36, 0x37),
at 0xff0473e0
  [5] rtl_cache_deactivate(0xff1f2c00, 0xff1f2d10, 0xf06e453c, 0xff069dd4,
0x16e35c, 0x16e000), at 0xff047944
  [6] rtl_cache_destroy(0xff1f2c00, 0xff1f2c00, 0xff343800, 0xff069dd4, 0x5b8c,
0x5800), at 0xff047c68
  [7] rtl_memory_fini(0x3acc, 0xff069dd4, 0x2c00, 0x3800, 0x3b68, 0x3800), at
0xff046830
  [8] _fini(0xff3f40fc, 0xff3f5ad0, 0x2b3b4, 0x0, 0xff3f4910, 0x1821), at 0xff052dd0
  [9] call_fini(0xff3f40fc, 0xf2aa0b70, 0xff052d94, 0xff3f42f0, 0xff3f42a8,
0xff3f4910), at 0xff3c54f4
  [10] atexit_fini(0xff3f40fc, 0x2f2b8, 0xff2c04e8, 0xff3f4910, 0xff392a00,
0xf2aa0b70), at 0xff3c56c4
  [11] _exithandle(0xff345400, 0xff343800, 0x1c00, 0x12c00, 0xfffed021,
0x12c00), at 0xff242124
  [12] exit(0x0, 0xffbfd30c, 0xffbfd330, 0x21400, 0xff3900c0, 0x0), at 0xff230550

This is probably related to issue 63397.
Comment 1 Stephan Bergmann 2010-04-28 13:15:26 UTC
.
Comment 2 Stephan Bergmann 2010-05-03 15:25:27 UTC
see <http://qa.openoffice.org/issues/show_bug.cgi?id=107490#desc6>

*** This issue has been marked as a duplicate of 107490 ***
Comment 3 Stephan Bergmann 2010-05-03 15:26:25 UTC
.