Open moyix opened 2 years ago
Note that the (somewhat ancient) version of bear in Ubuntu 20.04 does work fine here:
moyix@isabella:/fastdata$ bear --version
bear 2.4.3
moyix@isabella:/fastdata$ bear tar tf qemu_6.2+dfsg.orig.tar.xz > /dev/null # Succeeds
moyix@isabella:/fastdata$
Thanks @moyix , this is a good catch!
The new version of Bear is spawning a supervisor process for each process execution. The old version was just record the execution attempt and executed the requested process. The new approach allow us to capture the exit codes, or emit other metrics about the execution... But it probably has a bug about the standard input/output redirection.
I've run a few tests now, with bzip2
it works just fine. Will need some time to find fix for this bug. :smile:
Describe the bug
For reasons I can't quite figure out, bear causes tar (or more specifically, the unxz process it launches) to fail when unpacking the following .tar.xz file: https://moyix.net/~moyix/qemu_6.2+dfsg.orig.tar.xz
To Reproduce
With the latest bear from git:
Expected behavior
The tar command should run successfully under bear.
Environment:
Additional context
apt-get -b source qemu
on debian unstable.Before you send...
README.md
file orman bear
? Yes