From: Anonymous <ann.onymous@orange.fr>
To: Stefan Kangas <stefankangas@gmail.com>, Eli Zaretskii <eliz@gnu.org>
Cc: 43152@debbugs.gnu.org
Subject: bug#43152: 28.0.50; when building emacs 28.0.50 ./temacs is stopped with core
Date: Wed, 2 Sep 2020 12:00:25 +0200 [thread overview]
Message-ID: <ce69938a-714a-2207-1d85-3b7d09c2005f@orange.fr> (raw)
In-Reply-To: <CADwFkmmko6qHrTrVYN3P9OzK7duVynCx0MeVVqXPTb5rC=4bJw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3504 bytes --]
Le 01/09/2020 à 19:15, Stefan Kangas a écrit :
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Unable to find Mach task port for process-id 19495: (os/kern)
>>> failure (0x5).
>> This is macOS, where one cannot use GDB without some jumping through
>> hoops, sigh.
> It's not too bad, IMHO. Here are the instructions from etc/DEBUG:
>
> Running GDB on macOS sometimes brings an error message like this:
>
> Unable to find Mach task port for process-id NNN: (os/kern) failure (0x5).
>
> To overcome this, search the Internet for the phrase "Unable to find
> Mach task port for process-id", and you will find detailed
> instructions to follow.
>
> Best regards,
> Stefan Kangas
Here is backtrace running with gdb
spungen:src $ gdb ./temacs
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin17.0.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./temacs...
warning: can't find symbol 'l_OBJC_PROTOCOL_$_NSMenuDelegate' in
minsymtab
warning: can't find symbol 'l_OBJC_PROTOCOL_$_NSObject' in minsymtab
warning: can't find symbol 'l_OBJC_PROTOCOL_$_NSToolbarDelegate' in
minsymtab
warning: can't find symbol 'l_OBJC_PROTOCOL_$_NSWindowDelegate' in
minsymtab
done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not
from terminal]
DISPLAY =
/private/tmp/com.apple.launchd.NmbcYXYKys/org.macosforge.xquartz:0
TERM = xterm-color
Breakpoint 1 at 0x1000d1562: file emacs.c, line 378.
(gdb) run --batch -l loadup --temacs=pbootstrap
Starting program: /usr/local/src/emacs/src/temacs --batch -l
loadup --temacs=pbootstrap
[New Thread 0x1903 of process 507]
warning: unhandled dyld version (15)
[New Thread 0x1a03 of process 507]
[New Thread 0x2603 of process 507]
[New Thread 0x2807 of process 507]
Thread 2 received signal SIGSEGV, Segmentation fault.
0x00007fff7bc4498d in ?? ()
(gdb) where
#0 0x00007fff7bc4498d in ?? ()
#1 0x000000003272002e in ?? ()
#2 0x0000000102c05380 in ?? ()
#3 0x00007ffeefbff5c0 in ?? ()
#4 0x000000010010908e in Ffile_name_as_directory
(file=XIL(0x102c05384)) at fileio.c:563
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.
Inferior 1 [process 507] will be killed.
Quit anyway? (y or n) y
I rebuild with more options to configure :
--enable-checking='yes,glyphs' --enable-check-lisp-object-type \
CFLAGS='-O0 -g3
with same backtrace.
Best regards
--
Philippe Spiesser
[-- Attachment #2: Type: text/html, Size: 5100 bytes --]
next prev parent reply other threads:[~2020-09-02 10:00 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 9:37 bug#43152: 28.0.50; when building emacs 28.0.50 ./temacs is stopped with core Philippe Spiesser
2020-09-01 11:10 ` Stefan Kangas
2020-09-01 14:19 ` Anonymous
2020-09-01 14:29 ` Eli Zaretskii
2020-09-01 16:49 ` Anonymous
2020-09-01 17:09 ` Eli Zaretskii
2020-09-01 17:15 ` Stefan Kangas
2020-09-02 10:00 ` Anonymous [this message]
2020-09-06 14:31 ` Mattias Engdegård
2020-09-06 14:38 ` Lars Ingebrigtsen
2020-09-06 15:44 ` Mattias Engdegård
2020-09-06 23:07 ` Lars Ingebrigtsen
2020-09-07 7:25 ` Mattias Engdegård
2020-09-07 10:20 ` Lars Ingebrigtsen
2020-09-07 12:24 ` Angelo Graziosi
2020-09-07 12:58 ` Anonymous
[not found] <1457551226.863660.1599040446670@mail1.libero.it>
[not found] ` <CADwFkmnymz3jBD41GjfONHAreqQgYDN2-5+sPfzEg5V0Yh=M=w@mail.gmail.com>
2020-09-02 20:09 ` Paul Eggert
2020-09-03 12:30 ` Anonymous
2020-09-03 15:35 ` Angelo Graziosi
2020-09-03 19:17 ` Paul Eggert
2020-09-03 23:17 ` Angelo Graziosi
2020-09-03 23:53 ` Angelo Graziosi
2020-09-04 20:32 ` Paul Eggert
2020-09-04 21:24 ` Angelo Graziosi
2020-09-04 21:34 ` Angelo Graziosi
2020-09-04 21:56 ` Paul Eggert
2020-09-05 6:30 ` Angelo Graziosi
2020-09-05 12:05 ` Lars Ingebrigtsen
2020-09-05 19:27 ` Paul Eggert
2020-09-05 21:30 ` Lars Ingebrigtsen
2020-09-06 0:58 ` Paul Eggert
2020-09-06 11:50 ` Lars Ingebrigtsen
2020-09-05 21:36 ` Lars Ingebrigtsen
2020-09-05 21:41 ` Lars Ingebrigtsen
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=ce69938a-714a-2207-1d85-3b7d09c2005f@orange.fr \
--to=ann.onymous@orange.fr \
--cc=43152@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=stefankangas@gmail.com \
/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).