public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Cygwin gdb-20020411-1 crashing and an (already) proposed solution
@ 2002-04-21 12:06 Ton van Overbeek
  2002-04-22 14:29 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Ton van Overbeek @ 2002-04-21 12:06 UTC (permalink / raw)
  To: insight; +Cc: cywin-apps

While playing around with the gdb help menus recently I also got
frequent gdb crashes.
One scenario is the following:
- Start with gdb/insight on internal help.
- Bring up the global preferences and select 'Use Internet Browser ...'
  and close dialog with OK.
- Now select Help->Help Topics => Crash with an invalid page fault in
  Kernel32.dll

An other, simpler scenario which crashes most of the time is the following:
- Bring up the global preferences dialog and close it again
  by selecting cancel.
- Select an other non-gdb window on the desktop => crash.

Searching through the insight mail archives I found a message
from Ian Roxborough from 25 Feb 2002 describing exactly this
problem. See http://sources.redhat.com/ml/insight/2002-q1/msg00168.html.
The crashes have to do with using comboboxes in modal dialogs.
The proposed patch in Ian's message never made it into CVS.
With this patch to libgui/librarycombobox.tcl applied I could not
get gdb to crash any more.
The patch consists in deleting one line (wm transient ...) in
combobox.tcl. If the deletion of this line is not needed under
unix/Xwindows maybe the line could be garded with an
  if {$tcl_platform(platform) != "windows"} then { wm transient ...
After all Xwindows windowmanagers and the windowmanager in m$ windows
are completely different animals.

So I would like to ask 'the insight powers that be' to apply this
patch. It increases the stability of cygwin-gdb considerably.

Regards,

Ton van Overbeek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-22 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-21 12:06 Cygwin gdb-20020411-1 crashing and an (already) proposed solution Ton van Overbeek
2002-04-22 14:29 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).