Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,248
    • Issues 5,248
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 576
    • Merge requests 576
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #3874
Closed
Open
Issue created Feb 11, 2010 by cjs@trac-cjs

GHC.Exts.traceEvent segfaults

When I call the GC.Exts.traceEvent function (argument: "hello") with event logging enabled (i.e., compiled with -eventlog and run with -ls) my program generates a segmentation fault. Here is the gdb backtrace:

#0  0x00007f3ad6744a2f in vfprintf () from /lib/libc.so.6
#1  0x00007f3ad677039a in vsnprintf () from /lib/libc.so.6
#2  0x00000000004476c4 in postLogMsg (eb=0x8160d0, type=19, 
    msg=0x7f3ad5d7e010 "hello", ap=0x0) at rts/eventlog/EventLog.c:403
#3  0x0000000000447853 in postUserMsg (cap=0x69b780, 
    msg=0x7f3ad5d7e010 "hello") at rts/eventlog/EventLog.c:433
#4  0x000000000043b012 in traceUserMsg (cap=0x69b780, 
    msg=0x7f3ad5d7e010 "hello") at rts/Trace.c:290
#5  0x000000000044e237 in stg_traceEventzh ()
#6  0x0000000000000000 in ?? ()

It's not at all clear to me what could be going wrong here.

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking