From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Tropin Newsgroups: gmane.emacs.bugs Subject: bug#62291: 30.0.50; PGTK copy + paste to other app problem Date: Tue, 21 Mar 2023 20:13:35 +0400 Message-ID: <877cvaw09c.fsf@trop.in> References: <877cvbiuf9.fsf@trop.in> <87edpj1y4r.fsf@yahoo.com> <871qljisd9.fsf@trop.in> <875yav1twf.fsf@yahoo.com> <878rfqxyff.fsf@trop.in> <87o7omz99g.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62291@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 21 17:15:21 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 1peeds-0005fU-0N for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Mar 2023 17:15:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peedg-0006AY-Pl; Tue, 21 Mar 2023 12:15:09 -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 1peedb-000684-F9 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 12:15:03 -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 1peedb-0007aw-26 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 12:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peeda-0007C1-I5 for bug-gnu-emacs@gnu.org; Tue, 21 Mar 2023 12:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Mar 2023 16:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62291 X-GNU-PR-Package: emacs Original-Received: via spool by 62291-submit@debbugs.gnu.org id=B62291.167941524327544 (code B ref 62291); Tue, 21 Mar 2023 16:15:02 +0000 Original-Received: (at 62291) by debbugs.gnu.org; 21 Mar 2023 16:14:03 +0000 Original-Received: from localhost ([127.0.0.1]:60357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peecc-0007AB-UL for submit@debbugs.gnu.org; Tue, 21 Mar 2023 12:14:03 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:53155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peecZ-00079S-CA for 62291@debbugs.gnu.org; Tue, 21 Mar 2023 12:14:01 -0400 Original-Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 271531BF211; Tue, 21 Mar 2023 16:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1679415231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T3knKQO3srPod+EC+2bKy0IVobqOrVnQgrTtMM5QIQI=; b=MdweAz7SoaL0e1IDR5cVTEyhzM5xG50ZlDDr6rk2QRYltvIiuOIDBJEKySbi/zvMzbAmdU Zxc2pbdxHhW3sFehoIHgdXf6em6EBahLJgoJhmcD22s7c5bFt/Eoy0LFJ8EcONXgFo05Im NVTopweub/fDwnvMxCUML+WFhtly8S2dBVitP9E4RdG5iCguKYUtgnL6hdf6/x/ceOmEmS qbWukt4z90u1Texj0s9m7qv7XaXw+UcT2kvVERgUSTyyFjlqMUhPC83+czW2RXIFVVqrIz 2gy2LprXtfroH6DFzEWsNgnCU6Mjh4550hN4U7VM/lhcHzuoDB7d4PjQuGmYBw== In-Reply-To: <87o7omz99g.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:258354 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2023-03-21 18:30, Po Lu wrote: > Andrew Tropin writes: > >> #0 0x00007ffff71a9424 in signal_emit_unlocked_R.isra.0 () from /gnu/sto= re/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #1 0x00007ffff71af21b in g_signal_emit_valist () from /gnu/store/ginkhx= 2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #2 0x00007ffff71af722 in g_signal_emit () from /gnu/store/ginkhx2irsi4q= wkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #3 0x00007ffff719b884 in g_object_dispatch_properties_changed () from /= gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.s= o.0 >> #4 0x00007ffff719d834 in g_object_notify_by_pspec () from /gnu/store/gi= nkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #5 0x00007ffff79afbcd in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0= s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0 >> #6 0x00007ffff79de357 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0= s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0 >> #7 0x00007ffff71974af in g_closure_invoke () from /gnu/store/ginkhx2irs= i4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #8 0x00007ffff71a89e9 in signal_emit_unlocked_R.isra.0 () from /gnu/sto= re/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #9 0x00007ffff71aed65 in g_signal_emit_valist () from /gnu/store/ginkhx= 2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #10 0x00007ffff71af722 in g_signal_emit () from /gnu/store/ginkhx2irsi4q= wkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0 >> #11 0x00007ffff798ac04 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0= s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0 >> #12 0x00007ffff784b37a in gtk_main_do_event () from /gnu/store/1y2rd23xx= 129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0 >> #13 0x00007ffff7ef23c5 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0= s208aj8p-gtk+-3.24.30/lib/libgdk-3.so.0 >> #14 0x00007ffff7f4f352 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0= s208aj8p-gtk+-3.24.30/lib/libgdk-3.so.0 >> #15 0x00007ffff70a34cb in g_main_context_dispatch () from /gnu/store/gin= khx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libglib-2.0.so.0 >> #16 0x000000000064c548 in pgtk_read_socket (terminal=3D, = hold_quit=3D0x7fffffffba00) at pgtkterm.c:3840 >> #17 pgtk_read_socket (terminal=3D, hold_quit=3D0x7fffffff= ba00) at pgtkterm.c:3819 >> #18 0x0000000000515762 in gobble_input () at keyboard.c:7416 >> #19 0x0000000000515b85 in handle_async_input () at keyboard.c:7647 >> #20 process_pending_signals () at keyboard.c:7661 >> #21 unblock_input_to (level=3D0) at keyboard.c:7676 >> #22 unblock_input_to (level=3D) at keyboard.c:7670 >> #23 0x0000000000516a38 in unblock_input () at keyboard.c:7695 >> #24 timer_check () at keyboard.c:4741 >> #25 0x0000000000516f75 in readable_events (flags=3Dflags@entry=3D1) at k= eyboard.c:3523 >> #26 0x0000000000517138 in get_input_pending (flags=3Dflags@entry=3D1) at= keyboard.c:7366 >> #27 0x000000000051beb8 in detect_input_pending_run_timers (do_display=3D= do_display@entry=3Dtrue) at keyboard.c:10896 >> #28 0x00000000005f40c8 in wait_reading_process_output (time_limit=3Dtime= _limit@entry=3D30, nsecs=3Dnsecs@entry=3D0, read_kbd=3Dread_kbd@entry=3D-1,= do_display=3Ddo_display@entry=3Dtrue,=20 >> wait_for_cell=3Dwait_for_cell@entry=3D0x0, wait_proc=3Dwait_proc@ent= ry=3D0x0, just_wait_proc=3D) at process.c:5779 >> #29 0x0000000000437bd0 in sit_for (timeout=3Dtimeout@entry=3D0x7a, readi= ng=3Dreading@entry=3Dtrue, display_option=3Ddisplay_option@entry=3D1) at di= spnew.c:6256 >> #30 0x000000000051ea0f in read_char (commandflag=3D1, map=3D0xdecb23, pr= ev_event=3D0x0, used_mouse_menu=3D0x7fffffffc55b, end_time=3D0x0) at lisp.h= :759 >> #31 0x000000000051f2ed in read_key_sequence (keybuf=3D, p= rompt=3D0x0, dont_downcase_last=3D, can_return_switch_frame= =3Dtrue, fix_current_buffer=3Dtrue,=20 >> prevent_redisplay=3D) at keyboard.c:10073 >> #32 0x0000000000520f12 in command_loop_1 () at lisp.h:1164 >> --Type for more, q to quit, c to continue without paging-- >> #33 0x0000000000596757 in internal_condition_case (bfun=3Dbfun@entry=3D0= x520d40 , handlers=3Dhandlers@entry=3D0x90, hfun=3Dhfun@ent= ry=3D0x514390 ) at eval.c:1474 >> #34 0x000000000050d13a in command_loop_2 (handlers=3Dhandlers@entry=3D0x= 90) at keyboard.c:1124 >> #35 0x00000000005966b1 in internal_catch (tag=3Dtag@entry=3D0xfea0, func= =3Dfunc@entry=3D0x50d120 , arg=3Darg@entry=3D0x90) at eval.= c:1197 >> #36 0x000000000050d0df in command_loop () at lisp.h:1164 >> #37 0x0000000000513f43 in recursive_edit_1 () at keyboard.c:711 >> #38 0x00000000005142ba in Frecursive_edit () at keyboard.c:794 >> #39 0x000000000042d022 in main (argc=3D, argv=3D) at emacs.c:2529 >> (gdb) frame 12 >> #12 0x00007ffff784b37a in gtk_main_do_event () from /gnu/store/1y2rd23xx= 129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0 >> (gdb) p *event >> No symbol "event" in current context. >> (gdb) p *event >> event_arm_timer event_head = event_queue_insert_if_intersect_below= _current_y[part] >> event_callback event_inotify_dat= a_drop event_queue_t >> event_check event_insert_if_i= ntersect_below_current_y event_source_type_table >> event_dispatch event_kind = event_to_kboard >> event_free[part] event_listeners = event_unmask_signal_data >> event_free_inode_data event_log_delays = eventfd >> event_free_inotify_data event_make_inode_= data eventfd@got[plt] >> event_free_signal_data event_make_inotif= y_data eventfd@plt >> event_funcs event_make_signal= _data eventfd_read >> event_gc_inode_data event_next_pendin= g eventfd_write >> event_gc_signal_data event_prepare=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >> event_get_clock_data event_q=20 >> >> It complains `No symbol "event" in current context.`, am I did something >> wrong? > > Yes, you didn't get debug information loaded in GDB. > > What does: > > (gdb) info sharedlibrary > > say? Ok, with the help of apteryx, I was able to figure it out, there were a problem in grafts mechanism, so A proper command is: guix shell gdb emacs-next-pgtk --with-debug-info=3Demacs-next-pgtk \ =2D-with-debug-info=3Dgtk+ --with-debug-info=3Dglib --no-grafts The output is here: =2D-8<---------------cut here---------------start------------->8--- (gdb) frame 12 #12 0x00007ffff798ac04 in gtk_widget_event_internal (widget=3Dwidget@entry= =3D0xfee500, event=3Devent@entry=3D0xfdb4a0) at gtkwidget.c:7808 7808 in gtkwidget.c (gdb) p *event $3 =3D {type =3D GDK_FOCUS_CHANGE, any =3D {type =3D GDK_FOCUS_CHANGE, wind= ow =3D 0xefc450, send_event =3D 0 '\000'}, expose =3D {type =3D GDK_FOCUS_C= HANGE, window =3D 0xefc450,=20 send_event =3D 0 '\000', area =3D {x =3D 0, y =3D 0, width =3D 0, heigh= t =3D 0}, region =3D 0x0, count =3D 0}, visibility =3D {type =3D GDK_FOCUS_= CHANGE, window =3D 0xefc450,=20 send_event =3D 0 '\000', state =3D GDK_VISIBILITY_UNOBSCURED}, motion = =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000= ', time =3D 0, x =3D 0, y =3D 0, axes =3D 0x0,=20 state =3D 0, is_hint =3D 0, device =3D 0x0, x_root =3D 0, y_root =3D 0}= , button =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event = =3D 0 '\000', time =3D 0, x =3D 0, y =3D 0,=20 axes =3D 0x0, state =3D 0, button =3D 0, device =3D 0x0, x_root =3D 0, = y_root =3D 0}, touch =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, s= end_event =3D 0 '\000', time =3D 0, x =3D 0,=20 y =3D 0, axes =3D 0x0, state =3D 0, sequence =3D 0x0, emulating_pointer= =3D 0, device =3D 0x0, x_root =3D 0, y_root =3D 0}, scroll =3D {type =3D G= DK_FOCUS_CHANGE, window =3D 0xefc450,=20 send_event =3D 0 '\000', time =3D 0, x =3D 0, y =3D 0, state =3D 0, dir= ection =3D GDK_SCROLL_UP, device =3D 0x0, x_root =3D 0, y_root =3D 0, delta= _x =3D 0, delta_y =3D 0, is_stop =3D 0}, key =3D { type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000'= , time =3D 0, state =3D 0, keyval =3D 0, length =3D 0, string =3D 0x0, hard= ware_keycode =3D 0, group =3D 0 '\000',=20 is_modifier =3D 0}, crossing =3D {type =3D GDK_FOCUS_CHANGE, window =3D= 0xefc450, send_event =3D 0 '\000', subwindow =3D 0x0, time =3D 0, x =3D 0,= y =3D 0, x_root =3D 0, y_root =3D 0,=20 mode =3D GDK_CROSSING_NORMAL, detail =3D GDK_NOTIFY_ANCESTOR, focus =3D= 0, state =3D 0}, focus_change =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0= xefc450, send_event =3D 0 '\000', in =3D 1},=20 configure =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event= =3D 0 '\000', x =3D 0, y =3D 0, width =3D 0, height =3D 0}, property =3D {= type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450,=20 send_event =3D 0 '\000', atom =3D 0x0, time =3D 0, state =3D 0}, select= ion =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '= \000', selection =3D 0x0, target =3D 0x0,=20 property =3D 0x0, time =3D 0, requestor =3D 0x0}, owner_change =3D {typ= e =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000', owner= =3D 0x0,=20 reason =3D GDK_OWNER_CHANGE_NEW_OWNER, selection =3D 0x0, time =3D 0, s= election_time =3D 0}, proximity =3D {type =3D GDK_FOCUS_CHANGE, window =3D = 0xefc450, send_event =3D 0 '\000',=20 time =3D 0, device =3D 0x0}, dnd =3D {type =3D GDK_FOCUS_CHANGE, window= =3D 0xefc450, send_event =3D 0 '\000', context =3D 0x0, time =3D 0, x_root= =3D 0, y_root =3D 0}, window_state =3D { type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000'= , changed_mask =3D 0, new_window_state =3D 0}, setting =3D {type =3D GDK_FO= CUS_CHANGE, window =3D 0xefc450,=20 send_event =3D 0 '\000', action =3D GDK_SETTING_ACTION_NEW, name =3D 0x= 0}, grab_broken =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_e= vent =3D 0 '\000', keyboard =3D 0,=20 implicit =3D 0, grab_window =3D 0x0}, touchpad_swipe =3D {type =3D GDK_= FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000', phase =3D 0 '\0= 00', n_fingers =3D 1 '\001', time =3D 0,=20 x =3D 0, y =3D 0, dx =3D 0, dy =3D 0, x_root =3D 0, y_root =3D 0, state= =3D 0}, touchpad_pinch =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450= , send_event =3D 0 '\000', phase =3D 0 '\000',=20 n_fingers =3D 1 '\001', time =3D 0, x =3D 0, y =3D 0, dx =3D 0, dy =3D = 0, angle_delta =3D 0, scale =3D 0, x_root =3D 0, y_root =3D 0, state =3D 0}= , pad_button =3D {type =3D GDK_FOCUS_CHANGE,=20 window =3D 0xefc450, send_event =3D 0 '\000', time =3D 0, group =3D 0, = button =3D 0, mode =3D 0}, pad_axis =3D {type =3D GDK_FOCUS_CHANGE, window = =3D 0xefc450, send_event =3D 0 '\000',=20 time =3D 0, group =3D 0, index =3D 0, mode =3D 0, value =3D 0}, pad_gro= up_mode =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D= 0 '\000', time =3D 0, group =3D 0, mode =3D 0}} =2D-8<---------------cut here---------------end--------------->8--- Thank you for your patience :) =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmQZ168ACgkQIgjSCVjB 3rC9hA//TYht1xxeh74dM/2ZTVQfQom5qHD3UQwd3law6Pot37GcjuxCFsi07Ogl 4RfiItn2Ie54o5+NxwlMXWXbAkgd/vCvtqKnMQmR12B3N+uUKHYIIrrkxkgBeeZB S1bbZYH16RJImQ6JEDMOInKeC8auxqgJAwMar/bi+FH5PLdwxMYxxn8OyqmwiCMC oF5Q5EGry2BcPzRWVGEcfc51UsbrEmWlAYxU9ss9bKcvTh8HUEqTBfSkuK8KrFML 2YC+0y3RaBGjcWyGx9RIGOY2HJdZ8epXw0WlTOySuOeQcuCBoPxp9ChVqbjt33WL pQRgGsA6qK9IRW2PCupVLRtzNFV6bYhASs/KwTQ6PtWXJpl//GFcxe7/bDiSaIE3 08j3oqztCnbrsJMJGk/eOME83FtsGjVNgWmCpqPbGO91BFBjEfbV2sOmxjf9CDSI BeVr8GyjZzyL+rSB+ViYcAmGlDMrDwqqcG/371nI6HxWFo2EAGi6iN4Ukp27Yejp exQiBEj8H8ZQpagqje13NQ5rfizde4LJ9TgXLoqSiR6SIhfgZqA2hNauyu0fZDDS aayioygAyey1EV0B/Ldh7fSN5ulRjcB7SXHulxr3RuVXmHcOOoe9Q1NtStBFV1wj RN/rNxuewabXjpy5yoEfkstnhoE6XG1DmofLCKxFwRcjOMHOmxo= =FlCm -----END PGP SIGNATURE----- --=-=-=--