
#8309: traceEvent truncates to 512 bytes -------------------------------------+------------------------------------- Reporter: duncan | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Runtime System | Version: 7.6.3 Resolution: | Keywords: eventlog Operating System: Unknown/Multiple | tracing Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #3874 | Test Case: | Blocking: | Differential Revisions: Phab:D656 -------------------------------------+------------------------------------- Changes (by thomie): * cc: simonmar (added) * status: new => patch * differential: => Phab:D656 * related: => #3874 Comment: I made `traceUserMsg` call `postUserMarker` (renamed to `postUserEvent`), which does not have the truncation problem. See the commit message in Trac #9395 (d360d440) for a discussion about using null-terminated strings vs strings with an explicit length. I did not make any change here. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8309#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler