Public bug reported:

Binary package hint: libapache2-mod-php4

Early this morning (2006-07-20), I got the security update for php4
(4.3.10-10ubuntu4.5) including libapache2-mod-php4.  Since then, a lot
of my gallery2 (http://gallery2.sf.net/) pages SIGSEGV.

Since this is a security update that's caused the SIGSEGV (admittedly,
this is based on timing, and the actual cause of the SIGSEGV's may not
be the security update), I'm checking the "security vulnerability" flag
(it's at least arguably a DoS, as my gallery is now only intermittently
available).

On a related note, it appears that security.ubuntu.com doesn't keep
around older packages, as I don't see a route that lets me downgrade to
php4=4:4.3.10-10ubuntu4.4 so if someone could point out where I could
get those older bits, that'd be great as both a workaround and
confirmation that it's the fix in the *4.5 bits that's causing this on
my system.

Here's an strace from one death:

...
fstat64(17, {st_mode=S_IFREG|0644, st_size=6147, ...}) = 0
mmap2(NULL, 6147, PROT_READ, MAP_SHARED, 17, 0) = 0xb75db000
munmap(0xb75db000, 6147)                = 0
close(17)                               = 0
access("/var/www/gallery2/g2data/cache/entity/2/3", F_OK) = 0
stat64("/var/www/gallery2/g2data/cache/entity/2/3", {st_mode=S_IFDIR|0755, 
st_size=20480, ...}) = 0
gettimeofday({1153449599, 634894}, NULL) = 0
getpid()                                = 27932
open("/var/www/gallery2/g2data/cache/entity/2/3/23610.incLIybig", 
O_RDWR|O_CREAT|O_EXCL, 0600) = 17
fcntl64(17, F_GETFL)                    = 0x2 (flags O_RDWR)
fstat64(17, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb75dc000
_llseek(17, 0, [0], SEEK_CUR)           = 0
close(17)                               = 0
munmap(0xb75dc000, 4096)                = 0
getcwd("/var/www/gallery2", 4096)       = 18
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat64("/var/www/gallery2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www/gallery2/g2data", {st_mode=S_IFDIR|0755, st_size=4096, ...}) 
= 0
lstat64("/var/www/gallery2/g2data/cache", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
lstat64("/var/www/gallery2/g2data/cache/entity", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
lstat64("/var/www/gallery2/g2data/cache/entity/2", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
lstat64("/var/www/gallery2/g2data/cache/entity/2/3", {st_mode=S_IFDIR|0755, 
st_size=20480, ...}) = 0
lstat64("/var/www/gallery2/g2data/cache/entity/2/3/23610.incLIybig", 
{st_mode=S_IFREG|0600, st_size=0, ...}) = 0
open("/var/www/gallery2/g2data/cache/entity/2/3/23610.incLIybig", 
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 17
fstat64(17, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
lseek(17, 0, SEEK_CUR)                  = 0
chmod("/var/www/gallery2/g2data/cache/entity/2/3/23610.incLIybig", 0644) = 0
write(17, "modules/core/classes/GalleryDeri"..., 1256) = 1256
close(17)                               = 0
rename("/var/www/gallery2/g2data/cache/entity/2/3/23610.incLIybig", 
"/var/www/gallery2/g2data/cache/entity/2/3/23610.inc") = 0
fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(12, 0x89ce3e0, 8192)               = -1 EAGAIN (Resource temporarily 
unavailable)
fcntl64(12, F_SETFL, O_RDWR)            = 0
write(12, "p\0\0\0\3\n\tSELECT\n\t  g2_Derivative.g"..., 116) = 116
read(12, "\1\0\0\1", 4)                 = 4
read(12, "\1", 1)                       = 1
read(12, "\35\0\0\2", 4)                = 4
read(12, "[EMAIL PROTECTED]", 29) = 29
read(12, "\1\0\0\3", 4)                 = 4
read(12, "\376", 1)                     = 1
read(12, "\1\0\0\4", 4)                 = 4
read(12, "\376", 1)                     = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
chdir("/etc/apache2")                   = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
getpid()                                = 27932
getpid()                                = 27932
kill(27932, SIGSEGV)                    = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 27932 detached

** Affects: php4 (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

** Visibility changed to: Public

-- 
hoary: intermittent SIGSEGV from php pages after upgrade to 4.3.10-10ubuntu4.5
https://launchpad.net/bugs/53581

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to