Frank,
How did you think it's calling pthread_mutex_lock(NULL), but no other e.g.
pthread_mutex_lock(invalid address, e.g. 0xf)?
I think the NULL pointer into pthread_mutex_lock is not accordant with signal
SEGV (access to address exceeded protections).
BR,
Eric
This message
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]
It is on solaris 5.8.
Is there any other information useful for this??
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
Hi, All,
A coredumped problem occured some time in a multi-thread as the following:
- lwp# 1 / thread# 1
fd90b258 _lock_try_adaptive (0, fd91c000, 10018, 8, 0, 0)
fe4912bc bool cmgCall::sendEventIn(unsigned long,unsigned char*,unsigned
short) (1f3f010, 2,
How to investigate the coredump in shell programm:
./tmp.sh[2]: 5614 Illegal Instruction(coredump) ???
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
How to print string in C++:
e.g. string Fun(string a, int b)
Then I'll try to printf the return value of this Fun().
*:return
{
printf(ret = %s, stringof(arg0));
...
}
But DTrace told that this use is uncorrect.
Then how to get the return string value??
This message posted from