[Lazarus] gdb crash with printdialog dialog

Pierre Delore dpliste at free.fr
Tue Nov 1 19:05:37 CET 2011


Hi Martin,

Thanks for your answers. It seem that there are no fix for the moment. In order to avoid the problem I will set the "pdf creator" printer as the default printer. This will allow me to develop the printer part of my application.

Thanks.

Pierre

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

I don't think any of the older ones will do any good. But if at all then 
7.0 or 7.0.50   ..But as I said, I don't think they will.

If gdb only crashes when the app closes, then you can still debug your app.
Yes sure inconvenient, that gdb crashes. assign a key to the IDE's 
"Reset Debugger", in case you have trouble with further debugging....

On 28/10/2011 20:27, Pierre Delore wrote:
> Same problem with gdb 7.3.1 and 7.1
>
> Pierre
>
>
> ----- Mail original -----
> De: "Pierre Delore"<dpliste at free.fr>
> À: "Lazarus mailing list"<lazarus at lists.lazarus.freepascal.org>
> Envoyé: Vendredi 28 Octobre 2011 21:02:37
> Objet: Re: [Lazarus] gdb crash with printdialog dialog
>
> 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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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




More information about the Lazarus mailing list