From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.devel Subject: Re: gtk3, emacs 24 and gnome shell Date: Thu, 03 Nov 2011 01:08:19 +0000 Message-ID: <87obwudncs.fsf@gmail.com> References: <4EA554D1.1040000@gmail.com> <878voaf05x.fsf@gmail.com> <87ty6xczz2.fsf@thinkpad.tsdh.de> <8739ehfpia.fsf@gmail.com> <87hb2x5u7g.fsf@thinkpad.tsdh.de> <8762jaqi2d.fsf@gmail.com> <87bot1ljve.fsf@thinkpad.tsdh.de> <871utx9duw.fsf@gmail.com> <87zkgkitj8.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320283599 25138 80.91.229.12 (3 Nov 2011 01:26:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2011 01:26:39 +0000 (UTC) To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 02:26:34 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RLm4g-0005r3-3F for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2011 02:26:34 +0100 Original-Received: from localhost ([::1]:49907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLm4f-0003jA-J5 for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2011 21:26:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLm4b-0003ir-LX for emacs-devel@gnu.org; Wed, 02 Nov 2011 21:26:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLm4Z-0007iv-LW for emacs-devel@gnu.org; Wed, 02 Nov 2011 21:26:29 -0400 Original-Received: from md5i.com ([75.151.244.229]:51860 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLm4Z-0007hx-Go for emacs-devel@gnu.org; Wed, 02 Nov 2011 21:26:27 -0400 Original-Received: from md5i by maru.md5i.com with local (Exim 4.77) (envelope-from ) id 1RLm4T-0000QT-7D for emacs-devel@gnu.org; Wed, 02 Nov 2011 21:26:21 -0400 Resent-To: emacs-devel@gnu.org Resent-From: Michael Welsh Duggan Resent-Date: Wed, 02 Nov 2011 21:26:21 -0400 Resent-Message-ID: <87hb2mgfnm.fsf@maru.md5i.com> Original-Received: from Debian-exim by maru.md5i.com with spam-scanned (Exim 4.77) (envelope-from ) id 1RLlkn-0006xK-FC for md5i@md5i.com; Wed, 02 Nov 2011 21:06:05 -0400 Original-Received: from mailout-eu.gmx.com ([213.165.64.43]) by maru.md5i.com with smtp (Exim 4.77) (envelope-from ) id 1RLlkm-0006wh-Qo for md5i@md5i.com; Wed, 02 Nov 2011 21:06:01 -0400 Original-Received: (qmail invoked by alias); 03 Nov 2011 01:05:52 -0000 Original-Received: from client-80-1-161-60.bsh-bng-011.adsl.virginmedia.net (EHLO pank) [80.1.161.60] by mail.gmx.com (mp-eu005) with SMTP; 03 Nov 2011 02:05:52 +0100 X-Authenticated: #119057330 X-Provags-ID: V01U2FsdGVkX18OV5MFjxkOrzdoWdIV77siBAZ+FLGmoEbk4hO3Ps 5tlOiUvpdKSip6 In-Reply-To: <87zkgkitj8.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Fri, 28 Oct 2011 19:30:03 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAJLSURBVEjHzZa7geQwDEMdoxm0wlJYCVtBMWgHwQXyT7O7txceI9vj J1EkCM8xSbWdJN2yx7mi0RJRCXU/PCqpWddecf3okm2hMpUHYMx7UTsDwPcCsTGC895BLz4uiXw/ QL3fz9Hh+162vVKWlCQF5Q2o+31v2+lJ0gDoJOUdqM/3LSoZjAUk0WzAzifxEIoxdgbKfsYcdz1e laJDJlGjvgXknaAaTAZF+BvAqh0ogJVURVD2qhxwbOohbKs1XBWAU3tZq2Oz7a2wnkpiT8XMnhL8 yO8WVLoS2+VUfwB0wtl3sEexMpXBfAKKkXkUfO4hygWOduII1v6NLSl12XEpEdld15wcQpb8+OTq ZmtXjPrU6EFlOkmE/BS27ebZB51Xu8wTTc+SOWXbZq15uMtWStJXmwo9U0vfkB276Et8N9A8eUGO LTgxa4otD3sDlpwvB1nFHSZpcJromPMClgFwqWqlLTWcsypmefgGmvKA8VmaIUAoa2STlPQATXSS DC7hDlpr9b57rT5eg7YCOi+XJHqSRwSt40uXKF91SmImfY6cSfhnYMmUswp19SZfgNs4jUqMs3kf rvFWxD3yZGJgn5+vwCNTYSx92tYn4JenNAHszvoJeOhE5y62pvhlRDdrh+Ii4MTL3qwPm9nyhzPl 1a1BjdSyN/t9A0K51hnGyYAAUN6c6dhagGuwVVkNs9mb930c+tns/laanvlLH1YMnxmv+Qeg+ml5 d/0GyI5vKxS2z+6366Nf1qlNTt8Cnn79g/Akv57h5/gPgT/tvnoH3s4GngAAAABJRU5ErkJggg== X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.151.244.229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145838 Archived-At: Michael Welsh Duggan writes: n> Rasmus Pank Roulund writes: > >> Tassilo Horn writes: >> >>> Hi Rasmus, >>> >>>>> Run it in gdb. Compile it without optimizations and -ggdb in >>>>> CFLAGS and >>>>> then run it like so: >>>>> >>>>> $ cd path/to/emacs/src/ >>>>> $ gdb emacs >>>>> gdb> run Here is a backtrace where Emacs seems to have broken. In this specific case my computer was playing back music while I was reading an article. When I got back Emacs had crashed. (gdb) bt full #0 abort () at emacs.c:386 No locals. #1 0x000000000044d214 in redisplay_internal () at xdisp.c:12644 w =3D 0x576e090 sw =3D 0x77 fr =3D 0x7fffffffb800 pending =3D 0 must_finish =3D 0 tlbufpos =3D { charpos =3D 1,=20 bytepos =3D 12848690 } tlendpos =3D { charpos =3D 140737488336720,=20 bytepos =3D 6182231 } number_of_visible_frames =3D 0 count =3D 32767 count1 =3D 0 sf =3D 0x7ffff7fcc4c8 polling_stopped_here =3D 0 old_frame =3D 20073637 consider_all_windows_p =3D 0 #2 0x000000000044ee42 in redisplay_preserve_echo_area (from_where=3D13) at= xdisp.c:13385 No locals. #3 0x0000000000651732 in Fdelete_process (process=3D91333653) at process.c= :758 p =3D 0x571a410 #4 0x000000000065e620 in kill_buffer_processes (buffer=3D12716498) at proc= ess.c:7085 tail =3D 70305974 proc =3D 91333653 #5 0x0000000000560e2a in shut_down_emacs (sig=3D0, no_x=3D0, stuff=3D12716= 498) at emacs.c:2068 No locals. #6 0x0000000000503d95 in x_connection_closed (dpy=3D0xff6830, error_messag= e=3D0x7fffffffbc60 "X protocol error: BadMatch (invalid parameter attribute= s) on protocol request 42") at xterm.c:7799 dpyinfo =3D 0x10e4600 frame =3D 20073637 tail =3D 12716498 idx =3D 3 #7 0x00000000005042cd in x_error_quitter (display=3D0xff6830, event=3D0x7f= ffffffbf10) at xterm.c:7893 buf =3D "BadMatch (invalid parameter attributes)", '\000' buf1 =3D "X protocol error: BadMatch (invalid parameter attributes)= on protocol request 42", '\000' "\200, \377?", '\000' , "0\215=CB=BF", '\000' "\377, \000\000\0= 00\000\000\377\377\377\377\377\377\377\377\377\377\000\000\377\377\000\000-= mnemonics\000Gtk/V-mne\000\000\000\000\022\000\000\000\000\000\000\000K\000= \000\000\000\000\000\000\240\311\373\367\377\177\000\000\006\062\003g\000\0= 00\000\000\002u\336\367\377\177\000\000\006\000\000\000\000\000\000\000\000= \277\377\377\377\177\000\000\377\377\377\377\000\000\000\000\264.\342\364\3= 77\177\000\000=D0=BE\377\377\377\177"... #8 0x000000000050422e in x_error_handler (display=3D0xff6830, event=3D0x7f= ffffffbf10) at xterm.c:7863 No locals. #9 0x00007ffff4e68083 in _XError () from /usr/lib/libX11.so.6 No symbol table info available. #10 0x00007ffff4e64ed1 in ?? () from /usr/lib/libX11.so.6 No symbol table info available. #11 0x00007ffff4e64f15 in ?? () from /usr/lib/libX11.so.6 No symbol table info available. #12 0x00007ffff4e65d20 in _XReply () from /usr/lib/libX11.so.6 No symbol table info available. #13 0x00007ffff4e5b000 in XQueryPointer () from /usr/lib/libX11.so.6 No symbol table info available. ---Type to continue, or q to quit--- #14 0x00007ffff7552fef in ?? () from /usr/lib/libgdk-3.so.0 No symbol table info available. #15 0x00007ffff756cb23 in ?? () from /usr/lib/libgdk-3.so.0 No symbol table info available. #16 0x00007ffff7547f9b in gdk_window_get_device_position () from /usr/lib/l= ibgdk-3.so.0 No symbol table info available. #17 0x00007ffff75532aa in ?? () from /usr/lib/libgdk-3.so.0 No symbol table info available. #18 0x00007ffff7a32832 in ?? () from /usr/lib/libgtk-3.so.0 No symbol table info available. #19 0x00007ffff78e8828 in ?? () from /usr/lib/libgtk-3.so.0 No symbol table info available. #20 0x00007ffff65f80e4 in g_closure_invoke () from /usr/lib/libgobject-2.0.= so.0 No symbol table info available. #21 0x00007ffff6609e9f in ?? () from /usr/lib/libgobject-2.0.so.0 No symbol table info available. #22 0x00007ffff66134c3 in g_signal_emit_valist () from /usr/lib/libgobject-= 2.0.so.0 No symbol table info available. #23 0x00007ffff6613892 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 No symbol table info available. #24 0x00007ffff7a152b9 in ?? () from /usr/lib/libgtk-3.so.0 No symbol table info available. #25 0x00007ffff78e8683 in gtk_main_do_event () from /usr/lib/libgtk-3.so.0 No symbol table info available. #26 0x00007ffff7561512 in ?? () from /usr/lib/libgdk-3.so.0 No symbol table info available. #27 0x00007ffff63387fd in g_main_context_dispatch () from /usr/lib/libglib-= 2.0.so.0 No symbol table info available. #28 0x00007ffff6338ff8 in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #29 0x00007ffff63391c9 in g_main_context_iteration () from /usr/lib/libglib= -2.0.so.0 No symbol table info available. #30 0x00007ffff78e78a5 in gtk_main_iteration () from /usr/lib/libgtk-3.so.0 No symbol table info available. #31 0x000000000050269e in XTread_socket (terminal=3D0x10e1450, expected=3D1= , hold_quit=3D0x7fffffffc9a0) at xterm.c:7157 count =3D 0 event_found =3D 0 #32 0x000000000056e783 in read_avail_input (expected=3D1) at keyboard.c:6821 nr =3D 1 hold_quit =3D { kind =3D NO_EVENT,=20 code =3D 0,=20 part =3D scroll_bar_above_handle,=20 modifiers =3D 0,=20 x =3D 0,=20 y =3D 0,=20 timestamp =3D 0,=20 padding =3D {0x0, 0x0},=20 frame_or_window =3D 0,=20 arg =3D 0 } next =3D 0x0 nread =3D 0 err =3D 0 t =3D 0x10e1450 ---Type to continue, or q to quit--- #33 0x000000000056f0dd in handle_async_input () at keyboard.c:7149 nread =3D 32767 #34 0x000000000056f0fc in process_pending_signals () at keyboard.c:7165 No locals. #35 0x0000000000658785 in wait_reading_process_output (time_limit=3D0, micr= osecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D12716498, wait_pr= oc=3D0x0, just_wait_proc=3D0) at process.c:4332 timeout_reduced_for_timers =3D 0 channel =3D 62 nfds =3D 1 Available =3D { fds_bits =3D {128, 0 } } Writeok =3D { fds_bits =3D {0 } } check_write =3D 1 check_delay =3D 3 no_avail =3D 0 xerrno =3D 11 proc =3D 66387093 timeout =3D { tv_sec =3D 0,=20 tv_usec =3D 0 } end_time =3D { tv_sec =3D 0,=20 tv_usec =3D 5666740 } wait_channel =3D -1 got_some_input =3D 1 count =3D 2 #36 0x000000000056854a in kbd_buffer_get_event (kbp=3D0x7fffffffcf80, used_= mouse_menu=3D0x7fffffffd594, end_time=3D0x0) at keyboard.c:3850 c =3D 0 obj =3D 0 #37 0x0000000000565f2e in read_char (commandflag=3D1, nmaps=3D7, maps=3D0x7= fffffffd300, prev_event=3D12716498, used_mouse_menu=3D0x7fffffffd594, end_t= ime=3D0x0) at keyboard.c:2796 kb =3D 0x578ddc0 c =3D 12716498 jmpcount =3D 2 local_getcjmp =3D {{ __jmpbuf =3D {0, 1489677321743271225, 4274192, 140737488347408,= 0, 0, 1489677321384658233, -1489676684761332423},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {274887369285, 64, 3, 12716498, 140737488334416, 12= 716498, 16109281, 3, 140737488347408, 140737488335024, 34048, 93423686, 148= 9677321789408569, 4274192, 140737488347408, 0} } }} save_jump =3D {{ __jmpbuf =3D {12716498, 1489677320759706937, 3, 140737488347408= , 0, 0, 1489677320342373689, -1489676684761332423},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {12839202, 40237510, 16109857, 13754082, 8, 4023751= 0, 274887369285, 64, 3, 12716498, 140737488334416, 12716498, 16109281, 3, 1= 40737488347408, 140737488335024} } }} key_already_recorded =3D 0 tem =3D 12750578 save =3D 140737488343696 previous_echo_area_message =3D 12716498 ---Type to continue, or q to quit--- also_record =3D 12716498 reread =3D 0 gcpro1 =3D { next =3D 0x1ffffd330,=20 var =3D 0x5356a15,=20 nvars =3D 12716498 } gcpro2 =3D { next =3D 0x0,=20 var =3D 0x1,=20 nvars =3D 140737488342976 } polling_stopped_here =3D 1 orig_kboard =3D 0x10e6aa0 #38 0x0000000000573849 in read_key_sequence (keybuf=3D0x7fffffffd800, bufsi= ze=3D30, prompt=3D12716498, dont_downcase_last=3D0, can_return_switch_frame= =3D1, fix_current_buffer=3D1) at keyboard.c:9290 interrupted_kboard =3D 0x10e6aa0 interrupted_frame =3D 0x1324ca0 key =3D 92096341 used_mouse_menu =3D 0 echo_local_start =3D 0 last_real_key_start =3D 0 keys_local_start =3D 0 local_first_binding =3D 0 from_string =3D 12716498 count =3D 2 t =3D 0 echo_start =3D 0 keys_start =3D 0 nmaps =3D 7 nmaps_allocated =3D 7 defs =3D 0x7fffffffd2b0 submaps =3D 0x7fffffffd300 orig_local_map =3D 26498966 orig_keymap =3D 12716498 localized_local_map =3D 0 first_binding =3D 0 first_unbound =3D 31 mock_input =3D 0 fkey =3D { parent =3D 18987686,=20 map =3D 18987686,=20 start =3D 0,=20 end =3D 0 } keytran =3D { parent =3D 12695974,=20 map =3D 12695974,=20 start =3D 0,=20 end =3D 0 } indec =3D { parent =3D 18987670,=20 map =3D 18987670,=20 start =3D 0,=20 end =3D 0 ---Type to continue, or q to quit--- } shift_translated =3D 0 delayed_switch_frame =3D 12716498 original_uppercase =3D 3026 original_uppercase_position =3D -1 dummyflag =3D 0 starting_buffer =3D 0x5356a10 fake_prefixed_keys =3D 12716498 outer_gcpro1 =3D { next =3D 0x57d4755,=20 var =3D 0x100000001,=20 nvars =3D 0 } #39 0x000000000056333a in command_loop_1 () at keyboard.c:1447 cmd =3D 12769746 keybuf =3D {13433074, 24, 3070, 16, 12856386, 140737488345344, 1271= 6546, 56453718, 140737488345184, 5228472, 4307683794, 20073632, 9382806, 12= 769698, 140737488345072, 9410481, 4294956768,=20 12716498, 12716498, 9382817, 140737488345312, 5647192, 1407374883= 45344, 56453718, 0, 20073632, 140737488345376, 0, 140737488345424, 5646701} i =3D 1 prev_modiff =3D 2 prev_buffer =3D 0x57d4750 already_adjusted =3D 0 #40 0x00000000005fe9ff in internal_condition_case (bfun=3D0x562f55 , handlers=3D12768690, hfun=3D0x56283d ) at eval.c:1499 val =3D 0 c =3D { tag =3D 12716498,=20 val =3D 12716498,=20 next =3D 0x7fffffffdb30,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {0, 1489677322020095289, 4274192, 14073748834740= 8, 0, 0, 1489677322131244345, -1489676756818950855},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {16957067316890600761, 0, 140737354130504, 131946= 30, 0, 9329144, 0, 0, 0, 0, 140737351954612, 140733193388033, 0, 0, 1407372= 65632968, 140737353862184} } }},=20 backlist =3D 0x0,=20 handlerlist =3D 0x0,=20 lisp_eval_depth =3D 0,=20 pdlcount =3D 2,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0x0 } h =3D { handler =3D 12768690,=20 var =3D 12716498,=20 chosen_clause =3D 12716546,=20 tag =3D 0x7fffffffd9b0,=20 next =3D 0x0 } #41 0x0000000000562c44 in command_loop_2 (ignore=3D12716498) at keyboard.c:= 1158 val =3D 0 #42 0x00000000005fe389 in internal_catch (tag=3D12764482, func=3D0x562c1e <= command_loop_2>, arg=3D12716498) at eval.c:1256 c =3D { tag =3D 12764482,=20 ---Type to continue, or q to quit--- val =3D 12716498,=20 next =3D 0x0,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {0, 1489677321967666489, 4274192, 14073748834740= 8, 0, 0, 1489677322062038329, -1489676757153708743},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {6183610, 144, 4294967296, 0, 0, 12114560, 127445= 44, 384, 0, 140737488346128, 12942256, 14, 0, 4274192, 140737488347408, 140= 737488346208} } }},=20 backlist =3D 0x0,=20 handlerlist =3D 0x0,=20 lisp_eval_depth =3D 0,=20 pdlcount =3D 2,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0x0 } #43 0x0000000000562bf7 in command_loop () at keyboard.c:1137 No locals. #44 0x0000000000562381 in recursive_edit_1 () at keyboard.c:757 count =3D 1 val =3D 12716498 #45 0x0000000000562524 in Frecursive_edit () at keyboard.c:821 count =3D 0 buffer =3D 12716498 #46 0x00000000005605e2 in main (argc=3D1, argv=3D0x7fffffffe118) at emacs.c= :1706 dummy =3D 4234711 stack_bottom_variable =3D 0 '\000' do_initial_setlocale =3D 1 skip_args =3D 0 rlim =3D { rlim_cur =3D 8720000,=20 rlim_max =3D 18446744073709551615 } no_loadup =3D 0 junk =3D 0x0 dname_arg =3D 0x0 ch_to_dir =3D 0x7ffff2b92c80 "" --=20 Sent from my Emacs