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 Date: Sun, 21 Apr 2002 17:25:17 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Cc: cygwin AT cygwin DOT com Subject: Re: cygwin gdb-20020411-1 crashing and an (already) proposed solution Message-ID: <20020421212517.GA14035@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com, cygwin AT cygwin DOT com References: <3 DOT 0 DOT 6 DOT 32 DOT 20020421211215 DOT 007aba90 AT 127 DOT 0 DOT 0 DOT 1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.6.32.20020421211215.007aba90@127.0.0.1> User-Agent: Mutt/1.3.23.1i Wrong mailing list. Redirected. cgf On Sun, Apr 21, 2002 at 09:12:15PM +0200, Ton van Overbeek wrote: >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