
#7629: segmentation fault in compiled program, involves gtk, selinux
-----------------------------------------------------------------+----------
Reporter: wgmitchener | Owner: simonmar
Type: bug | Status: infoneeded
Priority: high | Milestone: 7.6.2
Component: Runtime System | Version: 7.4.2
Keywords: segmentation fault, multithreading, selinux, gtk | Os: Linux
Architecture: x86 | Failure: Runtime crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------------------------------+----------
Comment(by wgmitchener):
Doing some work with gdb with ghc-bug-003 (which I'll attach in a minute)
On Ubuntu 12.10 with GHC 7.4.2 (no SELinux, no seg fault), the call to
set_callback comes out like this:
{{{
Breakpoint 1, set_callback (f=0xb7b3f02c, d=10, fin=0xb7b3f00c) at
Callback.c:18
18 p_callback = f;
(gdb) x/i f
0xb7b3f02c:call 0x80a1358 <adjustorCode>
(gdb) print adjustorCode
$1 = {