Try with https://github.com/jonabbey/panda-imap Mark's latest version
of Panda IMAP

On Tue, Jul 30, 2013 at 1:14 PM, Vlad <[email protected]> wrote:
> Hi!
>
> imap-2007f (built with php-5.3.27) crashes. Here is the backtrace:
> Any ideas? The same error happens with imap-2004.
>
> Core was generated by `/home2/oracle/php/5.3.27-imap2007f-debug/bin/php -e
> download_emails.php'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000009b5331 in tcp_host (stream=0x0) at tcp_unix.c:769
> 769     {
> (gdb) info locals
> No locals.
> (gdb) bt
> #0  0x00000000009b5331 in tcp_host (stream=0x0) at tcp_unix.c:769
> #1  0x00000000009e834c in imap_parse_header (stream=<value optimized out>,
> env=0x20bdb90, hdr=0x7fff21173bb0, stl=0x0)
>     at imap4r1.c:4525
> #2  0x00000000009e85f6 in imap_cache (stream=0x2014f70, msgno=1,
> seg=0x20b8ac0 "HEADER", stl=0x0, text=0x7fff21173bb0)
>     at imap4r1.c:5022
> #3  0x00000000009edf80 in imap_parse_unsolicited (stream=0x2014f70,
> reply=0x2015198) at imap4r1.c:3835
> #4  0x00000000009eec5e in imap_reply (stream=0x2014f70, tag=0x7fff21174230
> "00000005") at imap4r1.c:3560
> #5  0x00000000009eed05 in imap_sout (stream=0x2014f70, tag=0x7fff21174230
> "00000005", base=0x2015240 "", s=0x7fff21174248)
>     at imap4r1.c:3518
> #6  0x00000000009f06fe in imap_send (stream=0x2014f70, cmd=0xfff085 "FETCH",
> args=0x7fff211746d0) at imap4r1.c:3129
> #7  0x00000000009f3906 in imap_msgdata (stream=0x2014f70, msgno=1,
> section=0x7fff21174850 "HEADER", first=0, last=0, lines=0x0,
>     flags=2) at imap4r1.c:1845
> #8  0x00000000009cae86 in mail_fetch_header (stream=0x2014f70, msgno=1,
> section=0x0, lines=0x0, len=0x0,
>     flags=<value optimized out>) at mail.c:1748
> #9  0x00000000006160e3 in zif_imap_fetchheader (ht=2,
> return_value=0x218eef0, return_value_ptr=0x0, this_ptr=0x0,
>     return_value_used=1) at
> /home2/oracle/php-src/php-5.3.27/ext/imap/php_imap.c:3187
> #10 0x00000000008f93b0 in zend_do_fcall_common_helper_SPEC
> (execute_data=0x7f853a4eff58)
>     at /home2/oracle/php-src/php-5.3.27/Zend/zend_vm_execute.h:322
> #11 0x00000000008fedce in ZEND_DO_FCALL_SPEC_CONST_HANDLER
> (execute_data=0x7f853a4eff58)
>     at /home2/oracle/php-src/php-5.3.27/Zend/zend_vm_execute.h:1634
> #12 0x00000000008f853c in execute (op_array=0x1a5d080) at
> /home2/oracle/php-src/php-5.3.27/Zend/zend_vm_execute.h:107
> #13 0x00000000008c6f18 in zend_execute_scripts (type=8, retval=0x0,
> file_count=3)
>     at /home2/oracle/php-src/php-5.3.27/Zend/zend.c:1259
> #14 0x000000000084e86f in php_execute_script (primary_file=0x7fff21178480)
> at /home2/oracle/php-src/php-5.3.27/main/main.c:2316
> #15 0x00000000009b4580 in main (argc=6, argv=0x7fff211786d8) at
> /home2/oracle/php-src/php-5.3.27/sapi/cli/php_cli.c:1189
> (gdb) frame 1
> (gdb) frame 1
> #1  0x00000000009e834c in imap_parse_header (stream=<value optimized out>,
> env=0x20bdb90, hdr=0x7fff21173bb0, stl=0x0)
>     at imap4r1.c:4525
> 4525      rfc822_parse_msg (&nenv,NIL,(char *) hdr->data,hdr->size,NIL,
> (gdb) info locals
> nenv = <value optimized out>
> (gdb) frame 4
> #4  0x00000000009eec5e in imap_reply (stream=0x2014f70, tag=0x7fff21174230
> "00000005") at imap4r1.c:3560
> 3560            imap_parse_unsolicited (stream,reply);
> (gdb) info locals
> reply = 0x2015198
> (gdb)
>
> /v
>
> _______________________________________________
> Imap-uw mailing list
> [email protected]
> http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
>



-- 
http://gr.linkedin.com/in/yiorgos

"It may happen that small differences in initial conditions produce
very great ones in the final phenomena." -- Henri Poincaré
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to