Debian Bug report logs - #458081
apache2: Dies with floating point exception

Package: libapache2-mod-php5; Maintainer for libapache2-mod-php5 is (unknown);

Reported by: Gabor Gombas <gombasg@icedsl.hu>

Date: Fri, 28 Dec 2007 14:06:01 UTC

Severity: important

Tags: moreinfo

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 Apache Maintainers <debian-apache@lists.debian.org>:
Bug#458081; Package apache2-mpm-prefork. (full text, mbox, link).


Acknowledgement sent to Gabor Gombas <gombasg@icedsl.hu>:
New Bug report received and forwarded. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>. (full text, mbox, link).


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

From: Gabor Gombas <gombasg@icedsl.hu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache2: Dies with floating point exception
Date: Fri, 28 Dec 2007 15:04:16 +0100
Package: apache2-mpm-prefork
Version: 2.2.3-4+etch3
Severity: important


Hi,

Two days ago apache2 started crashing with this error message:

[Fri Dec 28 13:29:49 2007] [notice] child pid 12318 exit signal Floating point exception (8)

The kernel log also contains:

Dec 28 13:29:49 host kernel: apache2[12318] trap divide error rip:2ae061b2abe1 rsp:7fff4d18a5d0 error:0

There are 3 distinct "rip" values out of ~30 such messages logged so far.
When the crashes started, we were still running 2.2.3-4+etch1. There are
several apache instances running on this machine but only one (that
serves webmail using Horde/Imp) crashes.

Gabor

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (101, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apache2-mpm-prefork depends on:
ii  apa 2.2.3-4+etch3                        Next generation, scalable, extenda
ii  lib 1.2.7-8.2                            The Apache Portable Runtime Librar
ii  lib 1.2.7+dfsg-2                         The Apache Portable Runtime Utilit
ii  lib 2.3.6.ds1-13etch4                    GNU C Library: Shared libraries
ii  lib 4.4.20-8                             Berkeley v4.4 Database Libraries [
ii  lib 1.95.8-3.4                           XML parsing C library - runtime li
ii  lib 2.1.30-13.3                          OpenLDAP libraries
ii  lib 6.7+7.4-2                            Perl 5 Compatible Regular Expressi
ii  lib 8.1.9-0etch2                         PostgreSQL C client library
ii  lib 3.3.8-1.1                            SQLite 3 shared library
ii  lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 universally unique id library

apache2-mpm-prefork recommends no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#458081; Package apache2-mpm-prefork. (full text, mbox, link).


Acknowledgement sent to Stefan Fritsch <sf@sfritsch.de>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>. (full text, mbox, link).


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

From: Stefan Fritsch <sf@sfritsch.de>
To: Gabor Gombas <gombasg@icedsl.hu>
Cc: 458081@bugs.debian.org
Subject: Re: Bug#458081: apache2: Dies with floating point exception
Date: Sun, 30 Dec 2007 13:21:34 +0100
On Friday 28 December 2007, Gabor Gombas wrote:
> Two days ago apache2 started crashing with this error message:
>
> [Fri Dec 28 13:29:49 2007] [notice] child pid 12318 exit signal
> Floating point exception (8)
>
> The kernel log also contains:
>
> Dec 28 13:29:49 host kernel: apache2[12318] trap divide error
> rip:2ae061b2abe1 rsp:7fff4d18a5d0 error:0
>
> There are 3 distinct "rip" values out of ~30 such messages logged
> so far. When the crashes started, we were still running
> 2.2.3-4+etch1. There are several apache instances running on this
> machine but only one (that serves webmail using Horde/Imp) crashes.

I suspect that this is actually a bug in a php extension. Can you 
please follow the instructions at

http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/README.backtrace?op=file&rev=0&sc=0

to create a backtrace? (Ignore the apache2-dbg package because it does 
not exist in etch.)

The backtrace should show which module causes the problem.

Cheers,
Stefan




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#458081; Package apache2-mpm-prefork. (full text, mbox, link).


Acknowledgement sent to Gabor Gombas <gombasg@sztaki.hu>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>. (full text, mbox, link).


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

From: Gabor Gombas <gombasg@sztaki.hu>
To: Stefan Fritsch <sf@sfritsch.de>
Cc: Gabor Gombas <gombasg@icedsl.hu>, 458081@bugs.debian.org
Subject: Re: Bug#458081: apache2: Dies with floating point exception
Date: Sun, 30 Dec 2007 14:01:02 +0100
On Sun, Dec 30, 2007 at 01:21:34PM +0100, Stefan Fritsch wrote:

> I suspect that this is actually a bug in a php extension. Can you 
> please follow the instructions at
> 
> http://svn.debian.org/wsvn/pkg-apache/trunk/apache2/README.backtrace?op=file&rev=0&sc=0
> 
> to create a backtrace? (Ignore the apache2-dbg package because it does 
> not exist in etch.)

I've already enabled coredumping when I sent the original bug report.
Since then there was a single SIGFPE crash that did not produce a core
dump, and a second one, now SIGSEGV, that indeed looks like a PHP
bug (backtrace below). It may be that there are actually two bugs...

Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002ae2bc0fa49e in zif_preg_grep () from /usr/lib/apache2/modules/libphp5.so
(gdb) bt full
#0  0x00002ae2bc0fa49e in zif_preg_grep () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#1  0x00002ae2bc2f6227 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#2  0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#3  0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#4  0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#5  0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#6  0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#7  0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#8  0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#9  0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#10 0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#11 0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#12 0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#13 0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#14 0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#15 0x00002ae2bc2f5cf0 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#16 0x00002ae2bc2e5c43 in execute () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#17 0x00002ae2bc2c8ca9 in zend_execute_scripts () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#18 0x00002ae2bc289468 in php_execute_script () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#19 0x00002ae2bc3462b3 in php_ap2_register_hook () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#20 0x0000000000432cf9 in ap_run_handler ()
No symbol table info available.
#21 0x0000000000435e72 in ap_invoke_handler ()
No symbol table info available.
#22 0x0000000000441fe8 in ap_process_request ()
No symbol table info available.
#23 0x000000000043f4cc in ap_register_input_filter ()
No symbol table info available.
#24 0x0000000000439851 in ap_run_process_connection ()
No symbol table info available.
#25 0x0000000000445961 in ap_graceful_stop_signalled ()
No symbol table info available.
#26 0x0000000000445bd4 in ap_graceful_stop_signalled ()
No symbol table info available.
#27 0x0000000000446476 in ap_mpm_run ()
No symbol table info available.
#28 0x0000000000420e70 in main ()
No symbol table info available.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------




Bug reassigned from package `apache2-mpm-prefork' to `libapache2-mod-php5'. Request was from Stefan Fritsch <sf@debian.org> to control@bugs.debian.org. (Sun, 30 Dec 2007 23:54:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#458081; Package libapache2-mod-php5. (full text, mbox, link).


Acknowledgement sent to Stefan Fritsch <sf@sfritsch.de>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Stefan Fritsch <sf@sfritsch.de>
To: Gabor Gombas <gombasg@icedsl.hu>
Cc: 458081@bugs.debian.org, debian-apache@lists.debian.org
Subject: Re: Bug#458081: apache2: Dies with floating point exception
Date: Mon, 31 Dec 2007 00:57:52 +0100
On Sunday 30 December 2007, Gabor Gombas wrote:
> I've already enabled coredumping when I sent the original bug
> report. Since then there was a single SIGFPE crash that did not
> produce a core dump, and a second one, now SIGSEGV, that indeed
> looks like a PHP bug (backtrace below). It may be that there are
> actually two bugs...

I am reassigning this bug to php.

If the "rip" value stays the same even after you restart apache, you 
could maybe get a hint about the culprit from looking 
at /proc/.../maps .

Stefan




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#458081; Package libapache2-mod-php5. (full text, mbox, link).


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

From: Raphael Geissert <atomo64@gmail.com>
To: 458081-submitter@bugs.debian.org
Cc: 458081@bugs.debian.org
Subject: Re: Bug#458081: apache2: Dies with floating point exception
Date: Tue, 26 Aug 2008 15:23:21 -0500
tag 458081 + moreinfo
thanks

Could you please install the php5-dbg package and provide a useful backtrace?.

Thanks.

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




Tags added: moreinfo Request was from Raphael Geissert <atomo64@gmail.com> to control@bugs.debian.org. (Tue, 26 Aug 2008 20:27:09 GMT) (full text, mbox, link).


Message sent on to Gabor Gombas <gombasg@icedsl.hu>:
Bug#458081. (full text, mbox, link).


Information stored:
Bug#458081; Package libapache2-mod-php5. (full text, mbox, link).


Acknowledgement sent to Gabor Gombas <gombasg@sztaki.hu>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #35 received at 458081-quiet@bugs.debian.org (full text, mbox, reply):

From: Gabor Gombas <gombasg@sztaki.hu>
To: Raphael Geissert <atomo64@gmail.com>, 458081-quiet@bugs.debian.org
Subject: Re: Bug#458081: apache2: Dies with floating point exception
Date: Wed, 27 Aug 2008 13:18:40 +0200
On Tue, Aug 26, 2008 at 03:23:21PM -0500, Raphael Geissert wrote:

> Could you please install the php5-dbg package and provide a useful backtrace?.

There is no such package in etch. This is a production machine so
upgrading to lenny/sid is not possible in the foreseeable future.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#458081; Package libapache2-mod-php5. (Fri, 08 Jan 2010 15:27:10 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>. (Fri, 08 Jan 2010 15:27:10 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 458081-submitter@bugs.debian.org, 458081@bugs.debian.org
Subject: Re: Bug#458081: apache2: Dies with floating point exception
Date: Fri, 8 Jan 2010 16:23:48 +0100
Have you upgraded to lenny since?

Ondrej
-- 
Ondřej Surý <ondrej@sury.org>
http://blog.rfc1925.org/




Message sent on to Gabor Gombas <gombasg@icedsl.hu>:
Bug#458081. (Fri, 08 Jan 2010 15:27:15 GMT) (full text, mbox, link).


Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Thu, 21 Oct 2010 11:21:11 GMT) (full text, mbox, link).


Notification sent to Gabor Gombas <gombasg@icedsl.hu>:
Bug acknowledged by developer. (Thu, 21 Oct 2010 11:21:11 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 509236-done@bugs.debian.org, 440634-done@bugs.debian.org, 499992-done@bugs.debian.org, 400995-done@bugs.debian.org, 458081-done@bugs.debian.org, 460198-done@bugs.debian.org, 491033-done@bugs.debian.org
Subject: Closing multiple etch bugs
Date: Thu, 21 Oct 2010 13:16:33 +0200
Version 5.2.6-5

Closing bugs found only in etch (or something in between etch and
lenny) versions which are no longer supported.

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




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 19 Nov 2010 07:36:04 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:20:18 2023; Machine Name: bembo

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.