PaX Team wrote:well, it's probably another bug then, you know what info to submit .onyx wrote:I downloaded the source from cvs, compiled it, and tried again, bat it is the same:
ultranet:~# gradm -L /var/log/grsecurity-learn.log -O /etc/grsec/acl.teszt
Segmentation fault
What's now?
All right, here we go again:
ultranet:/etc/grsec# gdb --core=/etc/grsec/core
[...]
Core was generated by `gradm -L /var/log/grsecurity-learn.log -O /etc/grsec/acl.teszt'.
Program terminated with signal 11, Segmentation fault.
#0 0x08057e0e in ?? ()
(gdb) bt
#0 0x08057e0e in ?? ()
#1 0x0804bda2 in ?? ()
#2 0x0805385d in ?? ()
#3 0x08053a12 in ?? ()
#4 0x08053d09 in ?? ()
#5 0x0804fc70 in ?? ()
#6 0x0804b195 in ?? ()
#7 0x2a4d414f in ?? ()
(gdb) info reg
eax 0x2aa271e4 715289060
ecx 0x80b6878 134965368
edx 0x2aa271ec 715289068
ebx 0x0 0
esp 0x5b609414 0x5b609414
ebp 0x5b60942c 0x5b60942c
esi 0x5b609504 1533056260
edi 0x6 6
eip 0x8057e0e 0x8057e0e
eflags 0x10206 66054
cs 0x23 35
ss 0x2b 43
ds 0x2a58002b 710410283
es 0x2b 43
fs 0x2a58002b 710410283
gs 0x2a58002b 710410283
fctrl 0x0 0
fstat 0x0 0
ftag 0x0 0
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
---Type <return> to continue, or q <return> to quit---
fop 0x0 0
xmm0 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm1 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm2 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm3 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm4 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm5 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm6 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
xmm7 {f = {0x0, 0x0, 0x0, 0x0}} {f = {0, 0, 0, 0}}
mxcsr 0x0 0
orig_eax 0xffffffff -1
(gdb) x/10i $eip
0x8057e0e: Cannot access memory at address 0x8057e0e
(gdb) x/10x $esp
0x5b609414: 0x00000000 0x5b609504 0x00000000 0x5b609504
0x5b609424: 0x00000081 0x5b609504 0x5b60995c 0x0804bda2
0x5b609434: 0x00000000 0x2aa271e4
Hope this helps. By the way, I'm getting nervous, that I'm doing something wrong :/
bye
Ps: Here is the gradm binary, if needed:
http://onyx.ultranet.hu/gradm.tar.bz2