gallery2 segfault when uploading images

Bug #1072528 reported by Bill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gallery2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I just upgraded to 12.10. After the upgrade, when I try to upload images to my gallery2 installation, I no response from the web server, and when I look at my apache error logs, I see the following:

[Sun Oct 28 21:55:59 2012] [notice] child pid 8016 exit signal Segmentation fault (11)

$ lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10

$ apt-cache policy gallery2
gallery2:
  Installed: 2.3-1ubuntu6
  Candidate: 2.3-1ubuntu6
  Version table:
 *** 2.3-1ubuntu6 0
        500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
alex dekker (ubuntu-ale) wrote :

I had this exact problem and the solution that worked for me after some googling [http://gallery.menalto.com/node/95244] was to edit /etc/gallery2/config.php, and change

$storeConfig['usePersistentConnections'] = false;

to

$storeConfig['usePersistentConnections'] = true;

At that point I was then able to successfully upload images. However, the frustrating thing about this is that it still worked after reverting the change!

Revision history for this message
Bill (bill-launchpad) wrote :

That change with a restart of apache ("sudo service apache2 restart") got it working for me. Thanks!

Changed in gallery2 (Ubuntu):
status: New → Confirmed
Revision history for this message
alex dekker (ubuntu-ale) wrote :

This has recurred, and I have realised that it's the restart of Apache that fixes it, not the edit to config.php [which necessitated the restart].

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.