[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [creduce-bugs] creduce crash
Ok, I pushed a fix for this to master, would you mind testing it out,
The fix is to abort with a message saying what happened. I don't
believe there's any point in attempting to continue a reduction when our
basic mechanism is failing.
On 4/25/17 3:55 PM, Dmitry Babokin wrote:
When running creduce in 80 threads it crashes with the following message:
Use of uninitialized value $pid in numeric ge (>=) at
/usr/local/bin/creduce line 449.
Use of uninitialized value $pid in numeric eq (==) at
/usr/local/bin/creduce line 450.
I use creduce top of the trunk from github - creduce 2.6.0 (b02c375).
If I run with default 4 threads reduction succeeds, but for me runnning
in 80 threads in more typical usage case, so would be nice to fix it.
To run reproducer in the attachement, build latest gcc and latest clang,
edit path in test.sh, and run:
creduce --n 80 test.sh func.cpp