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