mkfs.ubifs: double free or corruption, while trying to create bigger image than -c allow
Artem Bityutskiy
dedekind1 at gmail.com
Tue Apr 6 04:35:14 EDT 2010
On Tue, 2010-03-02 at 15:11 +0100, Martin Jansa wrote:
> Hi,
>
> when I run mkfs.ubifs and the rootfs directory is bigger and needs more
> LEBs than -c parameter, then it says right message, but then fails with
> "double free or corruption" and shows backtrace.
>
> But the backtrace is shown only for some bigger counts (or so it seems),
> in some cases is only the Error about LEBs count shown and no backtrace.
>
> But those error messages also doesn't seem right:
>
> (gdb) set args -r /home/projects/OE/tmpdir-dev-shr/rootfs/shr-lite-image/ -o image.ubifs -m 2048 -e 126976 -c 2
> Error: too low max. count of LEBs, minimum is 17
> (gdb) set args -r /home/projects/OE/tmpdir-dev-shr/rootfs/shr-lite-image/ -o image.ubifs -m 2048 -e 126976 -c 17
> Error: too many log LEBs, maximum is 0
> (gdb) set args -r /home/projects/OE/tmpdir-dev-shr/rootfs/shr-lite-image/ -o image.ubifs -m 2048 -e 126976 -c 18
> Error: too many log LEBs, maximum is 1
>
> Build arch is x86_64, gcc-4.4.3, glibc-2.11, latest gentoo.
Hi, yes, I saw this problem, but never had time to fix it. Would be nice
to have a patch from someone :-)
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list