php.net |  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: 2020-10-25 04:22 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hardprod at o2 dot pl Assigned: cmb (profile)
Status: No Feedback Package: IMAP related
PHP Version: 5.4SVN-2011-08-23 (snap) OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
25 + 43 = ?
Subscribe to this entry?

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

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




Test script:
---------------
<?
imap_open('{news.gmane.org/nntp:119}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/libc.so.6
#2  0xb7959b82 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb7eb5991 in fatal () from /usr/lib/libc-client.so.2007e
#4  0xb7ec4bd9 in mail_elt () from /usr/lib/libc-client.so.2007e
#5  0xb7ee7544 in nntp_mopen () from /usr/lib/libc-client.so.2007e
#6  0xb7ec99b5 in mail_open_work () from /usr/lib/libc-client.so.2007e
#7  0xb7ecf366 in mail_open () from /usr/lib/libc-client.so.2007e
#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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-16 13:52 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-16 13:52 UTC] cmb@php.net
This doesn't look like a bug in PHP (but rather in libc-client),
or do you have evidence otherwise?
 [2020-10-25 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 13:01:27 2024 UTC