Skip to content
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

Investigate index out of bounds exception when no bios are logged #50

Closed
ashmrtn opened this issue Sep 25, 2017 · 1 comment
Closed

Comments

@ashmrtn
Copy link
Member

ashmrtn commented Sep 25, 2017

The test harness portion of CrashMonkey crashes with an index out of bounds exception when no bios are logged/transferred to user space.

Running sudo ./c_harness -f /dev/vda -d /dev/cow_ram0 -t btrfs -e 102400 tests/rename_root_to_sub.so on a build from master should trigger this bug (potentially substituting /dev/vda with an existing disk in the VM).

@ashmrtn
Copy link
Member Author

ashmrtn commented Sep 30, 2017

Bug is most likely caused by a negative index into the vector of operations in the gen_one_state method of RandomPermuter. RandomPermuter or Permuter should be modified to return immediately with a return value of false if there are no operations to permute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant