Responding to [fpc-devel] fpc 2.6.1 seg fault loading dblib http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg27157.html as I think the subject is more appropriate to the fpc list.... (and I haven't subscribed to fpc-devel):
> when my app try to load the dblib dll i get a segmentation fault. > Previously the app worked like a charm. The only change is the > recompilation of fpc. Works on Vista x64 with FPC with FPC fixes r22595 x86 and my pasql test program (commit c250ca8) https://bitbucket.org/reiniero/fpc_laz_patch_playground/src directory sql x86 dlls downloaded from contrib site; md5s: 1e2159d07b938524a4a27661b7aead51 *dblib.dll fd1dc6c680299a2ed1eedcc3eabda601 *libiconv2.dll pasql.exe --type=SQLSERVER --hostname=127.0.0.1:1433 --database=master --trusted ... Connection complete. Server version: Microsoft SQL Server 2008 (SP2) - 10.0.4064.0 (X64) Feb 25 2011 13:56:11 Copyright (c) 1988-2008 Microsoft Corporation Express Edition with Advanced Services (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2) ============================================================== Starting SQL console. Enter your SQL; run it by writing GO or COMMIT or COMMIT; on a single line. Enter EXIT and enter to quit. You can then save all your statements to file. SQL >select 'dblib x86 with fpc 2.6.1 trunk works for me'; SQL+ >go ============================================================== ============================================================== dblib x86 with fpc 2.6.1 trunk works for me fpc -i Free Pascal Compiler version 2.6.1 Compiler Date : 2012/10/13 Compiler CPU Target: i386 Also tested the compiled pasql.exe+dblib.dll+libiconv2.dll on Win XP SP3 against a remote MS SQL 2005 server. Success. Perhaps you can run pasql against your server and see what happens? Thanks, Reinier _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal