From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#20802: Segfault when showing non-GTK+ tooltip Date: Sat, 13 Jun 2015 12:25:42 +0200 Message-ID: <557C0526.5050607@gmx.at> References: <1434187118.10061.4.camel@gmx.de> <83381wq76d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1434191250 20504 80.91.229.3 (13 Jun 2015 10:27:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2015 10:27:30 +0000 (UTC) Cc: 20802@debbugs.gnu.org To: Eli Zaretskii , Tobias Getzner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 12:27:14 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 1Z3iec-0003kp-DD for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 12:27:10 +0200 Original-Received: from localhost ([::1]:55339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3ieb-0004Lt-FH for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 06:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3ieX-0004Kx-Vz for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 06:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3ieU-0007Im-P3 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 06:27:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3ieU-0007Ii-Ln for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3ieU-0006uI-B1 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 10:27:02 +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.143419116426483 (code B ref 20802); Sat, 13 Jun 2015 10:27:02 +0000 Original-Received: (at 20802) by debbugs.gnu.org; 13 Jun 2015 10:26:04 +0000 Original-Received: from localhost ([127.0.0.1]:52359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3idV-0006sk-5c for submit@debbugs.gnu.org; Sat, 13 Jun 2015 06:26:03 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:63676) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3idR-0006sW-Qb for 20802@debbugs.gnu.org; Sat, 13 Jun 2015 06:25:58 -0400 Original-Received: from [178.191.142.117] ([178.191.142.117]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Lq9oW-1ZYfjr0lqy-00drLX; Sat, 13 Jun 2015 12:25:51 +0200 In-Reply-To: <83381wq76d.fsf@gnu.org> X-Provags-ID: V03:K0:K76Daq4aDm42FUnnNC0PHaaPd8WEQjHQaGrNIQ7wJA0oBj1aIvp 6I/ZAf2q4ouK2I55TTo5DuiddFQeiiRlUs4HAtqug30zADM4/8bTJU2Kbj1PwAAtW5ZmaXN ozHKPU0zvFv5nLyagqP2O68MmVLUckoJlYjwB+29FwWIiOsf0FAPbM45mLkkntZHjoKQeD3 R2d4cV/uZDhCbQPBbZ58Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:3ac8Q93IQPo=:yDQ0V47HJ81BmVWXQNaaTN BccGoyAzHqc8WXRyuP0Ai3PP1NHRkDrZmpAt3kekJ79soplzbqUwmkkAftkPPNIM4x/7/9Do3 LJSoW0lYKrhjSHS/F1RP46QeuwjYH/lT8CUmWipEHLY2COcoB6LNg5u4U4O+sSfnF88JeTLrd vJ/8sYsTTP95NYiyDbKa99twNWZWz3KQvyqi282Mmwhy27nzlY/ZUa4dvKUIDvhXnJXxE17jp 7ijV9RbdWefXPzK7L8nwTZ4oKXzgg8jokwa1NLWPHs3j1Jup1GdumaSMUlXzplsZzkvxXXLfh FokUbqt7oTqdX48TyO1iFKSY8O5qGYrVrwQClxBBpjh33Ilhifb1GKKK1E2lhsEiswWSlbmhY OmNrDyuIYSTraW7JYxpYENnuWz5RSkV0Y1dFYjk2fwUa8ayUuyu+GEYpLuYfAvEsZEZOTJBsa QbZTI1UxExTfPRdO7mcfVavPJ4l12llg81XZjN4K/smzdRpEe/c82F+leiul/ycJkCxi/aJLb Js3Ccz+F/roWxSquEmPpTicScogsi/DKQZ+es48/XGebcQO5jEoYs5HWAEPnpZ4rSjy6EVAcA SR3mNbEJtKyg1MrhOp/+qbPOxL6rEfYL7p0chdJ4W/IIWA7TkntkU2IBzG77PSeIN5TcjfBCp F9Uf2/VvumWe/Ay+IWvgdhSBePiRtuSqt+0EzD0+xLnfVBgHq0Nz/5xZT6KoDSMB/uUk= 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:103887 Archived-At: >> When x-gtk-use-system-tooltips is set to nil, and the tooltip face is= >> customized using an invalid color string such as #zz, Emacs will >> segfault when a tooltip is being drawn. > > I cannot reproduce this on my system, so please show a backtrace from > running Emacs inside GDB. Also, please tell how you customized the > face color, exactly -- it could be that only some specific ways of > customizing it cause the problem. Below is a bt after setting an invalid background color. Tooltips are shown via =E2=80=98x-show-tip=E2=80=99 and the crash triggers after the b= acktrace buffer complaining about the invalid color popped up and I tried to switch to another buffer. I have no idea whether it's the OP's original issue. martin #0 0x00000000006c9b5c in cache_image (f=3D0x13a7e00, img=3D0x198ee20) at= ../../src/image.c:1775 #1 0x00000000006c96e3 in lookup_image (f=3D0x13a7e00, spec=3D...) at ../= =2E./src/image.c:1686 #2 0x000000000044bebc in handle_single_display_spec (it=3D0x7fffffff8ba0= , spec=3D..., object=3D..., overlay=3D..., position=3D0x7fffffff8cd8, buf= pos=3D203, display_replaced=3D0, frame_window_p=3Dtrue) at ../../src/xdis= p.c:5137 #3 0x00000000004498cd in handle_display_spec (it=3D0x7fffffff8ba0, spec=3D= =2E.., object=3D..., overlay=3D..., position=3D0x7fffffff8cd8, bufpos=3D2= 03, frame_window_p=3Dtrue) at ../../src/xdisp.c:4654 #4 0x00000000004492c8 in handle_display_prop (it=3D0x7fffffff8ba0) at ..= /../src/xdisp.c:4576 #5 0x0000000000445e8d in handle_stop (it=3D0x7fffffff8ba0) at ../../src/= xdisp.c:3299 #6 0x0000000000454ee3 in next_element_from_buffer (it=3D0x7fffffff8ba0) = at ../../src/xdisp.c:8133 #7 0x00000000004511b5 in get_next_display_element (it=3D0x7fffffff8ba0) = at ../../src/xdisp.c:6785 #8 0x000000000047e4ea in display_line (it=3D0x7fffffff8ba0) at ../../src= /xdisp.c:20132 #9 0x00000000004719a2 in try_window (window=3D..., pos=3D..., flags=3D1)= at ../../src/xdisp.c:16892 #10 0x000000000046df50 in redisplay_window (window=3D..., just_this_one_p= =3Dfalse) at ../../src/xdisp.c:16365 #11 0x00000000004654d0 in redisplay_window_0 (window=3D...) at ../../src/= xdisp.c:14184 #12 0x0000000000625c43 in internal_condition_case_1 (bfun=3D0x46548e , arg=3D..., handlers=3D..., hfun=3D0x465456 ) at ../../src/eval.c:1372 #13 0x000000000046542c in redisplay_windows (window=3D...) at ../../src/x= disp.c:14164 #14 0x00000000004653e2 in redisplay_windows (window=3D...) at ../../src/x= disp.c:14158 #15 0x00000000004641e1 in redisplay_internal () at ../../src/xdisp.c:1375= 6 #16 0x0000000000461e04 in redisplay () at ../../src/xdisp.c:13019 #17 0x000000000057d4a3 in read_char (commandflag=3D1, map=3D..., prev_eve= nt=3D..., used_mouse_menu=3D0x7fffffffe23f, end_time=3D0x0) at ../../src/= keyboard.c:2542 #18 0x000000000058e17f in read_key_sequence (keybuf=3D0x7fffffffe410, buf= size=3D30, prompt=3D..., dont_downcase_last=3Dfalse, can_return_switch_fr= ame=3Dtrue, fix_current_buffer=3Dtrue, prevent_redisplay=3Dfalse) at ../.= =2E/src/keyboard.c:9156 #19 0x000000000057a0e7 in command_loop_1 () at ../../src/keyboard.c:1407 #20 0x0000000000625ac9 in internal_condition_case (bfun=3D0x579c90 , handlers=3D..., hfun=3D0x579300 ) at ../../src/eva= l.c:1348 #21 0x00000000005798be in command_loop_2 (ignore=3D...) at ../../src/keyb= oard.c:1139 #22 0x0000000000624ec4 in internal_catch (tag=3D..., func=3D0x579895 , arg=3D...) at ../../src/eval.c:1108 #23 0x0000000000579860 in command_loop () at ../../src/keyboard.c:1118 #24 0x0000000000578df7 in recursive_edit_1 () at ../../src/keyboard.c:728= #25 0x0000000000578ff3 in Frecursive_edit () at ../../src/keyboard.c:799 #26 0x0000000000576cd3 in main (argc=3D1, argv=3D0x7fffffffe8e8) at ../..= /src/emacs.c:1626 Lisp Backtrace: "redisplay_internal (C function)" (0x0)