From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Abraham S.A.H." via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs Date: Mon, 15 Apr 2024 12:06:39 +0200 (CEST) Message-ID: References: <86edbsdz9i.fsf@gnu.org> <86y1a0cdpx.fsf@gnu.org> <86ttkndgpb.fsf@gnu.org> <86r0fasutv.fsf@gnu.org> <8634rqs8l3.fsf@gnu.org> <878r1i3uk8.fsf@yahoo.com> Reply-To: "Abraham S.A.H." 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="16026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 70073 <70073@debbugs.gnu.org> To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 15 12:08:13 2024 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 1rwJG1-0003tv-7c for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Apr 2024 12:08:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwJFj-0005Oc-SB; Mon, 15 Apr 2024 06:07:55 -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 1rwJFf-0005OJ-3Z for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2024 06:07:53 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwJFe-000301-R9 for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2024 06:07:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwJFp-0005V2-Vn for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2024 06:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Abraham S.A.H." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Apr 2024 10:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70073 X-GNU-PR-Package: emacs Original-Received: via spool by 70073-submit@debbugs.gnu.org id=B70073.171317562620638 (code B ref 70073); Mon, 15 Apr 2024 10:08:01 +0000 Original-Received: (at 70073) by debbugs.gnu.org; 15 Apr 2024 10:07:06 +0000 Original-Received: from localhost ([127.0.0.1]:36854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwJEs-0005MD-TC for submit@debbugs.gnu.org; Mon, 15 Apr 2024 06:07:06 -0400 Original-Received: from w1.tutanota.de ([81.3.6.162]:58714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwJEn-0005Jv-Hq for 70073@debbugs.gnu.org; Mon, 15 Apr 2024 06:07:00 -0400 Original-Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w1.tutanota.de (Postfix) with ESMTP id E6268FBFC76; Mon, 15 Apr 2024 10:06:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1713175599; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=q/td3O5Cz1q45Glba1o0htOfu9zb/RG7XJSIyw874fM=; b=EjtxY1BfKnwtgr+tg//3bIJv5Mb0NxlWIvzDr1fulK5hwoK+putZu0ZuOJ17d3V0 2CnIC3T7UUNt1xsNXc8hyvZ+ZAvLZXKNGavxhXu7L7DagPrczBJKNV05nb55UEReBsj Hqj64cXGM42GgrlrwVKW+jMX5kfUUHPGKfgJRtKtbuD4wVD2ZPrPC59fXaC9HAlcn5s jgzjrEdTRuXWy6/D20k/c347v1L8Edrdwq+EWYw5S7K0kuAGo0Q6/pD+DcMg+HNA7F+ s9vjExUkRxG4bdjQgqOBdNAkcCT+tjpDyRDICzUbH4Xg6xpRt83jgSdbilxu8SFR/62 ecy1oe/DHg== In-Reply-To: <878r1i3uk8.fsf@yahoo.com> 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:283351 Archived-At: Sorry if I caN't work with GDB Properly. I have tried to read the info, but= it didn't help much. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GNU gdb (GDB) 14.2 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: =C2=A0=C2=A0=C2=A0 . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from emacs... (gdb) r -Q Starting program: /usr/bin/emacs -Q gpg-connect-agent: no running gpg-agent - starting '/usr/bin/gpg-agent' gpg-connect-agent: waiting for the agent to come up ... (5s) gpg-connect-agent: connection to the agent established [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffeda006c0 (LWP 5841)] [New Thread 0x7fffe7e006c0 (LWP 5842)] [New Thread 0x7fffed0006c0 (LWP 5843)] [New Thread 0x7fffe74006c0 (LWP 5844)] [New Thread 0x7fffe6a006c0 (LWP 5845)] [New Thread 0x7fffe50006c0 (LWP 5846)] [Thread 0x7fffed0006c0 (LWP 5843) exited] [Detaching after vfork from child process 5907] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. pgtk_handle_selection_request (event=3D0x7fffffffc000) at /usr/src/debug/em= acs/emacs-29.3-wayland/src/pgtkselect.c:573 warning: 573=C2=A0=C2=A0=C2=A0 /usr/src/debug/emacs/emacs-29.3-wayland/src/= pgtkselect.c: No such file or directory (gdb) thread apply all bt Thread 7 (Thread 0x7fffe50006c0 (LWP 5846) "emacs"): #0=C2=A0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1=C2=A0 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2=C2=A0 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3=C2=A0 0x00007ffff6f384bc in g_async_queue_pop () at /usr/lib/libglib-2.0= .so.0 #4=C2=A0 0x00007ffff6046c08 in ??? () at /usr/lib/libpangoft2-1.0.so.0 #5=C2=A0 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #6=C2=A0 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #7=C2=A0 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 6 (Thread 0x7fffe6a006c0 (LWP 5845) "dconf worker"): #0=C2=A0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1=C2=A0 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2=C2=A0 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libg= lib-2.0.so.0 #3=C2=A0 0x00007fffee1c638e in ??? () at /usr/lib/gio/modules/libdconfsetti= ngs.so #4=C2=A0 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5=C2=A0 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6=C2=A0 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffe74006c0 (LWP 5844) "gdbus"): #0=C2=A0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1=C2=A0 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2=C2=A0 0x00007ffff6f6edc7 in g_main_loop_run () at /usr/lib/libglib-2.0.s= o.0 #3=C2=A0 0x00007ffff71ca83c in ??? () at /usr/lib/libgio-2.0.so.0 #4=C2=A0 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5=C2=A0 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6=C2=A0 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7fffe7e006c0 (LWP 5842) "gmain"): #0=C2=A0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1=C2=A0 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2=C2=A0 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libg= lib-2.0.so.0 #3=C2=A0 0x00007ffff6f6d762 in ??? () at /usr/lib/libglib-2.0.so.0 #4=C2=A0 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5=C2=A0 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6=C2=A0 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffeda006c0 (LWP 5841) "pool-spawner"): --Type for more, q to quit, c to continue without paging--c #0=C2=A0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1=C2=A0 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2=C2=A0 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3=C2=A0 0x00007ffff6f9d29e in ??? () at /usr/lib/libglib-2.0.so.0 #4=C2=A0 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5=C2=A0 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6=C2=A0 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7ffff2090080 (LWP 5813) "emacs"): #0=C2=A0 pgtk_handle_selection_request (event=3D0x7fffffffc000) at /usr/src= /debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 #1=C2=A0 0x00005555556fbc8d in pgtk_handle_selection_event (event=3D0x7ffff= fffc000) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:784 #2=C2=A0 process_special_events () at /usr/src/debug/emacs/emacs-29.3-wayla= nd/src/keyboard.c:4449 #3=C2=A0 0x00005555556fcd91 in swallow_events (do_display=3Dtrue) at /usr/s= rc/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4489 #4=C2=A0 0x0000555555831607 in wait_reading_process_output (time_limit=3D, nsecs=3D, read_kbd=3D, do_disp= lay=3D, wait_for_cell=3D, wait_proc=3D, just_wait_proc=3D) at /usr/src/debug/emacs/emacs-2= 9.3-wayland/src/process.c:5788 #5=C2=A0 0x00005555555eea46 in sit_for (timeout=3D, reading= =3D, display_option=3D) at /usr/src/debug/ema= cs/emacs-29.3-wayland/src/dispnew.c:6264 #6=C2=A0 0x0000555555705551 in read_char (commandflag=3D1, map=3D0x555556d9= 5bc3, prev_event=3D0x0, used_mouse_menu=3D0x7fffffffcb2b, end_time=3D0x0) a= t /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:2881 #7=C2=A0 0x00005555558d7de7 in read_key_sequence.constprop.0 (keybuf=3D, prevent_redisplay=3Dfalse, fix_current_buffer=3D, can_return_switch_frame=3D, dont_downcase_last=3D, prompt=3D) at /usr/src/debug/emacs/emacs-29.3-wayla= nd/src/keyboard.c:10084 #8=C2=A0 0x00005555556f50f4 in command_loop_1 () at /usr/src/debug/emacs/em= acs-29.3-wayland/src/keyboard.c:1384 #9=C2=A0 0x00005555557b50df in internal_condition_case (bfun=3D0x5555556f4e= 20 , handlers=3D, hfun=3D0x5555556f2890 ) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1474 #10 0x00005555556f2b6e in command_loop_2 (handlers=3Dhandlers@entry=3D0x90)= at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1133 #11 0x00005555557b5035 in internal_catch (tag=3D, func=3D0x5= 555556f2b40 , arg=3D0x90) at /usr/src/debug/emacs/emacs-29.= 3-wayland/src/eval.c:1197 #12 0x00005555556f48f9 in command_loop () at /usr/src/debug/emacs/emacs-29.= 3-wayland/src/keyboard.c:1111 #13 0x000055555590ceb0 in recursive_edit_1.isra.0 () at /usr/src/debug/emac= s/emacs-29.3-wayland/src/keyboard.c:720 #14 0x00005555556f4e00 in Frecursive_edit () at /usr/src/debug/emacs/emacs-= 29.3-wayland/src/keyboard.c:803 #15 0x00005555556fa777 in main (argc=3D, argv=3D0x7fffffffd2= 48) at /usr/src/debug/emacs/emacs-29.3-wayland/src/emacs.c:2521 (gdb) p *(struct selection_input_event *) event $1 =3D {kind =3D SELECTION_REQUEST_EVENT, dpyinfo =3D 0x56243690, requestor= =3D 0x55555651b3d0, selection =3D 0x1, target =3D 0x4d, property =3D 0x5e,= time =3D 0} (gdb) p *dpyinfo value has been optimized out (gdb) p *dpyinfo->terminal value has been optimized out (gdb) kill Kill the program being debugged? (y or n) y [Inferior 1 (process 5813) killed] (gdb) q ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Best Regards, Abraham Sent with Tutanota; https://tuta.com