GNU bug report logs - #48479
28.0.50; Crash on `read--expression'

Previous Next

Package: emacs;

Reported by: Jean Louis <bug <at> gnu.support>

Date: Mon, 17 May 2021 14:39:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bug <at> gnu.support>, Mattias EngdegÄrd
 <mattiase <at> acm.org>
Cc: 48479 <at> debbugs.gnu.org
Subject: Re: bug#48479: 28.0.50; Crash on `read--expression'
Date: Mon, 17 May 2021 18:14:12 +0300
> From: Jean Louis <bug <at> gnu.support>
> Date: Mon, 17 May 2021 14:39:14 +0300
> 
> 
> This function is not complete, I was just testing things. But when I
> invoke interactively M-x rcd-hash-edit then Emacs crashes. I did not
> want to place "nil" down, this comes from testing. It crashes with emacs
> -Q when you evaluate this function and invoke it interactively.
> 
> (defun rcd-hash-edit ()
>   "Interactively choose a hash to edit."
>   (interactive)
>   (let ((hash (condition-case nil
> 		  (read--expression "Hash to edit: ")
> 		nil)))
>     (if (eq (type-of (symbol-value hash)) 'hash-table)
> 	(rcd-hash-edit-hash hash)
>       (message "Symbol is not a hash"))))
> 
> Fatal error 11: Segmentation fault
> Backtrace:

Thanks, this was caused by a recent addition of the :success handler.
I tried to fix that on the master branch now.




This bug report was last modified 4 years and 81 days ago.

Previous Next


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