From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18997: 24.4; IDLWAVE: Emacs crashes when trying to change the window while in the IDL shell Date: Sat, 14 Nov 2015 12:30:11 +0200 Message-ID: <83bnaweuvg.fsf@gnu.org> References: <87h9y9256u.fsf@debian.debian> <834mgrjivl.fsf@gnu.org> <838u63hyfz.fsf@gnu.org> <834mgrhxtz.fsf@gnu.org> <83vb97gctt.fsf@gnu.org> <83d1veguxd.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1447513155 2865 80.91.229.3 (14 Nov 2015 14:59:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Nov 2015 14:59:15 +0000 (UTC) Cc: 18997@debbugs.gnu.org To: Gordon Farquharson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 14 15:59:03 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZxcI9-0000M7-95 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 15:59:01 +0100 Original-Received: from localhost ([::1]:35141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxcI9-0003wl-0C for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 09:59:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxY6r-0004RO-SA for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2015 05:31:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxY6o-0002IJ-Ff for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2015 05:31:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxY6o-0002IF-Cs for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2015 05:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZxY6n-0000bQ-QI for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2015 05:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Nov 2015 10:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18997 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 18997-submit@debbugs.gnu.org id=B18997.14474970462295 (code B ref 18997); Sat, 14 Nov 2015 10:31:01 +0000 Original-Received: (at 18997) by debbugs.gnu.org; 14 Nov 2015 10:30:46 +0000 Original-Received: from localhost ([127.0.0.1]:37659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZxY6W-0000aw-Sx for submit@debbugs.gnu.org; Sat, 14 Nov 2015 05:30:45 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:37523) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZxY6A-0000aN-7t for 18997@debbugs.gnu.org; Sat, 14 Nov 2015 05:30:42 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NXS00D00VU9WI00@a-mtaout21.012.net.il> for 18997@debbugs.gnu.org; Sat, 14 Nov 2015 12:30:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXS00DA2VUKV520@a-mtaout21.012.net.il>; Sat, 14 Nov 2015 12:30:20 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108736 Archived-At: > Date: Fri, 13 Nov 2015 08:52:29 -0800 > From: Gordon Farquharson > Cc: Glenn Morris , 18997@debbugs.gnu.org > > See gud-tool-bar-map and its uses. As you see, GUD uses a very > different method. > > I'll take a look. I've never programmed in elisp. The closest related language > I've used is scheme, a very long time ago, so this will be exciting. I think on the Lisp level everything is OK. Fact is, this worked before the changes in GTK toolbar support mentioned previously in discussing this thread. It also works with other toolkits (Glenn mentioned Lucid, I see it display correctly on MS-Windows). So I think a better strategy would be to step in a debugger through the offending C code and see the differences between when IDLWAVE is invoked, and when GUD is invoked. You can identify the code that's involved in this by examining the series of functions that crash. Based on the Glib error messages posted up-thread, I would suggest to start in xg_get_pixbuf_from_pixmap, which calls gdk_pixbuf_new_from_data, the first function to complain. How is the data there different between GUD and IDLWAVE?