[Home]

Summary:ASTERISK-11690: asterisk terminates with SIGABRT
Reporter:Clod Patry (junky)Labels:
Date Opened:2008-03-20 12:03:01Date Closed:2011-06-07 14:08:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7cb9770 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7cbaef3 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7ceed0b in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7cf68bd in mallopt () from /lib/tls/i686/cmov/libc.so.6
ASTERISK-1  0xb7cf6a44 in free () from /lib/tls/i686/cmov/libc.so.6
ASTERISK-2  0xb7287e34 in conf_free (conf=0x84ab678) at app_meetme.c:1358
ASTERISK-3  0xb728835e in dispose_conf (conf=0x84ab678) at app_meetme.c:1454
ASTERISK-4  0xb72902bd in conf_exec (chan=0x83bd3a0, data=0xb6b94be4) at app_meetme.c:3180
ASTERISK-5  0x080e356e in pbx_exec (c=0x83bd3a0, app=0x81cb7a8, data=0xb6b94be4) at pbx.c:734
ASTERISK-6 0xb7a17d38 in handle_exec (chan=0x83bd3a0, agi=0xb6b95634, argc=3, argv=0xb6b94910) at res_agi.c:1475
ASTERISK-7 0xb7a1a4f0 in agi_handle_command (chan=0x83bd3a0, agi=0xb6b95634, buf=0xb6b94bd8 "EXEC", dead=0) at res_agi.c:2536
ASTERISK-8 0xb7a1ae29 in run_agi (chan=0x83bd3a0, request=0xb6b9566c "ma/bar13.agi", agi=0xb6b95634, pid=8761, status=0xb6b95650, dead=0, argc=1, argv=0xb6b95434)
   at res_agi.c:2676
ASTERISK-9 0xb7a1baf3 in agi_exec_full (chan=0x83bd3a0, data=0xb6b98188, enhanced=0, dead=0) at res_agi.c:2903
ASTERISK-10 0xb7a1bc84 in agi_exec (chan=0x83bd3a0, data=0xb6b98188) at res_agi.c:2937
ASTERISK-11 0x080e356e in pbx_exec (c=0x83bd3a0, app=0x81d6b00, data=0xb6b98188) at pbx.c:734
ASTERISK-12 0x080e95ed in pbx_extension_helper (c=0x83bd3a0, con=0x0, context=0x83bd524 "prodosec-inbound", exten=0x83bd574 "5147872041", priority=2, label=0x0,
   callerid=0x8316240 "4507453120", action=E_SPAWN, found=0xb6b9a2b8, combined_find_spawn=1) at pbx.c:2783
ASTERISK-13 0x080eac8f in ast_spawn_extension (c=0x83bd3a0, context=0x83bd524 "prodosec-inbound", exten=0x83bd574 "5147872041", priority=2,
   callerid=0x8316240 "4507453120", found=0xb6b9a2b8, combined_find_spawn=1) at pbx.c:3298
ASTERISK-14 0x080eb4c8 in __ast_pbx_run (c=0x83bd3a0) at pbx.c:3397
ASTERISK-15 0x080ec8be in pbx_thread (data=0x83bd3a0) at pbx.c:3659
ASTERISK-16 0x0813b019 in dummy_start (data=0x837ad50) at utils.c:870
ASTERISK-17 0xb7c7e504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
ASTERISK-18 0xb7d5d51e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) frame 6
ASTERISK-2  0xb7287e34 in conf_free (conf=0x84ab678) at app_meetme.c:1358
1358            ast_free(conf);
(gdb) p conf
$1 = (struct ast_conference *) 0x84ab678
(gdb) p *conf
$2 = {playlock = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = -1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
   __size = '\0' <repeats 12 times>, "????\000\000\000\000\000\000\000", __align = 0}, listenlock = {__data = {__lock = 0, __count = 0, __owner = 0,
     __kind = -1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 12 times>, "????\000\000\000\000\000\000\000",
   __align = 0}, confno = "44", '\0' <repeats 77 times>, chan = 0x0, lchan = 0x0, fd = 49, zapconf = 1017, users = 0, markedusers = 0,
 maxusers = 2147483647, endalert = 0, start = 1206031809, refcount = 0, recording = MEETME_RECORD_OFF, isdynamic = 0, locked = 0,
 recordthread = 4294967295, recordthreadlock = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = -1, __nusers = 0, {__spins = 0, __list = {
         __next = 0x0}}}, __size = '\0' <repeats 12 times>, "????\000\000\000\000\000\000\000", __align = 0}, attr = {__size = '\0' <repeats 35 times>,
   __align = 0}, recordingfilename = 0x0, recordingformat = 0x0, pin = '\0' <repeats 79 times>, pinadmin = '\0' <repeats 79 times>,
 uniqueid = "1206030583.19", '\0' <repeats 18 times>, endtime = 0, transframe = {0x0 <repeats 32 times>}, origframe = 0x0, transpath = {
   0x0 <repeats 32 times>}, userlist = {first = 0x0, last = 0x0}, list = {next = 0x0}}


****** ADDITIONAL INFORMATION ******

im not sure to understand that part:
(gdb) info threads
 86 process 8460  0xffffe410 in __kernel_vsyscall ()
 85 process 8466  0xffffe410 in __kernel_vsyscall ()
 84 process 8467  0xffffe410 in __kernel_vsyscall ()
 83 process 8468  0xffffe410 in __kernel_vsyscall ()
 82 process 8469  0xffffe410 in __kernel_vsyscall ()
 81 process 8470  0xffffe410 in __kernel_vsyscall ()
 80 process 8471  0xffffe410 in __kernel_vsyscall ()
 79 process 8472  0xffffe410 in __kernel_vsyscall ()
 78 process 8474  0xffffe410 in __kernel_vsyscall ()
 77 process 8475  0xffffe410 in __kernel_vsyscall ()
 76 process 8476  0xffffe410 in __kernel_vsyscall ()
 75 process 8477  0xffffe410 in __kernel_vsyscall ()
 74 process 8478  0xffffe410 in __kernel_vsyscall ()
 73 process 8479  0xffffe410 in __kernel_vsyscall ()
 72 process 8480  0xffffe410 in __kernel_vsyscall ()
 71 process 8481  0xffffe410 in __kernel_vsyscall ()
 70 process 8482  0xffffe410 in __kernel_vsyscall ()
 69 process 8483  0xffffe410 in __kernel_vsyscall ()
 68 process 8484  0xffffe410 in __kernel_vsyscall ()
 67 process 8485  0xffffe410 in __kernel_vsyscall ()
 66 process 8486  0xffffe410 in __kernel_vsyscall ()
 65 process 8487  0xffffe410 in __kernel_vsyscall ()
 64 process 8488  0xffffe410 in __kernel_vsyscall ()
 63 process 8489  0xffffe410 in __kernel_vsyscall ()
 62 process 8490  0xffffe410 in __kernel_vsyscall ()
 61 process 8491  0xffffe410 in __kernel_vsyscall ()
 60 process 8492  0xffffe410 in __kernel_vsyscall ()
 59 process 8493  0xffffe410 in __kernel_vsyscall ()
 58 process 8495  0xffffe410 in __kernel_vsyscall ()
 57 process 8496  0xffffe410 in __kernel_vsyscall ()
 56 process 8499  0xffffe410 in __kernel_vsyscall ()
 55 process 8500  0xffffe410 in __kernel_vsyscall ()
 54 process 8511  0xffffe410 in __kernel_vsyscall ()
 53 process 8514  0xffffe410 in __kernel_vsyscall ()
 52 process 8515  0xffffe410 in __kernel_vsyscall ()
 51 process 8522  0xffffe410 in __kernel_vsyscall ()
 50 process 8526  0xffffe410 in __kernel_vsyscall ()
 49 process 8527  0xffffe410 in __kernel_vsyscall ()
 48 process 8552  0xffffe410 in __kernel_vsyscall ()
 47 process 8583  0xffffe410 in __kernel_vsyscall ()
 46 process 8589  0xffffe410 in __kernel_vsyscall ()
 45 process 8629  0xffffe410 in __kernel_vsyscall ()
 44 process 8633  0xffffe410 in __kernel_vsyscall ()
 43 process 8636  0xffffe410 in __kernel_vsyscall ()
 42 process 8642  0xffffe410 in __kernel_vsyscall ()
 41 process 8643  0xffffe410 in __kernel_vsyscall ()
 40 process 8647  0xffffe410 in __kernel_vsyscall ()
 39 process 8648  0xffffe410 in __kernel_vsyscall ()
 38 process 8649  0xffffe410 in __kernel_vsyscall ()
 37 process 8651  0xffffe410 in __kernel_vsyscall ()
 36 process 8756  0xffffe410 in __kernel_vsyscall ()
 35 process 8762  0xffffe410 in __kernel_vsyscall ()
 34 process 8769  0xffffe410 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
 33 process 8903  0xffffe410 in __kernel_vsyscall ()
 32 process 9014  0xffffe410 in __kernel_vsyscall ()
 31 process 9201  0xffffe410 in __kernel_vsyscall ()
 30 process 9204  0xffffe410 in __kernel_vsyscall ()
 29 process 9515  0xffffe410 in __kernel_vsyscall ()
 28 process 9569  0xffffe410 in __kernel_vsyscall ()
 27 process 9660  0xffffe410 in __kernel_vsyscall ()
 26 process 9699  0xffffe410 in __kernel_vsyscall ()
 25 process 9716  0xffffe410 in __kernel_vsyscall ()
 24 process 9719  0xffffe410 in __kernel_vsyscall ()
 23 process 10064  0xffffe410 in __kernel_vsyscall ()
 22 process 10119  0xffffe410 in __kernel_vsyscall ()
 21 process 10779  0xffffe410 in __kernel_vsyscall ()
 20 process 10783  0xffffe410 in __kernel_vsyscall ()
 19 process 12047  0xffffe410 in __kernel_vsyscall ()
 18 process 12050  0xffffe410 in __kernel_vsyscall ()
 17 process 12051  0xffffe410 in __kernel_vsyscall ()
 16 process 12105  0xffffe410 in __kernel_vsyscall ()
 15 process 12947  0xffffe410 in __kernel_vsyscall ()
 14 process 12985  0xffffe410 in __kernel_vsyscall ()
 13 process 14487  0xffffe410 in __kernel_vsyscall ()
 12 process 14489  0xffffe410 in __kernel_vsyscall ()
 11 process 14784  0xffffe410 in __kernel_vsyscall ()
 10 process 14787  0xffffe410 in __kernel_vsyscall ()
 9 process 16123  0xffffe410 in __kernel_vsyscall ()
 8 process 16164  0xffffe410 in __kernel_vsyscall ()
 7 process 16507  0xffffe410 in __kernel_vsyscall ()
 6 process 16621  0xffffe410 in __kernel_vsyscall ()
 5 process 17403  0xffffe410 in __kernel_vsyscall ()
 4 process 17457  0xffffe410 in __kernel_vsyscall ()
 3 process 17562  0xffffe410 in __kernel_vsyscall ()
 2 process 17604  0xffffe410 in __kernel_vsyscall ()
* 1 process 8759  0xffffe410 in __kernel_vsyscall ()
(gdb)
Comments:By: Tilghman Lesher (tilghman) 2008-03-21 00:26:53

Please follow the instructions in doc/valgrind.txt.

By: Clod Patry (junky) 2008-03-21 07:32:51

I will do this tonight or tomorrow morning.
Can you explain me a little bit more about what may causing that sig 6 ?
In C++, i know a non-catched exception could result in a sig 6, what about here?

By: Tilghman Lesher (tilghman) 2008-03-21 08:09:44

In this case, it's memory corruption of the internal malloc structures.

By: Clod Patry (junky) 2008-03-29 00:04:06

I will try to reproduce this in a lab, cause i was getting that crash on a production system.

By: Tilghman Lesher (tilghman) 2008-04-21 17:54:38

Any feedback yet?  We need valgrind output to proceed.

By: Clod Patry (junky) 2008-04-21 22:59:32

after  1 day, 15 hours, 32 minutes, 53 seconds
SVN-trunk-r112972M is running without any SIGABRT.