[Lazarus] gdb crash with printdialog dialog

Pierre Delore dpliste at free.fr
Fri Oct 28 21:02:37 CEST 2011


Hi Martin,

>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/
I follow the link and I upgraded gdb (7.2 to 7.3) => Same problem 

--
Pierre

----- Mail original -----
De: "Martin" <lazarus at mfriebe.de>
À: "Lazarus mailing list" <lazarus at lists.lazarus.freepascal.org>
Envoyé: Vendredi 28 Octobre 2011 20:22:08
Objet: Re: [Lazarus] gdb crash with printdialog dialog

On 28/10/2011 18:23, dpliste at 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 at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list