1

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?

Stef
  • 111
  • Looks like a bug... I'm able to replicate this when using poll=mount with any of UUID, LABEL, mountpoint, device, maj:min. No error when used with poll=umount... – don_crissti Sep 16 '15 at 23:13
  • This message indicates a bug in the program (or in a library that it uses, or in your kernel or in your hardware). Have you searched the bug list for your distribution and for util-linux? What version of util-linux is this, on what distribution, running on what architecture? – Gilles 'SO- stop being evil' Sep 16 '15 at 23:54
  • @Gilles: Architecture: amd64, Version: 2.20.1-5.1ubuntu20, Kernel: 3.13.0-24-generic. I have searched this bug list with no result. – Stef Sep 17 '15 at 11:50
  • Same bug here :( – Heinzi Sep 23 '16 at 19:45

0 Answers0