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#20802: Segfault when showing non-GTK+ tooltip Date: Sat, 13 Jun 2015 17:42:36 +0300 Message-ID: <83twubpt43.fsf@gnu.org> References: <1434187118.10061.4.camel@gmx.de> <83381wq76d.fsf@gnu.org> <557C0526.5050607@gmx.at> <831thfri91.fsf@gnu.org> <557C2EF2.5030308@gmx.at> <83vberpv07.fsf@gnu.org> <557C3E1F.6030305@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1434206603 14533 80.91.229.3 (13 Jun 2015 14:43:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2015 14:43:23 +0000 (UTC) Cc: tobias.getzner@gmx.de, 20802@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 16:43:13 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 1Z3meN-00080E-5E for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 16:43:11 +0200 Original-Received: from localhost ([::1]:56217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3meM-0002ST-Hb for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 10:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3meI-0002SO-9N for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3meE-0004nP-7E for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3meE-0004nL-3x for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3meD-0007cA-RQ for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20802-submit@debbugs.gnu.org id=B20802.143420656829245 (code B ref 20802); Sat, 13 Jun 2015 14:43:01 +0000 Original-Received: (at 20802) by debbugs.gnu.org; 13 Jun 2015 14:42:48 +0000 Original-Received: from localhost ([127.0.0.1]:52829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3me0-0007bc-1j for submit@debbugs.gnu.org; Sat, 13 Jun 2015 10:42:48 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:61929) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3mdx-0007bM-LM for 20802@debbugs.gnu.org; Sat, 13 Jun 2015 10:42:46 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPW00G000G1UW00@a-mtaout20.012.net.il> for 20802@debbugs.gnu.org; Sat, 13 Jun 2015 17:42:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW00GIO0V2XG00@a-mtaout20.012.net.il>; Sat, 13 Jun 2015 17:42:39 +0300 (IDT) In-reply-to: <557C3E1F.6030305@gmx.at> 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: 140.186.70.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:103897 Archived-At: > Date: Sat, 13 Jun 2015 16:28:47 +0200 > From: martin rudalics > CC: tobias.getzner@gmx.de, 20802@debbugs.gnu.org > > As I mentioned earlier this seems to be due to the fact that the > debugger intervenes in some recursive fashion. The crash happens after > the backtrace window popped up and when I try to ‘switch-to-prev-buffer’ > in the window where the tooltip should have appeared. Without that I'm > _not_ able to reproduce the crash. > > > Can you see what is that frame, and why we didn't call > > init_frame_faces for it? > > What makes you think this is not my normal frame in the first place and > why init_frame_faces was not called for it? Hmmm, I see, nothing can > stop make_image_cache apparently. Exactly. It is created in init_frame_faces, and never removed as long as the frame is alive. > I'll look into this later Thanks. > > Also, which image are we trying to display > > here? > > How would I know? I thought you could look that up in the debugger. For example, the value of 'spec' in frame #1 (see below) could tell. > > Something on the toolbar, perhaps? Did you move mouse pointer > > over a tool-bar button to trigger a tooltip that failed? > > The toolbar is disabled with my customizations. Hmm... then what other images do we display? Note that according to the backtrace, we've found a 'display' property in buffer, which caused the call to lookup_image: #0 0x00000000006c9b5c in cache_image (f=0x13a7e00, img=0x198ee20) at ../../src/image.c:1775 #1 0x00000000006c96e3 in lookup_image (f=0x13a7e00, spec=...) at ../../src/image.c:1686 #2 0x000000000044bebc in handle_single_display_spec (it=0x7fffffff8ba0, spec=..., object=..., overlay=..., position=0x7fffffff8cd8, bufpos=203, display_replaced=0, frame_window_p=true) at ../../src/xdisp.c:5137 [...] #6 0x0000000000454ee3 in next_element_from_buffer (it=0x7fffffff8ba0) at ../../src/xdisp.c:8133 Thanks.