Hi bogdan / rick
@bogdan:
tm module is already loaded before...
@rick:
the command I'd used for the output was "gdb /sbin/ser core" for the first
one, and simply "bt" in the same gdb for the second...
A backtrace using the core file for input tells:
gdb -c /core
=>
Core was generated by `/sbin/ser'.
Program terminated with signal 11, Segmentation fault.
#0 0x40312440 in ?? ()
(gdb) bt
..
#840 0x00000000 in ?? ()
Error accessing memory address 0xc0000000: Datei oder Verzeichnis nicht gefunden.
Here is my config header:
-------- schnipp ------------
uid=ser
gid=ser
/*
debug=7
fork=yes
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
loadmodule "//lib/ser/modules/mysql.so"
loadmodule "//lib/ser/modules/exec.so"
loadmodule "//lib/ser/modules/sl.so"
loadmodule "//lib/ser/modules/acc.so"
loadmodule "//lib/ser/modules/textops.so"
loadmodule "//lib/ser/modules/tm.so"
loadmodule "//lib/ser/modules/rr.so"
loadmodule "//lib/ser/modules/maxfwd.so"
loadmodule "//lib/ser/modules/usrloc.so"
loadmodule "//lib/ser/modules/registrar.so"
loadmodule "//lib/ser/modules/auth.so"
loadmodule "//lib/ser/modules/auth_db.so"
modparam("usrloc", "db_mode", 2)
modparam("registrar", "append_branches", 1)
modparam("registrar", "desc_time_order", 1)
modparam("auth_db",
"db_url","sql://ser:heslo@localhost/ser")
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("rr", "enable_full_lr", 1)
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1)
modparam("acc", "log_fmt", "mfstc")
modparam("acc", "report_cancels", 1)
---------- schnipp ------------------
regards,
Rainer
-------- Original Message --------
Subject: Re: [Serusers] Core dump on SuSE 9.3 (07-Sep-2005 20:04)
From: bogdan(a)voice-system.ro
To: strobel(a)hochfranken-online.de
Hi Rainer,
load TM module before ACC.
regards,
bogdan
strobel(a)hochfranken-online.de wrote:
Hi Everybody,
i'm trying to run SER 0.9.3 on SuSE 9.3 (2.6.11.4-21.8-default)
from SRC and it dies after startup with a segmentation fault.
The problem occures everytime i try to load the auth_db mod...Without
that, ser runs pretty fine.
--------------------- schnipp -----------------------
Core was generated by `ser -Eddd'.
Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map:
Eingabe-/Ausgabefehler
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
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 /lib/ser/modules/mysql.so...done.
Loaded symbols for //lib/ser/modules/mysql.so
Reading symbols from /usr/lib/libmysqlclient.so.14...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/ser/modules/exec.so...done.
Loaded symbols for //lib/ser/modules/exec.so
Reading symbols from /lib/ser/modules/sl.so...done.
Loaded symbols for //lib/ser/modules/sl.so
Reading symbols from /lib/ser/modules/acc.so...done.
Loaded symbols for //lib/ser/modules/acc.so
Reading symbols from /lib/ser/modules/textops.so...done.
Loaded symbols for //lib/ser/modules/textops.so
Reading symbols from /lib/ser/modules/tm.so...done.
Loaded symbols for //lib/ser/modules/tm.so
Reading symbols from /lib/ser/modules/rr.so...done.
Loaded symbols for //lib/ser/modules/rr.so
Reading symbols from /lib/ser/modules/maxfwd.so...done.
Loaded symbols for //lib/ser/modules/maxfwd.so
Reading symbols from /lib/ser/modules/usrloc.so...done.
Loaded symbols for //lib/ser/modules/usrloc.so
Reading symbols from /lib/ser/modules/registrar.so...done.
Loaded symbols for //lib/ser/modules/registrar.so
Reading symbols from /lib/ser/modules/auth.so...done.
Loaded symbols for //lib/ser/modules/auth.so
Reading symbols from /lib/ser/modules/auth_db.so...done.
Loaded symbols for //lib/ser/modules/auth_db.so
#0 insert_tmcb (cb_list=0x0, types=1, f=0x4041d408, param=0x4041d408)
at t_hooks.c:99
99 cbp->next = cb_list->first;
(gdb)
(gdb) bt
#0 insert_tmcb (cb_list=0x0, types=1, f=0x4041d408, param=0x4041d408)
at t_hooks.c:99
#1 0x40312566 in register_tmcb (p_msg=0x0, t=0x0, types=1,
f=0x402f8410 <acc_onreq>, param=0x0) at t_hooks.c:166
#2 0x402f8204 in mod_init () at acc_mod.c:308
#3 0x08074d29 in init_mod (m=0x8105248) at sr_module.c:474
#4 0x08074ce7 in init_mod (m=0x81052f8) at sr_module.c:471
#5 0x08074ce7 in init_mod (m=0x81053a8) at sr_module.c:471
#6 0x08074ce7 in init_mod (m=0x8105458) at sr_module.c:471
#7 0x08074ce7 in init_mod (m=0x8105508) at sr_module.c:471
#8 0x08074ce7 in init_mod (m=0x81055b8) at sr_module.c:471
#9 0x08074ce7 in init_mod (m=0x8105668) at sr_module.c:471
#10 0x08074ce7 in init_mod (m=0x8105718) at sr_module.c:471
#11 0x08074ce7 in init_mod (m=0x81057c8) at sr_module.c:471
#12 0x0805df24 in main (argc=2, argv=0xbffff594) at main.c:1553
(gdb)
-------------------schipp-------------------------
I get exactly the same error when I try to run ser 0.9.0 on that system.
The ironic part of that problem is, that ser 0.8.14 runs perfectly
with same modules and same configuration on the same system :-(
Has anybody a idea how to resolve that problem ?
with best regards
Rainer Strobel
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers