Closed ZanderChang closed 5 years ago
Signal 9 is SIGKILL – meaning something killed the PANDA process. The most common reason for this is that you ran out of RAM (check dmesg and you should see messages about the OOM-killer).
Your options at this point are to either run it on a machine with more RAM, or try using a smaller input file (which should reduce the amount of data the taint system needs to track).
So how much the RAM should be? I ran it with 64GB...
If you scroll back a little bit more in the PANDA log you should be able to see how much RAM it was using just before it was killed, and how far through the replay it got at that point – that may give you a sense of what to expect. Unfortunately it's hard to predict exactly how much RAM it will take since it depends on how the program handles tainted data.
Thank you for your reply, but the libjpeg is an example in your source code, so I just wonder how much RAM did you use when you tested it?
We typically run LAVA on a machine with 384GB of RAM – but I don't know how much libjpeg specifically used. @AndrewFasano do you happen to remember?
OMG, thanks a lot, I know what I need to do next.
When I run
./scripts/lava.sh -ak libjpeg
which is in samples, the lava failed with infomation follows:And it works fine with
file
andgrep
(except for failing to insert bugs intogrep
).Please tell me how can I fix it ?