I'm writing a backup script prompting the user to insert (mount) a given backup USB stick if it is not mounted. For this I use findmnt --source UUID="my uuid" --poll=mount --first-only
. It works fine but after inserting and automatically mounting the USB stick, I always get the error
*** Error in `findmnt': double free or corruption (fasttop): 0x0000000000c05040 ***
(with varying addresses). Although this is no problem for my particular script, I'm wondering if this is a bug in findmnt or am I missing something here?
poll=mount
with any of UUID, LABEL, mountpoint, device, maj:min. No error when used withpoll=umount
... – don_crissti Sep 16 '15 at 23:13