Public bug reported:

Binary package hint: php5

After installing egroupware 1.8 from an external repository, php5 starts
to throw segment violations on script shutdown on certain scripts. The
problem was detected on a Ubuntu 10.04 Server, 32 bits, but I got the
same error on a Kubuntu Desktop 10.04 64 bits.

php5 version:
  Installed: 5.3.2-1ubuntu4.7
  Candidate: 5.3.2-1ubuntu4.7
  Version table:
 *** 5.3.2-1ubuntu4.7 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     5.3.2-1ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages

The problem manifests on acessing egroupware features. Some pages, when
accessed, doesn't open; instead, the browser asks for downloading a
file. If saved, the file is 0-byte sized. At same time, apache2 logs a
"Segment Violation".

If the package "php-apc" is uninstalled and/or apache2 "deflate" module
is disabled, the page opens, but the Segment Violation is still logged.

Running Apache2 against gdb shows that the SEGV is on PHP5 function
gc_collect_cycles() called upon script shutdown:

#0  0xb7893415 in ?? () from /usr/lib/apache2/modules/libphp5.so
#1  0xb7893dfd in gc_collect_cycles () from /usr/lib/apache2/modules/libphp5.so
#2  0xb7874ff5 in ?? () from /usr/lib/apache2/modules/libphp5.so
#3  0xb7819868 in php_request_shutdown () from 
/usr/lib/apache2/modules/libphp5.so
#4  0xb790681c in ?? () from /usr/lib/apache2/modules/libphp5.so
#5  0xb7fdb031 in ap_run_handler (r=0xb837e3c8) at 
/build/buildd/apache2-2.2.14/server/config.c:159
#6  0xb7fdee17 in ap_invoke_handler (r=0xb837e3c8) at 
/build/buildd/apache2-2.2.14/server/config.c:373
#7  0xb7fee728 in ap_process_request (r=0xb837e3c8) at 
/build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#8  0xb7feb258 in ap_process_http_connection (c=0xb83762f0) at 
/build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#9  0xb7fe38a1 in ap_run_process_connection (c=0xb83762f0) at 
/build/buildd/apache2-2.2.14/server/connection.c:43
#10 0xb7ff3bea in child_main (child_num_arg=<value optimized out>) at 
/build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#11 0xb7ff3f21 in make_child (s=<value optimized out>, slot=0) at 
/build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702
#12 0xb7ff46af in ap_mpm_run (_pconf=0xb800e0a8, plog=0xb8040170, s=0xb80128e8) 
at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:978
#13 0xb7fc5a92 in main (argc=2, argv=0xbffffcc4) at 
/build/buildd/apache2-2.2.14/server/main.c:742

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: php5 5.3.2-1ubuntu4.7
ProcVersionSignature: Ubuntu 2.6.32-29.58-generic-pae 2.6.32.28+drm33.13
Uname: Linux 2.6.32-29-generic-pae i686
Architecture: i386
Date: Sat Feb 26 20:20:52 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, user)
 LANG=pt_BR.utf8
 SHELL=/bin/bash
SourcePackage: php5

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/725812

Title:
  PHP5.3.2 throws SEGV on gc_collect_cycles() on script shutdown

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to