On 28/10/2011 18:23, dpli...@free.fr wrote:
Hi all,

I noticed a problem with a simple application that contain only a printdialog 
(just the component in the form with no code).
If I run the application =>  no problem
When I close the application the application crash and a dialog appear saying 
that gdb.exe as a problem and must be close.

After some search I noticed that the problem appear with network printer 
(furthermore there are connected at the moment). For the moment I'm not able to 
test connected printers.
With local printers like "pdf creator" or "Microsoft XPS Document writer" 
(printers that are always connected) I have no problem.
May be the problem can appear with local printer that are not present.

Anybody has the same problem?
A solution?
A bug?

--
Lazarus 0.9.30 (Latest official release)
FPC 2.4.2
Win XP SP3
--

The issue (or maybe a similar issue) is apparently very old: http://bugs.freepascal.org/view.php?id=17921 (printer, but crashed immediate)
but  appears to be an issue in GDB, that can not be fixed in Lazarus itself

Their has been another similar issue: http://bugs.freepascal.org/view.php?id=19883 (crash after app terminates)

The latter can be solved by upgrading GDB:
Either get the latest mingw, or you can find them here:
http://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb/bin/

The svn link can be accessed in the browser. MinGW was recently updated, and is newer. But has not yet been tested.

However all GDB 7.3 appear to suffer from an old problem that *seems* to have been fixed in gdb versions from 7.0.50 to 7.2 => but it requires a very unlikely race condition, and even then does not always trigger.


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to