[asterisk-users] asterisk crashed

Edwin Lam elam at officegeneral.com
Thu Dec 21 12:09:43 MST 2006


our * crashed twice in a month with segmentation fault &
a core dump. here's the stack trace:

#0  0xb7e11965 in mallopt () from /lib/tls/libc.so.6
#1  0xb7e10c43 in malloc () from /lib/tls/libc.so.6
#2  0xb7e17090 in strdup () from /lib/tls/libc.so.6
#3  0x08057ada in ast_verbose (fmt=0x0) at logger.c:879
#4  0xb7b29009 in moh_files_release (chan=0x9455ca0, data=0xb657be48) at res_musiconhold.c:180
#5  0x080673ae in ast_deactivate_generator (chan=0x9455ca0) at channel.c:1382
#6  0x08068d4e in generator_force (data=0x9455ca0) at channel.c:1405
#7  0x08061c50 in ast_read (chan=0x9455ca0) at channel.c:1857
#8  0x08069293 in ast_generic_bridge (c0=0xb659fcd0, c1=0x9455ca0, config=0xb6c4feb0, fo=0xb6c4f988, rc=0xb6c4f98c, bridge_end=
      {tv_sec = 0, tv_usec = 0}) at channel.c:3260
#9  0x080655fd in ast_channel_bridge (c0=0xb659fcd0, c1=0x9455ca0, config=0xb6c4feb0, fo=0xb6c4f988, rc=0xb6c4f98c)
    at channel.c:3524
#10 0xb78fad29 in ast_bridge_call (chan=0xb659fcd0, peer=0x9455ca0, config=0xb6c4feb0) at res_features.c:1319
#11 0xb7099301 in dial_exec_full (chan=0xb659fcd0, data=0xb6c4feb0, peerflags=0xb6c50568) at app_dial.c:1577
#12 0xb7097dc5 in dial_exec (chan=0xb7ed1900, data=0xb7ed1900) at app_dial.c:1619
#13 0x0808e445 in pbx_extension_helper (c=0xb659fcd0, con=0xb7ed1900, context=0xb659fe20 "op05_x", exten=0xb659ff14 "00116", 
    priority=1, label=0x0, callerid=0x0, action=0) at pbx.c:553
#14 0x0808efea in __ast_pbx_run (c=0xb659fcd0) at pbx.c:2227
#15 0x0808fcdf in pbx_thread (data=0xb7ed1900) at pbx.c:2514
#16 0xb7f7cb63 in start_thread () from /lib/tls/libpthread.so.0
#17 0xb7e7718a in clone () from /lib/tls/libc.so.6

another one:

#0  0xb6ff38e2 in decodeMP3 () from /usr/lib/asterisk/modules/format_mp3.so
#1  0xb6ff4be6 in key () from /usr/lib/asterisk/modules/format_mp3.so
#2  0xb6ff4545 in key () from /usr/lib/asterisk/modules/format_mp3.so
#3  0x0806d3a1 in ast_readframe (s=0xb7eb490c) at file.c:570
#4  0xb7b0c134 in moh_files_generator (chan=0xb6b26dc0, data=0xb6b03328, len=0, samples=160) at res_musiconhold.c:246
#5  0x08068cfe in generator_force (data=0xb6b26dc0) at channel.c:1401
#6  0x08061c50 in ast_read (chan=0xb6b26dc0) at channel.c:1857
#7  0x08069293 in ast_generic_bridge (c0=0xb6b26dc0, c1=0x8699fe8, config=0xb6677eb0, fo=0xb6677988, rc=0xb667798c, bridge_end=
      {tv_sec = 0, tv_usec = 0}) at channel.c:3260
#8  0x080655fd in ast_channel_bridge (c0=0xb6b26dc0, c1=0x8699fe8, config=0xb6677eb0, fo=0xb6677988, rc=0xb667798c)
    at channel.c:3524
#9  0xb78ddd29 in ast_bridge_call (chan=0xb6b26dc0, peer=0x8699fe8, config=0xb6677eb0) at res_features.c:1319
#10 0xb7033301 in dial_exec_full (chan=0xb6b26dc0, data=0xb6677eb0, peerflags=0xb6678568) at app_dial.c:1577
#11 0xb7031dc5 in dial_exec (chan=0x48, data=0x48) at app_dial.c:1619
#12 0x0808e445 in pbx_extension_helper (c=0xb6b26dc0, con=0x48, context=0xb6b26f10 "op05_x", exten=0xb6b27004 "00116", priority=1, 
    label=0x0, callerid=0x0, action=0) at pbx.c:553
#13 0x0808efea in __ast_pbx_run (c=0xb6b26dc0) at pbx.c:2227
#14 0x0808fcdf in pbx_thread (data=0x48) at pbx.c:2514
#15 0xb7f5fb63 in start_thread () from /lib/tls/libpthread.so.0
#16 0xb7e5a18a in clone () from /lib/tls/libc.so.6

here's the versions of various components:
asterisk: 1.2.7.1, zaptel: 1.2.5, libpri: 1.2.2

any clues would be appreciated?


-- 
Edwin Lam <edwin at officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20



More information about the asterisk-users mailing list