Summary: | dev-lang/ghc-6.4.2 ghci crashed with PAX on hardened plateforme | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Olivier Antoine <olivier.antoine> |
Component: | Hardened | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
is this a dupe of Bug #299709? Also, is it still relevant? (In reply to comment #1) > is this a dupe of Bug #299709? > > Also, is it still relevant? > I don't know since I no longer use ghc on hardened. Closing as WONTFIX as is't an old ghc. strace snippet is incomplete, but yes, it resembles resolved bug #299709. |
When I try to launch ghci, I get : >Loading package base-1.0 ... linking ... done. >Killed dmesg give that message : PAX: execution attempt in: /usr/lib/ghc-6.4.2/HSbase.o, 4c944000-4ce00000 00000000 PAX: terminating task: /usr/lib/ghc-6.4.2/ghc-6.4.2(ghc-6.4.2):13026, uid/euid: 1000/1000, PC: 4caadf98, SP: 5c811990 PAX: bytes at PC: 8b 75 00 83 c5 04 ff 65 00 90 90 90 0b 00 03 00 00 00 00 00 PAX: bytes at SP-4: 082819bd 00000000 00000000 00000001 4d347808 00000001 00000001 4d347740 00000000 7fffffff 00000000 00000000 00000000 00000000 00000000 00000000 0875f586 088dfb78 00000000 00000000 00000000 grsec: From 192.168.0.3: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/lib/ghc-6.4.2/ghc-6.4.2[ghc-6.4.2:13026] uid/euid:1000/1000 gid/egid:100/100, parent /bin/bash[bash:1559] uid/euid:1000/1000 gid/egid:100/100 A strace give me : $ strace -f ghci 2>&1 | tail -n 20 [pid 28297] sigreturn() = ? (mask now []) [pid 28297] --- SIGALRM (Alarm clock) @ 0 (0) --- [pid 28297] sigreturn() = ? (mask now []) [pid 28297] write(1, "d", 1d) = 1 [pid 28297] write(1, "o", 1o) = 1 [pid 28297] write(1, "n", 1n) = 1 [pid 28297] write(1, "e", 1e) = 1 [pid 28297] write(1, ".", 1.) = 1 [pid 28297] write(1, "\n", 1 ) = 1 [pid 27415] <... select resumed> ) = ? ERESTARTNOHAND (To be restarted) [pid 17589] <... futex resumed> ) = -1 EINTR (Interrupted system call) [pid 27415] +++ killed by SIGKILL +++ PANIC: handle_group_exit: 27415 leader 28297 Process 27415 detached [pid 17589] +++ killed by SIGKILL +++ PANIC: handle_group_exit: 17589 leader 28297 Process 17589 detached +++ killed by SIGKILL +++ Process 28297 detached Reproducible: Always