[Devel] Re: [Users] core dump in last cvs

Helge Waastad helge at smartnet.no
Fri Mar 10 16:41:00 CET 2006


Hi,
yes that fixed the problem

Thanks,
hw



fre, 10,.03.2006 kl. 12.46 +0200, skrev Bogdan-Andrei Iancu:
> Helge,
> 
> thanks a lot for the trace - it helped me to spot the problem - it 
> should be fixed on the CVS. please update and let me know if the problem 
> is gone.
> 
> Thanks again and regards,
> bogdan
> 
> Helge Waastad wrote:
> 
> >Hi,
> >after the patch:
> >
> >(gdb) bt
> >#0  0x002727a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> >#1  0x002b27d5 in raise () from /lib/tls/libc.so.6
> >#2  0x002b4149 in abort () from /lib/tls/libc.so.6
> >#3  0x002abdb1 in __assert_fail () from /lib/tls/libc.so.6
> >#4  0x0809927b in set_avp_list ()
> >#5  0x008e4f18 in t_should_relay_response (Trans=0xb618e880,
> >new_code=Variable "new_code" is not available.
> >) at t_reply.c:469
> >#6  0x008e5ffc in relay_reply (t=0xb618e880, p_msg=0x8130b50, branch=0,
> >msg_status=401, cancel_bitmap=0xbfee4910) at t_reply.c:954
> >#7  0x008e701e in reply_received (p_msg=0x8130b50) at t_reply.c:1271
> >#8  0x0805a33b in forward_reply ()
> >#9  0x080756c8 in receive_msg ()
> >#10 0x080941c3 in udp_rcv_loop ()
> >#11 0x080652b6 in main_loop ()
> >#12 0x08065aa5 in main ()
> >
> >
> >br hw
> >
> >
> >fre, 10,.03.2006 kl. 11.40 +0200, skrev Bogdan-Andrei Iancu:
> >  
> >
> >>(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
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>vanlig tekstdokument-vedlegg (usr_avp.diff)
> >>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