From:
Operating system: Linux
PHP version: 5.4SVN-2011-08-23 (snap)
Package: IMAP related
Bug Type: Bug
Bug description:imap_open() SIGABRT in __kernel_vsyscall()
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 bug report at https://bugs.php.net/bug.php?id=55494&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=55494&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=55494&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=55494&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=55494&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=55494&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=55494&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=55494&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=55494&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=55494&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=55494&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=55494&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=55494&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=55494&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=55494&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=55494&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55494&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=55494&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=55494&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=55494&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=55494&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=55494&r=mysqlcfg