Skip to Content.
Sympa Menu

shibboleth-dev - Re: Testing ODBC store

Subject: Shibboleth Developers

List archive

Re: Testing ODBC store


Chronological Thread 
  • From: giacomo tenaglia <>
  • To:
  • Subject: Re: Testing ODBC store
  • Date: Mon, 10 Dec 2007 09:24:48 +0100

On Thu, Dec 06, 2007 at 12:07:26PM -0500, Scott Cantor wrote:
> > Then I've tested a MySQL backend. The SQL sample code in odbc-store.cpp
> > works perfectly and creates the table structure, but shibd segfaults
> > even when invoked with -t. Last lines of a strace output follow:
>
> Can you get a stack trace?

Here's the backtrace of shibd -t:

#0 0x00529163 in SQLDriverConnect () from /usr/lib/libmyodbc.so
#1 0x00983007 in SQLDriverConnect () from /usr/lib/libodbc.so.1
#2 0x00516d49 in (anonymous namespace)::ODBCStorageService::getHDBC
(this=0x9a87bb8)
at
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:1456
#3 0x0051a4d7 in ODBCStorageService (this=0x9a87bb8, e=0x9a40b58) at
odbc-store.cpp:99
#4 0x0051a859 in (anonymous namespace)::ODBCStorageServiceFactory
(e=@0xbff12514)
at odbc-store.cpp:196
#5 0x00ae9b3d in XMLConfigImpl (this=0x9a3d6a0, e=0x9a3dfd8, first=true,
outer=Variable "outer" is not available.
)
at
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_tree.h:250
#6 0x00ae9e4a in (anonymous namespace)::XMLConfig::load (this=0x9a34228) at
impl/XMLServiceProvider.cpp:1517
#7 0x00aece38 in (anonymous namespace)::XMLConfig::init (this=0x4) at
impl/XMLServiceProvider.cpp:265
#8 0x08049ed1 in main ()

Maybe it's an ODBC version problem. I have MyODB 2.50.39-25.RHEL4.1 and
unixODBC 2.2.11-1.RHEL4.1, which are pretty old.

giacomo

--
giacomo tenaglia
Technical Student at CERN IT/DES-SIS
CNR Biblioteca d'Area di Bologna - http://biblio.bo.cnr.it
Phone +41 76 5003376 -
sip:



Archive powered by MHonArc 2.6.16.

Top of Page