Skip to content

Trace production with JSON UI segfaults #1065

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

Closed
smowton opened this issue Jun 27, 2017 · 8 comments
Closed

Trace production with JSON UI segfaults #1065

smowton opened this issue Jun 27, 2017 · 8 comments
Assignees

Comments

@smowton
Copy link
Contributor

smowton commented Jun 27, 2017

This happens in the test-gen-support branch when trying to simplify an index-expression with a pointer-offset expression in the index operand. The cause is a misunderstanding of pointer_offset_exprt here (https://github.com/diffblue/cbmc/blob/test-gen-support/src/goto-programs/json_goto_trace.cpp#L26)-- the transformation simply discarding pointer_offset_exprt(constant) is not correct. Fix coming up.

@smowton smowton self-assigned this Jun 27, 2017
@smowton
Copy link
Contributor Author

smowton commented Jun 27, 2017

@carlburgess
Copy link

@smowton Is there anything for QA to do here ?

@smowton
Copy link
Contributor Author

smowton commented Jul 28, 2017

Hmm, I can't immediately find the originally failing test case for this. Perhaps @mgudemann has one?

@carlburgess
Copy link

@smowton @mgudemann How do we reproduce the conditions that caused this bug ? Is there an existing test case for this ?

@smowton
Copy link
Contributor Author

smowton commented Aug 11, 2017

Looks like the test case is added here: https://github.com/diffblue/cbmc/pull/1066/files

@carlburgess
Copy link

Fixed

@carlburgess
Copy link

@smowton @jgwilson42 I do not have the ability to close this

@jgwilson42
Copy link

@sara-db please could you close this?

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

No branches or pull requests

4 participants