postgresql-plpython-8.1 crash on feisty w/launchpad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-8.1 (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Developing Launchpad on Feisty, I have a reproducible crash of postgresql-
*** glibc detected *** postgres: barry template1 [local] SELECT: free(): invalid
pointer: 0xb6efee90 ***
======= Backtrace: =========
/lib/tls/
/lib/tls/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
postgres: barry template1 [local] SELECT(
]
postgres: barry template1 [local] SELECT[0x8156bec]
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT[0x81e3945]
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT[0x81dfee1]
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT[0x81b5faa]
postgres: barry template1 [local] SELECT(
postgres: barry template1 [local] SELECT(
/lib/tls/
postgres: barry template1 [local] SELECT[0x8082fc1]
and "make check" spews out this:
Traceback (most recent call last):
File "../../
sys.
File "../../
send_
File "../../
cur.
psycopg.
This probably means the server terminated abnormally
before or while processing the request.
SELECT _pgmassacre_
That "unexpected" server close corresponds to the crash to this error. Sadly I haven't figured out how to get a usable traceback yet.
Thanks for the report. Jonathan, if you could create a minimal reproducer I would really appreciate that. postgresql-common has an extensive test suite which does check the basic operation of PL/Python (I would not upload a new version with any of the tests failing). I would like to add this test case to the test suite.
Did anyone of you already try the patch mentioned on http:// archives. postgresql. org/pgsql- hackers/ 2006-11/ msg00167. php?