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

Assertion `false' failed #2

Open
ahmadsalibi opened this issue Apr 21, 2015 · 2 comments
Open

Assertion `false' failed #2

ahmadsalibi opened this issue Apr 21, 2015 · 2 comments

Comments

@ahmadsalibi
Copy link

I have this error when trying to run my code with FTL_DESIGN = 0 and FTL_DESIGN=3.

You are trying to read logical address 318838, but this address does not have a corresponding physical page in the mapping table.
It is most likely that nothing has been written to this address so far.
demo: FTLs/page_ftl.cpp:112: virtual void ssd::FtlImpl_Page::set_read_address(ssd::Event&) const: Assertion `false' failed.
can you help me to solve this issue?

@nivdayan
Copy link
Member

Hello. This isn't actually a bug. As the message says, you are trying to read logical address 318838. The FTL is warning you that you have not written anything on this address before, so there is nothing to read. You can either comment out the assertion in FTLs/page_ftl.cpp:112. Or you can make sure you issue a write to logical address 318838 first.

@ahmadsalibi
Copy link
Author

thank you nivdayan.

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

2 participants