dbTalk Databases Forums  

[BUGS] BUG #2720: plpythonu with Python 2.5 crashes

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2720: plpythonu with Python 2.5 crashes in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sokolov Yura
 
Posts: n/a

Default [BUGS] BUG #2720: plpythonu with Python 2.5 crashes - 10-26-2006 , 11:55 AM







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...0/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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.