[asterisk-users] asterisk-1.6.0.9-x86_64: voicemail: Segmentation fault (core dumped)

Justin Piszcz jpiszcz at lucidpixels.com
Sun Apr 19 08:16:00 CDT 2009



On Sun, 19 Apr 2009, Justin Piszcz wrote:

>
>
> On Sun, 19 Apr 2009, Justin Piszcz wrote:
>
>> 
>> 
>> On Sun, 19 Apr 2009, Justin Piszcz wrote:
>> 
>>> 
>>> 
>>> On Sun, 19 Apr 2009, Justin Piszcz wrote:
>>> 
>>>> 
>>>> 
>>>> On Sat, 18 Apr 2009, Martin wrote:
>>>>

Two items:

First, the Debian Testing version (1.4.x) works and does not segfault.

Second, trying the latest -rc, the result is the same:

FYI: in voicemail.conf:

; Needed for asterisk-1.6.1.0-rc4-x86_64
searchcontexts=yes

But, it still segfaults.

     -- <SIP/line1-016bb398> Playing 'digits/6.ulaw' (language 'en')
     -- <SIP/line1-016bb398> Playing 'digits/0.ulaw' (language 'en')
     -- <SIP/line1-016bb398> Playing 'digits/0.ulaw' (language 'en')
     -- <SIP/line1-016bb398> Playing 'digits/0.ulaw' (language 'en')
     -- <SIP/line1-016bb398> Playing 'vm-intro.ulaw' (language 'en')
     -- <SIP/line1-016bb398> Playing 'beep.ulaw' (language 'en')
Segmentation fault (core dumped)

[New process 23277]
[New process 23278]
#0  0x00000000004e6403 in tzload (name=0x548ede "posixrules",
     sp=0x7fd0c72d2a40, doextend=0) at stdtime/localtime.c:292
292                             if ((strlen(p) + strlen(name) + 1) >= sizeof fullname)
(gdb) bt
#0  0x00000000004e6403 in tzload (name=0x548ede "posixrules",
     sp=0x7fd0c72d2a40, doextend=0) at stdtime/localtime.c:292
#1  0x00000000004e6d0f in tzparse (name=0x7fd0c72c8645 "", sp=0x7fd0c72d2a40,
     lastditch=<value optimized out>) at stdtime/localtime.c:811
#2  0x00000000004e69a2 in tzload (name=<value optimized out>, sp=0x16c6270,
     doextend=1) at stdtime/localtime.c:450
#3  0x00000000004e817d in ast_tzset (zone=0x7fd0d3b67688 "UTC")
     at stdtime/localtime.c:1029
#4  0x00000000004e91dc in ast_localtime (timep=0x7fd0c72d83a0,
     tmp=0x7fd0c72d2a40, zone=0x0) at stdtime/localtime.c:1142
#5  0x00007fd0d3b5375f in get_date (s=0x7fd0c72e3370 "", len=256)
     at app_voicemail.c:4278
#6  0x00007fd0d3b608d4 in leave_voicemail (chan=0x16bfbb0,
     ext=<value optimized out>, options=0x7fd0c72ebb90) at app_voicemail.c:5112
#7  0x00007fd0d3b62d4e in forward_message (chan=0x16bfbb0, context=0x0,
     vms=0x7fd0c72ebcd0, sender=0x7fd0c72f1df0,
     fmt=0x7fd0d3d70740 "wav49|gsm|wav", is_new_message=1, record_gain=0 '\0',
     urgent=0) at app_voicemail.c:6363
#8  0x00007fd0d3b64856 in vm_execmain (chan=0x16bfbb0,
     data=<value optimized out>) at app_voicemail.c:9025
#9  0x00000000004b9d99 in pbx_extension_helper (c=0x16bfbb0,
     con=<value optimized out>, context=0x16bff68 "line1",
     exten=0x16bffb8 "*61", priority=1, label=0x0,
     callerid=0x16c0260 "anonymous", action=E_SPAWN, found=0x7fd0c72f703c,
     combined_find_spawn=1) at pbx.c:952
#10 0x00000000004bb9cc in __ast_pbx_run (c=0x16bfbb0, args=0x0) at pbx.c:3643
#11 0x00000000004bce1b in pbx_thread (data=0x548ede) at pbx.c:4019
#12 0x00000000004f5b5c in dummy_start (data=<value optimized out>)
     at utils.c:968
#13 0x00007fd0e7bd7faa in start_thread () from /lib/libpthread.so.0
#14 0x00007fd0e6f682bd in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()
(gdb)

Justin.




More information about the asterisk-users mailing list