Backport python-psycopg2 2.0.7 to hardy?

Bug #238537 reported by Roel van Os on 2008-06-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hardy Backports
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

Roel van Os (roel-van-os) wrote :

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

Roel van Os (roel-van-os) wrote :

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

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.

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.


(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.

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.

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) on 2009-12-04
Changed in psycopg2 (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Scott Kitterman (kitterman) wrote :

Backports requests should be assigned to the backports project.

Changed in psycopg2 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers