[Devel] Re: [Users] core dump in last cvs
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Mar 10 10:40:49 CET 2006
(moved from users)
Hi Helge,
there are only two reasons for that assert to fail:
1) somewhere is a bug and the avp list is wrongly set.
2) some memory corruption.
to see if it's the case 1) find attached a patch that checks if
somewhere the avp list is set to zero.
regards,
bogdan
Helge Waastad wrote:
>Hi,
>I got core dump in last cvs.....
>
>(gdb) bt
>#0 0x007787a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>#1 0x007b87d5 in raise () from /lib/tls/libc.so.6
>#2 0x007ba149 in abort () from /lib/tls/libc.so.6
>#3 0x007b1db1 in __assert_fail () from /lib/tls/libc.so.6
>#4 0x0809f483 in reset_avps ()
>#5 0x08078cef in receive_msg ()
>#6 0x08099609 in udp_rcv_loop ()
>#7 0x08066df2 in main_loop ()
>#8 0x08067585 in main ()
>
>
>br hw
>
>
>
>
-------------- next part --------------
Index: usr_avp.c
===================================================================
RCS file: /cvsroot/openser/sip-server/usr_avp.c,v
retrieving revision 1.3
diff -u -r1.3 usr_avp.c
--- usr_avp.c 10 Feb 2006 18:55:38 -0000 1.3
+++ usr_avp.c 10 Mar 2006 09:37:09 -0000
@@ -390,6 +390,7 @@
{
struct usr_avp **foo;
+ assert( list!=0 );
assert( crt_avps!=0 );
foo = crt_avps;
More information about the Devel
mailing list