[OpenSER-Devel] crash with trunk version 1:2776MS

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Sep 21 21:49:12 CEST 2007


Hi Juha,

if you can reproduce the crash, enable full mem debug and locate where 
the bogus fragment was allocated.

Regards,
Bogdan

Juha Heinanen wrote:
> i run openser under virtualbox (which may causes timing related
> problems).  usrloc has db_mode=3 and path variables are defined for
> registrar module.  register request caused the crash below.
>
> -- juha
>
> Sep 21 22:46:03 Etch-3 /usr/sbin/openser[2809]: LOG: REGISTER <sip:jh at test.com> by <jh at test.com> from <192.98.102.10> is authorized 
> Sep 21 22:46:05 Etch-3 /usr/sbin/openser[2813]: BUG: qm_*: prev. fragm. tail overwritten(312e3839, 312e3230)[0x82128d8:0x82128f0]! 
> Sep 21 22:46:06 Etch-3 /usr/sbin/openser[2806]: core:handle_sigs: child process 2813 exited by a signal 6 
> Sep 21 22:46:06 Etch-3 /usr/sbin/openser[2806]: core:handle_sigs: core was generated 
> Sep 21 22:46:06 Etch-3 /usr/sbin/openser[2806]: core:handle_sigs: terminating due to SIGCHLD 
>
> (gdb) where
>
> #0  0xb7f8f402 in ?? ()
>
> #1  0xb7cac7f5 in raise () from /lib/i686/cmov/libc.so.6
>
> #2  0xb7cae181 in abort () from /lib/i686/cmov/libc.so.6
>
> #3  0x080c6b5a in qm_debug_frag (qm=0x815fb60, f=<value optimized out>)
>
>     at mem/q_malloc.c:156
>
> #4  0x080c7164 in qm_free (qm=0x815fb60, p=0x82128f0, 
>
>     file=0x8124235 "db/db_row.c", func=0x8124241 "db_free_row", line=39)
>
>     at mem/q_malloc.c:440
>
> #5  0x080ecf18 in db_free_row (_r=0x8212838) at db/db_row.c:39
>
> #6  0x080ecc54 in db_free_rows (_r=0x8212720) at db/db_res.c:45
>
> #7  0xb7c560bc in db_mysql_free_dbresult (_r=0x8212720) at res.c:223
>
> #8  0xb7c530d0 in db_mysql_free_result (_h=0x820fad0, _r=0x0) at dbase.c:248
>
> #9  0xb79a6ec7 in get_all_ucontacts (buf=0x82128cf, len=60, flags=2, 
>
>     part_idx=1, part_max=20) at dlist.c:200
>
> #10 0xb78f19eb in nh_timer (ticks=2162, timer_idx=0x0) at nathelper.c:2877
>
> #11 0x080b7ca4 in start_timer_processes () at timer.c:275
>
> #12 0x0806a352 in main (argc=15, argv=0xbfb03094) at main.c:827
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list