unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Andreas Schwab <schwab@suse.de>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: SIGABRT in `stream-of-directory-files'
Date: Tue, 27 Feb 2018 12:02:48 +0100	[thread overview]
Message-ID: <87o9kaoftz.fsf@web.de> (raw)
In-Reply-To: <mvmvaeiu3e5.fsf@suse.de> (Andreas Schwab's message of "Tue, 27 Feb 2018 11:34:58 +0100")

Andreas Schwab <schwab@suse.de> writes:

> Do you have enabled some settings that disallow tracing processes?

Not that I knew, no.

> Does strace work?

Yes, strace works well.


Here is an example session from xterm - am I doing something wrong?

micha> cd software/emacs/src
src> gdb ./emacs
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 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-linux-gnu".
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 ./emacs...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 = :0
TERM = xterm-256color
Breakpoint 1 at 0x55980d: file emacs.c, line 364.
Temporary breakpoint 2 at 0x57de7e: file sysdep.c, line 1077.
(gdb) run
Starting program: /home/micha/software/emacs/src/emacs 
Fatal error 11: Segmentation fault
Backtrace:
/home/micha/software/emacs/src/emacs[0x57f469]
/home/micha/software/emacs/src/emacs[0x5598a1]
/home/micha/software/emacs/src/emacs[0x57ec89]
/home/micha/software/emacs/src/emacs[0x57ec5a]
/home/micha/software/emacs/src/emacs[0x57ecc4]
/home/micha/software/emacs/src/emacs[0x57ee80]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12180)[0x7ffff12ca180]
/home/micha/software/emacs/src/emacs[0x555543]
/home/micha/software/emacs/src/emacs[0x555561]
/home/micha/software/emacs/src/emacs[0x61618f]
/home/micha/software/emacs/src/emacs[0x61621b]
/home/micha/software/emacs/src/emacs[0x61644b]
/home/micha/software/emacs/src/emacs[0x6034d0]
/home/micha/software/emacs/src/emacs[0x5ff74f]
/home/micha/software/emacs/src/emacs[0x603025]
/home/micha/software/emacs/src/emacs[0x5ff74f]
/home/micha/software/emacs/src/emacs[0x603025]
/home/micha/software/emacs/src/emacs[0x602aca]
/home/micha/software/emacs/src/emacs[0x604c80]
/home/micha/software/emacs/src/emacs[0x604890]
/home/micha/software/emacs/src/emacs[0x64cc41]
/home/micha/software/emacs/src/emacs[0x60529c]
/home/micha/software/emacs/src/emacs[0x6048d4]
/home/micha/software/emacs/src/emacs[0x64cc41]
/home/micha/software/emacs/src/emacs[0x60529c]
/home/micha/software/emacs/src/emacs[0x6048d4]
/home/micha/software/emacs/src/emacs[0x5fc8f7]
/home/micha/software/emacs/src/emacs[0x604b87]
/home/micha/software/emacs/src/emacs[0x604890]
/home/micha/software/emacs/src/emacs[0x603cdb]
/home/micha/software/emacs/src/emacs[0x5fcd7d]
/home/micha/software/emacs/src/emacs[0x604cac]
/home/micha/software/emacs/src/emacs[0x604890]
/home/micha/software/emacs/src/emacs[0x64cc41]
/home/micha/software/emacs/src/emacs[0x60529c]
/home/micha/software/emacs/src/emacs[0x6048d4]
/home/micha/software/emacs/src/emacs[0x6042a0]
/home/micha/software/emacs/src/emacs[0x55ec02]
/home/micha/software/emacs/src/emacs[0x6013b2]
/home/micha/software/emacs/src/emacs[0x55e151]
/home/micha/software/emacs/src/emacs[0x600c94]
...
During startup program terminated with signal SIGSEGV, Segmentation fault.
(gdb) bt
No stack.
(gdb) xbacktrace
You can't do that without a process to debug.
(gdb) 


Thanks,

Michael.



  reply	other threads:[~2018-02-27 11:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26 12:09 SIGABRT in `stream-of-directory-files' Michael Heerdegen
2018-02-26 17:32 ` Eli Zaretskii
2018-02-27  9:37   ` Michael Heerdegen
2018-02-27 10:34     ` Andreas Schwab
2018-02-27 11:02       ` Michael Heerdegen [this message]
2018-02-27 11:09         ` Andreas Schwab
2018-02-27 11:18           ` Michael Heerdegen
2018-02-27 11:32             ` Andreas Schwab
2018-02-27 11:46               ` Michael Heerdegen
2018-02-27 12:09                 ` Andreas Schwab

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=87o9kaoftz.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@suse.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).