[PATCH] sha3sum: New applet, v2

Lauri Kasanen curaga at operamail.com
Sun Jan 6 20:04:36 UTC 2013


> The content of the r28 register is:
> 
> (gdb) info registers
> ...
> r28            0x10173010   269955088
> 
> The process' /proc/[pid]/maps file shows:
> 
> 1014d000-10173000 rwxp 00000000 00:00 0          [heap]
> 
> which means that we're trying to read just beyond the process allocated
> heap.
> 
> From the disassembly code I infer that the crash happens before the call
> to 
> bb_bswap_64 at address 0x10050b80.

Thanks.

Can you also enable CONFIG_PESSIMIZE (disable gcc's optimization) and
post the backtrace? I wonder if somehow it gets called with wrong
arguments (end of string, but wrong size for example), those were
optimized out in the first backtrace.

- Lauri

-- 
http://www.fastmail.fm - Send your email first class



More information about the busybox mailing list