Hi, as promised here's my latest issue in trying to port soci to AIX.

I can compile soci all right but tests are failing. It seems there's a
problem with exception handling. I don't know well this part of soci so I
could use your help with this.

Here's the backtrace when running soci_oracle_test_static, can somebody look
into it? Thanks

-bash-3.2$ ../../../../oss/bin/gdb bin/soci_oracle_test_static
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.3.0.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/b/bin/soci_oracle_test_static...done.
(gdb) r 'service=socitest user=socitest password=socitest'
Starting program:
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/b/bin/soci_oracle_test_static
'service=socitest user=socitest password=socitest'
[New Thread 1]

SOCI Common Tests:


Program received signal SIGILL, Illegal instruction.
[Switching to Thread 1]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x10085318 in uw_init_context_1 (context=0x2ff21e98,
outer_cfa=0x2ff22590, outer_ra=0x100b24f4) at
../../stage/gcc-4.2.4/gcc/unwind-dw2.c:1234
#2  0x10086108 in _Unwind_Resume (exc=0x200f4b98) at
../../stage/gcc-4.2.4/gcc/unwind.inc:228
#3  0x100b24f4 in soci::details::ref_counted_statement::final_action
(this=0x2005d818)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/ref-counted-statement.cpp:32
#4  0x100b0c3c in soci::details::ref_counted_statement_base::dec_ref
(this=0x2005d818)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/ref-counted-statement.h:40
#5  0x100b0d84 in soci::details::once_temp_type::~once_temp_type
(this=0x2ff226cc)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/once-temp-type.cpp:40
#6  0x1002096c in soci::tests::table_creator_base::drop (this=0x2005d748)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/test/common-tests.h:174
#7  0x10020a74 in soci::tests::table_creator_base::table_creator_base
(this=0x2005d748, sql=...)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/test/common-tests.h:166
#8  0x10022308 in table_creator_one::table_creator_one (this=0x2005d748,
sql=...)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/backends/oracle/test/test-oracle.cpp:1087
#9  0x10022404 in test_context::table_creator_1 (this=0x2ff229ec, s=...)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/backends/oracle/test/test-oracle.cpp:1124
#10 0x100338a8 in soci::tests::common_tests::test1 (this=0x2ff229f8)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/test/common-tests.h:318
#11 0x100723dc in soci::tests::common_tests::run (this=0x2ff229f8,
dbSupportsTransactions=true)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/core/test/common-tests.h:266
#12 0x1007abc8 in main (argc=2, argv=0x2ff22abc)
    at
/sviluppotff/hudson/hudson/workspace/soci-master-aix-5.3-32bit/src/backends/oracle/test/test-oracle.cpp:1171


-- 
Claudio Bantaloukas http://www.rdfm.org/ammuzzu/
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to