close(3) = 0 openat(AT_FDCWD, "/workdir/build/3rd-party/phytec-regor-fresh/build/tmp/work/phyboard_regor_am335x_1-phytec-linux-gnueabi/phytec-headless-bundle/1.0/sources/bundle/.rauc-workdir/phytec-headless-image-phyboard-regor-am335x-1.rootfs.ubifs", O_RDONLY|O_CLOEXEC) = 3 lseek(3, 0, SEEK_END) = 98445312 lseek(3, 0, SEEK_SET) = 0 close(3) = 0 close(3) = -1 EBADF (Bad file descriptor) ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0 getpid() = 118760 write(2, "\n(rauc:118760): GLib-\33[1;35mCRIT"..., 128 (rauc:118760): GLib-CRITICAL **: 15:46:10.054: g_close(fd:3) failed with EBADF. The tracking of file descri) = 128 write(2, "ptors got messed up\n", 20ptors got messed up ) = 20 --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- +++ killed by SIGTRAP (core dumped) +++