Bug #55494 [Opn->Fbk]: imap_open() SIGABRT in __kernel_vsyscall()
| From: | cmb@php.net | Date: | Fri, 16 Oct 2020 13:52:44 +0000 |
| Subject: | Bug #55494 [Opn->Fbk]: imap_open() SIGABRT in __kernel_vsyscall() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229661@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55494&edit=1
ID: 55494
Updated by: cmb@php.net
Reported by: hardprod at o2 dot pl
Summary: imap_open() SIGABRT in __kernel_vsyscall()
-Status: Open
+Status: Feedback
Type: Bug
Package: IMAP related
Operating System: Linux
PHP Version: 5.4SVN-2011-08-23 (snap)
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This doesn't look like a bug in PHP (but rather in libc-client),
or do you have evidence otherwise?
Previous Comments:
------------------------------------------------------------------------
[2011-08-23 15:02:36] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55494&edit=1