bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20843: 24.5; Profiler error: "Invalid sampling interval"


From: Ken Brown
Subject: bug#20843: 24.5; Profiler error: "Invalid sampling interval"
Date: Sat, 20 Jun 2015 15:02:28 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/18/2015 4:57 AM, Eli Zaretskii wrote:
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:
[...]

No, the problem is that Cygwin's setitimer supports only ITIMER_REAL, so the call to setitimer(ITIMER_PROF,...) in profiler.c:315 fails.

Ken






reply via email to

[Prev in Thread] Current Thread [Next in Thread]