[php-maint] Bug#737688: Bug#737688: PHP5-FPM segfault [400000+6fe000] w/ php5-imap

Alex hawk at alexkavon.com
Wed Feb 5 17:12:52 UTC 2014


#0  0x00007f66830d8553 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f6681bb39db in tcp_socket_open () from 
/usr/lib/libc-client.so.2007e
#2  0x00007f6681bb3d66 in tcp_open () from /usr/lib/libc-client.so.2007e
#3  0x00007f6681bcdf02 in net_open_work () from 
/usr/lib/libc-client.so.2007e
#4  0x00007f6681bce17f in net_open () from /usr/lib/libc-client.so.2007e
#5  0x00007f6681bf69eb in imap_open () from 
/usr/lib/libc-client.so.2007e
#6  0x00007f6681bc57ea in mail_open_work () from 
/usr/lib/libc-client.so.2007e
#7  0x00007f6681bcb9bd in mail_open () from 
/usr/lib/libc-client.so.2007e
#8  0x00007f6681eb3f11 in zif_imap_open (ht=4, return_value=0x28bb168, 
return_value_ptr=0x7ffff28d1850,
    this_ptr=0xffffffffffffffff, return_value_used=-225634368) at 
/tmp/buildd/php5-5.4.4/ext/imap/php_imap.c:1239
#9  0x0000000000745c02 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7f6685cf7e78)
    at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:642
#10 0x00000000006ff477 in execute (op_array=0x28acfd8) at 
/tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
#11 0x0000000000690a00 in zend_call_function (fci=0x7ffff28d4270, 
fci_cache=0x0)
    at /tmp/buildd/php5-5.4.4/Zend/zend_execute_API.c:958
#12 0x00000000005c657f in zif_call_user_func_array (ht=6, 
return_value=0x2660248, return_value_ptr=0x7ffff28d1850,
    this_ptr=0xffffffffffffffff, return_value_used=-225634368)
    at /tmp/buildd/php5-5.4.4/ext/standard/basic_functions.c:4756
#13 0x0000000000745c02 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7f6685cf7be8)
    at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:642
#14 0x00000000006ff477 in execute (op_array=0x2810780) at 
/tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
#15 0x0000000000690a00 in zend_call_function (fci=0x7ffff28d4580, 
fci_cache=0x0)
    at /tmp/buildd/php5-5.4.4/Zend/zend_execute_API.c:958
#16 0x00000000005c657f in zif_call_user_func_array (ht=6, 
return_value=0x2661008, return_value_ptr=0x7ffff28d1850,
    this_ptr=0xffffffffffffffff, return_value_used=-225634368)
    at /tmp/buildd/php5-5.4.4/ext/standard/basic_functions.c:4756
#17 0x0000000000745c02 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7f6685cf7288)
    at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:642
#18 0x00000000006ff477 in execute (op_array=0x25fac20) at 
/tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
#19 0x000000000069f29e in zend_execute_scripts (type=8, 
retval=0x7f6685d26578, file_count=3)
    at /tmp/buildd/php5-5.4.4/Zend/zend.c:1279
#20 0x000000000063e7b3 in php_execute_script (primary_file=0x6c2b5c) at 
/tmp/buildd/php5-5.4.4/main/main.c:2473
---Type <return> to continue, or q <return> to quit---
#21 0x0000000000431cd0 in main (argc=-2050014144, argv=0xdc36a0) at 
/tmp/buildd/php5-5.4.4/sapi/fpm/fpm/fpm_main.c:1893

On Wed Feb  5 01:34:37 2014, Lior Kaplan wrote:
> Please install php5-dbg and generate a backtrace.
>
> See https://bugs.php.net/bugs-generating-backtrace.php
>
> Kaplan
>
>
> On Wed, Feb 5, 2014 at 1:11 AM, Alex <hawk at alexkavon.com
> <mailto:hawk at alexkavon.com>> wrote:
>
>     Package: php5-fpm
>     Version: 5.4.4-14+deb7u7
>
>     I'm using the latest php5-fpm version:
>
>     PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 08:42:07)
>     Copyright (c) 1997-2012 The PHP Group
>     Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
>
>     I'm also using the latest version of php5-imap.
>
>     I'm running the following commands on Debian 7 (3.2.0-4-amd64 #1
>     SMP Debian 3.2.41-2+deb7u2 x86_64):
>
>     $open = imap_open('{10.128.11.4:143/secure}
>     <http://10.128.11.4:143/secure%7D>', 'admin', 'password',
>     OP_HALFOPEN);
>
>     imap_createmailbox($open, '{10.128.11.4:143}user' . $username);
>
>     imap_setacl($open, 'user' . $username, 'admin', 'c');
>
>     This is causing the following error:
>
>     Feb  4 16:05:59 localhost kernel: [1214803.021736]
>     php5-fpm[20495]: segfault at 7fa67fc77fe0 ip 0000000000676c1d sp
>     00007fff12809e60 error 4 in php5-fpm[400000+6fe000]
>
>     I'm working with a cyrus-imap server
>
>     _______________________________________________
>     pkg-php-maint mailing list
>     pkg-php-maint at lists.alioth.debian.org
>     <mailto:pkg-php-maint at lists.alioth.debian.org>
>     http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>
>



More information about the pkg-php-maint mailing list