[Serdev] SER crashing at random locations

Durgani, Prakash B. PBDurgani at west.com
Tue Mar 22 15:28:27 UTC 2005


I ran SER along containing our custom module under Rational Purify, and
it immediately notified a "Pointer Over-Write" when it invokes a
sl_send_reply to send a 200 OK to the first REGISTER messages.  Here is
the location that Purify returns:

int2reverse_hex [Ut.h:224]
	**c= digit >= 10 ? digit + 'a' - 10 : digit + '0';

Anyone seen this before? 

-----Original Message-----
From: Paul Jankowski [mailto:paul at teragen.com.au] 
Sent: Monday, March 21, 2005 5:41 PM
To: serdev at lists.iptel.org
Subject: RE: [Serdev] SER crashing at random locations

> Anywhere between 1-48 hours SER would crash due to a Segmentation
> fault in SER's core modules.  I have tried this on different Linux
> boxes with 2.4.xx kernels and it typically crashes at different
> parts of SER's code files

My first guess would be malloc corruption -- writing past the end of the
allocated memory.  This may lead to insidious problems that cause
crashes long after the offending instructions are executed.  Recommend
having someone else look through your code; without preconceptions as to
what it does, they will be more likely to catch such a bug.

Then again, it might be something entirely unrelated :-) .

Have fun,

Paul

-- 
P-a-u-l- -J-a-n-k-o-w-s-k-i
paul at teragen.com.au

 "A programmer," he said with obvious amazement, is the sort of person
"who
 drinks Coke in the morning."  -- Boston Globe article on The High Tech
Set





More information about the Serdev mailing list