php5 segfault using gallery2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libapache2-mod-php5
After upgrading to lucid, visiting my gallery pages segfaulted apache. I have the following backtrace:
{{{
(gdb) bt
#0 zval_mark_grey (pz=0x7ffff8beefc8) at /build/
#1 0x00007ffff3778f35 in gc_collect_cycles () at /build/
#2 0x00007ffff375b7a5 in zend_deactivate () at /build/
#3 0x00007ffff3707385 in php_request_
#4 0x00007ffff37e7dc7 in php_handler (r=0x7ffff37e7dc7) at /build/
#5 0x00007ffff7fd6140 in ap_run_handler (r=0x7ffff86d3128) at /build/
#6 0x00007ffff7fd9aa8 in ap_invoke_handler (r=0x7ffff86d3128) at /build/
#7 0x00007ffff7fe749c in ap_internal_
#8 0x00007ffff1026c95 in ?? () from /usr/lib/
#9 0x00007ffff7fd6140 in ap_run_handler (r=0x7ffff86ca4a8) at /build/
#10 0x00007ffff7fd9aa8 in ap_invoke_handler (r=0x7ffff86ca4a8) at /build/
#11 0x00007ffff7fe7678 in ap_process_request (r=0x7ffff86ca4a8) at /build/
#12 0x00007ffff7fe4528 in ap_process_
#13 0x00007ffff7fddcf8 in ap_run_
#14 0x00007ffff7fec037 in child_main (child_
#15 0x00007ffff7fec306 in make_child (s=0x7ffff8214938, slot=0) at /build/
#16 0x00007ffff7fec953 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at /build/
#17 0x00007ffff7fc2350 in main (argc=2, argv=0x7fffffff
}}}
The gallery page I'm viditing has url rewrite enabled. I can visit the main gallery page correctly, but when clicking on any album, the apache child crashes.
After looking at an strace, it maybe caused by a incorrect database upgrade from gallery (which asked my password during the upgrade, but I may have typed it wrong).
Last part of the strace shows:
{{{
poll([{fd=20, events=
write(20, "\10\0\
read(20, "\7\0\0\
poll([{fd=20, events=
write(20, "\21\0\0\0\3set autocommit=1", 21) = 21
read(20, "\7\0\0\
chdir("
umask(022) = 022
write(20, "\1\0\0\0\1", 5) = 5
shutdown(20, 2 /* send and receive */) = 0
close(20) = 0
munmap(
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
}}}