Invalid alignment/Bus error occurred

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

Re: Invalid alignment/Bus error occurred

Postby taaroa » Wed May 11, 2011 7:39 pm

PaX Team wrote:can you try the latest test patch? i probably fixed this one too.

Code: Select all
May 12 07:29:00 localhost kernel: [  165.325379] grsec: Invalid alignment/Bus error occurred at 00000000dfeaa010 in /mnt/gentoo32/bin/uname[uname:5411] uid/euid:0/0 gid/egid:0/0, parent /bin/zsh[zsh:5398] uid/euid:0/0 gid/egid:0/0

Code: Select all
uname -a
Linux taaroa 2.6.38-hardened-r5-grsec #1 SMP Thu May 12 07:22:02 KRAST 2011 x86_64 AMD Phenom(tm) II X4 925 Processor AuthenticAMD GNU/Linux

Code: Select all
--- {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0xdafe1010} (Bus error) ---
+++ killed by SIGBUS +++

Program received signal SIGBUS, Bus error.
0x0000034ac5d512c5 in ?? ()
(gdb) bt
#0  0x0000034ac5d512c5 in ?? ()
#1  0x0000007fdd076999 in main ()
(gdb) x/8i $pc
=> 0x34ac5d512c5:       cmp    $0xfffffffffffff000,%rax
   0x34ac5d512cb:       ja     0x34ac5d512df
   0x34ac5d512cd:       repz retq
   0x34ac5d512cf:       nop
   0x34ac5d512d0:       test   %eax,%eax
   0x34ac5d512d2:       jg     0x34ac5d512b5
   0x34ac5d512d4:       test   $0x7fffffff,%eax
   0x34ac5d512d9:       je     0x34ac5d512f0
(gdb) info reg
rax            0x0      0
rbx            0x7fdd2e4fa0     549171646368
rcx            0xffffffffffffffff       -1
rdx            0x7      7
rsi            0x1550   5456
rdi            0x1550   5456
rbp            0x7fdd0a1c59     0x7fdd0a1c59
rsp            0x39f5005a248    0x39f5005a248
r8             0x39f5005a1a0    3982777229728
r9             0x0      0
r10            0x8      8
r11            0x246    582
r12            0x34ac62be6a0    3619687229088
r13            0x34ac60b5e68    3619685097064
r14            0x7fdd2da504     549171602692
r15            0x39f5005a290    3982777229968
rip            0x34ac5d512c5    0x34ac5d512c5
eflags         0x246    [ PF ZF IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
taaroa
 
Posts: 19
Joined: Thu Mar 25, 2010 2:58 am

Re: Invalid alignment/Bus error occurred

Postby PaX Team » Thu May 12, 2011 8:29 am

taaroa wrote:
Code: Select all
uname -a
Linux taaroa 2.6.38-hardened-r5-grsec #1 SMP Thu May 12 07:22:02 KRAST 2011 x86_64 AMD Phenom(tm) II X4 925 Processor AuthenticAMD GNU/Linux
which grsec version is in there? if not grsecurity-2.2.2-2.6.38.6-201105111839 or newer, please try that directly (or the latest PaX test patch).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Previous

Return to grsecurity support