-
Notifications
You must be signed in to change notification settings - Fork 42
PANDA 1.0 record cannot handle a record file that is more than 2GB #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you provide a backtrace for this? (e.g. by running under gdb and using |
Hi Moyix, Thanks a lot for your quick reply. Here is the backtrace of the qemu process when the crash happened: Program terminated with signal SIGTRAP, Trace/breakpoint trap. Please do let me know if there is anything more that I can provide you with. We are looking forward for your reply. |
Hmm, it looks like the culprit may be this bit of QEMU code: Lines 731 to 737 in f758bee
I'll have to think about how to fix this. Possibly we could detect size > 2GB and split up the section into smaller chunks... |
I am experiencing the following problem with PANDA recording. We use PANDA 1.0.
I record back-to-back record files that each last 2 minutes. Each record file has a certain amount of size in bits. It seems that when the record size is more than 2GB, there is a casting overflow problem. And the linux (host) cannot handle it, PANDA record crashes, and of course the guest stops. Specifically, I think that the guest or the host "translates" the record (filesize) 2GB into some thousands of terrabytes (due to the potential casting error), and I get the error:
Glib-ERROR **: build/buildd/gliz2.40.2/./glib/gmem.c:103: failed to allocate 18446744071595337090 bytes.
Overall, it seems that PANDA cannot handle more than 2GB record filesize (more precisely, PANDA cannot handle a workload (in the guest) that corresponds to a record size higher than 2GB ). Has anyone got this issue before?
It's really annoying to not be able to record a heavy workload because the record filesize might exceed 2GB and PANDA crash.
The text was updated successfully, but these errors were encountered: