[asterisk-bugs] [JIRA] (ASTERISK-26640) app_queue: Asterisk crashes when dialplan execution goes to queue application

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Dec 5 17:44:10 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234038#comment-234038 ] 

Rusty Newton edited comment on ASTERISK-26640 at 12/5/16 5:42 PM:
------------------------------------------------------------------

[Edit by Rusty - removed large inline debug. Please do not attach large amounts of debug into a comment field.]


was (Author: yuratop):
gdb.txt file content
#0  0x00007f75824d3a84 in ?? ()
#1  0x00007f752c000bf8 in ?? ()
#2  0x00007f75824f34e5 in ?? ()
#3  0x00007f752c00cb70 in ?? ()
#4  0x00007f757aac0320 in ?? ()
#5  0x0000000058452007 in ?? ()
#6  0x000000000007301c in ?? ()
#7  0x00007f757aabf990 in ?? ()
#8  0x00007f75824d3ff8 in ?? ()
#9  0x000000740000000b in ?? ()
#10 0x00007f757aabfaa8 in ?? ()
#11 0x00007f752c00cb70 in ?? ()
#12 0x00007f757aac0320 in ?? ()
#13 0x0000000000000000 in ?? ()
#0  0x00007f75824d3a84 in ?? ()
#1  0x00007f752c000bf8 in ?? ()
#2  0x00007f75824f34e5 in ?? ()
#3  0x00007f752c00cb70 in ?? ()
#4  0x00007f757aac0320 in ?? ()
#5  0x0000000058452007 in ?? ()
#6  0x000000000007301c in ?? ()
#7  0x00007f757aabf990 in ?? ()
#8  0x00007f75824d3ff8 in ?? ()
#9  0x000000740000000b in ?? ()
#10 0x00007f757aabfaa8 in ?? ()
#11 0x00007f752c00cb70 in ?? ()
#12 0x00007f757aac0320 in ?? ()
#13 0x0000000000000000 in ?? ()
#0  0x00007f75824d3a84 in ?? ()
No symbol table info available.
#1  0x00007f752c000bf8 in ?? ()
No symbol table info available.
#2  0x00007f75824f34e5 in ?? ()
No symbol table info available.
#3  0x00007f752c00cb70 in ?? ()
No symbol table info available.
#4  0x00007f757aac0320 in ?? ()
No symbol table info available.
#5  0x0000000058452007 in ?? ()
No symbol table info available.
#6  0x000000000007301c in ?? ()
No symbol table info available.
#7  0x00007f757aabf990 in ?? ()
No symbol table info available.
#8  0x00007f75824d3ff8 in ?? ()
No symbol table info available.
#9  0x000000740000000b in ?? ()
No symbol table info available.
#10 0x00007f757aabfaa8 in ?? ()
No symbol table info available.
#11 0x00007f752c00cb70 in ?? ()
No symbol table info available.
#12 0x00007f757aac0320 in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 52 (LWP 23177):
#0  0x00007f75f75e034d in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 51 (LWP 23162):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003342f80 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x337a898 " .f", scheme_size=3842240000, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=53980584, port=0x0, port_size=4525071, path=0x7f75e503f700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=53979288) at uri.c:83
#4  0x0000000003338040 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 50 (LWP 23350):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 49 (LWP 23333):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 48 (LWP 23150):
#0  0x00007f75f6bad72d in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 47 (LWP 23326):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 46 (LWP 23332):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 45 (LWP 23324):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 44 (LWP 23218):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 43 (LWP 23221):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 42 (LWP 23208):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 41 (LWP 23351):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 40 (LWP 23315):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 39 (LWP 23180):
#0  0x00007f75f75df670 in ?? ()
#1  0x000000000336fa70 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x34ad698 " .f", scheme_size=2061663744, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=54236872, port=0x0, port_size=4525071, path=0x7f757ae28700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=55236248) at uri.c:83
#4  0x00000000034b88f0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 38 (LWP 23325):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 37 (LWP 23179):
#0  0x00007f75f75df670 in ?? ()
#1  0x00000000033b9490 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x36bd6f8 " .f", scheme_size=2062171648, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=54236152, port=0x0, port_size=4525071, path=0x7f757aea4700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=57399032) at uri.c:83
#4  0x00000000036bb0a0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 36 (LWP 23245):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 35 (LWP 23175):
#0  0x00007f75f75e0b9d in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 34 (LWP 23317):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 33 (LWP 23176):
#0  0x00007f75f75df670 in ?? ()
#1  0x000000000349b410 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x35287f8 " .f", scheme_size=2063187456, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=55706376, port=0x0, port_size=4525071, path=0x7f757af9c700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=55740408) at uri.c:83
#4  0x000000000376dda0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 32 (LWP 23316):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 31 (LWP 23174):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 30 (LWP 23169):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003736460 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x37366c8 " .f", scheme_size=3825942016, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=57880104, port=0x0, port_size=4525071, path=0x7f75e40b4700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=57894600) at uri.c:83
#4  0x00000000037346c0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 29 (LWP 23152):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003257040 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x32570c8 " .f", scheme_size=4122357248, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=52785064, port=0x0, port_size=4525071, path=0x7f75f5b63700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=52785352) at uri.c:83
#4  0x0000000003257230 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 28 (LWP 23170):
#0  0x00007f75f75df670 in ?? ()
#1  0x00000000037578d0 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x3757958 " .f", scheme_size=2417556992, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=58030136, port=0x0, port_size=4525071, path=0x7f7590190700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=58030424) at uri.c:83
#4  0x0000000003757aa0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 27 (LWP 23159):
#0  0x00007f75f75df670 in ?? ()
#1  0x00000000032ddba0 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x32ea0c8 " .f", scheme_size=3843763712, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=53390968, port=0x0, port_size=4525071, path=0x7f75e51b3700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=53387464) at uri.c:83
#4  0x00000000032eae00 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 26 (LWP 23328):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 25 (LWP 23395):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 24 (LWP 23168):
#0  0x00007f75f75dd404 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 23 (LWP 23160):
#0  0x00007f75f75df670 in ?? ()
#1  0x00000000032e5730 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x32ee2d8 " .f", scheme_size=3843255808, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=53368472, port=0x0, port_size=4525071, path=0x7f75e5137700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=53404376) at uri.c:83
#4  0x00000000032e4330 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 22 (LWP 23156):
#0  0x00007f75f75dd404 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 21 (LWP 23173):
#0  0x00007f75f75e0b9d in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 20 (LWP 23209):
#0  0x00007f75f75dd404 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 19 (LWP 23167):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003536b40 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x3536d08 " .f", scheme_size=3839700480, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=55798824, port=0x0, port_size=4525071, path=0x7f75e4dd3700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=55799048) at uri.c:83
#4  0x000000000334c8b0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 18 (LWP 23336):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 17 (LWP 23141):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 16 (LWP 23153):
#0  0x00007f75f6b82dfd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 15 (LWP 23172):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003775310 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=0, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x3761558 " .f", scheme_size=2416541184, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=32, port=0x0, port_size=4525071, path=0x7f7590098700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=58070360) at uri.c:83
#4  0x000000000376d6a0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 14 (LWP 23155):
#0  0x00007f75f75dd404 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 13 (LWP 23166):
#0  0x00007f75f75dd404 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 12 (LWP 23171):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 11 (LWP 23338):
#0  0x00007f75f75dd7be in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 10 (LWP 23164):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 9 (LWP 23147):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 8 (LWP 23154):
#0  0x00007f75f75df670 in ?? ()
#1  0x000000000326b340 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=0, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x326e8e8 " .f", scheme_size=4121341440, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=32, port=0x0, port_size=4525071, path=0x7f75f5a6b700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=52881640) at uri.c:83
#4  0x000000000326f190 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 7 (LWP 23233):
#0  0x00007f75f6baefdd in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 6 (LWP 23165):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003342130 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=0, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x337d968 " .f", scheme_size=3840716288, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=32, port=0x0, port_size=4525071, path=0x7f75e4ecb700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=53991784) at uri.c:83
#4  0x000000000335def0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 5 (LWP 23144):
#0  0x00007f75f75df670 in ?? ()
#1  0x000000000322f220 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x322ffd8 " .f", scheme_size=4177702400, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=32, port=0x0, port_size=4525071, path=0x7f75f902b700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=52625368) at uri.c:83
#4  0x000000000322a3e0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 4 (LWP 23163):
#0  0x00007f75f75df670 in ?? ()
#1  0x0000000003339cf0 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x3379008 " .f", scheme_size=3841732096, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=53976024, port=0x0, port_size=4525071, path=0x7f75e4fc3700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=53973000) at uri.c:83
#4  0x000000000334ec50 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 3 (LWP 23161):
#0  0x00007f75f75df670 in ?? ()
#1  0x00000000032e55c0 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x32ecc98 " .f", scheme_size=3842747904, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=53368104, port=0x0, port_size=4525071, path=0x7f75e50bb700 "", path_size=0, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=53398680) at uri.c:83
#4  0x00000000032e5ac0 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 2 (LWP 23143):
#0  0x00007f75f75df670 in ?? ()
#1  0x000000000276b400 in ?? ()
#2  0x00000000005e1d29 in ast_copy_string (size=6697285, src=0x0, dst=0x246 <error: Cannot access memory at address 0x246>)
    at /repo/down/asterisk-certified-13.8-cert2-ph/include/asterisk/strings.h:389
#3  ast_uri_create_ (scheme=0x276b488 " .f", scheme_size=4178210304, user_info=<optimized out>, user_info_size=6168042, host=<optimized out>, 
    host_size=0, port=0x0, port_size=4525071, path=0x7f75f90a7700 "", path_size=4178212608, query=0x5e1dac <ast_uri_create_+700> "\357\306\002", 
    query_size=41333896) at uri.c:83
#4  0x000000000276b610 in ?? ()
#5  0x0000000000000000 in ?? ()

Thread 1 (LWP 23391):
#0  0x00007f75824d3a84 in ?? ()
#1  0x00007f752c000bf8 in ?? ()
#2  0x00007f75824f34e5 in ?? ()
#3  0x00007f752c00cb70 in ?? ()
#4  0x00007f757aac0320 in ?? ()
#5  0x0000000058452007 in ?? ()
#6  0x000000000007301c in ?? ()
#7  0x00007f757aabf990 in ?? ()
#8  0x00007f75824d3ff8 in ?? ()
#9  0x000000740000000b in ?? ()
#10 0x00007f757aabfaa8 in ?? ()
#11 0x00007f752c00cb70 in ?? ()
#12 0x00007f757aac0320 in ?? ()
#13 0x0000000000000000 in ?? ()

> app_queue: Asterisk crashes when dialplan execution goes to queue application
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-26640
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26640
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.8.2
>         Environment: Linux pbx.host 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Yuriy Topin
>
> When dialplan goes to Queue application asterisk crashes (13.8.2 cert2 version). 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list