all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: 75292@debbugs.gnu.org
Subject: bug#75292: 31.0.50; igc: (file-error "Doing vfork" "Bad address")
Date: Thu, 02 Jan 2025 20:45:40 +0000	[thread overview]
Message-ID: <87cyh5kksp.fsf@protonmail.com> (raw)
In-Reply-To: <87pll5qexm.fsf@localhost>

"Ihor Radchenko" <yantar92@posteo.net> writes:

> I am getting the belo error regularly, when Emacs is spawning external
> process. Not every time though.

Sounds like something's moved by GC and shouldn't be.  Since you're
running without optimization, it's unlikely that GCC (we don't indicate
the compiler used in report-emacs-bug?  we should) mangled a reference
badly.

The code does assume that SAFE_ALLOCA'd string pointers keep the string
data alive.  That is a bug, and it might cause the behavior you see if,
for some weird reason, we wouldn't be using alloca directly.  But I
think we would be, unless there is something odd about your system.

> See the full backtrace below.
> Please advice what I can do to debug further.

After checking Eli's suggestion, an strace would be nice to find out
which of the pointers has gone bad.

FWIW, I'll try reproducing this now, using your build flags...

Pip






  parent reply	other threads:[~2025-01-02 20:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-02 17:54 bug#75292: 31.0.50; igc: (file-error "Doing vfork" "Bad address") Ihor Radchenko
2025-01-02 18:37 ` Eli Zaretskii
2025-01-02 18:42   ` Ihor Radchenko
2025-01-02 19:29     ` Eli Zaretskii
2025-01-02 19:37       ` Ihor Radchenko
2025-01-02 20:22         ` Eli Zaretskii
2025-01-02 20:45           ` Ihor Radchenko
2025-01-02 21:07             ` Eli Zaretskii
2025-01-03 17:56               ` Ihor Radchenko
2025-01-03 19:33                 ` Eli Zaretskii
2025-01-04 14:12                   ` Ihor Radchenko
2025-01-04 14:20                     ` Eli Zaretskii
2025-01-07 17:40                       ` Ihor Radchenko
2025-01-07 17:50                         ` Eli Zaretskii
2025-01-07 18:44                           ` Ihor Radchenko
2025-01-07 19:28                             ` Eli Zaretskii
2025-01-03 20:21                 ` Eli Zaretskii
2025-01-04 14:13                   ` Ihor Radchenko
2025-01-04 14:22                     ` Eli Zaretskii
2025-01-04 15:21                       ` Ihor Radchenko
2025-01-02 19:41       ` Paul Eggert
2025-01-02 20:35         ` Eli Zaretskii
2025-01-02 20:45 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2025-01-03 17:58   ` Ihor Radchenko
2025-01-03 18:24     ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-03 19:47       ` Eli Zaretskii
2025-01-03 19:51         ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-03 19:11     ` Pip Cet 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

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

  git send-email \
    --in-reply-to=87cyh5kksp.fsf@protonmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=75292@debbugs.gnu.org \
    --cc=pipcet@protonmail.com \
    --cc=yantar92@posteo.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.