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


Message #11 received at 15765 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Reitter <david.reitter <at> gmail.com>
Cc: 15765 <at> debbugs.gnu.org
Subject: Re: bug#15765: Crash in directory_files_internal
Date: Mon, 29 Feb 2016 16:34:48 +1100
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.
-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.