Event log header: Startup event length wrong
GHC currently writes 0 as the length of the EVENT_STARTUP event. That's not true, as the event writes the number of capabilities as data (see EventLog.c:282). ghc-event doesn't notice because the format is hard-coded there and never gets checked.
Fix is obviously pretty easy, see attachment.
Trac metadata
Trac field | Value |
---|---|
Version | 7.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |