[sr-dev] [kamailio] Crash with corex send() since 027495fb (4.3.3 -> 4.3.4) (#496)

Paul Arnold notifications at github.com
Fri Feb 5 01:42:00 CET 2016


Since upgrading from 433 to 434 I'm seeing a crash when calling send() from the corex module The backtrace is included below

It looks like the problem was introduced in 027495fb (cherry picked into 43: 4fdd1169, 42: 5b93cc21 and 41: 8e010d9f)

I can confirm that 434 with 4fdd1169 reverted doesn't crash

#0  memchr () at /sysdeps/x86_64/memchrS:33
33      /sysdeps/x86_64/memchrS: No such file or directory
(gdb) bt
#0  memchr () at /sysdeps/x86_64/memchrS:33
#1  0x00007f477b6eb50d in corex_send (msg=0x7f4780940508, pu=<optimized out>, proto=proto at entry=PROTO_UDP) at corex_libc:265
#2  0x00007f477b6edf3e in w_send (msg=<optimized out>, su=<optimized out>, sq=<optimized out>) at corex_modc:174
#3  0x0000000000429127 in do_action (h=h at entry=0x7ffe874baf10, a=a at entry=0x7f47808553c8, msg=msg at entry=0x7f4780940508) at actionc:1059
#4  0x0000000000427dc9 in run_actions (h=h at entry=0x7ffe874baf10, a=0x7f47808553c8, msg=msg at entry=0x7f4780940508) at actionc:1548
#5  0x00000000004297fc in do_action (h=h at entry=0x7ffe874baf10, a=a at entry=0x7f4780855ed8, msg=msg at entry=0x7f4780940508) at actionc:1048
#6  0x0000000000427dc9 in run_actions (h=h at entry=0x7ffe874baf10, a=0x7f4780855ed8, msg=msg at entry=0x7f4780940508) at actionc:1548
#7  0x00000000004297fc in do_action (h=h at entry=0x7ffe874baf10, a=a at entry=0x7f4780856020, msg=msg at entry=0x7f4780940508) at actionc:1048
#8  0x0000000000427dc9 in run_actions (h=h at entry=0x7ffe874baf10, a=0x7f4780856020, msg=msg at entry=0x7f4780940508) at actionc:1548
#9  0x00000000004297fc in do_action (h=h at entry=0x7ffe874baf10, a=a at entry=0x7f4780856248, msg=msg at entry=0x7f4780940508) at actionc:1048
#10 0x0000000000427dc9 in run_actions (h=h at entry=0x7ffe874baf10, a=0x7f478084bdb0, msg=msg at entry=0x7f4780940508) at actionc:1548
#11 0x00000000004298e5 in do_action (h=h at entry=0x7ffe874baf10, a=a at entry=0x7f47808075e0, msg=msg at entry=0x7f4780940508) at actionc:677
#12 0x0000000000427dc9 in run_actions (h=h at entry=0x7ffe874baf10, a=a at entry=0x7f47808005f0, msg=msg at entry=0x7f4780940508) at actionc:1548
#13 0x0000000000434610 in run_top_route (a=0x7f47808005f0, msg=msg at entry=0x7f4780940508, c=c at entry=0x0) at actionc:1634
#14 0x00000000004f768e in receive_msg (buf=<optimized out>, len=<optimized out>, rcv_info=<optimized out>) at receivec:196
#15 0x00000000005dee7d in udp_rcv_loop () at udp_serverc:495
#16 0x00000000004a8a43 in main_loop () at mainc:1577
#17 0x00000000004272e7 in main (argc=<optimized out>, argv=<optimized out>) at mainc:2553


---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/496
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160204/f4adeb41/attachment.html>


More information about the sr-dev mailing list