Debian Bug report logs - #737688
PHP5-FPM segfault [400000+6fe000] w/ php5-imap

version graph

Package: php5-fpm; Maintainer for php5-fpm is (unknown);

Reported by: Alex <hawk@alexkavon.com>

Date: Tue, 4 Feb 2014 23:30:07 UTC

Severity: normal

Found in version php5/5.4.4-14+deb7u7

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737688; Package php5-fpm. (Tue, 04 Feb 2014 23:30:11 GMT) (full text, mbox, link).


Acknowledgement sent to Alex <hawk@alexkavon.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 04 Feb 2014 23:30:12 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alex <hawk@alexkavon.com>
To: submit@bugs.debian.org
Subject: PHP5-FPM segfault [400000+6fe000] w/ php5-imap
Date: Tue, 04 Feb 2014 16:11:22 -0700
[Message part 1 (text/plain, inline)]
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}', '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
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737688; Package php5-fpm. (Wed, 05 Feb 2014 08:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Lior Kaplan <kaplan@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 05 Feb 2014 08:39:04 GMT) (full text, mbox, link).


Message #10 received at 737688@bugs.debian.org (full text, mbox, reply):

From: Lior Kaplan <kaplan@debian.org>
To: Alex <hawk@alexkavon.com>
Cc: 737688@bugs.debian.org
Subject: Re: [php-maint] Bug#737688: PHP5-FPM segfault [400000+6fe000] w/ php5-imap
Date: Wed, 5 Feb 2014 10:34:37 +0200
[Message part 1 (text/plain, inline)]
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@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@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737688; Package php5-fpm. (Wed, 05 Feb 2014 17:15:13 GMT) (full text, mbox, link).


Acknowledgement sent to Alex <hawk@alexkavon.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 05 Feb 2014 17:15:13 GMT) (full text, mbox, link).


Message #15 received at 737688@bugs.debian.org (full text, mbox, reply):

From: Alex <hawk@alexkavon.com>
To: 737688@bugs.debian.org
Subject: Re: [php-maint] Bug#737688: PHP5-FPM segfault [400000+6fe000] w/ php5-imap
Date: Wed, 05 Feb 2014 09:47:52 -0700
#0  0x00007f66830df0b3 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x0000000000757542 in fpm_event_epoll_wait (queue=0x7, timeout=1000)
    at /tmp/buildd/php5-5.4.4/sapi/fpm/fpm/events/epoll.c:124
#2  0x000000000074e299 in fpm_event_loop (err=-481036337) at 
/tmp/buildd/php5-5.4.4/sapi/fpm/fpm/fpm_events.c:403
#3  0x0000000000748e57 in fpm_run (max_requests=0x7ffff28d6b10) at 
/tmp/buildd/php5-5.4.4/sapi/fpm/fpm/fpm.c:112
#4  0x0000000000431214 in main (argc=3, argv=0x7ffff28d8ea8) at 
/tmp/buildd/php5-5.4.4/sapi/fpm/fpm/fpm_main.c:1806




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737688; Package php5-fpm. (Wed, 05 Feb 2014 17:15:16 GMT) (full text, mbox, link).


Acknowledgement sent to Alex <hawk@alexkavon.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 05 Feb 2014 17:15:16 GMT) (full text, mbox, link).


Message #20 received at 737688@bugs.debian.org (full text, mbox, reply):

From: Alex <hawk@alexkavon.com>
To: Lior Kaplan <kaplan@debian.org>
Cc: 737688@bugs.debian.org
Subject: Re: [php-maint] Bug#737688: PHP5-FPM segfault [400000+6fe000] w/ php5-imap
Date: Wed, 05 Feb 2014 10:12:52 -0700
#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@alexkavon.com
> <mailto:hawk@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@lists.alioth.debian.org
>     <mailto:pkg-php-maint@lists.alioth.debian.org>
>     http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>
>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#737688; Package php5-fpm. (Wed, 09 Jul 2014 14:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 09 Jul 2014 14:54:04 GMT) (full text, mbox, link).


Message #25 received at 737688@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: 737688@bugs.debian.org, Lior Kaplan <kaplan@debian.org>
Subject: Re: Bug#737688: PHP5-FPM segfault [400000+6fe000] w/ php5-imap
Date: Wed, 09 Jul 2014 16:50:32 +0200
Lior,

any idea what might cause this crash?

O.
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Wed, 27 Jan 2016 11:45:20 GMT) (full text, mbox, link).


Notification sent to Alex <hawk@alexkavon.com>:
Bug acknowledged by developer. (Wed, 27 Jan 2016 11:45:20 GMT) (full text, mbox, link).


Message #30 received at 737688-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: 730094-done@bugs.debian.org, 737688-done@bugs.debian.org, 759698-done@bugs.debian.org, 766972-done@bugs.debian.org
Subject: Closing the non-security bugs against PHP in Debian wheezy (old-stable)
Date: Wed, 27 Jan 2016 12:42:34 +0100
Version: php5/5.6.0+dfsg-1

Feel free to reopen the bugs, if you can reproduce those against current
Debian stable PHP version (5.6.17+).

Cheers,
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 25 Feb 2016 07:36:50 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:47:18 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.