dbTalk Databases Forums  

[BUGS] BUG #2352: Bug with Pl/Python

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


Discuss [BUGS] BUG #2352: Bug with Pl/Python in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rafael Jorge Sierra Goncales
 
Posts: n/a

Default [BUGS] BUG #2352: Bug with Pl/Python - 03-22-2006 , 10:40 AM







The following bug has been logged online:

Bug reference: 2352
Logged by: Rafael Jorge Sierra Goncales
Email address: rafaeljsg14 (AT) gmail (DOT) com
PostgreSQL version: 8.1.3
Operating system: NetBSD-3.0
Description: Bug with Pl/Python
Details:

I'm trying run this command:
=# CREATE LANGUAGE "plpythonu"

But it only throws a SIGABRT
I set all debug levels to the maximum (debug5), and I was compiled with the
option --enable-debug, when I run "gdb /postgresql-bin/postgres"
....
run -D path-database template1
....
postgres> CREATE LANG "plpythonu";
LOCATION: elog_node_display, print.c:86
STATEMENT: create language "plpythonu"

DEBUG: 00000: ProcessUtility
LOCATION: PortalRunUtility, pquery.c:952
STATEMENT: create language "plpythonu"


Program received signal SIGABRT, Aborted.
[Switching to LWP 1]
0x0000000201d2d15e in kill () from /usr/lib/libc.so.12
(gdb) backtrace
#0 0x0000000201d2d15e in kill () from /usr/lib/libc.so.12

Reading this, I can't found where is the problem, could this be a bug?

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #2352: Bug with Pl/Python - 03-22-2006 , 11:51 AM






"Rafael Jorge Sierra Goncales" <rafaeljsg14 (AT) gmail (DOT) com> writes:
Quote:
=# CREATE LANGUAGE "plpythonu"
Program received signal SIGABRT, Aborted.
This most likely indicates an Assert failure (did you build with
--enable-cassert?) There should be a TRAP message in the postmaster
log if so. Seeing that would be helpful.

I'm wondering if the problem comes from trying to load a wrong version
of the plpython shared library. You might want to check that you've got
a plpython.so that was built from the same PG version and same configure
options as the backend.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


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.