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

Lists: pgsql-hackers
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
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


From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG regression test failures on Solaris 10/x86_64 with
Date: 2007-01-10 15:20:09
Message-ID: 45A50429.70500@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

What version of PG do you use and what is your ./configure options?

Zdenek

Stefan Kaltenbrunner napsal(a):
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match


From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG regression test failures on Solaris 10/x86_64
Date: 2007-01-10 19:22:20
Message-ID: 45A53CEC.2070301@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Zdenek Kotala wrote:
> What version of PG do you use and what is your ./configure options?

This is on -HEAD and with the following box and setup:

http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=clownfish&dt=2007-01-10%2014:18:23

one does not need the --with-perl and --with-python flags to trigger
that - ./configure --enable-integer-datetimes --without-readline
-enable-nls --enable-debug --enable-cassert is enough for me.

now that tom commited the BYTE_ORDER fix I will force a run on clownfish
to get a proper report up.

Stefan