|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55494 imap_open() SIGABRT in __kernel_vsyscall()
Submitted: 2011-08-23 15:02 UTC Modified: -
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hardprod at o2 dot pl Assigned:
Status: Open Package: IMAP related
PHP Version: 5.4SVN-2011-08-23 (snap) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: hardprod at o2 dot pl
New email:
PHP Version: OS:


 [2011-08-23 15:02 UTC] hardprod at o2 dot pl
The problem highlights only when exists more then ~700000 messages on NNTP group.

./configure --enable-debug --with-imap --with-kerberos --with-imap-ssl

Test script:
imap_open('{}gmane.linux.kernel', '', '', OP_ANONYMOUS);

Expected result:
I just want to connect.

Actual result:
(gdb) run -f ./test.php
Starting program: /home/yan/Pobrane/php5.4-201108231230/sapi/cli/php -f ./test.php
[Thread debugging using libthread_db enabled]

Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7956751 in raise () from /lib/i686/cmov/
#2  0xb7959b82 in abort () from /lib/i686/cmov/
#3  0xb7eb5991 in fatal () from /usr/lib/
#4  0xb7ec4bd9 in mail_elt () from /usr/lib/
#5  0xb7ee7544 in nntp_mopen () from /usr/lib/
#6  0xb7ec99b5 in mail_open_work () from /usr/lib/
#7  0xb7ecf366 in mail_open () from /usr/lib/
#8  0x081f2800 in php_imap_do_open (ht=4, return_value=0xb78bb574, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, persistent=0)
    at /home/yan/Pobrane/php5.4-201108231230/ext/imap/php_imap.c:1239
#9  0x081f2952 in zif_imap_open (ht=4, return_value=0xb78bb574, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0)
    at /home/yan/Pobrane/php5.4-201108231230/ext/imap/php_imap.c:1260
#10 0x083ff624 in zend_do_fcall_common_helper_SPEC (execute_data=0xb789f074) at /home/yan/Pobrane/php5.4-201108231230/Zend/zend_vm_execute.h:642
#11 0x084057fa in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0xb789f074)
    at /home/yan/Pobrane/php5.4-201108231230/Zend/zend_vm_execute.h:2215
#12 0x083fe18f in execute (op_array=0xb78ba8c0) at /home/yan/Pobrane/php5.4-201108231230/Zend/zend_vm_execute.h:410
#13 0x083c8cc5 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/yan/Pobrane/php5.4-201108231230/Zend/zend.c:1262
#14 0x0834fad7 in php_execute_script (primary_file=0xbffff018) at /home/yan/Pobrane/php5.4-201108231230/main/main.c:2385
#15 0x084e3ede in do_cli (argc=3, argv=0xbffff284) at /home/yan/Pobrane/php5.4-201108231230/sapi/cli/php_cli.c:983
#16 0x084e4f5b in main (argc=3, argv=0xbffff284) at /home/yan/Pobrane/php5.4-201108231230/sapi/cli/php_cli.c:1356


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jul 13 15:01:25 2020 UTC