PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u - Mailing list pgsql-hackers

From Sachin Srivastava
Subject PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
Date
Msg-id CA+RD+kicXVs2rj6uzZEt0Q5O7naXSjy2f0VR6-OsdQFNDb9E6g@mail.gmail.com
Whole thread Raw
Responses Re: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
List pgsql-hackers

Hi all,

On my Mac 10.6.8 using ActiveState Python 3.2.2, I am getting a crash when I try to execute "CREATE EXTENSION plpython3u"
This is the backtrace:

Program received signal SIGABRT, Aborted.
0x00007fff899a40b6 in __kill ()
(gdb) bt
#0  0x00007fff899a40b6 in __kill ()
#1  0x00007fff89a449f6 in abort ()
#2  0x000000010a5da84c in Py_InitializeEx ()
#3  0x0000000100bd7467 in _PG_init ()
#4  0x00000001003d8892 in internal_load_library ()
#5  0x00000001003d835e in load_external_function ()
#6  0x00000001000c0509 in fmgr_c_validator ()
#7  0x00000001003dc808 in OidFunctionCall1Coll ()
#8  0x00000001000c01e0 in ProcedureCreate ()
#9  0x00000001001563ca in CreateProceduralLanguage ()
#10 0x00000001002c60c8 in standard_ProcessUtility ()
#11 0x00000001002c49a9 in ProcessUtility ()
#12 0x000000010014005d in execute_sql_string ()
#13 0x00000001001404f8 in execute_extension_script ()
#14 0x0000000100141459 in CreateExtension ()
#15 0x00000001002c51b0 in standard_ProcessUtility ()
#16 0x00000001002c49a9 in ProcessUtility ()
#17 0x00000001002c38f6 in PortalRunUtility ()
#18 0x00000001002c3a9b in PortalRunMulti ()
#19 0x00000001002c3085 in PortalRun ()
#20 0x00000001002bcb16 in exec_simple_query ()
#21 0x00000001002c1416 in PostgresMain ()
#22 0x000000010026d1d9 in BackendRun ()
#23 0x000000010026c898 in BackendStartup ()
#24 0x0000000100269684 in ServerLoop ()
#25 0x0000000100268fa3 in PostmasterMain ()
#26 0x00000001001dcd4d in main ()
(gdb) 

"CREATE EXTENSION plpython2u" works when I compile the same code using ActiveState Python 2.7.

So is it an issue with the ActiveState Python 3.2??



--
Regards,
Sachin Srivastava
EnterpriseDB, India

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Statistics and selectivity estimation for ranges
Next
From: Robert Haas
Date:
Subject: Re: Large number of open(2) calls with bulk INSERT into empty table