Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

BUG #2720: plpythonu with Python 2.5 crashes



The following bug has been logged online:

Bug reference:      2720
Logged by:          Sokolov Yura
Email address:      falcon(at)intercable(dot)ru
PostgreSQL version: 8.2beta1
Operating system:   Slackware linux 10.2
Description:        plpythonu with Python 2.5 crashes
Details: 

I don't know is this plpythonu problem or python 2.5 itself. With Python
2.4.3 all seems to be fine.
There was already message about this bug, but in other thread:
http://archives.postgresql.org/pgsql-hackers/2006-10/msg00872.php

Function to reproduce:

create or replace function testplpy() returns void
language plpythonu
as $$
plan = plpy.prepare('select $1::timestamptz', ['text'])
a = plpy.execute(plan, ['2006-10-01'])
$$;

select testplpy();

after this server connection process stops and whole server restarts with
message in a log like:

*** glibc detected *** free(): invalid pointer: 0xXXXXXXXX ***
LOG:  server process (PID 1720) was terminated by signal 6



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group