From: Eli Zaretskii <eliz@gnu.org>
To: Gregor Zattler <telegraph@gmx.net>
Cc: 69543@debbugs.gnu.org
Subject: bug#69543: 30.0.50; emacs hang
Date: Mon, 04 Mar 2024 14:38:23 +0200 [thread overview]
Message-ID: <86sf16matc.fsf@gnu.org> (raw)
In-Reply-To: <87edcqjjvm.fsf@no.lan> (bug-gnu-emacs@gnu.org)
> Date: Mon, 04 Mar 2024 12:50:53 +0100
> From: Gregor Zattler via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Dear Emacs developers, this happened when I tried to
> open a file via emacsclient via a convoluted stack of
> shell scripts. I am sadly not able to reproduce.
> Perhaps the backtrace below helps.
>
> Regards; Gregor
>
>
> Starting program: /home/grfz/src/emacs-master--32b4f9d21b14190f1ed1611515751abe4b90fa68--2024-02-27T09-36+01-00/src/emacs -xrm --init-directory="${USER_EMACS_DIRECTORY}" --fg-daemon="${EMACS_SERVER_NAME}"
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [Detaching after vfork from child process 125867]
> [Detaching after vfork from child process 125868]
> [Detaching after vfork from child process 125869]
> [Detaching after vfork from child process 125870]
> [Detaching after vfork from child process 126543]
> [Detaching after vfork from child process 127191]
>
> Program received signal SIGPIPE, Broken pipe.
> 0x00007ffff3db8240 in write () from /lib/x86_64-linux-gnu/libc.so.6
> #0 0x00007ffff3db8240 in write () at /lib/x86_64-linux-gnu/libc.so.6
> #1 0x0000555555779f37 in emacs_full_write (interruptible=-1, nbyte=18, buf=0x555558244218 "-emacs-pid 125864\n", fd=10, fd@entry=18) at ./src/sysdep.c:2811
> #2 emacs_write_sig (fd=fd@entry=10, buf=<optimized out>, nbyte=<optimized out>) at ./src/sysdep.c:2851
> #3 0x000055555588bdd8 in send_process (proc=Python Exception <class 'gdb.error'>: value has been optimized out
> , buf=<optimized out>, len=<optimized out>, object=Python Exception <class 'gdb.error'>: value has been optimized out
> , object@entry=XIL(0x55555614fb94)) at ./src/process.c:6703
> #4 0x000055555588c3f9 in Fprocess_send_string (process=Python Exception <class 'gdb.error'>: value has been optimized out
> , string=XIL(0x55555614fb94)) at ./src/lisp.h:1630
This says Emacs received SIGPIPE while writing, seems like to the
client process? I guess your "convoluted stack of shell scripts"
needs to be scrutinized for possibly causing this?
IOW, why do you think this is an Emacs bug?
next prev parent reply other threads:[~2024-03-04 12:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 11:50 bug#69543: 30.0.50; emacs hang Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04 12:07 ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04 12:38 ` Eli Zaretskii [this message]
2024-03-04 18:41 ` Gregor Zattler 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=86sf16matc.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=69543@debbugs.gnu.org \
--cc=telegraph@gmx.net \
/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).