[Home]

Summary:ASTERISK-12783: Segment Fault in asterisk "pthread_cancel"
Reporter:Igor Marques Carneiro da Silva (igorcarneiro)Labels:
Date Opened:2008-09-26 14:43:38Date Closed:2008-10-01 10:22:46
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Segment Fault in asterisk  "pthread_cancel"

the back trace is:
-------------------------------------------------------------------------
Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x00c37668 in pthread_cancel () from /lib/libpthread.so.0
-------------------------------------------------------------------------

Comments:By: Tilghman Lesher (tilghman) 2008-09-27 16:15:45

Please run under valgrind, as documented in doc/valgrind.txt.

By: Tilghman Lesher (tilghman) 2008-09-27 16:16:18

Also, note that in the past, an upgrade of the C library has fixed this exact issue.

By: Igor Marques Carneiro da Silva (igorcarneiro) 2008-09-29 07:46:55

ok, I will make this.

By: Igor Marques Carneiro da Silva (igorcarneiro) 2008-10-01 06:36:11

I upgrade my C library and do not resolve.

Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -C /etc/asterisk/asterisk.conf -v'.
Program terminated with signal 11, Segmentation fault.
#0  0x00c3763d in pthread_cancel () from /lib/libpthread.so.0
(gdb) bt
#0  0x00c3763d in pthread_cancel () from /lib/libpthread.so.0
#1  0x0016cdab in ast_moh_free_class (mohclass=0xb6a69068) at res_musiconhold.c:199
#2  0x0016cf98 in ast_moh_destroy_one (moh=0x8245d80) at res_musiconhold.c:1455
#3  0x0016f01a in local_ast_moh_cleanup (chan=0xb681efa0) at res_musiconhold.c:1097
#4  0x0808794c in ast_channel_free (chan=0xb681efa0) at channel.c:4869
ASTERISK-1  0x0808a00b in ast_hangup (chan=0xb681efa0) at channel.c:1668
ASTERISK-2  0x080f038b in __ast_pbx_run (c=0xb681efa0) at pbx.c:3864
ASTERISK-3  0x080f16ae in pbx_thread (data=0xb681efa0) at pbx.c:3954
ASTERISK-4  0x0812bcdb in dummy_start (data=0xb681f7c0) at utils.c:917
ASTERISK-5  0x00c3250b in start_thread () from /lib/libpthread.so.0
ASTERISK-6 0x00b73b2e in clone () from /lib/libc.so.6

By: Tilghman Lesher (tilghman) 2008-10-01 10:22:45

Closing duplicate issue