So it is at different points in config, it works if you don't set flag
22, which is used for sip trace.
I see you are using tcp, can you try the latest version of git branch
3.3. There was a fix related to tcp after 3.3.1 and it is better to be
sure it is not actually that case - a guide is available at:
http://www.kamailio.org/wiki/install/3.3.x/git
Obviously seems to be some memory corruption (potentially buffer
overflow), because it is accessing a pointer which is not null, but invalid.
Cheers,
Daniel
On 10/9/12 3:34 PM, samuel wrote:
As said in the previous mail, the problem is not
always in the same
point of the config. I just created a second crash:
Oct 9 15:30:13 kamailio1 kamailio[18152]: INFO: <core>
[mem/f_malloc.c:529]: freeing a free fragment
(0x7fd66029c2f8/0x7fd66029c308) - ignore
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=520 a=6 n=route
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=667 a=17 n=if
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=632 a=25 n=has_totag
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=664 a=17 n=if
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=635 a=25 n=loose_route
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=651 a=17 n=if
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=646 a=26 n=is_method
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=663 a=17 n=if
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=651 a=26 n=is_method
Oct 9 15:30:13 kamailio1 kamailio[18152]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=663 a=27 n=sl_send_reply
Oct 9 15:30:13 kamailio1 kernel: [6556831.473688] kamailio[18152]
general protection ip:47b9d5 sp:7fffab3a22d0 error:0 in
kamailio[400000+207000]
Oct 9 15:30:13 kamailio1 kamailio[18155]: : <core> [pass_fd.c:293]:
ERROR: receive_fd: EOF on 30
Oct 9 15:30:13 kamailio1 kamailio[18137]: ALERT: <core> [main.c:785]:
child process 18152 exited by a signal 11
Oct 9 15:30:13 kamailio1 kamailio[18137]: ALERT: <core> [main.c:788]:
core was generated
last lines 6xx are the usual handling of request within dialog, being
the last one a sl_send_reply.
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu