[OpenSER-Devel] [ openser-Bugs-1904486 ] crash in usrloc DB_ONLY mode after seconds...

SourceForge.net noreply at sourceforge.net
Fri Feb 29 09:31:21 CET 2008


Bugs item #1904486, was opened at 2008-02-29 09:15
Message generated for change (Comment added) made by cstko
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1904486&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash in usrloc DB_ONLY mode after seconds...

Initial Comment:
hi @all,

since updatingfrom 1.1.x to version 1.3.0 openser crashes after some seconds with SIG-11, when i use the DB_ONLY mode for usrloc.

here's the core:
gdb ./sbin/openser /usr/local/openser_1_3/core.openser.sig11.13836_dbmode3
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".


warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/mysql.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/mysql.so
Reading symbols from /usr/lib/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib/libmysqlclient.so.15
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/sl.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/sl.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/tm.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/tm.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/rr.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/rr.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/maxfwd.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/maxfwd.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/usrloc.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/usrloc.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/registrar.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/registrar.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/textops.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/textops.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/mi_fifo.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/mi_fifo.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/uri_db.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/uri_db.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/uri.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/uri.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/xlog.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/xlog.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/acc.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/acc.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/auth.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/auth.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/auth_db.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/auth_db.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/domain.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/domain.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/exec.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/exec.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/path.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/path.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/lcr.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/lcr.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/uac.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/uac.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/avpops.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/avpops.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/group.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/group.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/nathelper.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/nathelper.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/mediaproxy.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/mediaproxy.so
Reading symbols from /usr/local/openser_1_3/lib/openser/modules/gfunc.so...done.
Loaded symbols for /usr/local/openser_1_3/lib/openser/modules/gfunc.so
Reading symbols from /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /usr/lib/libnss_db.so.2...done.
Loaded symbols for /usr/lib/libnss_db.so.2
Reading symbols from /usr/lib/libdb-4.3.so...done.
Loaded symbols for /usr/lib/libdb-4.3.so
Core was generated by `/usr/local/openser_1_3/sbin/openser -P /var/run/openser/openser.pid -m 64 -u op'.
Program terminated with signal 11, Segmentation fault.
#0  fm_malloc (qm=0x8180cc0, size=<value optimized out>) at mem/f_malloc.c:267
267                             if ((*f)->size>=size) goto found;
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) backtrace
#0  fm_malloc (qm=0x8180cc0, size=<value optimized out>) at mem/f_malloc.c:267
#1  0xb7c51317 in db_mysql_convert_row (_h=0x81a38c0, _res=0x81a9648,
    _r=0x81a9718) at row.c:48
#2  0xb7c50ec4 in db_mysql_convert_result (_h=0x81a38c0, _r=0x81a9648)
    at res.c:146
#3  0xb7c4d3ff in db_mysql_store_result (_h=0x81a38c0, _r=0xbf82ce70)
    at dbase.c:209
#4  0xb7c4f07a in db_mysql_raw_query (_h=0x81a38c0,
    _s=0xb797c840 "select received, contact, socket, cflags, path from location where expires > '2008-02-28 16:52:18' and cflags & 64 = 64 and id % 60 = 1",
    _r=0xbf82ce70) at dbase.c:447
#5  0xb7966550 in get_all_ucontacts (buf=0x81a98f8, len=418, flags=64,
    part_idx=1, part_max=60) at dlist.c:128
#6  0xb788d098 in nh_timer (ticks=2, timer_idx=0x0) at nathelper.c:2850
#7  0x080c9fc9 in start_timer_processes () at timer.c:275
#8  0x0806dcf2 in main (argc=9, argv=0xbf82d244) at main.c:873

db_modes 1 or 2 are no option for me...
any hints to solve this?

regards,
chriz

----------------------------------------------------------------------

Comment By: cstko (cstko)
Date: 2008-02-29 09:31

Message:
Logged In: YES 
user_id=2023192
Originator: NO

sorry for double post...
can anybody close/delete this?

cheers,
chriz

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1904486&group_id=139143



More information about the Devel mailing list