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: Sun, 5 May 2024 09:44:55 -0700 Message-ID: References: <86wmoagigo.fsf@gnu.org> <86zft5e6yf.fsf@gnu.org> <86wmo8etca.fsf@gnu.org> <86r0egck5b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000dfe3180617b7ac9e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20110"; 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 Sun May 05 18:46:37 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 1s3f0W-0004wi-My for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 May 2024 18:46:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3f0H-00017Y-Gw; Sun, 05 May 2024 12:46:23 -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 1s3ezb-0000oY-B7 for bug-gnu-emacs@gnu.org; Sun, 05 May 2024 12:45:48 -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 1s3eza-0000UN-Vb for bug-gnu-emacs@gnu.org; Sun, 05 May 2024 12:45:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3ezy-0001cO-Kj for bug-gnu-emacs@gnu.org; Sun, 05 May 2024 12:46: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: Sun, 05 May 2024 16:46: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.17149275406208 (code B ref 70760); Sun, 05 May 2024 16:46:02 +0000 Original-Received: (at 70760) by debbugs.gnu.org; 5 May 2024 16:45:40 +0000 Original-Received: from localhost ([127.0.0.1]:60632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3ezb-0001c4-GH for submit@debbugs.gnu.org; Sun, 05 May 2024 12:45:40 -0400 Original-Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:61556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3ezZ-0001bx-4W for 70760@debbugs.gnu.org; Sun, 05 May 2024 12:45:38 -0400 Original-Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2dfb4ea2bbfso13245881fa.2 for <70760@debbugs.gnu.org>; Sun, 05 May 2024 09:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714927507; x=1715532307; 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=SqDjS1NxXQuOKTpZVrO1gOT80mD+PUxcA703V1mRxe4=; b=Gmcodnp2TKMiMasm+mgm5gPohnXAm3OKtSz/ncUHGjuBC/oRnwv2bih8OwWQ4kJJZK V2UM2Gs2rPnejxnkknoVZbXCXTeFivqbyew6FNuKrXBuGuQ3lMXABBFQ56pTPyOKuYjW vQmruOw8PpyWHzJxlRaB9OtvuVbZ5hQRfEhw9HtQJz6sSG59RdA792+elufZ+4wJP9kr OgtvCzW6/jWs6LYMhAxZD1ZMlNClLKx75jfPgJzEWaPqe8zNGE4bLx+IDU9demSftiNV lZI1vSf7zE49YOxpWORhHeEokJZeEsNcmrhQ7olkW+DryQudsIAAuB2ySqXtzPwZVhIg Bmww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714927507; x=1715532307; 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=SqDjS1NxXQuOKTpZVrO1gOT80mD+PUxcA703V1mRxe4=; b=H6l+IMA9YPPjc7dw91lerAie+kJnl71g2PBXL7Olv2p2hNKIO3YjFK8TMn/ZpVoJDe TpDkHDf8cDLBhLghTnYreJKhTOC+RM5pMdGhtLmn9JqQu1cs1rgf2OPjIw5mOgQnR6ME p5tdQsVoit01RcvlSbY4Hm2/ccb5VHnBbdA92Ria52ylFXFdFsFrd2o85S4dSyAwJbSa YjnpvLO0a5XFJMF0HmXPL7MphAdoM65VCNRvnoIGyHLWgYGn55YjRGzDEnk7uE10f38I 5Ce2iyXnhQG2o+CXgwCTB5q44SlbNzBZnVq2wLy+ke3dGjwWIsBdnrfzDmw2ba7JMv9f 190w== X-Forwarded-Encrypted: i=1; AJvYcCV0GU8Ty91IhDqBre7aYNLtr4cqI/1N+YD4SDmCf6RKzRt3FR5LzrX0cuQ3QeWLKfl/fpK6BiULoAC1HzQjUWV7cSaqAYs= X-Gm-Message-State: AOJu0Yyw6WAGOysn6PtNAJ948FVuLSghgUOD2N4e8I9y4cfF2rZ3v6C1 R2qKeSqzM1o2F92gL3gvqtUKAsLn2N6mxkxhjvSMMPXrejj8mGogGFy0ntbAvnUvkwaaIo90ElQ BNw6LW9BRT9EFL2NQ8cjnWZ6duxI= X-Google-Smtp-Source: AGHT+IGxtn0cGUjoLRf9H9rSsfvk5NSykWb+dFHB9xLhzTpbYQlughdCXQ/rlZ91h0PR98J/lYMtudsDQ69GzstmueI= X-Received: by 2002:a05:651c:81d:b0:2d8:df61:9c6c with SMTP id r29-20020a05651c081d00b002d8df619c6cmr3696997ljb.20.1714927507069; Sun, 05 May 2024 09:45:07 -0700 (PDT) In-Reply-To: <86r0egck5b.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:284516 Archived-At: --000000000000dfe3180617b7ac9e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am not sure how VirtualBox deals with Ctrl-C on the Windows side. I will look into it when I have time. I did more tests. Observations: 1) It *appears* that the problem is there only when I have a shell buffer (M-x shell). I will do more tests and report back. 2) The error messages seem to vary. For example, I saw the following two different ones when copying: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) dbus-handle-event((dbus-event (calendar-cursor-holidays (calendar-current-date)))) funcall-interactively(dbus-handle-event (dbus-event (calendar-cursor-holidays (calendar-current-date)))) command-execute(dbus-handle-event nil [(dbus-event (calendar-cursor-holidays (calendar-current-date)))] t) Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) dbus-handle-event((dbus-event (if above 1 2))) funcall-interactively(dbus-handle-event (dbus-event (if above 1 2))) command-execute(dbus-handle-event nil [(dbus-event (if above 1 2))] t) On Sun, May 5, 2024 at 9:12=E2=80=AFAM Eli Zaretskii wrote: > > From: Kun Liu > > Date: Sun, 5 May 2024 08:45:34 -0700 > > Cc: 70760@debbugs.gnu.org > > > > I did (setq debug-on-error t), went to > https://en.wikipedia.org/wiki/Emacs, randomly selected a fragment > > "Emacs has over", then did a ctrll+c. > > > > Emacs in VirtualBox immediately showed the following: > > > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p > nil) > > dbus-handle-event((dbus-event "[ \11]*$")) > > funcall-interactively(dbus-handle-event (dbus-event "[ \11]*$")) > > call-interactively(dbus-handle-event nil [(dbus-event "[ \11]*$")]) > > command-execute(dbus-handle-event nil [(dbus-event "[ \11]*$")] t) > > Does VirtualBox have anything in its documentation that suggests that > Ctrl-C on the Windows side will cause a D-Bus event on the VM side? > > Michael, any idea what is this D-Bus event, and what does it have to > do with copying into the Windows clipboard? > > Thanks. > --000000000000dfe3180617b7ac9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am not sure how VirtualBox deals with Ctrl-C on the= Windows side. I will=C2=A0look into it when I have time.

I did more tests. Observations:

1) It *app= ears* that the problem is there only when I have a shell buffer (M-x shell)= . I will do more tests and report back.

2) The err= or messages seem to vary. For example, I saw the following two different on= es when copying:

Debugger entered--Lisp error: (wr= ong-type-argument number-or-marker-p nil)
=C2=A0 dbus-handle-event((dbus= -event (calendar-cursor-holidays (calendar-current-date))))
=C2=A0 funca= ll-interactively(dbus-handle-event (dbus-event (calendar-cursor-holidays (c= alendar-current-date))))
=C2=A0 command-execute(dbus-handle-event nil [(= dbus-event (calendar-cursor-holidays (calendar-current-date)))] t)

D= ebugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)=C2=A0 dbus-handle-event((dbus-event (if above 1 2)))
=C2=A0 funcall-i= nteractively(dbus-handle-event (dbus-event (if above 1 2)))
=C2=A0 comma= nd-execute(dbus-handle-event nil [(dbus-event (if above 1 2))] t)
=
On Sun= , May 5, 2024 at 9:12=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Kun Liu <kun.liu@gmail.com>
> Date: Sun, 5 May 2024 08:45:34 -0700
> Cc: 70760@d= ebbugs.gnu.org
>
> I did (setq debug-on-error t), went to https://en.wikipedia.= org/wiki/Emacs, randomly selected a fragment
> "Emacs has over", then did a ctrll+c.
>
> Emacs in VirtualBox immediately showed the following:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p = nil)
>=C2=A0 =C2=A0dbus-handle-event((dbus-event "[ \11]*$"))
>=C2=A0 =C2=A0funcall-interactively(dbus-handle-event (dbus-event "= [ \11]*$"))
>=C2=A0 =C2=A0call-interactively(dbus-handle-event nil [(dbus-event &quo= t;[ \11]*$")])
>=C2=A0 =C2=A0command-execute(dbus-handle-event nil [(dbus-event "[= \11]*$")] t)

Does VirtualBox have anything in its documentation that suggests that
Ctrl-C on the Windows side will cause a D-Bus event on the VM side?

Michael, any idea what is this D-Bus event, and what does it have to
do with copying into the Windows clipboard?

Thanks.
--000000000000dfe3180617b7ac9e--