[Serdev] SER crashes
Andrei Pelinescu-Onciul
andrei at iptel.org
Mon Jun 27 18:45:02 UTC 2005
On Jun 27, 2005 at 20:35, Jorge Crichigno <jcrichigno at conexion.com.py> wrote:
> Hi all,
>
> I have a problem with SER 0.9.0. I'm running it with 2 little
> modifications:
>
> 1- I add a parser for Reason Header (for supporting RFC 3326.
> Although it is very simple, I can give it to who wants it). When parsing
> this header, I just use the body field of hdr_field structure (hf.h)
> (the field parsed is not used).
>
> 2- I add an int field and and array field of fixed length to the
> struct sip_msg (just as a test).
>
> With these modifications, I run SER, and sometimes it crashes for a
> reason that I didn't determine. The log showed was:
[...]
> ------------------------------------------------------------------------
> It seems that SER crashed when the sip_msg structure was being released.
> Can someone give me a hand?
gdb ser core
bt
and see where exactly it crashed.
Re-compiling ser with make proper; make mode=debug all might help to
get "better" core dumps (in case some parameters/vars are optimized into
registers).
Andrei
More information about the Serdev
mailing list