Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ gdb --args ogrinfo ODBC:gregor/mosheh@testPgSQL grid
- GNU gdb 6.5
- Copyright (C) 2006 Free Software Foundation, Inc.
- GDB is free software, covered by the GNU General Public License, and you are
- welcome to change it and/or distribute copies of it under certain conditions.
- Type "show copying" to see the conditions.
- There is absolutely no warranty for GDB. Type "show warranty" for details.
- This GDB was configured as "x86_64-slackware-linux"...Using host libthread_db library "/lib64/tls/libthread_db.so.1".
- (gdb) run
- Starting program: /usr/local/bin/ogrinfo ODBC:gregor/mosheh@testPgSQL grid
- [Thread debugging using libthread_db enabled]
- [New Thread 47592452447680 (LWP 4431)]
- Program received signal SIGSEGV, Segmentation fault.
- [Switching to Thread 47592452447680 (LWP 4431)]
- 0x00002b48faeac804 in memcpy () from /lib64/tls/libc.so.6
- (gdb) bt
- #0 0x00002b48faeac804 in memcpy () from /lib64/tls/libc.so.6
- #1 0x00002b48f827ae3c in CPLODBCStatement::Fetch (this=0x7fffb2dd1f80, nOrientation=1, nOffset=5269904) at cpl_odbc.cpp:796
- #2 0x00002b48f839de7d in OGRODBCTableLayer::Initialize (this=0x577310, pszLayerName=0x558530 "spatial_ref_sys", pszGeomCol=0x0) at ogrodbctablelayer.cpp:107
- #3 0x00002b48f839bdc7 in OGRODBCDataSource::OpenTable (this=0x5079e0, pszNewName=0x558530 "spatial_ref_sys", pszGeomCol=0x0, bUpdate=-9089)
- at ogrodbcdatasource.cpp:391
- #4 0x00002b48f839c32d in OGRODBCDataSource::Open (this=0x5079e0, pszNewName=0x506c60 "ODBC:gregor/mosheh@testPgSQL", bUpdate=1, bTestOpen=-9089)
- at ogrodbcdatasource.cpp:297
- #5 0x00002b48f839cacb in OGRODBCDriver::Open (this=0x2b48fbc5b350, pszFilename=0x506c60 "ODBC:gregor/mosheh@testPgSQL", bUpdate=1) at ogrodbcdriver.cpp:69
- #6 0x00002b48f83badae in OGRSFDriverRegistrar::Open (pszName=0x506c60 "ODBC:gregor/mosheh@testPgSQL", bUpdate=1, ppoDriver=0x7fffb2dd2240)
- at ogrsfdriverregistrar.cpp:209
- #7 0x0000000000401d0f in main (nArgc=3, papszArgv=0x506d30) at ogrinfo.cpp:174
- (gdb) The program is running. Exit anyway? (y or n) y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement