#5018: GTK Crash occuring only with -fllvm
-------------------------------+--------------------------------------------
Reporter: tener | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.2
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime crash
-------------------------------+--------------------------------------------
Description changed by igloo:
Old description:
> I have moderately complex program written for sound synthesis course.
>
> The largest part comprises of GUI written in GTK, the sound part is
> fairly small.
>
> When compiling with -fllvm -O2 the program segfaults immediately after
> launch in IA__FcPatternBuild () from /usr/lib/libfontconfig.so.1. Turing
> off optimizations or linking with native code gen doesn't trigger the
> bug.
>
> I also tried small, test GTK program but it also doesn't trigger this
> behaviour.
>
> Hence I attach the program verbatim in case someone might be able to
> reproduce the bug and pin it down.
>
> Obviously the bug might not be in LLVM codegen but it only happens to
> trigger it, so I set the Component to Compiler at whole.
New description:
I have moderately complex program written for sound synthesis course.
The largest part comprises of GUI written in GTK, the sound part is fairly
small.
When compiling with -fllvm -O2 the program segfaults immediately after
launch in `IA__FcPatternBuild ()` from `/usr/lib/libfontconfig.so.1`.
Turing off optimizations or linking with native code gen doesn't trigger
the bug.
I also tried small, test GTK program but it also doesn't trigger this
behaviour.
Hence I attach the program verbatim in case someone might be able to
reproduce the bug and pin it down.
Obviously the bug might not be in LLVM codegen but it only happens to
trigger it, so I set the Component to Compiler at whole.
--
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5018#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs