PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u

From: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: PostgreSQL 9.2beta4 (& git HEAD) server crash on creating extension plpython3u
Date: 2012-08-21 13:34:40
Message-ID: CA+RD+kicXVs2rj6uzZEt0Q5O7naXSjy2f0VR6-OsdQFNDb9E6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-08-21 13:52:02 Re: Large number of open(2) calls with bulk INSERT into empty table
Previous Message Heikki Linnakangas 2012-08-21 13:25:02 Re: Statistics and selectivity estimation for ranges