Your message dated Thu, 10 Dec 2015 12:37:20 +0000 with message-id <[email protected]> and subject line Bug#771669: fixed in sqliteodbc 0.9992-0.1 has caused the Debian Bug report #771669, regarding segfault on SQLPrepare SELECT with expression result column to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 771669: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771669 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libsqliteodbc Version: 0.992-2 Severity: grave Hello, sqlite3+odbc segfaults with this simple test case, which as far as I understand ODBC is just a standard connect and prepare sequence. The segfault happens in the current Jessie and in Fedora 20. $ cat sqlite-odbc.c #include <sql.h> #include <sqlext.h> #include <assert.h> #include <stdlib.h> int main() { // Allocate ODBC environment handle and register version SQLHENV od_env; assert(SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &od_env) == SQL_SUCCESS); assert(SQLSetEnvAttr(od_env, SQL_ATTR_ODBC_VERSION, (void*)SQL_OV_ODBC3, 0) == SQL_SUCCESS); SQLHDBC od_conn; assert(SQLAllocHandle(SQL_HANDLE_DBC, od_env, &od_conn) == SQL_SUCCESS); // Connect to the DSN char sdcout[1024]; SQLSMALLINT outlen; assert(SQLDriverConnect(od_conn, NULL, (SQLCHAR*)"Driver=SQLite3;Database=test.sqlite;", SQL_NTS, (SQLCHAR*)sdcout, 1024, &outlen, SQL_DRIVER_NOPROMPT) == SQL_SUCCESS); // Create a statement SQLHSTMT stm; assert(SQLAllocHandle(SQL_HANDLE_STMT, od_conn, &stm) == SQL_SUCCESS); // Prepare a query assert(SQLPrepare(stm, (SQLCHAR*)"SELECT COUNT(*) FROM sqlite_master WHERE type='table' AND name=?", SQL_NTS) == SQL_SUCCESS); // All good, deallocate things SQLFreeHandle(SQL_HANDLE_STMT, stm); SQLFreeHandle(SQL_HANDLE_DBC, od_conn); SQLFreeHandle(SQL_HANDLE_ENV, od_env); } $ gcc -g sqlite-odbc.c -o sqlite-odbc -lodbc $ rm -f test.sqlite # Not needed, but it keeps the tests stateless $ ./sqlite-odbc Segmentation fault $ rm -f test.sqlite # Not needed, but it keeps the tests stateless $ gdb ./sqlite-odbc GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 [...] (gdb) run Starting program: /home/enrico/lavori/arpa/dballe/sqlite-odbc [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6abc537 in sqlite3_stricmp () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (gdb) where #0 0x00007ffff6abc537 in sqlite3_stricmp () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #1 0x00007ffff6abd485 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #2 0x00007ffff6abecf6 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #3 0x00007ffff6b29188 in sqlite3_table_column_metadata () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #4 0x00007ffff6d8180d in ?? () from /usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so #5 0x00007ffff6d882d0 in ?? () from /usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so #6 0x00007ffff6d88965 in ?? () from /usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so #7 0x00007ffff7b94481 in SQLPrepare () from /usr/lib/x86_64-linux-gnu/libodbc.so.2 #8 0x0000000000400957 in main () at sqlite-odbc.c:30 (gdb) Regards, Enrico -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libsqliteodbc depends on: ii libc6 2.19-13 ii libsqlite0 2.8.17-12 ii libsqlite3-0 3.8.7.1-1 ii multiarch-support 2.19-13 libsqliteodbc recommends no packages. Versions of packages libsqliteodbc suggests: ii unixodbc-bin 2.3.0-4 -- no debconf information
--- End Message ---
--- Begin Message ---Source: sqliteodbc Source-Version: 0.9992-0.1 We believe that the bug you reported is fixed in the latest version of sqliteodbc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christian Hofstaedtler <[email protected]> (supplier of updated sqliteodbc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 05 Dec 2015 11:33:14 +0000 Source: sqliteodbc Binary: libsqliteodbc libsqliteodbc-dbg libsqlite3-mod-blobtoxy libsqlite3-mod-csvtable libsqlite3-mod-impexp libsqlite3-mod-xpath libsqlite3-mod-zipfile Architecture: source Version: 0.9992-0.1 Distribution: unstable Urgency: medium Maintainer: Sam Clegg <[email protected]> Changed-By: Christian Hofstaedtler <[email protected]> Description: libsqlite3-mod-blobtoxy - SQLite3 extension module for read-only BLOB to X/Y mapping libsqlite3-mod-csvtable - SQLite3 extension module for read-only access to CSV files libsqlite3-mod-impexp - SQLite3 extension module for SQL script, XML, JSON and CSV import libsqlite3-mod-xpath - SQLite3 extension module for querying XML data with XPath libsqlite3-mod-zipfile - SQLite3 extension module for read-only access to ZIP files libsqliteodbc - ODBC driver for SQLite embedded database libsqliteodbc-dbg - debugging symbols for ODBC driver for SQLite embedded database Closes: 771669 805581 Changes: sqliteodbc (0.9992-0.1) unstable; urgency=medium . * Non-maintainer upload. * New upstream version. (Closes: #771669, #805581) * Use dh-autoreconf to autoreconf instead of shipping a huge patch. Checksums-Sha1: 403f61e1a683617be01d26459a282cd98c7a9792 2307 sqliteodbc_0.9992-0.1.dsc 3927b3118c5ffaa35186b17d9880b33b1c0310d0 813571 sqliteodbc_0.9992.orig.tar.gz 87bdb00674db1e2c7f1bf61c3f1503866560998c 9428 sqliteodbc_0.9992-0.1.debian.tar.xz Checksums-Sha256: 46539e5c55aff98659452d71c51745ffac30c99b6896361667a87ac752c65485 2307 sqliteodbc_0.9992-0.1.dsc f5c6119cfb688fc3d2fbc500c6cfa796538b767c511be5ab90fb6805fcd289c3 813571 sqliteodbc_0.9992.orig.tar.gz 11c2ee3989df2d202449982ea33ec7e68571492f934ad4fd865c0644ff0208fc 9428 sqliteodbc_0.9992-0.1.debian.tar.xz Files: 8c55446f3acc68eef6e41f3c33bdef13 2307 libs optional sqliteodbc_0.9992-0.1.dsc 383fee316c6f89bb63a6a4503b13b90b 813571 libs optional sqliteodbc_0.9992.orig.tar.gz c230153423e82d8401c3296e655b30c2 9428 libs optional sqliteodbc_0.9992-0.1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWYtOhAAoJEFwT1tuTBS4DqOMP/idf+A3uWtccJTz2xJ+b5264 vq+t9tmVx2ZGRZMdu+bznule9lkv2PX21zHKgKfDJPEgXXLfKmBFIoLd8KPqocRS ZcRxidC4ra21dQQu3W+nagpU2wopTBszVO4uWXhEUHn9oTPm/kbbrl+dBF1s3jbO PD8hSSVMNxDQrL7Lbc8Hold8D54du8uAa8kz2MpoysKHGtDsUjxWtqOtCBgoHI8i m8SvDom16egQo9NYt3xVx307YheCSEs714Vhoq5PcSsvkUx2Tjg+9t6ewm2rU6Qc niTaQrMyuxgcb8lGeqqUM1rXnEd4J8aWj4MNu55CNVIfssfLndICQ74bvd4KHZen V0p39vpElqInYyfDE2GSDI6xt5PYFI/HH+s4IvOJAFZqloSjaj7blsUN53i2OW1Q v6fsYybhEDgP5BgaY/8KxEYHbA0QaD7pvN6qYMHG4csfi9O81aw4U4yC9ClO9XNu o692xhQ2YSXajyisiz7+nEKUtTPjRr5Ov9U8FEIsgC7aXQ4qpAo+xicav4benM8g MAOLJ9fDICvNPSnicOsDuYOda6ttxQxpEF69Ab9pbglFShUkU+P8MHDvTpbDr2ou 4esBPwhSeov4yC65PB5/YKqrlAbU1mO6+HVJ0AKqROI+c59LnSYaf129QQt80Ytg RBvCoZCbBg4jt0RnUBGQ =rw3y -----END PGP SIGNATURE-----
--- End Message ---

