ThreadScope icon indicating copy to clipboard operation
ThreadScope copied to clipboard

Import error in Events.EventDuration

Open Kleidukos opened this issue 3 years ago • 1 comments

Whilst trying to import a rather large eventlog (https://glitchbra.in/flora-cli.eventlog), I get this message and nothing more:

findRunThreadTime for Event {evTime = 54752927, evSpec = RunThread {thread = 16917}, evCap = Just 0}
CallStack (from HasCallStack):
  error, called at ./Events/EventDuration.hs:100:42 in main:Events.EventDuration

This is rather surprising, as eventlog2html is perfectly able to produce this visualisation: https://glitchbra.in/flora-cli.eventlog.html

Kleidukos avatar Dec 01 '22 16:12 Kleidukos

Copying from chat:

you must be running an old Threadscope
it no longer fails there
it instead does hPutStrLn stderr "warning: failed to find stop event for thread; eventlog truncated?"
(previously you had to have a properly exit 0 stopped program)

Mikolaj avatar Dec 01 '22 17:12 Mikolaj