Opened 5 years ago

Closed 4 years ago

#7399 closed bug (fixed)

Test Posix004 fails in test-suite

Reported by: paulh Owned by: ezyang
Priority: normal Milestone: 7.8.1
Component: libraries/unix Version: 7.6.1
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Incorrect result at runtime Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

After a standard build of ghc-7.6.1 on debian wheezy, the test-suite fails on the test posix004.

The error given is:

Wrong exit code (expected 0 , actual 1 )

posix004: unexpected termination cause

*** unexpected failure for posix004(normal)

Change History (6)

comment:1 Changed 5 years ago by igloo

Description: modified (diff)
difficulty: Unknown

comment:2 Changed 5 years ago by igloo

Component: Compilerlibraries/unix
Milestone: 7.8.1

Thanks for the report. I can't reproduce it on squeeze, but haven't tried on wheezy.

comment:3 Changed 4 years ago by ezyang

Owner: set to ezyang

I can reproduce on Raring Ringtail, and am investigating.

comment:4 Changed 4 years ago by ezyang

I've boiled it down to a minimal C test case, it looks like the behavior of processes which receive SIGFPE is acting funny.

comment:5 Changed 4 years ago by ezyang

Status: newmerge
commit 5692f5b8ed9e36ea7da4376fc7169354c55007bd
Author: Edward Z. Yang <>
Date:   Sat Jul 20 14:15:15 2013 -0700

    Fix #7399.
    Signed-off-by: Edward Z. Yang <>

comment:6 Changed 4 years ago by ezyang

Resolution: fixed
Status: mergeclosed

Actually, it's just a test fix, no point merging.

Note: See TracTickets for help on using tickets.