unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Richard Copley <rcopley@gmail.com>
Cc: 16615@debbugs.gnu.org
Subject: bug#16615: 24.3.50; Fatal error visiting a directory (same as #16132?)
Date: Sat, 01 Feb 2014 20:11:49 +0200	[thread overview]
Message-ID: <83r47m4s9m.fsf@gnu.org> (raw)
In-Reply-To: <CAPM58oiCeS3rkTzTJx+F8oFQ-_e2S0gchTkU6Q2cjKa-spA7_A@mail.gmail.com>

> Date: Sat, 1 Feb 2014 17:32:44 +0000
> From: Richard Copley <rcopley@gmail.com>
> 
> I'm getting the same symptoms as described in #16132.

That one disappeared after bootstrapping.

> When started from the debugger things are no better (no stack pointer?).
> (The result is similar if "\temp" is specified as a command line argument.)
> 
> C:\emacs>gdb --quiet --args c:\emacs\emacs-116232\bin\emacs.exe -Q
> Reading symbols from c:\emacs\emacs-116232\bin\emacs.exe...done.
> (gdb) run
> 
> ;;; (Now type: M-x find-file RET \temp RET)
> 
> Starting program: c:\emacs\emacs-116232\bin\emacs.exe -Q
> [New Thread 5320.0x1a6c]
> [New Thread 5320.0x1e6c]
> [New Thread 5320.0xa4c]
> [New Thread 5320.0x1f88]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x03b19605 in __register_frame_info ()

Put a breakpoint in Fdirectory_files_and_attributes and in
Ffile_system_info and, then invoke find-file, and step through them
line by line to see on which line where does SIGSEGV hit.  That should
at least give us a clue where to look.  I guess the bug, whatever it
is, badly smashes the stack, or maybe it's some GCC misfeature in
optimized code that trips the debugger.  (Which GDB version is that,
btw?)

Anyway, I tried to reproduce this, but couldn't.  What version of GCC
do you have?  Also, does the problem happen if you configure Emacs
without all the optional libraries, like image libraries, libxml,
gnutls, etc.?





  reply	other threads:[~2014-02-01 18:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-01 17:32 bug#16615: 24.3.50; Fatal error visiting a directory (same as #16132?) Richard Copley
2014-02-01 18:11 ` Eli Zaretskii [this message]
2014-02-01 19:09   ` Richard Copley
2014-02-01 19:34     ` Richard Copley
2014-02-01 20:05       ` Richard Copley
2014-02-01 20:12       ` Eli Zaretskii
2014-02-01 20:43         ` Richard Copley
2014-02-01 21:52           ` Richard Copley
2014-02-02  3:41             ` Eli Zaretskii
2014-02-01 22:48           ` Juanma Barranquero
2014-02-01 23:03             ` Richard Copley
2014-02-01 23:18               ` Juanma Barranquero
2014-02-01 23:24                 ` Richard Copley
2014-02-01 23:33                   ` Juanma Barranquero

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=83r47m4s9m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16615@debbugs.gnu.org \
    --cc=rcopley@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).