[Serusers] ser segfault in function lookup()

markus monka mmonka at netzquadrat.de
Sun Oct 3 17:43:30 CEST 2004


sorry, i forgot

version:  0.8.14 (i386/linux)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK,
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.168.4.3 2004/06/28 15:41:21 andrei Exp $
main.c compiled on 02:18:40 Sep 11 2004 with gcc 2.95

SMP XEON(HT) with 1 GB Ram

Am Son, den 03.10.2004 schrieb Jiri Kuthan um 17:37:
> Which version do you use? -jiri
> 
> At 04:42 PM 10/3/2004, markus monka wrote:
> >I made a copy of the location table for users having a mailbox.
> >
> >While getting the data from the Database, 
> >ser crashes.
> >
> >ser.cfg
> >-----
> >if ( lookup(voicemail) ) {
> >
> >}
> >
> >syslog(DEBUG 10)
> >-----
> >Oct  3 13:48:39 ser04 /usr/sbin/ser[16453]: query="select
> >username,contact,expires,q,callid,cseq,replicate,state,flags,user_agent
> >from voicebox "
> >Oct  3 13:48:59 ser04 exiting on signal 15
> >
> >strace -f
> >-----
> >18845 read(4, "\0078702713\30sip:123456 at 217.11.29.3"...,69)=69
> >18845 read(4, "\1\0\0\275", 4)          = 4
> >18845 read(4, "\376", 1)                = 1
> >18845 --- SIGSEGV (Segmentation fault) ---
> >18845 +++ killed by SIGSEGV +++
> >
> >DB has 5299 rows.
> >
> >some of the Callids are "NULL". After updating the Entry for Callid with
> >a random
> >Id ser starts as usual.
> >
> >Any Ideas?
> >
> >Greets 
> >Markus
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> 
> --
> Jiri Kuthan            http://iptel.org/~jiri/
-- 
[netzquadrat]GmbH    fon 0211.30 20 33 27
Ronsdorfer Str. 74   fax 0211.30 20 33 22
40233 Düsseldorf     mobil 0163 7777 923
weitere Info unter:  http://www.netzquadrat.de

** NEU von [NQ] - http://www.VOICEMEETING.de **
** die supergünstige Sofort-Telefonkonferenz **





More information about the sr-users mailing list