From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: leohdz172--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63614: 29.0.91; PGTK Emacs crashes after clearing the clipboard Date: Thu, 25 May 2023 05:34:04 +0000 Message-ID: References: <253496c1-088b-b54f-3c64-1cc563e70f24@proton.me> <87ilclyxt3.fsf@yahoo.com> <875y8iussr.fsf@yahoo.com> Reply-To: Leonardo =?UTF-8?Q?Hern=C3=A1ndez_?= =?UTF-8?Q?Hern=C3=A1ndez?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23278"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63614@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 25 09:31:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q25RY-0005rp-98 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 May 2023 09:31:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q25RC-0002Gz-09; Thu, 25 May 2023 03:31:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q25R8-0002G5-BG for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 03:31:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q25R7-00012p-Vc for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 03:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q25R7-0007mp-RI for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 03:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leonardo =?UTF-8?Q?Hern=C3=A1ndez_?= =?UTF-8?Q?Hern=C3=A1ndez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 May 2023 07:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63614 X-GNU-PR-Package: emacs Original-Received: via spool by 63614-submit@debbugs.gnu.org id=B63614.168499981529857 (code B ref 63614); Thu, 25 May 2023 07:31:01 +0000 Original-Received: (at 63614) by debbugs.gnu.org; 25 May 2023 07:30:15 +0000 Original-Received: from localhost ([127.0.0.1]:45832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q25QM-0007lS-5O for submit@debbugs.gnu.org; Thu, 25 May 2023 03:30:15 -0400 Original-Received: from mail-40141.protonmail.ch ([185.70.40.141]:36419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q23c8-0004Gl-Nn for 63614@debbugs.gnu.org; Thu, 25 May 2023 01:34:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1684992849; x=1685252049; bh=LsZ8Ldba27M14YOIBc9I4A5n/QVHcWZ0x2hmAxDBoo0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=QU97PhNbw2z7ZRqENRGYz8RJwhU035RvktDQjonTBnQmh/+Xfwd3P/YMwet139HJs NyLsn0mcsKGTG6FKBxRifgnfPODQJThJfYpHNFG81vt8WPKtjDIV6UFpzpP4p5Qqa7 S6I/tUF+HRFESUdTTcwS7FwTlpw+AsGmmnWRqke/za1CCzRa1zukpcbqPEk9h+YMz3 k1WVjcJedYkhUKg8jpYRz22eMmzJVKWwdvLh3tR/5Cte9UFb5YiVqHC7oEfQHpJuvu rWDcQkxUwqY+5Yqy4/Dq03kcg25WV0JarkKvnNJa4Vh76uNidGCqPQ/bDpPhnLjXqt UOvbHX6miSa2A== In-Reply-To: <875y8iussr.fsf@yahoo.com> Feedback-ID: 45473059:user:proton X-Mailman-Approved-At: Thu, 25 May 2023 03:30:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262346 Archived-At: > It's been three days, and I doubt this is from the same GDB session > that produced the backtrace I replied to. > Indeed, I'm sorry. > Would you please show a > new: >=20 > (gdb) bt full >=20 > again? (gdb) bt full #0 0x00007fdbd562a8ec in () at /usr/lib64/libc.so.6 #1 0x00007fdbd55db3e2 in raise () at /usr/lib64/libc.so.6 #2 0x000055d8da403c6a in terminate_due_to_signal (sig=3D11, backtrace_limi= t=3D) at emacs.c:464 #3 0x000055d8da404abd in handle_fatal_signal (sig=3D11) at sysdep.c:1783 fatal =3D #4 deliver_thread_signal (handler=3D, sig=3D11) at sysdep.c= :1775 fatal =3D #5 deliver_fatal_thread_signal (sig=3D11) at sysdep.c:1795 fatal =3D #6 handle_sigsegv (sig=3D11, siginfo=3D0x55d8dac8bcb0 , arg=3D) at sysdep.c:1888 fatal =3D #7 0x00007fdbd55db490 in () at /usr/lib64/libc.so.= 6 #8 0x000055d8da6bd059 in pgtk_handle_selection_clear (event=3D) at pgtkselect.c:742 selection =3D changed_owner_time =3D 0 selection_symbol =3D local_selection_data =3D local_selection_time =3D dpyinfo =3D 0xdb87f650 Vselection_alist =3D #9 0x000055d8da520ab6 in pgtk_handle_selection_event (event=3D0x7ffffcfeea= 00) at pgtkselect.c:782 event =3D 0x55d8dac3bc20 copy =3D {kind =3D SELECTION_CLEAR_EVENT, dpyinfo =3D 0xdb87f650, r= equestor =3D 0x0, selection =3D 0x45, target =3D 0x0, property =3D 0x0, tim= e =3D 0} moved_events =3D #10 process_special_events () at keyboard.c:4449 event =3D 0x55d8dac3bc20 copy =3D {kind =3D SELECTION_CLEAR_EVENT, dpyinfo =3D 0xdb87f650, r= equestor =3D 0x0, selection =3D 0x45, target =3D 0x0, property =3D 0x0, tim= e =3D 0} moved_events =3D #11 0x000055d8da521cbd in swallow_events (do_display=3Dtrue) at keyboard.c:= 4489 old_timers_run =3D #12 0x000055d8da63da7c in wait_reading_process_output (time_limit=3D, nsecs=3D, read_kbd=3D, do_display=3D, wait_for_cell=3D,= wait_proc=3D, just_wait_proc=3D) at process.= c:5781 leave =3D false wrapped =3D process_skipped =3D channel_start =3D child_fd =3D channel =3D nfds =3D Available =3D {fds_bits =3D {16, 0 }} Writeok =3D {fds_bits =3D {0 }} check_write =3D true check_delay =3D no_avail =3D false xerrno =3D 11 proc =3D timeout =3D {tv_sec =3D 0, tv_nsec =3D 0} end_time =3D {tv_sec =3D , tv_nsec =3D } timer_delay =3D {tv_sec =3D , tv_nsec =3D } got_output_end_time =3D {tv_sec =3D , tv_nsec =3D } wait =3D got_some_output =3D prev_wait_proc_nbytes_read =3D retry_for_async =3D count =3D {bytes =3D } now =3D {tv_sec =3D , tv_nsec =3D } last_read_channel =3D -1 #13 0x000055d8da41e3a0 in sit_for (timeout=3D, reading=3D, display_option=3D) at dispnew.c:6264 sec =3D 30 nsec =3D 0 do_display =3D curbuf_eq_winbuf =3D true nbytes =3D #14 0x000055d8da52a5c5 in read_char (commandflag=3D1, map=3D0x55d8dbdab6d3,= prev_event=3D0x0, used_mouse_menu=3D0x7ffffcfef4fb, end_time=3D0x0) at key= board.c:2881 delay_level =3D buffer_size =3D c =3D 0x0 local_getcjmp =3D {{__jmpbuf =3D {94389871329920, -4940312681896898= 891, 1, 140582085818120, 0, 94389890508307, -4940312682234540363, -12074676= 47118897483}, __mask_was_saved =3D 0, __saved_mask =3D {__val =3D {94389865= 389056, 94389889840131, 586, 2, 94389865403823, 140737437954896, 40080, 140= 737437954784, 0, 0, 140582085818125, 0, 94389889840131, 0, 146, 147}}}} save_jump =3D {{__jmpbuf =3D {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_s= aved =3D 0, __saved_mask =3D {__val =3D {0 }}}} tem =3D save =3D previous_echo_area_message =3D 0x0 also_record =3D 0x0 reread =3D false recorded =3D false polling_stopped_here =3D false orig_kboard =3D 0x55d8db7facb0 #15 0x000055d8da6d84b7 in read_key_sequence.constprop.0 (keybuf=3D, prevent_redisplay=3Dfalse, fix_current_buffe= r=3D, can_return_switch_frame=3D, dont_downca= se_last=3D, prompt=3D) at keyboard.c:10083 interrupted_kboard =3D 0x55d8db7facb0 key =3D used_mouse_menu =3D false echo_local_start =3D 0 last_real_key_start =3D 0 keys_local_start =3D 0 new_binding =3D t =3D 0 echo_start =3D 0 keys_start =3D 0 current_binding =3D 0x55d8dbdab6d3 first_unbound =3D 31 mock_input =3D 0 used_mouse_menu_history =3D {false } fkey =3D {parent =3D 0x55d8db691393, map =3D 0x55d8db691393, start = =3D 0, end =3D 0} keytran =3D {parent =3D 0x7fdbd1c0897b, map =3D 0x7fdbd1c0897b, sta= rt =3D 0, end =3D 0} indec =3D {parent =3D 0x55d8db6913a3, map =3D 0x55d8db6913a3, start= =3D 0, end =3D 0} shift_translated =3D delayed_switch_frame =3D original_uppercase =3D original_uppercase_position =3D dummyflag =3D false fake_prefixed_keys =3D 0x0 first_event =3D 0x0 second_event =3D #16 0x000055d8da51dc5a in command_loop_1 () at keyboard.c:1384 cmd =3D keybuf =3D {0x5e, 0x55d8da5dc786 , 0x55d8db63e510, 0= x55d8da63530c , 0x0, 0x80, 0x0, 0x7fdbd190e738, 0x55d8d= a78c020 , 0x7fdbd1ce62b5, 0x55d8db6843c4, 0x0, 0x55d8= da716314, 0x7fdbd6f01705, 0x53474e, 0x7fdbd5638400, 0x7ffffcfefaf0, 0xe90a4= 5cb1b95ae00, 0x9510, 0x55d8da71cd60, 0x7ffffcfef7c0, 0x60, 0x55d8db6843c4, = 0x0, 0x55d8da78c020 , 0x55d8da51b995 , 0x55d8da716314, 0x7fdbd5638f12 , 0x15, 0x30} i =3D prev_modiff =3D 31 prev_buffer =3D 0x7fdbd1497708 #17 0x000055d8da5d6b67 in internal_condition_case (bfun=3D0x55d8da51d990 , handlers=3D, hfun=3D0x55d8da51b3f0 ) at eval.c:1474 val =3D c =3D 0x55d8db688350 #18 0x000055d8da51b6ae in command_loop_2 (handlers=3Dhandlers@entry=3D0x90)= at keyboard.c:1133 val =3D #19 0x000055d8da5d6abc in internal_catch (tag=3D, func=3D0x5= 5d8da51b680 , arg=3D0x90) at eval.c:1197 val =3D c =3D 0x55d8db687de0 #20 0x000055d8da51d479 in command_loop () at keyboard.c:1111 #21 0x000055d8da70b9b0 in recursive_edit_1.isra.0 () at keyboard.c:720 val =3D #22 0x000055d8da51d95c in Frecursive_edit () at keyboard.c:803 buffer =3D #23 0x000055d8da411b9d in main (argc=3D, argv=3D0x7ffffcfefc= 08) at emacs.c:2529 stack_bottom_variable =3D 0x0 no_loadup =3D false junk =3D 0x0 dname_arg =3D 0x0 ch_to_dir =3D 0x0 original_pwd =3D 0x0 dump_mode =3D skip_args =3D 0 temacs =3D 0x0 attempt_load_pdump =3D only_version =3D false rlim =3D {rlim_cur =3D 10022912, rlim_max =3D 18446744073709551615} lc_all =3D sockfd =3D -1 module_assertions =3D (gdb) frame 8 #8 0x000055d8da6bd059 in pgtk_handle_selection_clear (event=3D) at pgtkselect.c:742 742=09 local_selection_data =3D LOCAL_SELECTION (selection_symbol, dpyinfo)= ; (gdb) p *event value has been optimized out (gdb) frame 9 #9 0x000055d8da520ab6 in pgtk_handle_selection_event (event=3D0x7ffffcfeea= 00) at pgtkselect.c:782 782=09 pgtk_handle_selection_clear (event); (gdb) p *event $1 =3D {kind =3D SELECTION_CLEAR_EVENT, dpyinfo =3D 0xdb87f650, requestor = =3D 0x0, selection =3D 0x45, target =3D 0x0, property =3D 0x0, time =3D 0} (gdb) p *event->selection $2 =3D (gdb) p *event->dpyinfo Cannot access memory at address 0xdb87f650 (gdb) p *x_display_list $3 =3D {next =3D 0x0, terminal =3D 0x55d8db7627f0, {gdpy =3D 0x55d8db798b10= , display =3D 0x55d8db798b10}, name_list_element =3D 0x55d8db691383, refere= nce_count =3D 1, x_id =3D 1, x_id_name =3D 0x55d8db85dad0 "emacs@gentoo", n_fonts =3D 5, smallest_char= _width =3D 2, smallest_font_height =3D 15, bitmaps =3D 0x0, bitmaps_size = =3D 0, bitmaps_last =3D 0, resx =3D 96, resy =3D 96, grabbed =3D 0, n_planes =3D 32, color_p =3D 1, icon_bitmap_id =3D -2, roo= t_window =3D 42, rdb =3D 0x0, vertical_scroll_bar_cursor =3D 0x55d8db81adc0= , horizontal_scroll_bar_cursor =3D 0x55d8db863eb0, mouse_highlight =3D {mouse_face_beg_row =3D -1, mouse_face_beg_col =3D -1= , mouse_face_beg_x =3D 0, mouse_face_end_row =3D -1, mouse_face_end_col =3D= -1, mouse_face_end_x =3D 0, mouse_face_window =3D 0x0, mouse_face_face_id =3D 0, mouse_face_overlay =3D 0x0, mouse_face_mouse_= frame =3D 0x0, mouse_face_mouse_x =3D 0, mouse_face_mouse_y =3D 0, mouse_fa= ce_past_end =3D false, mouse_face_defer =3D false, mouse_face_hidden =3D false}, highlight_frame =3D 0x0, x_focus_frame = =3D 0x0, x_focus_event_frame =3D 0x0, last_mouse_frame =3D 0x0, last_mouse_= motion_frame =3D 0x0, last_mouse_motion_x =3D 0, last_mouse_motion_y =3D 0, last_mouse_glyph =3D {x =3D 0, y =3D 0, width = =3D 0, height =3D 0}, last_mouse_movement_time =3D 0, last_user_time =3D 43= 447740, last_mouse_scroll_bar =3D 0x0, invisible_cursor =3D 0x55d8db883f40, xg_cursor =3D 0x55d8db884c40, device= s =3D 0x55d8db88f310, last_mouse_glyph_frame =3D 0x0, last_click_event =3D = 0x0, im =3D {context =3D 0x55d8db8674c0, focused_frame =3D 0x0}, scroll =3D {acc_x =3D 0, acc_y =3D 0, x_per_cha= r =3D 1, y_per_line =3D 1}, connection =3D 4} (gdb) p kbd_buffer[1088].sie $4 =3D {kind =3D NO_EVENT, dpyinfo =3D 0x0, requestor =3D 0x0, selection = =3D 0x0, target =3D 0x0, property =3D 0x0, time =3D 0} (gdb) quit