From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kun Liu Newsgroups: gmane.emacs.bugs Subject: bug#70760: 29.3.50; core dumps when copy in other apps Date: Fri, 17 May 2024 13:43:36 -0700 Message-ID: References: <86wmoagigo.fsf@gnu.org> <86zft5e6yf.fsf@gnu.org> <86wmo8etca.fsf@gnu.org> <86r0egck5b.fsf@gnu.org> <87cyq0tb5w.fsf@gmx.de> <86le4cx3w2.fsf@gnu.org> <87le4be520.fsf@gmx.de> <87a5krdkq2.fsf@gmx.de> <87seyicduz.fsf@gmx.de> <8734qgz9t9.fsf@gmx.de> <86pltkfilr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000868bd30618ac6880" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22513"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus , 70760@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 17 22:45:08 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 1s84Rw-0005i8-Fg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 May 2024 22:45:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s84Rp-0008AB-D7; Fri, 17 May 2024 16:45:01 -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 1s84Rn-00089p-Rp for bug-gnu-emacs@gnu.org; Fri, 17 May 2024 16:44:59 -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 1s84Rn-0000Hl-JU for bug-gnu-emacs@gnu.org; Fri, 17 May 2024 16:44:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s84Rq-0001Hq-E7 for bug-gnu-emacs@gnu.org; Fri, 17 May 2024 16:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kun Liu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 May 2024 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70760 X-GNU-PR-Package: emacs Original-Received: via spool by 70760-submit@debbugs.gnu.org id=B70760.17159786994927 (code B ref 70760); Fri, 17 May 2024 20:45:02 +0000 Original-Received: (at 70760) by debbugs.gnu.org; 17 May 2024 20:44:59 +0000 Original-Received: from localhost ([127.0.0.1]:57190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s84Rn-0001HP-9x for submit@debbugs.gnu.org; Fri, 17 May 2024 16:44:59 -0400 Original-Received: from mail-lj1-f173.google.com ([209.85.208.173]:57503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s84Rk-0001HF-Lc for 70760@debbugs.gnu.org; Fri, 17 May 2024 16:44:57 -0400 Original-Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2e6f33150bcso24849961fa.2 for <70760@debbugs.gnu.org>; Fri, 17 May 2024 13:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715978627; x=1716583427; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rT9wdEW1wqf/AlvMHJb9ndO9Iow4x2MmlZgpUoWNRJc=; b=Y5+Cuh0hhrrFKo5Oj+GLJ8uryHdTBmeRnaQk1taOtAmfLUhr/zkoAk4gMX0j8HYTzo 6Pi5beuaM2fN2va8mz0Hh/4E6mYqWEF7PaKs9yjjU6V2spfgGFK+AvyCTKeYORUwzF3M fOVyVOIEJB30PKYY3lyQRT85kgGsT0vXbwkgCxwLhOnpKZZeDuPX94SxFBzQN3JjEXTb KDhoDgM7lPYIFrA/uTadjP3i8dSKDFnMqul94kWhCwocIWetzxiFyGxmSBLb81a7I52c z3D/Ezu3Br9g5AELGPr9UiIg1yFbLDgoRDbtlrNJqhqoZ30rgkL8LX56eH/Qp4gk9dMr FmUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715978627; x=1716583427; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rT9wdEW1wqf/AlvMHJb9ndO9Iow4x2MmlZgpUoWNRJc=; b=nTHoxITIH2hfqzkDv/1UiEjovWamG53j5szENuaug/iAY5X1+ei+Mjj8TjeUo5K9ZG mSV5lMeP18kNsC9U954lvThICpdVPYxz5ipu9dVY3Hi5la3dPfDbx175qzhTxvlsoo6x yoDHnNOzJFMzyxBZ3L3N0T2rLvvvN5tiSzuW19mfSDsOum88CccRo1OIu19c1S8D/ymQ 6LIvo9j5F83Wp9cw0mE3EKHCGICcJ8EprhRfY8LZ0F+hUs5guHsfijWNVPbffQ3+Kstj 2mxT0ndk3NF5zMMjjxYawZyXG2FlGHiJ2XzFctZfu0q8DuBUYA59vEPifGpixjH193OU bTdQ== X-Forwarded-Encrypted: i=1; AJvYcCUgt+PXDHAx2aNkhmQt9kAVI4SeWSloaknJ+tjhGLY3cbx91ISdQQuaHOBXWzUTrt5pnyx4SohQjWWG+UT1ZfJjKpst6gA= X-Gm-Message-State: AOJu0YyOXEgcm6nI5S+fR6QQQ/w8rjSSTHL+RQxaXWHXWKymh2L9dmVP kAb1vJNlYsiXbZoHl4E0O/EiARoFe6lKE858wz3fmyS3NnTT74S+9iasxxvwYEshUJrJXTAonG8 ReAut1tsFKaSt4qoyorrNs7dCXLI= X-Google-Smtp-Source: AGHT+IHinnO8d7b5zloL6E4om1iAuaOquwFiYfke8aKC7IyOetAR8y0JWNCb1cgIbr6lGR8iQBjAUoP3RNRsxctDi7s= X-Received: by 2002:a2e:b894:0:b0:2e0:dc93:52ef with SMTP id 38308e7fff4ca-2e6f9feefd6mr66386581fa.26.1715978627350; Fri, 17 May 2024 13:43:47 -0700 (PDT) In-Reply-To: <86pltkfilr.fsf@gnu.org> 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:285267 Archived-At: --000000000000868bd30618ac6880 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've tried various combinations of Debian11/12, Emacs 27/28/29/30, native-compilation yes/no. This behavior seems to be always present. On the other hand, based on all the tests I have done, it appears that this issue happens when org-mode is loaded. I will run more tests and report back if I see it happen without org-mode. On Fri, May 17, 2024 at 10:34=E2=80=AFAM Eli Zaretskii wrote= : > > From: Michael Albinus > > Cc: Eli Zaretskii , 70760@debbugs.gnu.org > > Date: Fri, 17 May 2024 18:23:46 +0200 > > > > But what if an event is added to the input event queue, which has an > > arbitrary format? Or an existing event has been modified? It could look > > like a D-Bus event (the car of the event is `dbus-event'), but the rest > > of the list is random. It must not come via the dbusevent.c mechanism > > I've explained above, anybody can push such an event onto then input > > event queue. But I have no idea how to debug this. > > Which file descriptors do we listen to, apart of sub-processes and > inotify? > --000000000000868bd30618ac6880 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've tried various combinations of Debian11/12, Emacs = 27/28/29/30, native-compilation yes/no. This behavior seems to be always pr= esent.

On the other hand, based on all the tests I have = done, it appears that this issue happens when org-mode is loaded. I will ru= n more tests and report back if I see it happen without org-mode.

On F= ri, May 17, 2024 at 10:34=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: Eli Zaretskii <eliz@gnu.org>,=C2=A0 70760@debbugs.gnu.org
> Date: Fri, 17 May 2024 18:23:46 +0200
>
> But what if an event is added to the input event queue, which has an > arbitrary format? Or an existing event has been modified? It could loo= k
> like a D-Bus event (the car of the event is `dbus-event'), but the= rest
> of the list is random. It must not come via the dbusevent.c mechanism<= br> > I've explained above, anybody can push such an event onto then inp= ut
> event queue. But I have no idea how to debug this.

Which file descriptors do we listen to, apart of sub-processes and
inotify?
--000000000000868bd30618ac6880--