From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15765: Crash in directory_files_internal Date: Mon, 29 Feb 2016 17:40:36 +0200 Message-ID: <83wppn8qyz.fsf@gnu.org> References: <4AB35230-6D71-4D99-9F8B-0E8FF9668CA7@gmail.com> <878u4iggia.fsf@gnus.org> <878u24uljb.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456760547 16167 80.91.229.3 (29 Feb 2016 15:42:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 15:42:27 +0000 (UTC) Cc: david.reitter@gmail.com, 15765@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 29 16:42:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aaPxf-00008e-BO for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 16:42:15 +0100 Original-Received: from localhost ([::1]:37306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPxe-00031Y-M9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 10:42:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPxX-000318-E0 for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:42:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaPxS-0006mM-FB for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:42:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPxS-0006mB-By for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aaPxS-0005Xv-78 for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15765-submit@debbugs.gnu.org id=B15765.145676046521250 (code B ref 15765); Mon, 29 Feb 2016 15:42:02 +0000 Original-Received: (at 15765) by debbugs.gnu.org; 29 Feb 2016 15:41:05 +0000 Original-Received: from localhost ([127.0.0.1]:53843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaPwU-0005WS-3M for submit@debbugs.gnu.org; Mon, 29 Feb 2016 10:41:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40356) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaPwS-0005W1-At for 15765@debbugs.gnu.org; Mon, 29 Feb 2016 10:41:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaPwH-0006Gw-Rv for 15765@debbugs.gnu.org; Mon, 29 Feb 2016 10:40:55 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPwH-0006Gr-K7; Mon, 29 Feb 2016 10:40:49 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4720 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aaPwG-0005KJ-Sf; Mon, 29 Feb 2016 10:40:49 -0500 In-reply-to: <878u24uljb.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 29 Feb 2016 16:34:48 +1100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114136 Archived-At: > From: Lars Ingebrigtsen > Date: Mon, 29 Feb 2016 16:34:48 +1100 > Cc: 15765@debbugs.gnu.org > > Lars Ingebrigtsen writes: > > > David Reitter 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.