Displaying 2 results from an estimated 2 matches for "utrap".
Did you mean:
trap
2018 Feb 22
0
Auth SEGV on sparc64, alignment problem?
...gt; #0 __unaligned_load (
> p=0x617070656e640e6d <Address 0x617070656e640e6d out of bounds>, size=4)
This address looks like ASCII - "append\x0em", so my theory at the moment
is:
(1) something clobbers a pointer
(2) the CPU attempts to execute a load from the address
(3) a utrap is generated to handle unaligned load
(4) the utrap code attempts to emulate the unaligned load
(5) the CPU fails to access the address since it is bogus, and a SIGSEGV is
generated
Now, I'm have no idea why it'd first try to work around the alignment
requirement before doing a quick s...
2018 Feb 21
5
Auth SEGV on sparc64, alignment problem?
...ed)
Loading the core file, as described https://www.dovecot.org/bugreport.html , shows the error in libc somewhere:
(gdb) bt full
#0 __unaligned_load (
p=0x617070656e640e6d <Address 0x617070656e640e6d out of bounds>, size=4)
at /usr/src/release-11.1.0/lib/libc/sparc64/sys/__sparc_utrap_align.c:45
val = 0
i = 0
#1 0x00000000109f9f6c in __unaligned_fixup (uf=0x7fdffffee40)
at /usr/src/release-11.1.0/lib/libc/sparc64/sys/__sparc_utrap_align.c:78
addr = <value optimized out>
val = <value optimized out>
insn = 3254807616
sig = <value optimized out>
#2 0x0...