[Bug 198103] [NEW] php5-5.2.1-0ubuntu1.5 session handling segfaults

Andy Dustman farcepest at gmail.com
Mon Mar 3 18:49:55 GMT 2008


Public bug reported:

Binary package hint: php5

This is closely related to bug #173043. php5-5.2.1-0ubuntu1.5 on amd64
feisty (or more specifically, tested with libapache2-mod-php5) causes
Apache to segfault under non-obvious conditions when starting new
sessions. By this I mean, it seems to happen consistently for a long
time, and then it may start to work consistently for awhile. To test
whether this was the same problem as #173043, I got the feisty source
package for php5, applied the following patch, built debs, and installed
them. This seems to fix the problem; at least I have not seen it fail
yet.

https://bugs.launchpad.net/ubuntu/+source/php5/+bug/173043/comments/9

--- ext/session/session.c.orig 2007-12-01 05:41:38.502160889 +0000
+++ ext/session/session.c 2007-12-01 05:27:50.052388781 +0000
@@ -46,6 +46,7 @@
 #include "ext/standard/php_rand.h" /* for RAND_MAX */
 #include "ext/standard/info.h"
 #include "ext/standard/php_smart_str.h"
+#include "ext/standard/url.h"

 #include "mod_files.h"
 #include "mod_user.h"

--
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.04
DISTRIB_CODENAME=feisty
DISTRIB_DESCRIPTION="Ubuntu 7.04"

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

-- 
php5-5.2.1-0ubuntu1.5 session handling segfaults
https://bugs.launchpad.net/bugs/198103
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list