Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272615 Details for
Bug 365915
[>=sys-kernel/hardened-sources-2.6.38-r1] Invalid alignment/Bus error occurred
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb --args strace linux32 chroot /mnt/gentoo32 /bin/bash
gdb3.txt (text/plain), 11.10 KB, created by
taaroa
on 2011-05-09 13:20:21 UTC
(
hide
)
Description:
gdb --args strace linux32 chroot /mnt/gentoo32 /bin/bash
Filename:
MIME Type:
Creator:
taaroa
Created:
2011-05-09 13:20:21 UTC
Size:
11.10 KB
patch
obsolete
>gdb --args strace linux32 chroot /mnt/gentoo32 /bin/bash >GNU gdb (Gentoo 7.2 p1) 7.2 >Copyright (C) 2010 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >For bug reporting instructions, please see: ><http://bugs.gentoo.org/>... >Reading symbols from /usr/bin/strace...(no debugging symbols found)...done. >(gdb) handle SIGSEGV SIGBUS stop print >Signal Stop Print Pass to program Description >SIGBUS Yes Yes Yes Bus error >SIGSEGV Yes Yes Yes Segmentation fault >(gdb) run >Starting program: /usr/bin/strace linux32 chroot /mnt/gentoo32 /bin/bash >execve("/usr/bin/linux32", ["linux32", "chroot", "/mnt/gentoo32", "/bin/bash"], [/* 48 vars */]) = 0 >brk(0) = 0x233ad181c0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3df506b9000 >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) >open("/etc/ld.so.cache", O_RDONLY) = 5 >fstat(5, {st_mode=S_IFREG|0644, st_size=98467, ...}) = 0 >mmap(NULL, 98467, PROT_READ, MAP_PRIVATE, 5, 0) = 0x3df506a0000 >close(5) = 0 >open("/lib64/libc.so.6", O_RDONLY) = 5 >read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\24\2\0\0\0\0\0"..., 832) = 832 >fstat(5, {st_mode=S_IFREG|0755, st_size=1690984, ...}) = 0 >mmap(NULL, 3803112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x3df500fa000 >mprotect(0x3df50290000, 2097152, PROT_NONE) = 0 >mmap(0x3df50490000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x196000) = 0x3df50490000 >mmap(0x3df50495000, 22504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3df50495000 >close(5) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3df5069f000 >mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3df5069d000 >arch_prctl(ARCH_SET_FS, 0x3df5069d720) = 0 >mprotect(0x3df50490000, 16384, PROT_READ) = 0 >mprotect(0x233ad06000, 4096, PROT_READ) = 0 >mprotect(0x3df506bb000, 4096, PROT_READ) = 0 >munmap(0x3df506a0000, 98467) = 0 >brk(0) = 0x233ad181c0 >brk(0x233ad391c0) = 0x233ad391c0 >brk(0x233ad3a000) = 0x233ad3a000 >open("/usr/lib64/locale/locale-archive", O_RDONLY) = 5 >fstat(5, {st_mode=S_IFREG|0644, st_size=3447184, ...}) = 0 >mmap(NULL, 3447184, PROT_READ, MAP_PRIVATE, 5, 0) = 0x3df4fdb0000 >close(5) = 0 >personality(PER_LINUX32) = 262144 >uname({sys="Linux", node="taaroa", ...}) = 0 >execve("/usr/local/sbin/chroot", ["chroot", "/mnt/gentoo32", "/bin/bash"], [/* 48 vars */]) = -1 ENOENT (No such file or directory) >execve("/usr/local/bin/chroot", ["chroot", "/mnt/gentoo32", "/bin/bash"], [/* 48 vars */]) = -1 ENOENT (No such file or directory) >execve("/usr/sbin/chroot", ["chroot", "/mnt/gentoo32", "/bin/bash"], [/* 48 vars */]) = -1 ENOENT (No such file or directory) >execve("/usr/bin/chroot", ["chroot", "/mnt/gentoo32", "/bin/bash"], [/* 48 vars */]) = 0 >brk(0) = 0x6516c6f810 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2d02e6bc000 >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) >open("/etc/ld.so.cache", O_RDONLY) = 5 >fstat(5, {st_mode=S_IFREG|0644, st_size=98467, ...}) = 0 >mmap(NULL, 98467, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2d02e6a3000 >close(5) = 0 >open("/lib64/libc.so.6", O_RDONLY) = 5 >read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\24\2\0\0\0\0\0"..., 832) = 832 >fstat(5, {st_mode=S_IFREG|0755, st_size=1690984, ...}) = 0 >mmap(NULL, 3803112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x2d02e0fd000 >mprotect(0x2d02e293000, 2097152, PROT_NONE) = 0 >mmap(0x2d02e493000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x196000) = 0x2d02e493000 >mmap(0x2d02e498000, 22504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2d02e498000 >close(5) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2d02e6a2000 >mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2d02e6a0000 >arch_prctl(ARCH_SET_FS, 0x2d02e6a0720) = 0 >mprotect(0x2d02e493000, 16384, PROT_READ) = 0 >mprotect(0x6516c6c000, 4096, PROT_READ) = 0 >mprotect(0x2d02e6be000, 4096, PROT_READ) = 0 >munmap(0x2d02e6a3000, 98467) = 0 >brk(0) = 0x6516c6f810 >brk(0x6516c90810) = 0x6516c90810 >brk(0x6516c91000) = 0x6516c91000 >open("/usr/lib64/locale/locale-archive", O_RDONLY) = 5 >fstat(5, {st_mode=S_IFREG|0644, st_size=3447184, ...}) = 0 >mmap(NULL, 3447184, PROT_READ, MAP_PRIVATE, 5, 0) = 0x2d02ddb3000 >close(5) = 0 >chroot("/mnt/gentoo32") = 0 >chdir("/") = 0 >execve("/bin/bash", ["/bin/bash"], [/* 48 vars */]) = 0 >[ Process PID=5767 runs in 32 bit mode. ] >Unknown value CS=0x286 while detecting personality of process PID=5767 >Unknown value CS=0x286 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) >open("/etc/ld.so.cache", O_RDONLY) = 5 >Unknown value CS=0x286 while detecting personality of process PID=5767 >Unknown value CS=0x286 while detecting personality of process PID=5767 >mmap2(NULL, 38843, PROT_READ, MAP_PRIVATE, 5, 0) = 0xffffffffec112000 >Unknown value CS=0x287 while detecting personality of process PID=5767 >Unknown value CS=0x287 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\257\0\0004\0\0\0"..., 512) = 512 >Unknown value CS=0x286 while detecting personality of process PID=5767 >Unknown value CS=0x286 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >mmap2(0xec10f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x46) = 0xffffffffec10f000 >Unknown value CS=0x246 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\n\0\0004\0\0\0"..., 512) = 512 >fstat64(5, {st_mode=S_IFREG|0755, st_size=9488, ...}) = 0 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x212 while detecting personality of process PID=5767 >Unknown value CS=0x212 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >Unknown value CS=0x246 while detecting personality of process PID=5767 >open("/lib/libc.so.6", O_RDONLY) = 5 >read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240o\1\0004\0\0\0"..., 512) = 512 >fstat64(5, {st_mode=S_IFREG|0755, st_size=1626828, ...}) = 0 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x212 while detecting personality of process PID=5767 >Unknown value CS=0x212 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >close(5) = 0 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x256 while detecting personality of process PID=5767 >Unknown value CS=0x282 while detecting personality of process PID=5767 >Unknown value CS=0x282 while detecting personality of process PID=5767 >Unknown value CS=0x206 while detecting personality of process PID=5767 >Unknown value CS=0x206 while detecting personality of process PID=5767 >Unknown value CS=0x206 while detecting personality of process PID=5767 >Unknown value CS=0x206 while detecting personality of process PID=5767 >mprotect(0xec10f000, 8192, PROT_READ) = 0 >mprotect(0x2916000, 8192, PROT_READ) = 0 >Unknown value CS=0x206 while detecting personality of process PID=5767 >Unknown value CS=0x206 while detecting personality of process PID=5767 >munmap(0xec112000, 38843) = 0 >rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 >open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 5 >close(5) = 0 >brk(0) = 0x2923494 >brk(0x2944494) = 0x2944494 >brk(0x2945000) = 0x2945000 >open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 5 >fstat64(5, {st_mode=S_IFREG|0644, st_size=3447184, ...}) = 0 >mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 5, 0) = 0xffffffffebd33000 >--- {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0xebd33010} (Bus error) --- >+++ killed by SIGBUS +++ > >Program received signal SIGBUS, Bus error. >0x0000034d9a5962c5 in ?? () >(gdb) bt >#0 0x0000034d9a5962c5 in ?? () >#1 0x00000001620f9999 in main () >(gdb) x/8i $pc >=> 0x34d9a5962c5: cmp $0xfffffffffffff000,%rax > 0x34d9a5962cb: ja 0x34d9a5962df > 0x34d9a5962cd: repz retq > 0x34d9a5962cf: nop > 0x34d9a5962d0: test %eax,%eax > 0x34d9a5962d2: jg 0x34d9a5962b5 > 0x34d9a5962d4: test $0x7fffffff,%eax > 0x34d9a5962d9: je 0x34d9a5962f0 >(gdb) info reg >rax 0x0 0 >rbx 0x162365030 5942693936 >rcx 0xffffffffffffffff -1 >rdx 0x7 7 >rsi 0x1684 5764 >rdi 0x1684 5764 >rbp 0x162124c59 0x162124c59 >rsp 0x3954b18ae68 0x3954b18ae68 >r8 0x3954b18adc0 3939744918976 >r9 0x0 0 >r10 0x8 8 >r11 0x246 582 >r12 0x34d9ab036a0 3631842604704 >r13 0x34d9a8fae68 3631840472680 >r14 0x16235d504 5942662404 >r15 0x3954b18aeb0 3939744919216 >rip 0x34d9a5962c5 0x34d9a5962c5 >eflags 0x246 [ PF ZF IF ] >cs 0x33 51 >ss 0x2b 43 >ds 0x0 0 >es 0x0 0 >fs 0x0 0 >gs 0x0 0 >(gdb) q >A debugging session is active. > > Inferior 1 [process 5764] will be killed. > >Quit anyway? (y or n) y
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 365915
:
272157
|
272159
|
272161
|
272163
|
272199
| 272615