Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: freeswitch-core
-
Labels:None
-
Environment:using freeswitch git version downloaded 4 days ago
RHEL 6.2
2.6.32-220.7.1.el6.x86_64 #1 SMP Fri Feb 10 15:22:22 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
-
Platform:Linux x86_64/gcc
-
CPU Info:AMD Opteron(tm) Processor 6176 SE 24-core
-
FreeSWITCH GIT Revision:April 25 HEAD
-
Reproduced with GIT HEAD?:yes, as of 4 days ago.
Description
During a mult-hour run averaging 250 simultaneous calls, got a segfault.
This is a production system making real calls, and this condition cannot be easily replicated.
Do not ask me to replicate with git HEAD.
gdb backtrace:
#0 0x0000003e4c47fb21 in __strlen_sse2 () from /lib64/libc.so.6
#1 0x00007f6eb9431686 in my_dup (s=0x3933323533312f65 <Address 0x3933323533312f65 out of bounds>) at src/switch_event.c:97
#2 0x00007f6eb94339a0 in switch_event_add_header_string (event=0x7f6bb046f800, stack=<value optimized out>, header_name=<value optimized out>, data=<value optimized out>) at src/switch_event.c:1137
#3 0x00007f6eb942414a in switch_scheduler_add_task (task_runtime=1335829448, func=<value optimized out>, desc=<value optimized out>, group=<value optimized out>, cmd_id=0, cmd_arg=0x7f6c2a5c7250, flags=2) at src/switch_scheduler.c:219
#4 0x00007f6eb944ed24 in switch_ivr_schedule_hangup (runtime=1335829448, uuid=0x7f6c291f24d3 "makecall_49_from_CTCLIENT1_on_warhel33.e-r-solutions.com_t_1335829363", cause=SWITCH_CAUSE_ALLOTTED_TIMEOUT, bleg=SWITCH_FALSE) at src/switch_ivr_async.c:3799
#5 0x00007f6eaac595cc in sched_hangup_function (cmd=<value optimized out>, session=<value optimized out>, stream=0x7f6e094edd40) at /var/tmp/freeswitch_apr_25_2012/src/mod/applications/mod_commands/mod_commands.c:2664
#6 0x00007f6eb9426294 in switch_api_execute (cmd=0x7f6de0063ee0 "sched_hangup", arg=0x7f6de0063ef0 "+0 makecall_49_from_CTCLIENT1_on_warhel33.e-r-solutions.com_t_1335829363", session=0x0, stream=0x7f6e094edd40) at src/switch_loadable_module.c:2261
#7 0x00007f6eabdf7aee in api_exec (thread=<value optimized out>, obj=0x7f6de0063db0) at /var/tmp/freeswitch_apr_25_2012/src/mod/event_handlers/mod_event_socket/mod_event_socket.c:1445
#8 0x0000003e4cc077f1 in start_thread () from /lib64/libpthread.so.0
#9 0x0000003e4c4e592d in clone () from /lib64/libc.so.6
More details availabe on request.
This is a production system making real calls, and this condition cannot be easily replicated.
Do not ask me to replicate with git HEAD.
gdb backtrace:
#0 0x0000003e4c47fb21 in __strlen_sse2 () from /lib64/libc.so.6
#1 0x00007f6eb9431686 in my_dup (s=0x3933323533312f65 <Address 0x3933323533312f65 out of bounds>) at src/switch_event.c:97
#2 0x00007f6eb94339a0 in switch_event_add_header_string (event=0x7f6bb046f800, stack=<value optimized out>, header_name=<value optimized out>, data=<value optimized out>) at src/switch_event.c:1137
#3 0x00007f6eb942414a in switch_scheduler_add_task (task_runtime=1335829448, func=<value optimized out>, desc=<value optimized out>, group=<value optimized out>, cmd_id=0, cmd_arg=0x7f6c2a5c7250, flags=2) at src/switch_scheduler.c:219
#4 0x00007f6eb944ed24 in switch_ivr_schedule_hangup (runtime=1335829448, uuid=0x7f6c291f24d3 "makecall_49_from_CTCLIENT1_on_warhel33.e-r-solutions.com_t_1335829363", cause=SWITCH_CAUSE_ALLOTTED_TIMEOUT, bleg=SWITCH_FALSE) at src/switch_ivr_async.c:3799
#5 0x00007f6eaac595cc in sched_hangup_function (cmd=<value optimized out>, session=<value optimized out>, stream=0x7f6e094edd40) at /var/tmp/freeswitch_apr_25_2012/src/mod/applications/mod_commands/mod_commands.c:2664
#6 0x00007f6eb9426294 in switch_api_execute (cmd=0x7f6de0063ee0 "sched_hangup", arg=0x7f6de0063ef0 "+0 makecall_49_from_CTCLIENT1_on_warhel33.e-r-solutions.com_t_1335829363", session=0x0, stream=0x7f6e094edd40) at src/switch_loadable_module.c:2261
#7 0x00007f6eabdf7aee in api_exec (thread=<value optimized out>, obj=0x7f6de0063db0) at /var/tmp/freeswitch_apr_25_2012/src/mod/event_handlers/mod_event_socket/mod_event_socket.c:1445
#8 0x0000003e4cc077f1 in start_thread () from /lib64/libpthread.so.0
#9 0x0000003e4c4e592d in clone () from /lib64/libc.so.6
More details availabe on request.
frame 3
and
print *tp