Summary: | ASTERISK-01275: coredump with latest cvs | ||
Reporter: | zoa (zoa) | Labels: | |
Date Opened: | 2004-03-23 03:39:05.000-0600 | Date Closed: | 2004-09-25 02:53:47 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Mar 23 10:25:49 WARNING[1024]: chan_iax2.c:6013 set_config: Ignoring port for now == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == Using TOS bits 16 == IAX Ready and Listening on x.x.x.x port 4569 Segmentation fault (core dumped) ****** ADDITIONAL INFORMATION ****** imroVOIP1:/usr/src/asterisk# Ouch ... error while writing audio data: : Broken pipe Ouch ... error while writing audio data: : Broken pipe Ouch ... error while writing audio data: : Broken pipe Ouch ... error while writing audio data: : Broken pipe Warning, flexibel rate not heavily tested! Warning, flexibel rate not heavily tested! imroVOIP1:/usr/src/asterisk# cd /tmp imroVOIP1:/tmp# ls core.10262 core.14169 core.5675 core.14145 core.26592 session_mm_apache0.sem imroVOIP1:/tmp# gdb asterisk core.26592 GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"... Core was generated by `asterisk -vvvg -c'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/asterisk/modules/chan_modem.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_modem.so Reading symbols from /usr/lib/asterisk/modules/chan_modem_aopen.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_modem_aopen.so Reading symbols from /usr/lib/asterisk/modules/res_musiconhold.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_musiconhold.so Reading symbols from /usr/lib/asterisk/modules/res_adsi.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_adsi.so Reading symbols from /usr/lib/asterisk/modules/res_parking.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_parking.so Reading symbols from /usr/lib/asterisk/modules/res_crypto.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_crypto.so Reading symbols from /usr/lib/libssl.so.0.9.6...done. Loaded symbols for /usr/lib/libssl.so.0.9.6 ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/lib/libcrypto.so.0.9.6...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.6 Reading symbols from /usr/lib/asterisk/modules/res_indications.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_indications.so Reading symbols from /usr/lib/asterisk/modules/res_monitor.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_monitor.so Reading symbols from /usr/lib/asterisk/modules/pbx_spool.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_spool.so Reading symbols from /usr/lib/asterisk/modules/chan_sip.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_sip.so Reading symbols from /usr/lib/asterisk/modules/chan_oss.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_oss.so Reading symbols from /usr/lib/asterisk/modules/chan_modem_bestdata.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_modem_bestdata.so Reading symbols from /usr/lib/asterisk/modules/chan_modem_i4l.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_modem_i4l.so Reading symbols from /usr/lib/asterisk/modules/chan_agent.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_agent.so Reading symbols from /usr/lib/asterisk/modules/chan_mgcp.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_mgcp.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib/asterisk/modules/chan_iax2.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_iax2.so #0 0x40021e90 in pthread_mutex_lock () from /lib/libpthread.so.0 (gdb) (gdb) bt full #0 0x40021e90 in pthread_mutex_lock () from /lib/libpthread.so.0 No symbol table info available. #1 0x4013c227 in readdir () from /lib/libc.so.6 No symbol table info available. #2 0x4036677c in reload_firmware () at chan_iax2.c:1062 cur = (struct iax_firmware *) 0x0 curl = (struct iax_firmware *) 0xbfffe67c curp = (struct iax_firmware *) 0x0 fwd = (DIR *) 0x0 de = (struct dirent *) 0x18 dir = "/var/lib/asterisk/firmware/iax\0\bÜçÿ¿¨Ñ\020@°J\e@ F\e@Üçÿ¿Ó\"\002@8:\017\b`[\017\b`G\017\b\225!\002@@[\017\b\006\0\0\0`G\017\b\226,\b\b\0B\e@ \0\0\0\034èÿ¿\225\037\005\b(:\017\b\0\0\0\0\0\024:@\004\0\0\0h\0208@`[\017\b`G\017\b30\0\0\203ô_@\0\0\0\0\0\0\0\0\006\0\0\0\203ô_@\204s\b\0|èÿ¿>\\\002@àê\002@¤\0238@@j\f\b`G\017\bh\0208@`G\017\b@j\f\b\0\0\0\0"... fn = "¬æÿ¿È\227\020@\001\0\0\0\0@\001@M\0\0\0\232\227\020@Hn\e@\0B\e@ÿÿÿÿà=\e@\0\0\0\0=£\020@Üæÿ¿>\\\002@àê\002@°J\e@ d\017\bÖÑ\020@Hn\e@ F\e@ F\e@ÖÑ\020@Hn\e@ F\e@\fçÿ¿Ó\"\002@ÀJ\e@ F\e@¨F\e@>\\\002@àê\002@(:\017\b°d\017\b>\\\002@àê\002@(:\017\bLçÿ¿¨Ñ\020@°J\e@ F\e@Lçÿ¿Ó\"\002@8:\017\b\0\0248@\b\0\0\0\225!\002@hZ\017\b\005\0\0\0\b\0\0\0>\\\002@"... #3 0x403781e9 in load_module () at chan_iax2.c:6677 config = 0x4037e25b "iax.conf" res = 0 ---Type <return> to continue, or q <return> to quit--- x = 135031360 reg = (struct iax2_registry *) 0x0 peer = (struct iax2_peer *) 0x0 sin = {sin_family = 2, sin_port = 55569, sin_addr = { s_addr = 2234388693}, sin_zero = "!\0\0\0\036\0\0"} #4 0x0805564d in ast_load_resource (resource_name=0x80e0cbb "chan_iax2.so") at loader.c:312 fn = "/usr/lib/asterisk/modules/chan_iax2.so\0\0.so\0a.so", '\0' <repeats 207 times> errors = 0 res = 24 m = (struct module *) 0x80ff1d0 flags = 2 val = 0x18 <Address 0x18 out of bounds> key = 0x0 o = 135262672 cfg = (struct ast_config *) 0x0 tmp = "\e[33;40mInter Asterisk eXchange (Ver 2)\e[0;37;40m\0\016\b\231Z\005\b°Ç\n\b\0\0\0\0XK\002@\0B\e@\0\0\0\0\0\0\0" ASTERISK-1 0x08055ab6 in load_modules () at loader.c:407 mods = (DIR *) 0x80e0aa0 d = (struct dirent *) 0x0 x = 1 ---Type <return> to continue, or q <return> to quit--- cfg = (struct ast_config *) 0x80dea88 v = (struct ast_variable *) 0x0 tmp = "\e[1;37;40mchan_iax2.so\e[0;37;40m\0\040m\0;40m\0\b°µ\006\bõ÷\n\b`÷\n\b \214\r\b´íÿ¿,ëÿ¿\207¢\a\b\0\0\0\0\001\0\0" ASTERISK-2 0x08084866 in main (argc=3, argv=0xbfffedb4) at asterisk.c:1497 argc = 135105568 c = -1073748452 filename = "/root/.asterisk_history", '\0' <repeats 56 times> hostname = "imroVOIP1\0\002@\006\0\0\0\034ó\n@ðìÿ¿<o\0@\0\0\0\0Áò\n@Èìÿ¿ql\0@»Î\004\b\0.\0\0H\237\n@Ý\a\0\0ø¢\n@x!\n@Èõ\002@\b\0\0\0<ø\002@\006\0\0\0xìÿ¿ü\235\004\b¼7\001@\017S\216\a\017S\216\a\fíÿ¿x6\001@ôÒ\004\bÈõ\002@\b\0\0\0H\237\n@Èõ\002@¨ìÿ¿\230k\n@\f÷\002@taß\003taß\003<íÿ¿Èõ\002@øÐ\n@Èõ\002@\b\0\0\0\230k\n@>\\\002@àê\002@ ~\e@\002\0\0\0\216ÿw\001\020íÿ¿"... tmp = "\bU\n@ql\0@ì0\001@7\0\0\0è:\001@\b\0\0\0<ø\002@\006\0\0\0ôëÿ¿\bU\n@\0\0\0\0\202\211¹\n\034ó\n@Àìÿ¿<o\0@\225ò\n@?ý\004\bÝ\a\0\0ql\0@ì0\001@" xarg = 0x0 x = -1073748452 f = (FILE *) 0x80d8c20 sigs = {__val = {134238211, 0 <repeats 31 times>}} num = 1770 buf = 0x80d8c20 "Asterisk CVS-03/23/04-10:09:56, Copyright (C) 1999-2001 Linux Support Services, Inc.\n" | ||
Comments: | By: James Golovich (jamesgolovich) 2004-03-23 16:37:16.000-0600 The directory /var/lib/asterisk/firmware doesn't exist. I'll add a check to make sure opendir is not null By: James Golovich (jamesgolovich) 2004-03-23 16:46:43.000-0600 Fixed in CVS |