[fpc-devel] fpc 2.6.1 seg fault loading dblib

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Fri Oct 12 09:57:33 CEST 2012


Hi all,

   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. I downloaded the dblib.dll from ftp contrib and 
tried to used it but no luck.

"...
=library-loaded,id="C:\\WINDOWS\\system32\\msv1_0.dll",target-name="C:\\WINDOWS\\system32\\msv1_0.dll",host-name="C:\\WINDOWS\\system32\\msv1_0.dll",symbols-loaded="0",thread-group="i1"
=library-loaded,id="C:\\WINDOWS\\system32\\cryptdll.dll",target-name="C:\\WINDOWS\\system32\\cryptdll.dll",host-name="C:\\WINDOWS\\system32\\cryptdll.dll",symbols-loaded="0",thread-group="i1"
=library-loaded,id="C:\\Programming\\Projects\\MSADomusSync\\bin\\dblib.dll",target-name="C:\\Programming\\Projects\\MSADomusSync\\bin\\dblib.dll",host-name="C:\\Programming\\Projects\\MSADomusSync\\bin\\dblib.dll",symbols-loaded="0",thread-group="i1"
=library-loaded,id="C:\\Programming\\Projects\\MSADomusSync\\bin\\libiconv2.dll",target-name="C:\\Programming\\Projects\\MSADomusSync\\bin\\libiconv2.dll",host-name="C:\\Programming\\Projects\\MSADomusSync\\bin\\libiconv2.dll",symbols-loaded="0",thread-group="i1"
*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation 
fault",frame={addr="0x03401142",func="??",args=[],from="C:\\Programming\\Projects\\MSADomusSync\\bin\\dblib.dll"},thread-id="1",stopped-threads="all"
(gdb)
<info program>
&"info program\n"
~"\tUsing the running image of child Thread 3076.0x1028.\n"
~"Program stopped at 0x3401142.\n"
~"It stopped with signal SIGSEGV, Segmentation fault.\n"
~"Type \"info stack\" or \"info registers\" for more information.\n"
..."


FPC version: 2.6.1
FPC svn revision: 22614

Lazarus version: 1.0.3
Lazarus svn revision: 39044

GDB version: 7.2

Windows XP Professional, SP3, 32 Bit

Any hint ?

-- 
Dimitrios Chr. Ioannidis



More information about the fpc-devel mailing list