sqlcmd stackdump
Posted in 2010
Hi, I compiled sqlcmd from JL for Windows XP 32bit. The following statement dumps while an exception occurs. D:\\Informix_DBImport>sqlcmd -u informix -p mypwd -d test 'select * from hallo' hallo 1 [main] sqlcmd 3868 exception::handle: Exception: STATUS_ACCESS_VIOLATION 474 [main] sqlcmd 3868 open_stackdumpfile: Dumping stack trace to sqlcmd.exe.stackdump 2775 [main] sqlcmd 3868 exception::handle: Exception: STATUS_ACCESS_VIOLATION - 747 [main] sqlcmd 3868 exception::handle: Error while dumping state (probably corrupted stack) a second call generates the following: D:\\Informix_DBImport>sqlcmd -u informix -p mypwd -d test -e 'select * from hallo' hallo 6 [sig] sqlcmd 5484 open_stackdumpfile: Dumping stack trace to sqlcmd.exe.stackdump D:\\Informix_DBImport>sqlcmd -u informix -p mypwd -d test 'select * from hallo' hallo 16 [sig] sqlcmd 5532 open_stackdumpfile: Dumping stack trace to sqlcmd.exe.stackdump The table hallo has only one column called hallo. Here is the core file: Stack trace: Frame Function Args 0022C7F8 7C802542 (0000065C, 0000EA60, 000000A4, 0022C8EC) 0022C908 610C2643 (00000000, 7C802600, 7C802542, 00000000) 0022C9E8 610BF2F7 (00000000, 00000000, 00000000, 00000000) 0022CA38 610BF70B (0000159C, 0022CA60, 00000000, 78134C58) 0022CAF8 610BF831 (0000159C, 00000006, 0022CB28, 610BF8D5) 0022CB08 610BF86C (00000006, 0022CE80, 00000000, 00000000) 0022CB28 610BF8D5 (00000000, 0022CB48, 62D03AD9, 00000009) 0022CBB8 610ED58D (00D22138, 0022CBFC, 58585858, 58585858) 0022CC68 004095B6 (00D22138, 00000020, 00000007, 00402689) 0022CD18 004030E5 (00000008, 00D08738, 00D085E8, 00000001) 0022CD98 61006E73 (00000000, 0022CDD4, 61006720, 7FFDE000) End of stack trace D:\\Informix_DBImport>sqlcmd -h sqlcmd: SQLCMD Version 86.00 (2008-07-15) IBM Informix CSDK Version 3.50, IBM Informix-ESQL Version 3.50.TC6 Licenced under GNU General Public Licence Version 2 ...... I think there is a problem im my compilition. Perhaps anybody has an other compiled Windows version? TIA Dirk