Subject: bug#31110: 27.0.50; profiler-reset errors if you have not cpu profiled

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 13 Jul 2019 17:33:17 +0200

Aaron Jensen <[email-masked]> writes:

>>>From emacs -Q
> M-x profiler-start mem
> M-x profiler-stop
> M-x profiler-reset
>
> Expected:
>
> No error, mem profile would be reset.
>
> Actual:
>
> Error, mem profile is not reset.
>
> Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
>   profiler-cpu-log()
>   profiler-reset()

I'm unable to reproduce this bug on the Emacs trunk currently.  I seem
to remember some work being done in the profiler data storage area some
months back, so perhaps that fixed it?

Could you update and check whether this still fails for you?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no