[OpenSIPS-Users] Opensips crashed - problem with MD5?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 15 13:36:04 CEST 2009


Hi Carlo,

The backtrace looks really broken.....it might be a core overwrite.....

What revision on 1.5.0 are you using (do opensips -V) ? there are 
several mysql related bugs fixed since the 1.5.0 release. If you have a 
SVN copy, do a SVN update to get the latest fixes. Otherwise I recomand 
upgrading to 1.5.1 (see the download section on the web site).

Regards,
Bogdan

Carlo Dimaggio wrote:
> Hi all,
>
> My opensips 1.5.0 has crashed twice in the last 5 days. It had low  
> load (few registrations)...
> In opensipsctlrc I have:
> 	MD5="md5sum"
> 	STORE_PLAINTEXT_PW=0
>
> in opensips.cfg:
> 	modparam("auth_db", "calculate_ha1", 0)
> 	modparam("auth_db", "password_column", "ha1")
> 	modparam("auth_db", "password_column_2", "ha1b")
>
>
> Below the backtrace. Is it a bug?
>
>
> Thank you!
> Carlo Dimaggio
>
>
> ------
>
> carlo at sip:~$ sudo gdb opensips core.opensips.sig11.22690
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html 
>  >
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show  
> copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...
> Cannot access memory at address 0xf830e900
> (gdb) bt
> #0  0xb794781f in ?? ()
> #1  0xb7af3894 in ?? ()
> #2  0xb7af5c8b in ?? ()
> #3  0xb7aebb79 in ?? ()
> #4  0x08056ee2 in do_action (a=0x81d2b90, msg=0x8203db8) at action.c:426
> #5  0x0805a38d in destroy_black_lists () at mem/../fastlock.h:88
> #6  0x080aac21 in mk_action (type=136129528, n=136330680, elem=0x0,  
> line=0) at route_struct.c:124
> #7  0x080aa9c4 in mk_action (type=136129568, n=136330680, elem=0x0,  
> line=3) at route_struct.c:113
> #8  0x080aa9ec in mk_action (type=136129608, n=136330680, elem=0x0,  
> line=0) at route_struct.c:113
> #9  0x080570de in do_action (a=0x81d2ed8, msg=0x8203db8) at action.c:674
> #10 0x0805a38d in destroy_black_lists () at mem/../fastlock.h:88
> #11 0x08059013 in do_action (a=0x81d4710, msg=0x8203db8) at parser/../ 
> ip_addr.h:385
> #12 0x0805a38d in destroy_black_lists () at mem/../fastlock.h:88
> #13 0x0805840d in do_action (a=0x81d1d68, msg=0x8203db8) at parser/../ 
> ip_addr.h:378
> #14 0x0805a38d in destroy_black_lists () at mem/../fastlock.h:88
> #15 0x08059013 in do_action (a=0x81d1e38, msg=0x8203db8) at parser/../ 
> ip_addr.h:385
> #16 0x0805a38d in destroy_black_lists () at mem/../fastlock.h:88
> #17 0x0805a75a in delete_expired_routine (ticks=136098008,  
> param=0x8203db8) at mem/../fastlock.h:88
> #18 0x0809a2c3 in dns_a_parser (
>      rdata=0x819dba0 "REGISTER sip:sip.xxx.it SIP/2.0\r\nVia: SIP/2.0/ 
> UDP 10.0.6.83:5060;branch=z9hG4bK2f7b8b41;rport\r\nMax-Forwards: 69\r 
> \nFrom: <sip:vpbx1 at sip.xxx.it>;tag=as24ad03ef\r\nTo: <sip:vpbx1"...,  
> end=0x298 <Address 0x298 out of bounds>) at resolve.c:314
> #19 0x080e027b in parse_avp_name (name=0xbfa8ca58, type=0x15,  
> avp_name=0x81f52d8) at usr_avp.c:552
> #20 0x0807229f in MD5Transform (state=0x0, block=<value optimized  
> out>) at md5.c:268
> #21 0xb7c59450 in ?? ()
> #22 0x08055761 in do_assign (msg=Cannot access memory at address 0x8
> ) at action.c:242
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> (gdb) 
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list