gradm2 segfaults

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Postby onyx » Wed Jun 16, 2004 12:29 am

PaX Team wrote:
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?
well, it's probably another bug then, you know what info to submit ;-).


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
onyx
 
Posts: 36
Joined: Tue Jan 20, 2004 7:46 pm

Postby spender » Wed Jun 16, 2004 3:02 am

Can you mail your learning log to spender@grsecurity.net ?

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby onyx » Wed Jun 16, 2004 4:55 am

I've sent it.

onyx
onyx
 
Posts: 36
Joined: Tue Jan 20, 2004 7:46 pm

Postby spender » Thu Jun 17, 2004 10:51 pm

The problem is resolved in current CVS. I've taken your learning log and generated a working policy from it.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby onyx » Fri Jun 18, 2004 5:11 am

spender wrote:The problem is resolved in current CVS. I've taken your learning log and generated a working policy from it.

-Brad


It is working indeed. Thank you for your help! And keep up the good work :)

onyx

PS: And thanks Pax Team for your help as well :]
onyx
 
Posts: 36
Joined: Tue Jan 20, 2004 7:46 pm

Previous

Return to grsecurity support

cron