GNU bug report logs - #26047
26.0.50; emacs crash by cl-caff2

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Fri, 10 Mar 2017 10:02:02 UTC

Severity: normal

Tags: confirmed, fixed

Found in version 26.0.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Andreas Politz <politza <at> hochschule-trier.de>
Cc: 26047 <at> debbugs.gnu.org, Leo Liu <sdl.web <at> gmail.com>, Vibhav Pant <vibhavp <at> gmail.com>
Subject: bug#26047: 26.0.50; emacs crash by cl-caff2
Date: Wed, 17 May 2017 23:19:53 -0400
tags 26047 fixed
close 26047 
quit

Andreas Politz <politza <at> hochschule-trier.de> writes:

> Here is a test case.
>
> (ert-deftest byte-code-optimzier-1 ()
>   (let* ((el-file (make-temp-file "test" nil ".el"))
>          (elc-file (concat (file-name-sans-extension el-file) ".elc")))
>     (unwind-protect
>         (let ((byte-compile-warnings t))
>           (with-temp-file el-file
>             (dolist (form '((require 'cl-lib)
>                             (put 's 'buf "abcd")
>                             (cl-callf2 cl-concatenate 'string (get 's 'buf) "efg")
>                             (provide 't)))
>               (insert (prin1-to-string form))
>               (insert "\n")))
>           (byte-compile-file el-file)
>           (should (progn (load-file elc-file) t)))
>       (when (file-exists-p el-file)
>         (delete-file el-file))
>       (when (file-exists-p elc-file)
>         (delete-file elc-file)))))
>
> -ap

This seems to be fixed now, I guess by [1: b389379c87].

[1: b389379c87]: 2017-04-20 21:23:08 +0530
  bytecomp: Don't inline functions that use byte-switch (Bug#26518)
  http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b389379c87481b6bc647ceb4d323f861281cad72




This bug report was last modified 8 years and 7 days ago.

Previous Next


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