Hi Dmitri!
Is this bug reproduce-able? If yes, please activate core dumping in
/etc/defaults/kamailio and configure location of core file in
/etc/init.d/kamailio (search for "core")
regards
klaus
Am 08.02.2010 12:16, schrieb Dmitri:
Hello list,
I have fresh installation of Debian Squeeze on X86_64.
I downloaded source tarball
http://www.kamailio.org/pub/kamailio/latest/src/kamailio-3.0.0_src.tar.gz
and did 'make deb' there.
So, I got following debian packages:
kamailio_3.0.0_amd64.deb, kamailio-berkeley-modules_3.0.0_amd64.deb,
kamailio-carrierroute-modules_3.0.0_amd64.deb
kamailio-cpl-modules_3.0.0_amd64.deb,
kamailio-ldap-modules_3.0.0_amd64.deb,
kamailio-memcached-modules_3.0.0_amd64.deb
kamailio-mysql-modules_3.0.0_amd64.deb, kamailio-nth_3.0.0_amd64.deb,
kamailio-perl-modules_3.0.0_amd64.deb
kamailio-postgres-modules_3.0.0_amd64.deb,
kamailio-presence-modules_3.0.0_amd64.deb,
kamailio-purple-modules_3.0.0_amd64.deb
kamailio-radius-modules_3.0.0_amd64.deb,
kamailio-snmpstats-modules_3.0.0_amd64.deb,
kamailio-tls-modules_3.0.0_amd64.deb
kamailio-unixodbc-modules_3.0.0_amd64.deb,
kamailio-utils-modules_3.0.0_amd64.deb,
kamailio-xmlrpc-modules_3.0.0_amd64.deb
kamailio-xmpp-modules_3.0.0_amd64.deb
I installed packages:
kamailio_3.0.0_amd64.deb, kamailio-mysql-modules_3.0.0_amd64.deb,
kamailio-presence-modules_3.0.0_amd64.deb,
kamailio-xmlrpc-modules_3.0.0_amd64.deb
Created database, changed passwords for openser and openserro users in
MySQL as well as in kamailio config files, enabled MySQL.
DUMP_CORE=yes in /etc/default/kamailio, also added '-w
/var/run/kamailio' to options.
Created test user with kamctl.
Started kamailio with init script: /etc/init.d/kamailio start:
Feb 7 22:05:10 kamailio kamailio: INFO: <core> [tcp_main.c:4150]:
init_tcp: using epoll_lt as the io watch method (auto detected)
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: usrloc
[hslot.c:53]: locks array size 512
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
Feb 7 22:05:10 kamailio /usr/sbin/kamailio[2695]: INFO: ctl
[io_listener.c:224]: io_listen_loop: using epoll_lt io watch method
(config)
Then I tried to connect to kamailio server with softphone Zoiper, and
kamailio crashes immediately:
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2700]: : <core>
[pass_fd.c:283]: ERROR: receive_fd: EOF on 21
Feb 7 22:05:20 kamailio kernel: [ 1051.407643] kamailio[2689]: segfault
at c2 ip 00007fa8b5947b19 sp 00007fff48ff9700 error 4 in
tm.so[7fa8b5917000+72000]
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2678]: ALERT: <core>
[main.c:722]: child process 2689 exited by a signal 11
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2678]: ALERT: <core>
[main.c:725]: core was not generated
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2678]: INFO: <core>
[main.c:737]: INFO: terminating due to SIGCHLD
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2691]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2699]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2698]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2687]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2697]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2690]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2696]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2688]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2695]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2680]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2694]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2693]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2692]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2686]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2685]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2681]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2684]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2682]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2700]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2683]: INFO: <core>
[main.c:788]: INFO: signal 15 received
Feb 7 22:05:20 kamailio /usr/sbin/kamailio[2678]: ERROR: ctl
[ctl.c:379]: ERROR: ctl: could not delete unix socket /tmp/ser_ctl:
Operation not permitted (1)
Feb 7 22:05:20 kamailio kernel: [ 1051.432646] kamailio[2678]: segfault
at 12 ip 00007fa8b592ae43 sp 00007fff48ff9f40 error 4 in
tm.so[7fa8b5917000+72000]
For unknown reason core was not generated.
Any ideas ?
Many thanks in advance,
Dmitri
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users