Red Hat Bugzilla – Bug 216269
Apache crashes in libphp5.so on attempt to upload photo in gallery2
Last modified: 2008-05-06 12:51:27 EDT
Description of problem:
httpd segfaults when trying to process 'Add Items' page of Fedora's gallery2 module.
Version-Release number of selected component (if applicable):
+ all available gallery2 modules @ -2.1-0.24.svn20060817.fc6
Steps to Reproduce:
1. Install gallery2 and modules: yum -y install 'gallery2*'
3. Run Gallery2's setup script
2. Install the followinfg modules: Permalinks, Rearrange, Registration, Search,
Gd, Album Select, Image Block, Zip Download, Color Packs, Hidden Items, Icons,
Image Frame, Link Items, New Items, Panorama, Slideshow, Watermark, RSS, Custom
Fields, EXIF/IPTC, Getid3, Mime Maintenance, Mulitlanguage, Rating, Migration,
3. Click on Gallery link @ left top of the page
4. Click 'Add Items' in the left nav bar
5. Enter name for the file on the client and summary
6. click 'Add Items' button
Gallery returns a page of unknown MIME type () and logs the following in the
error log: [notice] child pid 22102 exit signal Segmentation fault (11)
Gallery adds the picture to the root album
Here is the stack dump from gdb attached to the crashing httpd process:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208932656 (LWP 22102)]
0x076114d5 in _efree () from /etc/httpd/modules/libphp5.so
#0 0x076114d5 in _efree () from /etc/httpd/modules/libphp5.so
#1 0x075f938b in php_end_ob_buffer () from /etc/httpd/modules/libphp5.so
#2 0x075f9a58 in php_end_ob_buffers () from /etc/httpd/modules/libphp5.so
#3 0x075e6f32 in php_request_shutdown () from /etc/httpd/modules/libphp5.so
#4 0x076aca3c in php_ap2_register_hook () from /etc/httpd/modules/libphp5.so
#5 0x00bb494d in ap_run_handler (r=0x90d3350)
#6 0x00bb82f8 in ap_invoke_handler (r=0x90d3350)
#7 0x00bc42ee in ap_process_request (r=0x90d3350)
#8 0x00bc10df in ap_process_http_connection (c=0x90c54b0)
#9 0x00bbc80d in ap_run_process_connection (c=0x90c54b0)
#10 0x00bbc90c in ap_process_connection (c=0x90c54b0, csd=0x90c5318)
#11 0x00bc88a2 in child_main (child_num_arg=<value optimized out>)
#12 0x00bc8bb1 in make_child (s=0x8dd43a0, slot=1)
#13 0x00bc8c8a in startup_children (number_to_start=7)
#14 0x00bc97eb in ap_mpm_run (_pconf=0x8dd2500, plog=0x8e005b8, s=0x8dd43a0)
#15 0x00ba01b7 in main (argc=148702584, argv=0x8f69368)
Symbols used (latest available as of Nov 18th, 2006):
SELinux is ON on the system.
Created attachment 141553 [details]
Core dump generated by gdb
I can get various different backtraces out of this. Some look like a stack
recursion overflow - which is an expected crash, another looks like this:
#3 0x00002aaab63e095f in vspprintf (pbuf=0x7fffde8b43b0, max_len=1024,
format=0x2aaab64e04b0 "Non-static method %s::%s() should not be called
statically, assuming $this from incompatible context",
ap=0x50) at /usr/src/debug/php-5.1.6/main/spprintf.c:212
#4 0x00002aaab63de2f9 in php_error_cb (type=2048,
error_lineno=77, format=0x0, args=0x7fffde8b4570) at
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.