[osol-discuss] Re: Re: Re: Fire!! core dumped!

2007-03-25 Thread eric wang
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

[osol-discuss] Re: Re: Fire!! core dumped!

2007-03-22 Thread eric wang
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]

[osol-discuss] Re: Fire!! core dumped!

2007-03-19 Thread eric wang
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

[osol-discuss] Fire!! core dumped!

2007-03-18 Thread eric wang
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,

[osol-discuss] Coredump!!

2006-12-07 Thread eric wang
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

[osol-discuss] DTrace: How to print string in C++

2006-11-28 Thread eric wang
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