Hi everybody, I'm mailing you as I have a very strange behaviour of a program I'm making using FPC 2.6.2 and Lazarus from trunk (updated this morning). As far as I know it's either a compiler bug or a Synapse bug. Let me explain...
The project is a GUI for the Spack package manager used by a Linux distribution I'm co-developing (4 users actually and only for developers and only in French, so no chance you have it). The problem happens with the download manager I've created based on Synapse. The first file is downloaded correctly but when switching to second one I've got a runtime error 216 (access violation). The strange thing is when debugging with F7/F8 in the IDE, everything runs OK: no error any more (so my code should not be in cause). You can find full source code and testing files here : svn://svn.tuxfamily.org/svnroot/geofperspage/gppsvn/trunk/0linux-gui After checking out, you'll have to change few things in the code : - in common/ucommon.pas: the paths given for testing would be change accordingly to your where you checked out the project - in spackgui/frmabout.pas: I'm using the Lazarus' source code to have version info: remove it or change it accordingly. (Note : I'm looking for a way to get this without looking to Lazarus source code) As this is very specific to Linux, this project is Linux only, sorry... For non French speaking, most of the interface is in French, nevertheless all debugging messages, identifiers and comments are in English so this should not be a big problem. Thank you for any help ! -- Geoffray Levasseur-Brandin <geoffray.levasseur-bran...@ac-toulouse.fr> http://jeff.levasseur.tuxfamily.org/ GNU/PG : BF8BB8407CD26E89466CDA9BB1030FC59EF87775 Errare humanum est sed perseverare diabolicum aut cretinum.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel