[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15765: Crash in directory_files_internal
From: |
Lars Ingebrigtsen |
Subject: |
bug#15765: Crash in directory_files_internal |
Date: |
Sat, 26 Dec 2015 02:12:13 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
David Reitter <david.reitter@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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#15765: Crash in directory_files_internal,
Lars Ingebrigtsen <=