Core dump while call void*std::__node_alloc<true,0>::_M_allocate(unsigned l

Hi,

My process runs on multi-CPU solaris 10 platform.

But some times it was coredumped and the pstack file always has:

void*std::__node_alloc<true,0>::_M_allocate(unsigned long)

For details, please refer to the below:

terminated by signal SEGV (Segmentation Fault).

ffffffff789c9ad0 kill (b, ffffffff7fffc830, ffffffff7fffc550, ffffffff78aeb20c, 520, 0) + 8

ffffffff789c9030 __sighndlr (b, ffffffff7fffc830, ffffffff7fffc550, ffffffff7cdbe670, 0, 0) + c

ffffffff789bd7a4 call_user_handler (ffffffff7de02000, ffffffff7de02000, ffffffff7fffc550, ffffffff, 0, 0) + 3e0

ffffffff7916a27c void*std::__node_alloc<true,0>::_M_allocate(unsigned long) (28, 4, 27, ffffffff79319d90, ffffffff79321d48, 100000102153708) + 54

I donot know what is the root cause!

What is your opinions?

Thanks!

BR,

Eric

[895 byte] By [wliangya] at [2007-11-27 2:24:54]
# 1
HiCan you load your app with dbx, then enter 'check -all', and run the app. (You can do the same within the sunstudio GUI - Debug->Memory from the menu).Does that detect any errors?Paul
Paul_Floyda at 2007-7-12 2:32:31 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Thanks!I run your command and got the follow result:(dbx) check -allaccess checking - ONmemuse checking - ONAnd how can I check the memory?
wliangya at 2007-7-12 2:32:31 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

Just issue 'run' and dbx will stop on illegal/suspicious memory access instruction (line of code). Please read 'help rtc' and/or "Debugging applications with dbx" (http://docs.sun.com/app/docs/doc/819-0489?q=Debugging+applications+with+dbx) for more information on how to use runtime checking (RTC) feature of dbx.

MaximKartasheva at 2007-7-12 2:32:31 > top of Java-index,Development Tools,Solaris and Linux Development Tools...