ThreadScope icon indicating copy to clipboard operation
ThreadScope copied to clipboard

Windows "Index out of range."

Open Unselfish opened this issue 5 years ago • 4 comments

I'm having trouble opening event logs with the threadscope 0.2.11 Windows binary. Using GHC 8.6.5.

image

I followed the instructions here to set up. https://github.com/haskell/ThreadScope/issues/52. My threadscope.exe is in the /bin folder of gtk2 with all the .dll files.

Unselfish avatar Mar 23 '20 16:03 Unselfish

Do you get that error when opening an eventlog, or just starting threadscope without an eventlog? If the former is the case can you upload the eventlog file?

maoe avatar Mar 23 '20 23:03 maoe

The error occurs when opening an eventlog. I've only tried my own ones. Testing with --test ch8 works.

The event log.

(Changed it to a text file for uploading)

Unselfish avatar Mar 24 '20 00:03 Unselfish

Thanks for sharing your eventlog. I could reproduce the issue with just ghc-event inc. So it's not a threadscope or Windows-specific issue.

I've file an issue at the ghc-events issue tracker: https://github.com/haskell/ghc-events/issues/58

@Unselfish Do you have any other eventlog files that cause this issue?

maoe avatar Mar 24 '20 13:03 maoe

Yes. All the eventlogs I've made have this issue, with a different index per log.

log2.txt log3.txt log4.txt

Unselfish avatar Mar 24 '20 16:03 Unselfish