[OpenSER-Devel] 1.3.1 release, status?

Juha Heinanen jh at tutpro.com
Fri Mar 7 07:19:03 CET 2008


Juha Heinanen writes:

 > regarding this one, i may be the same i noticed during 1.2 beta
 > phase.

sorry, it, of course, was during 1.3 beta phase.  i found the message
(below).  looks like i didn't mention, but the crash only occurred with
db_mode=3.

-- juha

From: jh at tutpro.com (Juha Heinanen)
Sender: devel-bounces at openser.org
To: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
Cc: devel at openser.org
Subject: Re: [OpenSER-Devel] crash with trunk version 1:2776MS
Date: Fri, 21 Sep 2007 23:39:59 +0300

Bogdan-Andrei Iancu writes:

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

i installed latest trunk version and it crashes immediately at startup:

Sep 21 23:28:48 Etch-2 /usr/sbin/openser[2647]: WARNING:usrloc:get_all_db_ucontacts: non-local socket <udp:192.98.102.3:5060>...ignoring 
Sep 21 23:28:48 Etch-2 /usr/sbin/openser[2647]: core:qm_debug_frag:  qm_*: prev. fragm. tail overwritten(312e3839, 312e3230)[0x82278d8:0x82278f0]! 
Sep 21 23:28:49 Etch-2 /usr/sbin/openser[2654]: core:receive_fd: EOF on 12 
Sep 21 23:28:49 Etch-2 /usr/sbin/openser[2641]: core:handle_sigs: child process 2647 exited by a signal 6 
Sep 21 23:28:49 Etch-2 /usr/sbin/openser[2641]: core:handle_sigs: core was generated 

(gdb) where

#0  0xb7fb3402 in ?? ()

#1  0xb7cf57f5 in raise () from /lib/i686/cmov/libc.so.6

#2  0xb7cf7181 in abort () from /lib/i686/cmov/libc.so.6

#3  0x080cf445 in qm_debug_frag (qm=0x8174b60, f=0x82) at mem/q_malloc.c:155

#4  0x080cfa43 in qm_free (qm=0x8174b60, p=0x82278f0, 

    file=0x81384c5 "db/db_row.c", func=0x81384d1 "db_free_row", line=39)

    at mem/q_malloc.c:438

#5  0x080fa7b8 in db_free_row (_r=0x8227838) at db/db_row.c:39

#6  0x080fa4f4 in db_free_rows (_r=0x8227720) at db/db_res.c:45

#7  0xb7c9f0bc in db_mysql_free_dbresult (_r=0x8227720) at res.c:223

#8  0xb7c9c0d0 in db_mysql_free_result (_h=0x8224ad0, _r=0x0) at dbase.c:248

#9  0xb79cbf72 in get_all_ucontacts (buf=0x82278cf, len=60, flags=2, 

    part_idx=1, part_max=20) at dlist.c:200

#10 0xb7903ba3 in nh_timer (ticks=2, timer_idx=0x0) at nathelper.c:2826

#11 0x080be704 in start_timer_processes () at timer.c:275

#12 0x0806a422 in main (argc=15, argv=0xbfc759f4) at main.c:827


i should have compiled openser with memory debugging, but i don't get
the dump at crash.

-- juha


More information about the Devel mailing list