On Thu, 22 Mar 2007, eric wang wrote:
Thanks!!
More information:
Hi, All,
Here is the pstack information from dbx.
[EMAIL PROTECTED] ([EMAIL PROTECTED]) terminated by signal SEGV (access to
address exceeded protections)
0xfd90b258: _lock_try_adaptive : ldstub [%o0 + 12], %o1
(dbx) where
current thread: [EMAIL PROTECTED]
=>[1] _lock_try_adaptive(0x10018, 0x2089c, 0x64d530, 0x85e18, 0xffbef338,
0x20bd288), at 0xfd90b258
[2] _ti_pthread_mutex_lock(0x0, 0xfd91c000, 0x10018, 0x3, 0x0, 0x0), at
0xfd8fb798
As said - you're calling:
pthread_mutex_lock(NULL);
that's clear from the stacktrace. It's called from cmgCall::sendEventIn(),
but then I've already told you that ...
You can't pass an invalid pointer into pthread_mutex_enter().
Hence the question: Are you willing to share information about this, i.e.
give us the sourcecode for that class ?
Are you planning an opensolaris project around this, since you're asking
for debugging assistance on an opensolaris forum ?
FrankH.
[3] cmgCall::sendEventIn(0x224e010, 0x2, 0x209144b, 0x3, 0x10018, 0x6ef910),
at 0xfe4912bc
[4] cmgSs7Adapter::inputNetMsg(0xfe50db20, 0x2091430, 0xfe5f677c, 0x3,
0x1a7d5e0, 0xfe5b85c4), at 0xfe50d060
[5] cmgCallMgr::forwardNetEvent(0x28b010, 0xaf6f10, 0x100a, 0x100b,
0xfe5526eb, 0x0), at 0xfe4a6c40
[6] engIOS_EvtHdlr::handleEvent(0x25e1f0, 0xaf6f10, 0x0, 0xbd07c, 0x5, 0x2),
at 0xfe1f4a7c
[7] XEEvtDispatcher::run(0x1b9010, 0xdce170, 0x1b9124, 0x1b9078, 0x1,
0x710381), at 0xfe96bac4
[8] XEProcShell::run(0x1b69a0, 0x800, 0x9a8, 0xfea06630, 0x1bb610, 0x1), at
0xfe991ce8
[9] main(0x3, 0xffbefb54, 0xffbefb64, 0x1617d0, 0x0, 0x0), at 0x26238
(dbx) regs
current thread: [EMAIL PROTECTED]
current frame: [1]
g0-g1 0x00000000 0x00000000 0x00000000 0x0001b000
g2-g3 0x00000000 0x00000001 0x00000000 0xfe8ead08
g4-g5 0x00000000 0x00000074 0x00000000 0xffbef32c
g6-g7 0x00000000 0x00000000 0x00000000 0x00193778
o0-o1 0x00000000 0x00010018 0x00000000 0x0002089c
o2-o3 0x00000000 0x0064d530 0x00000000 0x00085e18
o4-o5 0x00000000 0xffbef338 0x00000000 0x020bd288
o6-o7 0x00000000 0xffbef318 0x00000000 0xfd8fb798
l0-l3 0x00000000 0xfcfc35e4 0x00000009 0x00000000
l4-l7 0x0064d530 0xfe8db0e8 0x0064d530 0xfe5b85c4
i0-i3 0x00000000 0xfd91c000 0x00010018 0x00000003
i4-i7 0x00000000 0x00000000 0xffbef378 0xfe4912bc
y 0x000f7c26
psr 0xfe401001
pc 0xfd90b258:_lock_try_adaptive ldstub [%o0 + 12], %o1
npc 0xfd90b25c:_lock_try_adaptive+0x4 tst %o1
(dbx) lwps
o>[EMAIL PROTECTED] signal SIGSEGV in _lock_try_adaptive()
[EMAIL PROTECTED] LWP suspended in _libc_sigaction()
[EMAIL PROTECTED] LWP suspended in ___lwp_cond_wait()
[EMAIL PROTECTED] LWP suspended in ___lwp_cond_wait()
[EMAIL PROTECTED] LWP suspended in private___lwp_cond_wait()
[EMAIL PROTECTED] LWP suspended in writeValue<unsigned short>()
[EMAIL PROTECTED] LWP suspended in __door_call()
(dbx)
Could you help investigate it?
Thanks!
Eric
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]
_______________________________________________
opensolaris-discuss mailing list
[email protected]