Hi Bas, > >> Can you install the gdal-bin-dbgsym & libgdal20-dbgsym packages an run > >> the ogrinfo command via gdb to get a backtrace? > > > > There does not appear to be an amd64 architecture version of these > > packages, so I am a bit stuck with this? > > The automatic debug packages are available in separate repositories > which you need to add to your /etc/apt/sources.list, see: > https://wiki.debian.org/DebugPackage > > For stretch the sources.list entry would be: > deb http://debug.mirrors.debian.org/debian-debug/ stretch-debug main > contrib non-free
Thanks for the pointers ... this is new to me, but always willing to learn. Here we go with the gdb output (with confidential parts removed), which may be pointing to problems with the Oracle client software. C'est la vie. Cheers. Andy. $ gdb ogrinfo GNU gdb (Debian 7.12-6) 7.12.0.20161007-git This GDB was configured as "x86_64-linux-gnu". (gdb) set pagination 0 (gdb) run -ro -al test.xml Starting program: /usr/bin/ogrinfo -ro -al test.xml [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". INFO: Open of `test.xml' using driver `OGR_VRT' successful. Program received signal SIGSEGV, Segmentation fault. 0x00007fffdfe5ae81 in bcoSQLSetStmtOption () from .../instantclient/ libsqora.so.11.1 (gdb) bt #0 0x00007fffdfe5ae81 in bcoSQLSetStmtOption () from .../instantclient/libsqora.so.11.1 #1 0x00007fffdfe73f6f in bccSQLSetStmtOption () from .../instantclient/libsqora.so.11.1 #2 0x00007fffdfe71fc3 in SQLSetConnectAttrW () from .../instantclient/libsqora.so.11.1 #3 0x00007ffff4673b05 in ?? () from /usr/lib/x86_64-linux-gnu/libodbc.so.2 #4 0x00007ffff4675dc7 in SQLConnect () from /usr/lib/x86_64-linux-gnu/libodbc.so.2 #5 0x00007ffff77d988c in CPLODBCSession::EstablishSession (this=this@entry=0x6c98a8, pszDSN=pszDSN@entry=0x6d2a20 "OracleODBC-11g", pszUserid=pszUserid@entry=0x6d0cb0 "UID", pszPassword=pszPassword@entry=0x6d2a40 "PWD") at cpl_odbc.cpp:407 #6 0x00007ffff7694fb6 in OGRODBCDataSource::Open (this=this@entry=0x6c9790, pszNewName=pszNewName@entry=0x6d2b10 "ODBC:UID/PWD@OracleODBC-11g,", bUpdate=bUpdate@entry=0, bTestOpen=bTestOpen@entry=1) at ogrodbcdatasource.cpp:386 #7 0x00007ffff7695bca in OGRODBCDriver::Open (this=<optimized out>, pszFilename=0x6d2b10 "ODBC:UID/PWD@OracleODBC-11g,", bUpdate=0) at ogrodbcdriver.cpp:73 #8 0x00007ffff7706749 in OGRSFDriverRegistrar::OpenWithDriverArg (poDriver=<optimized out>, poOpenInfo=<optimized out>) at ogrsfdriverregistrar.cpp:219 #9 0x00007ffff74346fb in GDALOpenEx (pszFilename=pszFilename@entry=0x6babe0 "ODBC:UID/PWD@OracleODBC-11g,", nOpenFlags=36, papszAllowedDrivers=papszAllowedDrivers@entry=0x0, papszOpenOptions=papszOpenOptions@entry=0x0, papszSiblingFiles=papszSiblingFiles@entry=0x0) at gdaldataset.cpp:2778 #10 0x00007ffff7760d82 in OGRVRTLayer::FullInitialize (this=this@entry=0x6902e0) at ogrvrtlayer.cpp:625 #11 0x00007ffff7762703 in OGRVRTLayer::GetLayerDefn (this=0x6902e0) at ogrvrtlayer.cpp:2226 #12 0x0000000000402d04 in ReportOnLayer (poLayer=poLayer@entry=0x6902e0, pszWHERE=pszWHERE@entry=0x0, pszGeomField=pszGeomField@entry=0x0, poSpatialFilter=poSpatialFilter@entry=0x0, bListMDD=bListMDD@entry=0, bShowMetadata=bShowMetadata@entry=1, papszExtraMDDomains=0x0, bFeatureCount=1, bExtent=1) at ogrinfo.cpp:536 #13 0x000000000040208f in main (nArgc=<optimized out>, papszArgv=<optimized out>) at ogrinfo.cpp:442 (gdb) quit