[GHC] #8406: Invalid object in isRetainer() or Segfault
GHC
ghc-devs at haskell.org
Sat Jan 17 20:44:15 UTC 2015
#8406: Invalid object in isRetainer() or Segfault
-------------------------------------+-------------------------------------
Reporter: crockeea | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.10.1
Component: Runtime System | Version: 7.8.3
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: Runtime crash | (amd64)
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by JamesM):
* status: closed => new
* version: 7.6.3 => 7.8.3
* resolution: worksforme =>
Old description:
> When compiling with
> -rtsopts -threaded -prof -fprof-auto -caf-all
>
> and running with
> -N4 -hr
>
> I get a "Segmentation fault" every time.
>
> If I run with -N4 -qg1 -hr, I either get a segfault or
> internal error: Invalid object in isRetainer(): 40
>
> When the segfault happens, it happens quickly. If the segfault doesn't
> happen, the program runs for about 5 seconds and I get "invalid object"
> error (always 40).
>
> Without -hr, I have never gotten a segfault.
New description:
When compiling with
-rtsopts -threaded -prof -fprof-auto -caf-all
and running with
-N4 -hr
I get a "Segmentation fault" every time.
If I run with -N4 -qg1 -hr, I either get a segfault or
internal error: Invalid object in isRetainer(): 40
When the segfault happens, it happens quickly. If the segfault doesn't
happen, the program runs for about 5 seconds and I get "invalid object"
error (always 40).
Without -hr, I have never gotten a segfault.
Edit (1/2015): This is still occurring under multiple threads in ghc
7.8.3.
GHC options: -Wall -prof -fprof-auto -threaded -rtsopts
Runtime Options: -N4 -hr -L1000
--
Comment:
This is still occurring for me. However, it is only problematic when using
multiple threads changing from -N4 to -N1 removes the issue:
par-simulator: internal error: Invalid object in isRetainer(): 39
(GHC version 7.8.3 for x86_64_apple_darwin)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Abort trap: 6
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8406#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list