Backport python-psycopg2 2.0.7 to hardy?

Bug #238537 reported by Roel van Os
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hardy Backports
Won't Fix
psycopg2 (Ubuntu)

Bug Description

Binary package hint: python-psycopg2

I'm using python-psycopg2 to develop a database-driven GUI application (using SQLAlchemy).

I've had some crash issues that seem to be related to python-psycopg2 when making database connections. glibc complains about corrupted memory just before crashing, which seems to indicate some malloc/free problems. In psycopg2's changelog I found that some changes have been made to malloc/free usage for version 2.0.7. I tested with python-psycopg2 2.0.7 from intrepid: the crashes no longer happen.

Could python-psycopg2 2.0.7 be backported to hardy?

Ubuntu 8.04
python-psycopg2 2.0.6-3

Revision history for this message
Roel van Os (roel-van-os) wrote :

I forgot to mention: I'm using the 32 bit version of Ubuntu.

Revision history for this message
Roel van Os (roel-van-os) wrote :

Error message attached (running Python in debug mode from Eclipse)

Revision history for this message
James Henstridge (jamesh) wrote :

If a backport is going to be done, I'd recommend 2.0.8 -- there is a crasher in the error handling in 2.0.7.

Revision history for this message
shilbert (sebastian-hilbert) wrote :

For GNUmed this backport is needed as well. see

We have tested it with 2.0.7 and the 'unable to parse time' error is fixed.


Revision history for this message
Allan MacKinnon (theforkofjustice) wrote :

(I remember the malloc error! How nostalgic...)

I agree with Sebastian. This will have to be backported if I am to make a Hardy-based version of my Linux For Clinics distribution. I need GNUmed to be able to work and the tools I use to remaster aren't Intrepid-ready. It would be problematic to have to skip straight to an Intrepid release.

Revision history for this message
WJHildreth (xavier-gtec) wrote :

I would like to see a backport as well. This bug prevents me from providing a GNUmed solution to my small rural hospital.

Revision history for this message
Roel van Os (roel-van-os) wrote :

As a workaround, you can use the version from intrepid:
This package installs on Hardy as well. You have to install it manually though.

Chuck Short (zulcss)
Changed in psycopg2 (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Backports requests should be assigned to the backports project.

Changed in psycopg2 (Ubuntu):
status: Confirmed → Invalid
Dan Streetman (ddstreet)
Changed in hardy-backports:
status: New → Won't Fix
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.