ECPG regression test failures on Solaris 10/x86_64 with Sun studio 11

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: ECPG regression test failures on Solaris 10/x86_64 with Sun studio 11
Date: 2007-01-07 11:11:56
Message-ID: 45A0D57C.6000609@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On solaris 10U2 using the Sun compiler we get segmentation faults in
nearly all of the ECPG regression tests on a 64bit built. the resulting
cores look similiar to:

Current function is ECPGget_variable
91 var->pointer = va_arg(APREF, char *);
(dbx) where
=>[1] ECPGget_variable(ap = 0xfffffd7fffdff6d0, type = ECPGt_char, var =
0x41d9d0, indicator = '\001'), line 91 in "execute.c"
[2] create_statement(lineno = 28, compat = 0, force_indicator = 1,
connection = 0x413210, stmt = 0xfffffd7fffdff818, query = 0x4013e8
"select current_database () ", ap = 0xfffffd7fffdff828), line 192
in "execute.c"
[3] ECPGdo(lineno = 28, compat = 0, force_indicator = 1,
connection_name = (nil), query = 0x4013e8 "select current_database ()
", ... = 0x1, ...), line 1548 in "execute.c"
[4] main(), line 30 in "test2.pgc"

Stefan

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-01-07 11:22:32 Re: [HACKERS] SGML index build fix
Previous Message Shane Ambler 2007-01-07 11:10:10 Erronous sort used in query plan