Opened 8 years ago

Closed 8 years ago

#5710 closed bug (fixed)

Profiling looks broken on Windows

Reported by: simonmar Owned by:
Priority: highest Milestone: 7.4.1
Component: Compiler Version: 7.2.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

All the profiling tests are failing on Windows;

=====> arr001(profasm) 16 of 3138 [0, 0, 0]
cd ./array/should_run && 'D:/slave/stable/builder/tempbuild/build/bindisttest/install dir/bin/ghc.exe' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -fno-ghci-history -o arr001 arr001.hs -O -prof -auto-all >arr001.comp.stderr 2>&1
cd ./array/should_run && ./arr001 +RTS -hc -p -RTS </dev/null >arr001.run.stdout 2>arr001.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:
array (1,3) [(1,'c'),(2,'a'),(3,'b')]
Segmentation fault/access violation in generated code
Stderr:
*** unexpected failure for arr001(profasm)

Change History (3)

comment:1 Changed 8 years ago by marlowsd@…

commit b4018aaaebe4250e78cdcb245466fdcce8918abf

Author: Simon Marlow <marlowsd@gmail.com>
Date:   Mon Dec 19 11:53:42 2011 +0000

    Fix alignment in the CostCentre struct (#5710)

 compiler/codeGen/CgProf.hs     |    2 +-
 compiler/codeGen/StgCmmProf.hs |   16 ++++++++--------
 includes/rts/prof/CCS.h        |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

comment:2 Changed 8 years ago by simonmar

Status: newmerge

comment:3 Changed 8 years ago by igloo

Resolution: fixed
Status: mergeclosed
Note: See TracTickets for help on using tickets.