Regression in ash (crashing)
Rich Felker
dalias at aerifal.cx
Wed Dec 12 19:02:00 UTC 2012
On Wed, Dec 12, 2012 at 08:23:34PM +0300, Leonid Lisovskiy wrote:
> On Wed, Dec 12, 2012 at 8:19 PM, Rich Felker <dalias at aerifal.cx> wrote:
> > Can we take this back on-list?
>
> Of course, yes.
> My suggestion - try to use valgrind(or any similar tool) to track
> origin of uninitialized value. In my case it was point to copyfunc().
> After that add debug print of node type and, I hope, we can finally
> fix all cases.
Just to be more reproducible, I built latest busybox on a glibc
system, and it crashes even earlier. The crash is from path_advance
where it performs memcpy to the block obtained by stackblock(). The
address it's writing to is not an address but ASCII characters being
interpreted as an address.
Valgrind isn't working well because it's static linked. I'll try again
with dynamic linking.
Rich
More information about the busybox
mailing list