all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: David Reitter <david.reitter@gmail.com>
Cc: 15765@debbugs.gnu.org
Subject: bug#15765: Crash in directory_files_internal
Date: Sat, 26 Dec 2015 02:12:13 +0100	[thread overview]
Message-ID: <878u4iggia.fsf@gnus.org> (raw)
In-Reply-To: <4AB35230-6D71-4D99-9F8B-0E8FF9668CA7@gmail.com> (David Reitter's message of "Wed, 30 Oct 2013 18:06:39 -0400")

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





  reply	other threads:[~2015-12-26  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 22:06 bug#15765: Crash in directory_files_internal David Reitter
2015-12-26  1:12 ` Lars Ingebrigtsen [this message]
2016-02-29  5:34   ` Lars Ingebrigtsen
2016-02-29 15:40     ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u4iggia.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=15765@debbugs.gnu.org \
    --cc=david.reitter@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.