[OpenSIPS-Users] OpenSIPS Crashes

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Aug 30 14:52:08 CEST 2012


And the backtrace for the other core file with:
     #0  0x00d26c01 in SSL_CTX_get_timeout () from /lib/libssl.so.6

REgards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 08/30/2012 11:58 AM, Jorge Ortea wrote:
>
> Hi Bogdan,
>
> I have 0.9.8b version of libssl.
>
> - First core dump file:
> (gdb) bt
> #0  0x00aed746 in OPENSSL_cleanse () from /lib/libcrypto.so.6
> #1  0x00d2f4b0 in kssl_ctx_free () from /lib/libssl.so.6
> #2  0x00d248f4 in SSL_free () from /lib/libssl.so.6
> #3  0x081606e3 in tls_tcpconn_clean (c=0xb625986c) at tls/tls_server.c:666
> #4  0x080cbad8 in _tcpconn_rm (c=0xb625986c) at tcp_main.c:505
> #5  0x080ccd62 in destroy_tcp () at tcp_main.c:1393
> #6  0x0806e3b5 in cleanup (show_status=1) at main.c:338
> #7  0x0806f2e4 in handle_sigs () at main.c:534
> #8  0x08073ac3 in main (argc=1, argv=0xbfbe87a4) at main.c:914
> (gdb)
>
>
> - Second coredump file:
> (gdb) bt
> #0  0x00d26c01 in SSL_CTX_get_timeout () from /lib/libssl.so.6
> #1  0x00d26f1f in SSL_SESSION_free () from /lib/libssl.so.6
> #2  0x00b3f2f7 in sk_dup () from /lib/libcrypto.so.6
> #3  0x00d26d8c in SSL_CTX_flush_sessions () from /lib/libssl.so.6
> #4  0x00d23244 in ssl_update_cache () from /lib/libssl.so.6
> #5  0x00d0e0f6 in ssl3_accept () from /lib/libssl.so.6
> #6  0x00d22eba in SSL_accept () from /lib/libssl.so.6
> #7  0x0816461b in tls_accept (c=0xb625986c, poll_events=0x0) at 
> tls/tls_server.c:236
> #8  0x08164f57 in tls_fix_read_conn (c=0xb625986c) at tls/tls_server.c:889
> #9  0x080d89e2 in tcp_read_req (con=0xb625986c, bytes_read=0xbfbe8478) 
> at tcp_read.c:451
> #10 0x080dab94 in handle_io (fm=0x8225ef0, idx=-1) at tcp_read.c:812
> #11 0x080dc7b7 in tcp_receive_loop (unix_sock=61) at io_wait.h:727
> #12 0x080cd60e in tcp_init_children (chd_rank=0x819f35c) at 
> tcp_main.c:1706
> #13 0x08073a71 in main (argc=1, argv=0xbfbe87a4) at main.c:881
> (gdb)
>
>
> The only thing I can think of we are testing some softphone with TLS 
> signaling, could be it ??
>
> Thanks.
> Regards.
>
>
> ------------------------------------------------------------------------
> Date: Thu, 30 Aug 2012 11:13:23 +0300
> From: bogdan at opensips.org
> To: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] OpenSIPS Crashes
>
> Hi Jorge,
>
> Once you are in gdb, in order to get a back trace, do "bt"
>
> Also, what version of libssl do you have on the machine (have you 
> recently upgraded libssl ?)
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 08/29/2012 09:48 PM, Jorge Ortea wrote:
>
>
>     Hello Bogdan,
>
>     I just see that there were 2 coredump files, this is the other
>     content:
>     .
>     .
>     .
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/nat_traversal.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/nathelper.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/nathelper.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/mediaproxy.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/mediaproxy.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/avpops.so...done.
>     Loaded symbols for /usr/local/opensips/lib/opensips/modules/avpops.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/mangler.so...done.
>     Loaded symbols for /usr/local/opensips/lib/opensips/modules/mangler.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/load_balancer.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/load_balancer.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/uac.so...done.
>     Loaded symbols for /usr/local/opensips/lib/opensips/modules/uac.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/dialplan.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/dialplan.so
>     Reading symbols from /lib/libpcre.so.0...done.
>     Loaded symbols for /lib/libpcre.so.0
>     Reading symbols from /lib/libnss_files.so.2...done.
>     Loaded symbols for /lib/libnss_files.so.2
>     Reading symbols from /lib/libnss_dns.so.2...done.
>     Loaded symbols for /lib/libnss_dns.so.2
>     Failed to read a valid object file image from memory.
>     Core was generated by `/usr/local/opensips/sbin/opensips'.
>     Program terminated with signal 11, Segmentation fault.
>     #0  0x00d26c01 in SSL_CTX_get_timeout () from /lib/libssl.so.6
>
>     Thanks.
>     Regards.
>
>     ------------------------------------------------------------------------
>     From: darham at hotmail.com <mailto:darham at hotmail.com>
>     To: users at lists.opensips.org <mailto:users at lists.opensips.org>
>     Date: Wed, 29 Aug 2012 19:30:32 +0200
>     Subject: Re: [OpenSIPS-Users] OpenSIPS Crashes
>
>
>     Hello Bogdan,
>
>     I have achieved this:
>     .
>     .
>     .
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/nathelper.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/nathelper.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/mediaproxy.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/mediaproxy.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/avpops.so...done.
>     Loaded symbols for /usr/local/opensips/lib/opensips/modules/avpops.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/mangler.so...done.
>     Loaded symbols for /usr/local/opensips/lib/opensips/modules/mangler.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/load_balancer.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/load_balancer.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/uac.so...done.
>     Loaded symbols for /usr/local/opensips/lib/opensips/modules/uac.so
>     Reading symbols from
>     /mnt/aux/opensips-1.6.4-2-tls-20110803/bin/opensips-1.6.4-2-tls-20110803/lib/opensips/modules/dialplan.so...done.
>     Loaded symbols for
>     /usr/local/opensips/lib/opensips/modules/dialplan.so
>     Reading symbols from /lib/libpcre.so.0...done.
>     Loaded symbols for /lib/libpcre.so.0
>     Reading symbols from /lib/libnss_files.so.2...done.
>     Loaded symbols for /lib/libnss_files.so.2
>     Reading symbols from /lib/libnss_dns.so.2...done.
>     Loaded symbols for /lib/libnss_dns.so.2
>     Failed to read a valid object file image from memory.
>     Core was generated by `/usr/local/opensips/sbin/opensips'.
>     Program terminated with signal 11, Segmentation fault.
>     #0  0x00aed746 in OPENSSL_cleanse () from /lib/libcrypto.so.6
>     (gdb) quit
>
>
>     Thanks.
>     Regards.
>
>
>     ------------------------------------------------------------------------
>     Date: Wed, 29 Aug 2012 14:22:19 +0300
>     From: bogdan at opensips.org <mailto:bogdan at opensips.org>
>     To: users at lists.opensips.org <mailto:users at lists.opensips.org>
>     Subject: Re: [OpenSIPS-Users] OpenSIPS Crashes
>
>     Hi Jorge,
>
>     I see a core file was generated - please extract the backtrace
>     from there with gdb and post it here.
>
>     Thanks and regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>     On 08/29/2012 02:05 PM, Jorge Ortea wrote:
>
>         Hi all,
>
>         I use OpenSIPS 1.6.4-2-tls from one year ago and it never did
>         anything like this. Simply auto-killed, I only have this log:
>         .
>         .
>         .
>         Aug 28 03:49:04 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3801]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:49:12 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3805]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:49:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3799]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:49:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3801]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:51:04 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3801]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:51:04 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3803]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3805]: INFO:core:tls_accept:
>         client did not present a certificate
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3839]:
>         CRITICAL:core:receive_fd: EOF on 62
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3704]:
>         INFO:core:handle_sigs: child process 3807 exited by a signal 11
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3704]:
>         INFO:core:handle_sigs: core was generated
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3704]:
>         INFO:core:handle_sigs: terminating due to SIGCHLD
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3839]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3838]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3832]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3836]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3816]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3834]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3812]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3830]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3828]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3826]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3824]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3828]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3820]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3810]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3818]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3805]: INFO:core:sig_usr:
>         signal 15 received
>         Aug 28 03:51:19 muc-vfk21
>         /usr/local/opensips/sbin/opensips[3803]: INFO:core:sig_usr:
>         signal 15 received
>         .
>         .
>         .
>
>         What could be happen ???
>
>         Thanks very much.
>         Regards.
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________ Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>     _______________________________________________ Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________ Users mailing list 
> Users at lists.opensips.org 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120830/8c9026a4/attachment-0001.htm>


More information about the Users mailing list