✘-INT 10:46 ~/gps-data $ gdb ogr2ogr GNU gdb (GDB) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ogr2ogr...done. (gdb) r -f GeoJSON -sql 'select ST_UNION(geometry),Land_Name,Bez_Name FROM Gem_AT_2015sp group by BEZ_NR' -dialect SQLITE -t_srs EPSG:4326 bezirke.json gem-gr-at-15-18/Gem_AT_2015sp.shp Starting program: /usr/bin/ogr2ogr -f GeoJSON -sql 'select ST_UNION(geometry),Land_Name,Bez_Name FROM Gem_AT_2015sp group by BEZ_NR' -dialect SQLITE -t_srs EPSG:4326 bezirke.json gem-gr-at-15-18/Gem_AT_2015sp.shp [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007ffff764acb7 in OGRSQLiteVFSCurrentTime (pVFS=0x6ab930, p1=0x7fffffffa710) at ogrsqlitevfs.cpp:387 #2 0x00007fffeed638e1 in sqlite3OsCurrentTimeInt64 () from /usr/lib/libsqlite3.so.0 #3 0x00007fffeed95836 in sqlite3StmtCurrentTime () from /usr/lib/libsqlite3.so.0 #4 0x00007fffeed179db in ?? () from /usr/lib/libsqlite3.so.0 #5 0x00007fffeed17bb4 in ?? () from /usr/lib/libsqlite3.so.0 #6 0x00007fffeed8f00d in sqlite3VdbeExec () from /usr/lib/libsqlite3.so.0 #7 0x00007fffeed95578 in sqlite3_step () from /usr/lib/libsqlite3.so.0 #8 0x00007fffef0cb259 in ?? () from /usr/lib/libspatialite.so.7 #9 0x00007fffef0a4b52 in ?? () from /usr/lib/libspatialite.so.7 #10 0x00007fffeed8f00d in sqlite3VdbeExec () from /usr/lib/libsqlite3.so.0 #11 0x00007fffeed95578 in sqlite3_step () from /usr/lib/libsqlite3.so.0 #12 0x00007fffeed5cbea in sqlite3_exec () from /usr/lib/libsqlite3.so.0 #13 0x00007ffff761c9be in OGRSQLiteDataSource::Create (this=0x6ab740, pszNameIn=0x6ab630 "/vsimem/ogr2sqlite/reference_0x6ab630.db", papszOptions=0x6ab020) at ogrsqlitedatasource.cpp:762 #14 0x00007ffff7629521 in OGRSQLiteExecuteSQL (poDS=0x67eb90, pszStatement=0x67d8b0 "select ST_UNION(geometry),Land_Name,Bez_Name FROM Gem_AT_2015sp group by BEZ_NR", poSpatialFilter=0x0, pszDialect=0x67d980 "SQLITE") at ogrsqliteexecutesql.cpp:755 #15 0x00007ffff71ea89f in GDALDataset::ExecuteSQL (this=0x67eb90, pszStatement=0x67d8b0 "select ST_UNION(geometry),Land_Name,Bez_Name FROM Gem_AT_2015sp group by BEZ_NR", poSpatialFilter=0x0, pszDialect=0x67d980 "SQLITE", poSelectParseOptions=0x0) at gdaldataset.cpp:4936 #16 0x00007ffff71ea840 in GDALDataset::ExecuteSQL (this=0x67eb90, pszStatement=0x67d8b0 "select ST_UNION(geometry),Land_Name,Bez_Name FROM Gem_AT_2015sp group by BEZ_NR", poSpatialFilter=0x0, pszDialect=0x67d980 "SQLITE") at gdaldataset.cpp:4922 #17 0x00007ffff7611da0 in OGRShapeDataSource::ExecuteSQL (this=0x67eb90, pszStatement=0x67d8b0 "select ST_UNION(geometry),Land_Name,Bez_Name FROM Gem_AT_2015sp group by BEZ_NR", poSpatialFilter=0x0, pszDialect=0x67d980 "SQLITE") at ogrshapedatasource.cpp:961 #18 0x0000000000411882 in main (nArgc=11, papszArgv=0x67da60) at ogr2ogr.cpp:2011