[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20843: 24.5; Profiler error: "Invalid sampling interval"
From: |
Eli Zaretskii |
Subject: |
bug#20843: 24.5; Profiler error: "Invalid sampling interval" |
Date: |
Thu, 18 Jun 2015 11:57:47 +0300 |
> From: Sebastien Vauban <sva-news@mygooglest.com>
> Date: Thu, 18 Jun 2015 10:37:02 +0200
>
> When trying to start the profiler under Cygwin Emacs 24.5, I get this:
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (error "Invalid sampling interval")
> profiler-cpu-start(1000000)
> profiler-start(cpu)
> call-interactively(profiler-start record nil)
Can you step with GDB into setup_cpu_timer, and see what goes wrong
there? I suspect this portions:
if (! RANGED_INTEGERP (1, sampling_interval,
(TYPE_MAXIMUM (time_t) < EMACS_INT_MAX / billion
? ((EMACS_INT) TYPE_MAXIMUM (time_t) * billion
+ (billion - 1))
: EMACS_INT_MAX)))
return NOT_RUNNING;
If so, what does TYPE_MAXIMUM(time_t) return in your build?
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Sebastien Vauban, 2015/06/18
- bug#20843: 24.5; Profiler error: "Invalid sampling interval",
Eli Zaretskii <=
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Ken Brown, 2015/06/20
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Eli Zaretskii, 2015/06/20
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Ken Brown, 2015/06/20
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Eli Zaretskii, 2015/06/21
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Ken Brown, 2015/06/21
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Sebastien Vauban, 2015/06/22
- bug#20843: 24.5; Profiler error: "Invalid sampling interval", Ken Brown, 2015/06/22