Bug#318865: odbc-postgresql: Segfault when running ODBC describe, amd64 client
tags 318865 + fixed-upstream retitle 318865 [fixed in 4.0] odbc-postgresql: Segfault when running ODBC describe, amd64 client thanks Dave Ewart writes: Building the odbc-postgresl package in a minimal Etch environment using gcc 4.0 resulted in a working package as the end product You may want to check out gcc-3.4 for sarge, if that fixes your problem. I'm going to close this report, or should it be reassigned to odbc-postgresql, trying to fix it by using gcc-3.4? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318865: odbc-postgresql: Segfault when running ODBC describe, amd64 client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, 16.09.2005 at 09:25 +0200, Matthias Klose wrote: Dave Ewart writes: Building the odbc-postgresl package in a minimal Etch environment using gcc 4.0 resulted in a working package as the end product You may want to check out gcc-3.4 for sarge, if that fixes your problem. I'm going to close this report, or should it be reassigned to odbc-postgresql, trying to fix it by using gcc-3.4? I've now tested the above. Using the original Sarge environment, but with gcc-3.4 instead of gcc-3.3, the same segfault behaviour arises.as originally described. My conclusion from that is that the segfault arises because of a bug in gcc which happens to have been fixed in gcc-4.0; although there's an outside chance that some of difference between the Sarge and Etch environments may be to blame, but that's unlikely IMO. Dave. - -- Dave Ewart [EMAIL PROTECTED] Computing Manager, Cancer Epidemiology Unit Cancer Research UK / Oxford University PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370 Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc N 51.7518, W 1.2016 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDKqWhbpQs/WlN43ARAueTAJwNQKh4fP9S0HdPDAY2PkrawYywRQCgytWJ WqZrqk9tG9ZXd2nedIyUUFE= =jJcO -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318865: odbc-postgresql: Segfault when running ODBC describe, amd64 client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, 07.09.2005 at 23:00 +0200, Falk Hueffner wrote: can this problem be still reproduced with a newer gcc version such as 4.0? Is it possible to make a standalone test case? I've just tested this out. I only have a single, production amd64 system and so I did this using a chroot. I bootstrapped Sarge into the chroot, and then added the Etch sources to /etc/apt/sources.list in order to enable me to install gcc 4.0. First rebuild resulted in lots of unhappiness during dpkg-buildpackage including Unknown gcc system type x86_64-linux-gnu at which point I realised that gcc 4.0 in Etch uses libc6 2.3.5, which is newer than Sarge. So, I restarted and just made an Etch chroot instead :-) Building the odbc-postgresl package in a minimal Etch environment using gcc 4.0 resulted in a working package as the end product, but there were a very large number of warngings during the compilation: info.c: In function 'PGAPI_Tables': info.c:1364: warning: pointer targets in passing argument 4 of 'schema_strcat1' differ in signedness info.c:1364: warning: pointer targets in passing argument 6 of 'schema_strcat1' differ in signedness info.c:1366: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness info.c:1367: warning: pointer targets in passing argument 4 of 'my_strcat1' differ in signedness... (lots of the same, I will post in its entirety if required, but I suspect the warnings are due to the strictness of gcc 4.0?) Given that there were lots of warnings but no actual errors, I installed this package into the Etch chroot and there was no segfault after running the previously-described 'isql' tests using this version. However, this working version of the package cannot be used in Sarge, because of the libc6 dependency: Unpacking replacement odbc-postgresql ... dpkg: dependency problems prevent configuration of odbc-postgresql: odbc-postgresql depends on libc6 (= 2.3.5-1); however: Version of libc6 on system is 2.3.2.ds1-22. dpkg: error processing odbc-postgresql (--install): dependency problems - leaving unconfigured Errors were encountered while processing: odbc-postgresql The bug remains in the Sarge version of course, but that would appear to be a compiler bug in gcc 3.3. Dave. - -- Dave Ewart [EMAIL PROTECTED] Computing Manager, Cancer Epidemiology Unit Cancer Research UK / Oxford University PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370 Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc N 51.7518, W 1.2016 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDIBTYbpQs/WlN43ARAvt4AJ4zb6lgHy6kH5CyF7Sb/jZ6mZBESwCgl7wA solSeo88xnqcmD7lLm1E1G4= =B6FH -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318865: odbc-postgresql: Segfault when running ODBC describe, amd64 client
tags 318865 + moreinfo thanks Hi, can this problem be still reproduced with a newer gcc version such as 4.0? Is it possible to make a standalone test case? -- Falk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318865: odbc-postgresql: Segfault when running ODBC describe, amd64 client
Package: odbc-postgresql Version: 1:07.03.0200-5 Severity: normal Apparently specific to amd64 installation only, an ODBC client request for table/view structure ('describe table') results in a segfault. Example isql session: $ isql DSNname myuser mypass +---+ | Connected!| | | | sql-statement | | help [tablename] | | quit | | | +---+ SQL help (output returns list of all tables and views, as expected) SQL help mytable Segmentation fault I note that issuing a direct SQL query, with prior knowledge of the column names etc., is successful: $ isql DSNname myuser mypass +---+ | Connected!| | | | sql-statement | | help [tablename] | | quit | | | +---+ SQL select * from mytable; (table output returned as expected) Additional information: - Above behaviour is reproducible and identical for connections to two different postgresql server installations (both on other boxes), one is postgresql 7.2.1-2woody8 (current Woody release) and the other is a slightly out-of-date Sarge running postgresql version 7.4.6-5; - On a similar system which is i686 rather than amd64, the segfaults do not occur - 'help mytable' returns the expected table structure, so this bug appears at face value to be specific to the amd64 version of odbc-postgresql; -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.8-11-amd64-k8-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages odbc-postgresql depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii odbcinst1 2.2.4-11 Support library and helper program -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]