unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kun Liu <kun.liu@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Eli Zaretskii <eliz@gnu.org>, 70760@debbugs.gnu.org
Subject: bug#70760: 29.3.50; core dumps when copy in other apps
Date: Wed, 15 May 2024 11:25:13 -0700	[thread overview]
Message-ID: <CA+Nei8PAk1V76A2VMomd=7rp5RgL=-brZYgGV_bw8Bq5ubH3Sw@mail.gmail.com> (raw)
In-Reply-To: <87a5krdkq2.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 6627 bytes --]

I did some more tests.

On fresh start, I open a new org file, say '/tmp/test.org'. I will
immediately see the following in *Messages* buffer. Opening other files (I
tried csv, py, txt, cpp, c, java) has no such effect.

(New file)
xd_add_watch: fd 14, write 2, enabled 0
xd_add_watch: fd 14, write 0, enabled 1
Fdbus__init_bus: Registered buses: ((:system . 23518017264452))
Fdbus__init_bus: Bus :system, Reference counter 2
Fdbus_message_internal: DBUS_MESSAGE_TYPE_METHOD_CALL :system
org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch
dbus-call-method-handler
Fdbus_message_internal: Parameter1:
type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected',path='/org/freedesktop/DBus/Local'
xd_signature: s
xd_append_arg: s
type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected',path='/org/freedesktop/DBus/Local'
Fdbus_message_internal: Message sent: (:serial :system 2)
xd_retrieve_arg: s :1.492
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 2
org.freedesktop.DBus :1.492 /org/freedesktop/DBus org.freedesktop.DBus
NameAcquired ((:string :1.492))
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_METHOD_RETURN 2
org.freedesktop.DBus :1.492 (null) (null) (null) nil
xd_read_message_1: Event stored: (:system 2 2 org.freedesktop.DBus :1.492
nil nil nil dbus-call-method-handler)
DBus-Event (dbus-event :system 2 2 org.freedesktop.DBus :1.492 nil nil nil
dbus-call-method-handler) [3 times]
Matching rule
"type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected',path='/org/freedesktop/DBus/Local'"
created
xd_add_watch: fd 15, write 2, enabled 0
xd_add_watch: fd 15, write 0, enabled 1
Fdbus__init_bus: Registered buses: ((:session . 23518017267316) (:system .
23518017264452))
Fdbus__init_bus: Bus :session, Reference counter 2
Fdbus_message_internal: DBUS_MESSAGE_TYPE_METHOD_CALL :session
org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch
dbus-call-method-handler
Fdbus_message_internal: Parameter1:
type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected',path='/org/freedesktop/DBus/Local'
xd_signature: s
xd_append_arg: s
type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected',path='/org/freedesktop/DBus/Local'
Fdbus_message_internal: Message sent: (:serial :session 2)
xd_retrieve_arg: s :1.1051
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 2
org.freedesktop.DBus :1.1051 /org/freedesktop/DBus org.freedesktop.DBus
NameAcquired ((:string :1.1051))
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_METHOD_RETURN 2
org.freedesktop.DBus :1.1051 (null) (null) (null) nil
xd_read_message_1: Event stored: (:session 2 2 org.freedesktop.DBus :1.1051
nil nil nil dbus-call-method-handler)
DBus-Event (dbus-event :session 2 2 org.freedesktop.DBus :1.1051 nil nil
nil dbus-call-method-handler) [3 times]
Matching rule
"type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected',path='/org/freedesktop/DBus/Local'"
created

On Wed, May 15, 2024 at 10:54 AM Michael Albinus <michael.albinus@gmx.de>
wrote:

> Kun Liu <kun.liu@gmail.com> writes:
>
> Hi,
>
> > Here is a couple of instances of what I saw in *Messages* right after
> > I was able to trigger the problem.
>
> So no messages from dbusbond.c, which is good for analysis: the events
> haven't benn inserted via the D-Bus system of your machine.
>
> > case 1:
> >
> > DBus-Event (dbus-event :post-blank 0 :post-affiliated 1455145 :mode
> > nil :granularity element :cached t :parent (section (:begin 1179957 :
> > end 1609350 :contents-begin 1179957 :contents-end 1609349 :
> > robust-begin 1179957 :robust-end 1609347 :post-blank 1 :
> > post-affiliated 1179957 :mode section :granularity element :cached t :
> > parent (headline (:raw-value Old stuff :begin 1179945 :end 1609350 :
> > pre-blank 0 :contents-begin 1179957 :contents-end 1609349 :
> > robust-begin 1180109 :robust-end 1609347 :level 1 :priority nil :tags
> > nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p
> > nil :archivedp nil :commentedp nil :post-affiliated 1179945 :
> > ARCHIVE_TIME 2020-10-17 Sat 15:00 :ARCHIVE_FILE ~/work/worklog.org :
> > ARCHIVE_OLPATH Scratch :ARCHIVE_CATEGORY worklog :title Old stuff :
> > mode nil :granularity element :cached t :parent (org-data (:begin 1 :
> > contents-begin 1 :contents-end 15432855 :end 15432856 :robust-begin 3 :
> > robust-end 15432853 :post-blank 1 :post-affiliated 1 :path
> > /home/kun/work/worklog.org_archive :mode org-data :CATEGORY worklog :
> > cached t :org-element--cache-sync-key nil)) :
> > org-element--cache-sync-key nil)) :org-element--cache-sync-key nil)) :
> > org-element--cache-sync-key nil) [2 times]
> > Entering debugger...
> > DBus-Event (dbus-event x . make4ht)
> > funcall-interactively: Wrong type argument: listp, "make4ht"
>
> The :post-blank keyword exist in org/*.el files only.
>
> > case 2:
> >
> > DBus-Event (dbus-event :post-blank 0 :post-affiliated 1455145 :mode
> > nil :granularity element :cached t :parent (section (:begin 1179957 :
> > end 1609350 :contents-begin 1179957 :contents-end 1609349 :
> > robust-begin 1179957 :robust-end 1609347 :post-blank 1 :
> > post-affiliated 1179957 :mode section :granularity element :cached t :
> > parent (headline (:raw-value Old stuff :begin 1179945 :end 1609350 :
> > pre-blank 0 :contents-begin 1179957 :contents-end 1609349 :
> > robust-begin 1180109 :robust-end 1609347 :level 1 :priority nil :tags
> > nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p
> > nil :archivedp nil :commentedp nil :post-affiliated 1179945 :
> > ARCHIVE_TIME 2020-10-17 Sat 15:00 :ARCHIVE_FILE ~/work/worklog.org :
> > ARCHIVE_OLPATH Scratch :ARCHIVE_CATEGORY worklog :title Old stuff :
> > mode nil :granularity element :cached t :parent (org-data (:begin 1 :
> > contents-begin 1 :contents-end 15432855 :end 15432856 :robust-begin 3 :
> > robust-end 15432853 :post-blank 1 :post-affiliated 1 :path
> > /home/kun/work/worklog.org_archive :mode org-data :CATEGORY worklog :
> > cached t :org-element--cache-sync-key nil)) :
> > org-element--cache-sync-key nil)) :org-element--cache-sync-key nil)) :
> > org-element--cache-sync-key nil) [2 times]
> > dbus-event-bus-name: D-Bus error: "Not a valid D-Bus event",
> > (dbus-event :post-blank 0 :post-affiliated 1455145 :mode nil :
> > granularity element :cached ...)
>
> And here the same.
>
> Could it be, that org-mode plays with events?
>
> Best regards, Michael.
>

[-- Attachment #2: Type: text/html, Size: 7744 bytes --]

  reply	other threads:[~2024-05-15 18:25 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-03 21:30 bug#70760: 29.3.50; core dumps when copy in other apps Kun Liu
2024-05-04  7:11 ` Eli Zaretskii
2024-05-04 18:08   ` Kun Liu
2024-05-04 19:02     ` Eli Zaretskii
     [not found]       ` <CA+Nei8PsdEL-bOOQg86aZk1n1ahpb38XUokyHR98muaRTUY+5Q@mail.gmail.com>
2024-05-04 21:37         ` Kun Liu
2024-05-05  5:11         ` Eli Zaretskii
2024-05-05 15:45           ` Kun Liu
2024-05-05 16:12             ` Eli Zaretskii
2024-05-05 16:44               ` Kun Liu
2024-05-05 17:11                 ` Kun Liu
2024-05-05 17:34               ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-14  6:17                 ` Kun Liu
2024-05-14  7:13                   ` Eli Zaretskii
2024-05-15 10:35                     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-15 16:27                       ` Kun Liu
2024-05-15 17:54                         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-15 18:25                           ` Kun Liu [this message]
2024-05-15 21:06                             ` Kun Liu
2024-05-16  9:20                               ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-16 19:07                                 ` Kun Liu
2024-05-17 16:23                                   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-17 17:34                                     ` Eli Zaretskii
2024-05-17 20:43                                       ` Kun Liu
2024-05-18  0:34                                         ` Kun Liu
2024-05-18 10:32                                       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 11:44                                         ` Eli Zaretskii
2024-05-18 11:54                                           ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 12:09                                             ` Eli Zaretskii
2024-05-18 16:55                                               ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 17:54                                                 ` Eli Zaretskii
2024-05-18 18:22                                                   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-18 19:20                                                     ` Eli Zaretskii
2024-05-16  9:07                             ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+Nei8PAk1V76A2VMomd=7rp5RgL=-brZYgGV_bw8Bq5ubH3Sw@mail.gmail.com' \
    --to=kun.liu@gmail.com \
    --cc=70760@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).