[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#685625: libgeom: segfaults on large kern.geom.confxml

Steven Chamberlain <steven@pyro.eu.org> writes:

> I'm reassigning this because GRUB can't really avoid this crash in libgeom.
> I don't see anything else odd about the XML except for its size. It
> seems, then that 6510 snapshots makes the kern.geom.confxml larger
> than libgeom can handle? Though I didn't find any hard-coded buffer
> sizes.

Just noticed a funny thing: The zfs snapshot count on my box is much
lower than the list in kern.geom.confxml.

None of the zfs "filesystem" snapshots show up in kern.geom.confxml, but
all snapshots ever created of the "rpool/swap" zfs volume (not a
filesystem, but a "device") is there. Even those which has been deleted
by the zfs snapshot script. 

None of the zfs filesystems are present in kern.geom.confxml, either.

So kern.geom.confxml lists devices that do not exist. I suspect that
this may also be a source of confusion for libgeom.

I removed all the snapshots from the swap device, and some others, with
no effect on grub-probe.  Even when all snapshots are removed, they are
still present in kern.geom.confxml.

Thanks for your help so far. :)

Stig Sandbeck Mathisen <ssm@debian.org>

Reply to: