[Imap-uw] Asterisk segfaulting in c-client

Michael Cashwell mboards at prograde.net
Wed Oct 17 08:01:05 PDT 2007


On Oct 17, 2007, at 9:51 AM, Dan White wrote:

> Program terminated with signal 11, Segmentation fault.
> #0  0xb6c8696f in mail_open_work (d=0xb6d50dc0, stream=0x101,  
> name=0x831fee0 "{127.0.0.1:143/imap/authuser=umsmaster/novalidate- 
> cert/user=9183699999}INBOX", options=0)
>     at mail.c:1271
> 1271        if ((stream->dtb == d) && (d->flags & DR_RECYCLE) &&

stream == 0x101 is highly suspect. That is well within the no-access  
range that is used to catch null-pointer dereferences.

> #1  0xb6c8c12d in mail_open (stream=0x101, name=0xb634337b  
> "{127.0.0.1:143/imap/authuser=umsmaster/novalidate-cert/ 
> user=9183699999}INBOX", options=<value optimized out>)
>     at mail.c:1248
> #2  0xb6c5b79c in init_mailstream (vms=0x8266f70, box=1) at  
> app_voicemail.c:4715

So the question is why init_mailsrtream() seems to be calling  
mail_open() with a bad stream argument. Can't tell from this but  
since you have the source you might be able to.

Good luck.

-Mike



More information about the Imap-uw mailing list