Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-Id: <3.0.6.32.20020421211215.007aba90@127.0.0.1> X-Sender: ton AT 127 DOT 0 DOT 0 DOT 1 (Unverified) Date: Sun, 21 Apr 2002 21:12:15 +0200 To: cygwin-apps AT cygwin DOT com From: Ton van Overbeek Subject: Cygwin gdb-20020411-1 crashing and an (already) proposed solution Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Below a copy of my message to the insight mailing-list. (cc: to cygwin-apps did not work due to typing error in address) ------------------------------------------------------------------- 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