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

2009-04-20 Thread Benny Amorsen
Tilghman Lesher tilgh...@mail.jeffandtilghman.com writes: There's already a working theory and a patch: http://bugs.digium.com/view.php?id=14932 Would it be possible to adapt the kernel stack checker for Asterisk? I can easily believe it would be too much work, though. /Benny

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

2009-04-20 Thread Tilghman Lesher
On Monday 20 April 2009 03:08:09 am Benny Amorsen wrote: Tilghman Lesher tilgh...@mail.jeffandtilghman.com writes: There's already a working theory and a patch: http://bugs.digium.com/view.php?id=14932 Would it be possible to adapt the kernel stack checker for Asterisk? I can easily

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

2009-04-19 Thread Justin Piszcz
On Sat, 18 Apr 2009, Martin wrote: Hi, Your backtrace doesn't make sense to me. Do you have in main/stdtime/localtime.c this function that way ? struct ast_tm *ast_localtime(const struct timeval *timep, struct ast_tm *tmp, const char *zone) { const struct state *sp =

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

2009-04-19 Thread Justin Piszcz
On Sun, 19 Apr 2009, Justin Piszcz wrote: On Sat, 18 Apr 2009, Martin wrote: Any other recommendations? Here is a strace of asterisk right before it core dumps: 9374 read(24, ..., 4096) = 0 9374 close(24) = 0 9374 munmap(0x7f023a404000, 4096)

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

2009-04-19 Thread Justin Piszcz
On Sun, 19 Apr 2009, Justin Piszcz wrote: On Sun, 19 Apr 2009, Justin Piszcz wrote: On Sat, 18 Apr 2009, Martin wrote: Another person with the same issue: http://www.freepbx.org/forum/freepbx/users/voicemail-crashes-segfault He notes: A call to a extension to listen MOH allways

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

2009-04-19 Thread Justin Piszcz
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: Looks like someone already filed a bug report(?) http://bugs.digium.com/file_download.php?file_id=21839type=bug Other

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

2009-04-19 Thread Justin Piszcz
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

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

2009-04-19 Thread Justin Piszcz
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 Sun, 19 Apr 2009, Justin Piszcz wrote: On Sat, 18 Apr 2009, Martin wrote: I am now using

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

2009-04-19 Thread Martin
ok, just in case check if you have /usr/share/zoneinfo/UTC also if you still have the coredump file ... enter gdb and do frame 0 print p print name Martin On Sun, Apr 19, 2009 at 3:31 AM, Justin Piszcz jpis...@lucidpixels.com wrote: On Sat, 18 Apr 2009, Martin wrote: Hi, Your

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

2009-04-19 Thread Tilghman Lesher
On Sunday 19 April 2009 14:25:26 Martin wrote: ok, just in case check if you have /usr/share/zoneinfo/UTC also if you still have the coredump file ... enter gdb and do frame 0 print p print name There's already a working theory and a patch: http://bugs.digium.com/view.php?id=14932 --

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

2009-04-18 Thread Justin Piszcz
Hello, Information: gcc -v: gcc version 4.3.3 (Debian 4.3.3-3) os: Debian/Testing Pulled latest release from asterisk site, compiled, installed it. I have a barebones configuration: $ ls -l asterisk extensions.conf modules.conf sip.conf users.conf voicemail.conf You can see them here:

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

2009-04-18 Thread Martin
Hi, Your backtrace doesn't make sense to me. Do you have in main/stdtime/localtime.c this function that way ? struct ast_tm *ast_localtime(const struct timeval *timep, struct ast_tm *tmp, const char *zone) { const struct state *sp = ast_tzset(zone); memset(tmp, 0,