Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189915 - dev-lang/ghc-6.4.2 ghci crashed with PAX on hardened plateforme
Summary: dev-lang/ghc-6.4.2 ghci crashed with PAX on hardened plateforme
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-23 10:11 UTC by Olivier Antoine
Modified: 2010-11-06 20:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Antoine 2007-08-23 10:11:31 UTC
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
Comment 1 Xake 2010-05-03 17:13:52 UTC
is this a dupe of Bug #299709?

Also, is it still relevant?
Comment 2 Olivier Antoine 2010-05-03 19:11:30 UTC
(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.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2010-11-06 20:49:04 UTC
Closing as WONTFIX as is't an old ghc.

strace snippet is incomplete, but yes, it resembles resolved bug #299709.