James,
The problem was already fixed ,the global variable had NULL value, I was
just looking for another way to catch this problem.

It was a very rare condition.


Thanks!
Valdemar
 

-----Original Message-----
From: ext James Carlson [mailto:james.d.carl...@sun.com] 
Sent: Tuesday, March 17, 2009 1:39 PM
To: Pavesi, Valdemar (NSN - US/Boca Raton)
Cc: mdb-discuss at opensolaris.org
Subject: RE: [mdb-discuss] How can libumem detect that a global variable
wasdeleted?

Pavesi, Valdemar (NSN - US/Boca Raton) writes:
> threading model: multi-threaded
> status: process terminated by SIGSEGV (Segmentation Fault)
> > 

That doesn't look like corruption to me.  That looks like a NULL
pointer passed as a sprintf %s argument.  That causes a core dump on
Solaris, because you can't dereference NULL.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to