Summary: | ASTERISK-18040: Asterisk segfaults on shutdown when confbridge is in use | ||
Reporter: | Kinsey Moore (kmoore) | Labels: | |
Date Opened: | 2011-06-20 09:07:30 | Date Closed: | 2011-07-12 09:48:34 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_confbridge |
Versions: | SVN | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When a channel is attached to a conference bridge, shutting down asterisk via "core stop now" causes a segfault. Backtrace is below: #0 0x0000000000487c8b in ast_channel_setoption (chan=0x268e898, option=11, data=0x7f290cc9f700, datalen=136, block=0) at channel.c:7611 __PRETTY_FUNCTION__ = "ast_channel_setoption" #1 0x000000000047d5cc in set_format (chan=0x268e898, cap_set=0x268b6f0, rawformat=0x268f038, format=0x268ef28, trans=0x268e928, direction=0) at channel.c:5097 cap_native = 0x0 best_set_fmt = {id = AST_FORMAT_SLINEAR, fattr = {format_attr = '\000' <repeats 127 times>, rtp_marker_bit = 0 '\000'}} best_native_fmt = {id = 214567360, fattr = { format_attr = ")\177\000\000@\260\367')\177\000\000\003\000\000\000\000\000\000\000\035RW\000\000\000\000\000\020\367\311\f)\177\000\000 \216\350\f)\177\000\000\300\t\312\f)\177\000\000\360\241Z\000\000\000\000\000\003\000\000\000\347\001\000\000\350\335e\002\000\000\000\000\030\000\000\000\001\000\000\000\310\335e\002\000\000\000\000\020\367\311\f)\177\000\000\230\262D\000\000\000\000\000@\367\311\f)\177\000\000A\270D\000\000\000\000\000\244\237Z", rtp_marker_bit = 1 '\001'}} res = 0 from = "0\022\000\000\000\000\000\000\270\356s')\177\000\000\310\356s')\177\000\000`\356s')\177\000\000(\022\000\000\000\000\000\000`\220V\002d\000\000\000 \000\000\000\000\000\000\000p\375V\002#\001\000\000\310\356s')\177\000\000\000\000\000\000\000\000\000\000\030\000\000\000\000\000\000\000\000\204i\002\002\000\000\000\360\000\000\000\000\000\000\000\270\356s')\177\000\000\310\356s')\177", '\000' <repeats 11 times>, "\f\002\000\000\000\000\000\000\204i\002\000\000\000\000\030\000\000\000\000\000\000\000`\356s')\177\000\000`\356s')\177\000\000\002jC')\177\000\000\000\f\002", '\000' <repeats 13 times>"\340, \366\311\f)\177\000" to = '\000' <repeats 32 times>, "Q\232M", '\000' <repeats 17 times>, "\033\001\000\000\000\000\000\000\033\001", '\000' <repeats 18 times>, "p\365\311\f)\177\000\000\315\301D", '\000' <repeats 37 times>"\240, \365\311\f)\177\000\000\000\000\000\000\000\000\000\000`\356s')\177\000\000\000\204i\002\000\000\000\000(\022\000\000\000\000\000\000`\356s')\177\000\000`\356s')\177\000\000dMC')\177\000\000\000\000\000\000\263\206\001" __PRETTY_FUNCTION__ = "set_format" #2 0x000000000047db56 in ast_set_read_format (chan=0x268e898, format=0x7f290cc9fa10) at channel.c:5198 cap = 0x268b6f0 res = 0 #3 0x000000000045361e in bridge_make_compatible (bridge=0x265d3a8, bridge_channel=0x2689a08) at bridging.c:571 best_format = {id = AST_FORMAT_SLINEAR, fattr = {format_attr = '\000' <repeats 127 times>, rtp_marker_bit = 0 '\000'}} formats = {{id = 0, fattr = {format_attr = '\000' <repeats 127 times>, rtp_marker_bit = 0 '\000'}}, {id = 0, fattr = { format_attr = '\000' <repeats 127 times>, rtp_marker_bit = 0 '\000'}}} __PRETTY_FUNCTION__ = "bridge_make_compatible" #4 0x00000000004553c3 in bridge_channel_join (bridge_channel=0x2689a08) at bridging.c:944 formats = {{id = 0, fattr = {format_attr = '\000' <repeats 127 times>, rtp_marker_bit = 0 '\000'}}, {id = 0, fattr = { format_attr = '\000' <repeats 127 times>, rtp_marker_bit = 0 '\000'}}} state = AST_BRIDGE_CHANNEL_STATE_WAIT __PRETTY_FUNCTION__ = "bridge_channel_join" __FUNCTION__ = "bridge_channel_join" #5 0x0000000000456268 in bridge_channel_thread (data=0x2689a08) at bridging.c:1108 bridge_channel = 0x2689a08 state = AST_BRIDGE_CHANNEL_STATE_WAIT __PRETTY_FUNCTION__ = "bridge_channel_thread" #6 0x000000000057699e in dummy_start (data=0x265daa0) at utils.c:1010 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 2918448731302641656, 139814286954016, 139814284954048, 139814740930624, 3, 2918448731327807480, -2967185416093319176}, __mask_was_saved = 0}}, __pad = {0x7f290cc9ff80, 0x0, 0x0, 0x0}} __cancel_routine = 0x43fe53 <ast_unregister_thread> __cancel_arg = 0x7f290cca0700 __not_first_call = 0 ret = 0x0 a = {start_routine = 0x456248 <bridge_channel_thread>, data = 0x2689a08, name = 0x2689af0 "bridge_channel_thread started at [ 1141] bridging.c ast_bridge_impart()"} #7 0x00007f2926c49b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304 __res = <value optimized out> pd = 0x7f290cca0700 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139814284953344, -2967185804004442120, 139814286954016, 139814284954048, 139814740930624, 3, 2918448731300544504, 2918400394855432184}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> freesize = <value optimized out> __PRETTY_FUNCTION__ = "start_thread" | ||
Comments: |