Debian Bug report logs -
#386041
libapache2-mod-php4: segmentation faults in shutdown_memory_manager()
Reported by: Alexey Bestchekov <proforg@maloletka.ru>
Date: Mon, 4 Sep 2006 21:18:14 UTC
Severity: normal
Fixed in version 6:4.4.6-2+rm
Done: Marco Rodrigues <gothicx@gmail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to Alexey Bestchekov <proforg@maloletka.ru>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libapache2-mod-php4
Version: 4:4.4.2-1.1
Severity: normal
hi !
Apache segfault infrequently when using horde/imp framework.
gdb core backtrace trace:
Core was generated by `/usr/sbin/apache2 -k start -DSSL'.
Program terminated with signal 6, Aborted.
#0 0x00002aaaac07b07b in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002aaaac07b07b in raise () from /lib/libc.so.6
#1 0x00002aaaac07c84e in abort () from /lib/libc.so.6
#2 0x00002aaaac0b1639 in __libc_message () from /lib/libc.so.6
#3 0x00002aaaac0b81a3 in _int_free () from /lib/libc.so.6
#4 0x00002aaaac0b822e in free () from /lib/libc.so.6
#5 0x00002aaaadfb29b9 in shutdown_memory_manager () from
/usr/lib/apache2/modules/libphp4.so
#6 0x00002aaaadf9441e in php_request_shutdown () from
/usr/lib/apache2/modules/libphp4.so
#7 0x00002aaaadfdffb0 in execute () from
/usr/lib/apache2/modules/libphp4.so
#8 0x00000000004352a9 in ap_run_handler ()
#9 0x0000000000438212 in ap_invoke_handler ()
#10 0x0000000000428658 in ap_process_request ()
#11 0x00000000004236e0 in _start ()
loaded php modules:
extension=curl.so
extension=domxml.so
extension=mysql.so
extension=pgsql.so
extension=imap.so
extension=gd.so
extension=fileinfo.so ; build from pecl
extension=memcache.so ; build from pecl
extension=mcal.so
extension=mhash.so
Eaccelerator 0.9.4 loaded as zend_extension
It seems to me that reason for this segfautls is similar to bug #370375
hangups. At least depending on php version apache hangs or segfaults but
not both.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-i3
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R) (ignored: LC_ALL set to ru_RU.koi8r)
Versions of packages libapache2-mod-php4 depends on:
ii apache2-mpm-prefork 2.0.55-4.1 traditional model for Apache2
ii libbz2-1.0 1.0.3-3 high-quality block-sorting file co
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libcomerr2 1.39-1 common error description library
ii libdb4.3 4.3.29-6 Berkeley v4.3 Database Libraries [
ii libexpat1 1.95.8-3.2 XML parsing C library - runtime li
ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii libkrb53 1.4.4~beta1-1 MIT Kerberos runtime libraries
ii libmagic1 4.17-3 File type determination library us
ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8b-2 SSL shared libraries
ii libzzip-0-12 0.12.83-6 library providing read access on Z
ii mime-support 3.37-1 MIME files 'mime.types' & 'mailcap
ii php4-common 4:4.4.2-1.1 Common files for packages built fr
ii zlib1g 1:1.2.3-13 compression library - runtime
libapache2-mod-php4 recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to Ondrej Sury <ondrej@sury.org>:
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 #10 received at 386041@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 386041 +moreinfo
thank you
> Eaccelerator 0.9.4 loaded as zend_extension
Try disabling Eaccelerator and report if those crashes happen as well.
Most crashes I have seen were related to Eaccelerator.
Ondrej.
--
Ondřej Surý <ondrej@sury.org> http://blog.rfc1925.org/
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to proforg <proforg@maloletka.ru>:
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 #15 received at 386041@bugs.debian.org (full text, mbox, reply):
EAccelerator disabled, but apache still crashes.
some additional information from apache error.log:
*** glibc detected *** corrupted double-linked list: 0x000000000172bdc0 ***
[Tue Sep 05 02:07:28 2006] [notice] child pid 19532 exit signal
Aborted (6), possible coredump in /var/tmp/www
On 9/5/06, Ondrej Sury <ondrej@sury.org> wrote:
> tags 386041 +moreinfo
> thank you
>
> > Eaccelerator 0.9.4 loaded as zend_extension
>
> Try disabling Eaccelerator and report if those crashes happen as well.
> Most crashes I have seen were related to Eaccelerator.
>
--
Alexej Bestchiokov
EMail/JID: proforg@maloletka.ru
phone: +7 495 7853149
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to Ondrej Sury <ondrej@sury.org>:
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 #20 received at 386041@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
> extension=memcache.so ; build from pecl
> extension=fileinfo.so ; build from pecl
Ok, now try disabling those two nonstandard modules. (Keep eaccel
disabled). My next suspect would be memcache since it does store
objects in memory and that segfault is in memory management.
Ondrej.
On Tue, 2006-09-05 at 02:23 +0400, proforg wrote:
> EAccelerator disabled, but apache still crashes.
>
> some additional information from apache error.log:
>
> *** glibc detected *** corrupted double-linked list: 0x000000000172bdc0 ***
> [Tue Sep 05 02:07:28 2006] [notice] child pid 19532 exit signal
> Aborted (6), possible coredump in /var/tmp/www
>
>
> On 9/5/06, Ondrej Sury <ondrej@sury.org> wrote:
> > tags 386041 +moreinfo
> > thank you
> >
> > > Eaccelerator 0.9.4 loaded as zend_extension
> >
> > Try disabling Eaccelerator and report if those crashes happen as well.
> > Most crashes I have seen were related to Eaccelerator.
> >
--
Ondřej Surý <ondrej@sury.org> http://blog.rfc1925.org/
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(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>.
(full text, mbox, link).
Message #25 received at 386041@bugs.debian.org (full text, mbox, reply):
On Tue, 2006-09-05 at 14:44 +0400, proforg wrote:
> Hi !
> Modules (now all non-debian) are disabled, but problem is still here.
Hmmm, ok, looks like you have found bug in PHP4 :-).
Are you able to test same configuration with unstable version of php4
4.4.4? F.E. in chroot?
Ondrej.
--
Ondřej Surý <ondrej@sury.org>
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to proforg <proforg@maloletka.ru>:
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 #30 received at 386041@bugs.debian.org (full text, mbox, reply):
Build php 4.4.4-1 and apache2_2.0.55-4.2 from source with additional
debugging information.
Lots of Segmentation faults in error.log but no core dumps.
Still trying to get one.
On 9/5/06, Ondřej Surý <ondrej@sury.org> wrote:
> On Tue, 2006-09-05 at 14:44 +0400, proforg wrote:
> > Hi !
> > Modules (now all non-debian) are disabled, but problem is still here.
>
> Hmmm, ok, looks like you have found bug in PHP4 :-).
>
> Are you able to test same configuration with unstable version of php4
> 4.4.4? F.E. in chroot?
>
> Ondrej.
> --
> Ondřej Surý <ondrej@sury.org>
>
>
--
Alexej Bestchiokov
EMail/JID: proforg@maloletka.ru
phone: +7 495 7853149
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to proforg <proforg@maloletka.ru>:
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 #35 received at 386041@bugs.debian.org (full text, mbox, reply):
ok, at last, backtrace for 4.4.4-1:
Core was generated by `/usr/sbin/apache2 -k start -DSSL'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002aaaadb9b550 in _mem_block_check () from
/usr/lib/apache2/modules/libphp4.so
(gdb) bt
#0 0x00002aaaadb9b550 in _mem_block_check () from
/usr/lib/apache2/modules/libphp4.so
#1 0x00002aaaadb9b439 in _mem_block_check () from
/usr/lib/apache2/modules/libphp4.so
#2 0x00002aaaadb9bbc4 in _efree () from /usr/lib/apache2/modules/libphp4.so
#3 0x00002aaaadb3efaf in zif_setlocale () from
/usr/lib/apache2/modules/libphp4.so
#4 0x00002aaaadbc8aff in execute () from /usr/lib/apache2/modules/libphp4.so
#5 0x00002aaaadbc26c6 in execute () from /usr/lib/apache2/modules/libphp4.so
#6 0x00002aaaadba4a54 in call_user_function_ex () from
/usr/lib/apache2/modules/libphp4.so
#7 0x00002aaaadba4d6e in call_user_function () from
/usr/lib/apache2/modules/libphp4.so
#8 0x00002aaaadaf3a95 in ps_open_files () from
/usr/lib/apache2/modules/libphp4.so
#9 0x00002aaaadaf3dc2 in ps_write_user () from
/usr/lib/apache2/modules/libphp4.so
#10 0x00002aaaadaee191 in php_get_session_var () from
/usr/lib/apache2/modules/libphp4.so
#11 0x00002aaaadaee489 in zm_deactivate_session () from
/usr/lib/apache2/modules/libphp4.so
#12 0x00002aaaadbae153 in module_registry_cleanup () from
/usr/lib/apache2/modules/libphp4.so
#13 0x00002aaaadbb2460 in zend_hash_apply () from
/usr/lib/apache2/modules/libphp4.so
#14 0x00002aaaadbad424 in zend_deactivate_modules () from
/usr/lib/apache2/modules/libphp4.so
#15 0x00002aaaadb79860 in php_request_shutdown () from
/usr/lib/apache2/modules/libphp4.so
#16 0x00002aaaadbcd260 in execute () from /usr/lib/apache2/modules/libphp4.so
#17 0x00000000004352a9 in ap_run_handler ()
#18 0x0000000000438212 in ap_invoke_handler ()
#19 0x0000000000428658 in ap_process_request ()
#20 0x00000000004236e0 in _start ()
(gdb)
On 9/6/06, proforg <proforg@maloletka.ru> wrote:
> Build php 4.4.4-1 and apache2_2.0.55-4.2 from source with additional
> debugging information.
>
> Lots of Segmentation faults in error.log but no core dumps.
> Still trying to get one.
>
> On 9/5/06, Ondřej Surý <ondrej@sury.org> wrote:
> > On Tue, 2006-09-05 at 14:44 +0400, proforg wrote:
> > > Hi !
> > > Modules (now all non-debian) are disabled, but problem is still here.
> >
> > Hmmm, ok, looks like you have found bug in PHP4 :-).
> >
> > Are you able to test same configuration with unstable version of php4
> > 4.4.4? F.E. in chroot?
> >
> > Ondrej.
> > --
> > Ondřej Surý <ondrej@sury.org>
> >
> >
--
Alexej Bestchiokov
EMail/JID: proforg@maloletka.ru
phone: +7 495 7853149
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to proforg <proforg@maloletka.ru>:
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 #40 received at 386041@bugs.debian.org (full text, mbox, reply):
the same with
apache2 2.2.3-2 and php4 4.4.4-3 from testing
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 6, Aborted.
#0 0x00002b41d0a8107b in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002b41d0a8107b in raise () from /lib/libc.so.6
#1 0x00002b41d0a8284e in abort () from /lib/libc.so.6
#2 0x00002b41d0ab7639 in __libc_message () from /lib/libc.so.6
#3 0x00002b41d0abe1a3 in _int_free () from /lib/libc.so.6
#4 0x00002b41d0abe22e in free () from /lib/libc.so.6
#5 0x00002b41d2f06059 in shutdown_memory_manager () from
/usr/lib/apache2/modules/libphp4.so
#6 0x00002b41d2ee7d4e in php_request_shutdown () from
/usr/lib/apache2/modules/libphp4.so
#7 0x00002b41d2f33ad0 in execute () from /usr/lib/apache2/modules/libphp4.so
#8 0x0000000000432c89 in ap_run_handler ()
#9 0x0000000000435e02 in ap_invoke_handler ()
#10 0x0000000000441f18 in ap_process_request ()
#11 0x000000000043f3fc in ap_register_input_filter ()
#12 0x00000000004397e1 in ap_run_process_connection ()
#13 0x0000000000445891 in ap_graceful_stop_signalled ()
#14 0x0000000000445b04 in ap_graceful_stop_signalled ()
#15 0x00000000004463a6 in ap_mpm_run ()
#16 0x0000000000420e00 in main ()
On 9/5/06, Ondřej Surý <ondrej@sury.org> wrote:
> On Tue, 2006-09-05 at 14:44 +0400, proforg wrote:
> > Hi !
> > Modules (now all non-debian) are disabled, but problem is still here.
>
> Hmmm, ok, looks like you have found bug in PHP4 :-).
>
> Are you able to test same configuration with unstable version of php4
> 4.4.4? F.E. in chroot?
>
> Ondrej.
> --
> Ondřej Surý <ondrej@sury.org>
>
>
--
Alexej Bestchiokov
EMail/JID: proforg@maloletka.ru
phone: +7 495 7853149
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
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 #45 received at 386041@bugs.debian.org (full text, mbox, reply):
reassign 370375 libapache2-mod-php5
reassign 341346 libapache2-mod-php5
reassign 392839 libapache2-mod-php5
reassign 298052 libapache2-mod-php5
reassign 424937 libapache2-mod-php5
reassign 410549 libapache2-mod-php5
reassign 386041 libapache2-mod-php5
reassign 271856 libapache2-mod-php5
reassign 456728 libapache2-mod-php5
reassign 264806 libapache2-mod-php5
reassign 323585 libapache2-mod-php5
thanks
The libapache2-mod-php4 package has been removed from Debian testing, unstable and
experimental. I am reassigning its bugs to the libapache2-mod-php5 package. Please
have a look at them, and close them if they don't apply to
libapache2-mod-php5 anymore.
Don't hesitate to reply to this mail if you have any question.
--
Lucas
Information stored:
Bug#386041; Package libapache2-mod-php4.
(full text, mbox, link).
Acknowledgement sent to sean finney <seanius@debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #54 received at 386041-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
reassign 370375 libapache2-mod-php4
reassign 341346 libapache2-mod-php4
reassign 392839 libapache2-mod-php4
reassign 298052 libapache2-mod-php4
reassign 424937 libapache2-mod-php4
reassign 410549 libapache2-mod-php4
reassign 386041 libapache2-mod-php4
reassign 271856 libapache2-mod-php4
reassign 456728 libapache2-mod-php4
reassign 264806 libapache2-mod-php4
reassign 323585 libapache2-mod-php4
thanks
this is not the first time someone has done a mass-reassignment on old php4
bugs. blindly reassigning bugs from php4->php5 is not the proper protocol
here. just because php4 will not be in lenny does not mean that it is not
still in debian. furthermore, if the bug affected php5 it should have
already been cloned to php5.
thanks,
sean
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Marco Rodrigues <gothicx@gmail.com>:
You have taken responsibility.
(Fri, 26 Mar 2010 10:33:14 GMT) (full text, mbox, link).
Notification sent
to Alexey Bestchekov <proforg@maloletka.ru>:
Bug acknowledged by developer.
(Fri, 26 Mar 2010 10:33:14 GMT) (full text, mbox, link).
Message #59 received at 386041-done@bugs.debian.org (full text, mbox, reply):
Version: 6:4.4.6-2+rm
You filed the bug http://bugs.debian.org/386041 in Debian BTS
against the package libapache2-mod-php4. I'm closing it at *unstable*, but it will
remain open for older distributions.
For more information about this package's removal, read
http://bugs.debian.org/428266. That bug might give the reasons why
this package was removed and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 24 Apr 2010 07:31:09 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 02:37:39 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.