Re: Perl 5.10 vs. PG 8.4 on Win32 - Mailing list pgsql-bugs

From Dave Page
Subject Re: Perl 5.10 vs. PG 8.4 on Win32
Date
Msg-id 937d27e10905161149g13c34e39mef28d7b022d91032@mail.gmail.com
Whole thread Raw
In response to Re: Perl 5.10 vs. PG 8.4 on Win32  (Dave Page <dpage@pgadmin.org>)
Responses Re: Perl 5.10 vs. PG 8.4 on Win32
List pgsql-bugs
On Sat, May 16, 2009 at 7:37 PM, Dave Page <dpage@pgadmin.org> wrote:

> BTW, I'm currently attempting to build perl myself so I can get a more
> helpful backtrace. Strawberry perl exhibits the same crash and doesn't
> come with symbols either.

Hmm, that was easier than I expected:

     ntdll.dll!7c91b21a()=20=09
     [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
     msvcrt.dll!77c2c3c9()=20=09
     msvcrt.dll!77c2c3ce()=20=09
     msvcrt.dll!77c2c3ce()=20=09
     msvcrt.dll!77c2c3e7()=20=09
     msvcrt.dll!77c2c42e()=20=09
     perl510.dll!VMem::FreeLock()  Line 245    C++
     ntdll.dll!7c901046()=20=09
     perl510.dll!PerlIOUnix_refcnt_inc(int fd=3D0)  Line 2339    C
     perl510.dll!PerlIOUnix_setfd(interpreter * my_perl=3D0x00000000,
_PerlIO * * f=3D0x00000000, int fd=3D0, int imode=3D0)  Line 2548 + 0xc
bytes    C
     perl510.dll!PerlIOUnix_open(interpreter * my_perl=3D0x00242544,
_PerlIO_funcs * self=3D0x280cb548, PerlIO_list_s * layers=3D0x012d3494,
long n=3D0, const char * mode=3D0x280be040, int fd=3D0, int imode=3D0, int
perm=3D0, _PerlIO * * f=3D0x00000000, int narg=3D0, sv * * args=3D0x0000000=
0)
Line 2626    C
     perl510.dll!PerlIOBuf_open(interpreter * my_perl=3D0x00242544,
_PerlIO_funcs * self=3D0x280cb708, PerlIO_list_s * layers=3D0x012d3494,
long n=3D1, const char * mode=3D0x280be040, int fd=3D0, int imode=3D0, int
perm=3D0, _PerlIO * * f=3D0x00000000, int narg=3D0, sv * * args=3D0x0000000=
0)
Line 3685 + 0x1b bytes    C
     perl510.dll!PerlIO_openn(interpreter * my_perl=3D0x00242544, const
char * layers=3D0x00000000, const char * mode=3D0x280be040, int fd=3D0, int
imode=3D0, int perm=3D0, _PerlIO * * f=3D0x00000000, int narg=3D0, sv * *
args=3D0x00000000)  Line 1597 + 0x1d bytes    C
     perl510.dll!PerlIO_fdopen(int fd=3D0, const char * mode=3D0x280be040)
Line 4988 + 0x16 bytes    C
     perl510.dll!PerlIO_stdstreams(interpreter * my_perl=3D0x00242544)  Line 1=
205    C
     perl510.dll!PerlIO_resolve_layers(interpreter * my_perl=3D0x012d3494,
const char * layers=3D0x00000000, const char * mode=3D0x280b36f0, int
narg=3D1, sv * * args=3D0x00caf11c)  Line 1486 + 0x6 bytes    C
     perl510.dll!PerlIO_openn(interpreter * my_perl=3D0x00242544, const
char * layers=3D0x00000000, const char * mode=3D0x280b36f0, int fd=3D-1, int
imode=3D0, int perm=3D0, _PerlIO * * f=3D0x00000000, int narg=3D1, sv * *
args=3D0x00caf11c)  Line 1568 + 0x14 bytes    C
     perl510.dll!PerlIO_open(const char * path=3D0x280b3a5c, const char *
mode=3D0x280b36f0)  Line 4997 + 0x15 bytes    C
     perl510.dll!S_open_script(interpreter * my_perl=3D0x00000000, const
char * scriptname=3D0x280b3a5c, char dosearch=3D0, sv * sv=3D0x002490f4, int
* suidscript=3D0x00000000, _PerlIO * * * rsfpp=3D0x00caf174)  Line 3704 +
0xb bytes    C
>    perl510.dll!S_parse_body(interpreter * my_perl=3D0x00242544, char * * env=
=3D0x00000000, void (interpreter *)* xsinit=3D0x10003420)  Line 2056    C
     perl510.dll!perl_parse(interpreter * my_perl=3D0x00242544, void
(interpreter *)* xsinit=3D0x10003420, int argc=3D3, char * *
argv=3D0x1000f000, char * * env=3D0x00000000)  Line 1651    C
     plperl.dll!plperl_init_interp()  Line 451    C
     plperl.dll!_PG_init()  Line 229    C
     postgres.exe!internal_load_library(const char * libname=3D0x012b7478)
Line 287    C
     postgres.exe!load_external_function(char * filename=3D0x012b7380, char
* funcname=3D0x012b7348, char signalNotFound=3D'=01', void * *
filehandle=3D0x00caf724)  Line 116    C
     postgres.exe!fmgr_c_validator(FunctionCallInfoData *
fcinfo=3D0x00caf700)  Line 647    C
     postgres.exe!OidFunctionCall1(unsigned int functionId=3D2247, unsigned
long arg1=3D49152)  Line 1561 + 0x2f bytes    C
     postgres.exe!ProcedureCreate(const char * procedureName=3D0x012ac3f0,
unsigned int procNamespace=3D11, char replace=3D0, char returnsSet=3D0,
unsigned int returnType=3D2280, unsigned int languageObjectId=3D13,
unsigned int languageValidator=3D2247, const char * prosrc=3D0x012ac3f0,
const char * probin=3D0x012ac680, char isAgg=3D0, char isWindowFunc=3D0,
char security_definer=3D0, char isStrict=3D0, char volatility=3D'v',
oidvector * parameterTypes=3D0x012b6ad8, unsigned long
allParameterTypes=3D0, unsigned long parameterModes=3D0, unsigned long
parameterNames=3D0, List * parameterDefaults=3D0x00000000, unsigned long
proconfig=3D0, float procost=3D1.0000000, float prorows=3D0.00000000)  Line
550 + 0x7 bytes    C
     postgres.exe!CreateProceduralLanguage(CreatePLangStmt *
stmt=3D0x0123d178)  Line 154 + 0x52 bytes    C
     postgres.exe!ProcessUtility(Node * parsetree=3D0x0123d178, const char
* queryString=3D0x0123c930, ParamListInfoData * params=3D0x00000000, char
isTopLevel=3D'=01', _DestReceiver * dest=3D0x0123d328, char *
completionTag=3D0x00cafc6c)  Line 961 + 0x6 bytes    C
     postgres.exe!PortalRunUtility(PortalData * portal=3D0x00000000, Node *
utilityStmt=3D0x00000000, char isTopLevel=3D'=01', _DestReceiver *
dest=3D0x0123d328, char * completionTag=3D0x00cafc6c)  Line 1200    C
     postgres.exe!PortalRunMulti(PortalData * portal=3D0x00000000, char
isTopLevel=3D'=01', _DestReceiver * dest=3D0x0123d328, _DestReceiver *
altdest=3D0x0123d328, char * completionTag=3D0x00cafc6c)  Line 1299 + 0x11
bytes    C
     postgres.exe!PortalRun(PortalData * portal=3D0x012b2300, long
count=3D2147483647, char isTopLevel=3D'=01', _DestReceiver *
dest=3D0x0123d328, _DestReceiver * altdest=3D0x0123d328, char *
completionTag=3D0x00cafc6c)  Line 824 + 0x17 bytes    C
     postgres.exe!exec_simple_query(const char * query_string=3D0x00000000)
 Line 998    C
     postgres.exe!PostgresMain(int argc=3D4, char * * argv=3D0x011d2f78,
const char * username=3D0x002660f8)  Line 3610    C
     postgres.exe!BackendRun(Port * port=3D0x00cafdf8)  Line 3390    C
     postgres.exe!SubPostmasterMain(int argc=3D3, char * * argv=3D0x00262fc0)
 Line 3862 + 0x8 bytes    C
     postgres.exe!main(int argc=3D3, char * * argv=3D0x00262fc0)  Line 165 +
0x7 bytes    C
     postgres.exe!__tmainCRTStartup()  Line 597 + 0x17 bytes    C
     kernel32.dll!7c817077()=20=09


--=20
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: Dave Page
Date:
Subject: Re: Perl 5.10 vs. PG 8.4 on Win32
Next
From: Tom Lane
Date:
Subject: Re: Perl 5.10 vs. PG 8.4 on Win32