Here it is:<br><br>[root@ops3 ~]# gdb /usr/local/sbin/kamailio /core.4899 <br>GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>Type "show copying" to see the conditions.<br>There is absolutely no warranty for GDB. Type "show warranty" for details.<br>
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".<br><br><br>warning: Can't read pathname for load map: Input/output error.<br>Reading symbols from /lib/libdl.so.2...done.<br>
Loaded symbols for /lib/libdl.so.2<br>Reading symbols from /lib/libresolv.so.2...done.<br>Loaded symbols for /lib/libresolv.so.2<br>Reading symbols from /lib/libc.so.6...done.<br>Loaded symbols for /lib/libc.so.6<br>Reading symbols from /lib/ld-linux.so.2...done.<br>
Loaded symbols for /lib/ld-linux.so.2<br>Reading symbols from /usr/local/lib/kamailio/modules/db_mysql.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/db_mysql.so<br>Reading symbols from /usr/lib/mysql/libmysqlclient.so.15...done.<br>
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.15<br>Reading symbols from /usr/lib/libz.so.1...done.<br>Loaded symbols for /usr/lib/libz.so.1<br>Reading symbols from /lib/libcrypt.so.1...done.<br>Loaded symbols for /lib/libcrypt.so.1<br>
Reading symbols from /lib/libnsl.so.1...done.<br>Loaded symbols for /lib/libnsl.so.1<br>Reading symbols from /lib/libm.so.6...done.<br>Loaded symbols for /lib/libm.so.6<br>Reading symbols from /lib/libssl.so.6...done.<br>
Loaded symbols for /lib/libssl.so.6<br>Reading symbols from /lib/libcrypto.so.6...done.<br>Loaded symbols for /lib/libcrypto.so.6<br>Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.<br>Loaded symbols for /usr/lib/libgssapi_krb5.so.2<br>
Reading symbols from /usr/lib/libkrb5.so.3...done.<br>Loaded symbols for /usr/lib/libkrb5.so.3<br>Reading symbols from /lib/libcom_err.so.2...done.<br>Loaded symbols for /lib/libcom_err.so.2<br>Reading symbols from /usr/lib/libk5crypto.so.3...done.<br>
Loaded symbols for /usr/lib/libk5crypto.so.3<br>Reading symbols from /usr/lib/libkrb5support.so.0...done.<br>Loaded symbols for /usr/lib/libkrb5support.so.0<br>Reading symbols from /lib/libkeyutils.so.1...done.<br>Loaded symbols for /lib/libkeyutils.so.1<br>
Reading symbols from /lib/libselinux.so.1...done.<br>Loaded symbols for /lib/libselinux.so.1<br>Reading symbols from /lib/libsepol.so.1...done.<br>Loaded symbols for /lib/libsepol.so.1<br>Reading symbols from /usr/local/lib/kamailio/modules/sl.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/sl.so<br>Reading symbols from /usr/local/lib/kamailio/modules/tm.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/tm.so<br>Reading symbols from /usr/local/lib/kamailio/modules/rr.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/rr.so<br>Reading symbols from /usr/local/lib/kamailio/modules/maxfwd.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/maxfwd.so<br>Reading symbols from /usr/local/lib/kamailio/modules/usrloc.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/usrloc.so<br>Reading symbols from /usr/local/lib/kamailio/modules/registrar.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/registrar.so<br>Reading symbols from /usr/local/lib/kamailio/modules/textops.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/textops.so<br>Reading symbols from /usr/local/lib/kamailio/modules/mi_fifo.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/mi_fifo.so<br>Reading symbols from /usr/local/lib/kamailio/modules/uri_db.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/uri_db.so<br>Reading symbols from /usr/local/lib/kamailio/modules/uri.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/uri.so<br>Reading symbols from /usr/local/lib/kamailio/modules/xlog.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/xlog.so<br>Reading symbols from /usr/local/lib/kamailio/modules/acc.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/acc.so<br>Reading symbols from /usr/local/lib/kamailio/modules/auth.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/auth.so<br>Reading symbols from /usr/local/lib/kamailio/modules/auth_db.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/auth_db.so<br>Reading symbols from /usr/local/lib/kamailio/modules/alias_db.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/alias_db.so<br>Reading symbols from /usr/local/lib/kamailio/modules/domain.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/domain.so<br>Reading symbols from /usr/local/lib/kamailio/modules/lcr.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/lcr.so<br>Reading symbols from /usr/local/lib/kamailio/modules/avpops.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/avpops.so<br>Reading symbols from /usr/local/lib/kamailio/modules/permissions.so...done.<br>
Loaded symbols for /usr/local/lib/kamailio/modules/permissions.so<br>Reading symbols from /usr/local/lib/kamailio/modules/carrierroute.so...done.<br>Loaded symbols for /usr/local/lib/kamailio/modules/carrierroute.so<br>Reading symbols from /lib/libnss_files.so.2...done.<br>
Loaded symbols for /lib/libnss_files.so.2<br>Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 lumps_len (msg=0x81b3450, lumps=<value optimized out>, send_sock=0x81afe28) at msg_translator.c:665<br>
665 switch(r->op){<br>(gdb) bt<br>#0 lumps_len (msg=0x81b3450, lumps=<value optimized out>, send_sock=0x81afe28) at msg_translator.c:665<br>#1 0x0807ce8e in build_req_buf_from_sip_req (msg=0x81b3450, returned_len=0xbffd27f8, send_sock=0x81afe28, proto=1, flags=<value optimized out>) at msg_translator.c:1456<br>
#2 0x08063703 in forward_request (msg=0x81b3450, p=0x81b28b8) at forward.c:362<br>#3 0x00157a28 in t_relay_to (p_msg=0x81b3450, proxy=0x81b2dc0, flags=0) at t_funcs.c:238<br>#4 0x0016a241 in w_t_relay (p_msg=0x81b3450, proxy=0x0, flags=0x0) at tm.c:977<br>
#5 0x08052f66 in do_action (a=0x81ac3b8, msg=0x81b3450) at action.c:850<br>#6 0x080557d9 in run_action_list (a=0x81ac3b8, msg=0x81b3450) at action.c:138<br>#7 0x080a4925 in eval_expr (e=0x81ac420, msg=0x81b3450, val=0x0) at route.c:1116<br>
#8 0x080a43a0 in eval_expr (e=0x81ac448, msg=0x81b3450, val=0x0) at route.c:1429<br>#9 0x080a4336 in eval_expr (e=0x81ac470, msg=0x81b3450, val=0x0) at route.c:1434<br>#10 0x08052a47 in do_action (a=0x81ac588, msg=0x81b3450) at action.c:705<br>
#11 0x080557d9 in run_action_list (a=0x81ac588, msg=0x81b3450) at action.c:138<br>#12 0x08054048 in do_action (a=0x81ab960, msg=0x81b3450) at action.c:118<br>#13 0x080557d9 in run_action_list (a=0x81ab8f8, msg=0x81b3450) at action.c:138<br>
#14 0x08054485 in do_action (a=0x81ab9c8, msg=0x81b3450) at action.c:722<br>#15 0x080557d9 in run_action_list (a=0x81aa930, msg=0x81b3450) at action.c:138<br>#16 0x08055b7c in run_top_route (a=0x81aa930, msg=0x81b3450) at action.c:118<br>
#17 0x08094e29 in receive_msg (<br> buf=0x817a0a0 "ACK <a href="mailto:sip%3A8888860911167@192.168.200.63">sip:8888860911167@192.168.200.63</a> SIP/2.0\r\nVia: SIP/2.0/UDP 192.168.200.62:5060;branch=z9hG4bK4859c659;rport\r\nRoute: <sip:192.168.200.9;lr=on>\r\nFrom: \"7001\" <<a href="mailto:sip%3A60911100@ops3.cpsnet.com.ar">sip:60911100@ops3.cpsnet.com.ar</a>>;tag=as"..., len=523, rcv_info=0xbffd3904) at receive.c:165<br>
#18 0x080d8027 in udp_rcv_loop () at udp_server.c:449<br>#19 0x0806d49e in main (argc=3, argv=0xbffd3af4) at main.c:780<br><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 3:00 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">First send the backtrace, the core without binaries is not much helpful as the symbols can differ to a local compiled version. Use:<br>
<br>
gdb /usr/local/sbin/kamailio /path/to/corefile<br>
<br>
The do "bt" there and send the output here.<br>
<br>
Thanks,<br><font color="#888888">
Daniel</font><div class="Ih2E3d"><br>
<br>
<br>
On 02/20/2009 02:12 PM, Uriel Rozenbaum wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hi Henning, here's the core file zipped.<br>
<br></div><div class="Ih2E3d">
On Fri, Feb 20, 2009 at 7:24 AM, Henning Westerholt <<a href="mailto:henning.westerholt@1und1.de" target="_blank">henning.westerholt@1und1.de</a> <mailto:<a href="mailto:henning.westerholt@1und1.de" target="_blank">henning.westerholt@1und1.de</a>>> wrote:<br>
<br>
On Thursday 19 February 2009, Uriel Rozenbaum wrote:<br>
> Sure, but I'll need some guidance on obtaining it; I'm just<br>
checking with<br>
> the syslog messages with debugging level in 3. Can you show me<br>
how to do<br>
> it?<br>
<br>
Hi Uriel,<br>
<br>
the core was already generated, as you can see in the logs:<br>
<br>
>> Feb 19 08:48:58 ops3 /usr/local/sbin/kamailio[4895]:<br>
>> INFO:core:handle_sigs: core was generated<br>
<br>
You should find this file in the working directory of the server.<br>
<br>
Cheers,<br>
<br>
Henning<br>
<br>
<br>
</div></blockquote><div><div></div><div class="Wj3C7c">
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<br>
</div></div></blockquote></div><br>