GNU bug report logs - #15765
Crash in directory_files_internal

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Wed, 30 Oct 2013 22:08:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: david.reitter <at> gmail.com, 15765 <at> debbugs.gnu.org
Subject: bug#15765: Crash in directory_files_internal
Date: Mon, 29 Feb 2016 17:40:36 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Mon, 29 Feb 2016 16:34:48 +1100
> Cc: 15765 <at> debbugs.gnu.org
> 
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> 
> > David Reitter <david.reitter <at> gmail.com> writes:
> >
> >> This crash occurred after eval'ing the expression
> >>
> >> (directory-files "~/Library/Logs/DiagnosticReports" t "Aquamacs.*.crash")
> >>
> >> This directory exists, contains a few files, and I had eval'ed that
> >> just a few second earlier without problems.
> >>
> >> The bug does not reproduce.
> >>
> >> Relevant lines in my dired.c:
> >>
> >>> 267	      Lisp_Object fullname;
> >>> 268	      ptrdiff_t nbytes = len + directory_nbytes + needsep;
> >>> 269	      ptrdiff_t nchars;
> >>> 
> >>> 271	      fullname = make_uninit_multibyte_string (nbytes, nbytes);
> >>> 272	      memcpy (SDATA (fullname), SDATA (directory),
> >>> 		      directory_nbytes);
> >>> 
> >>
> >> Full crash log below.  The running binary was built based on Emacs
> >> head as per Oct 24, git refid 7c5015698c3, with some patches, but
> >> none to dired.c.
> >
> > Have you seen this again later?
> 
> More information was requested, but no response was given within a few
> months, so I'm closing this bug report.  If the problem still exists,
> please reopen this bug report.

It's entirely possible that this was due to the problem with decoding
file names on OS X HFS+ filesystems and treating their decomposed form
correctly, something solved a few months ago.




This bug report was last modified 9 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.