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

GCC sanitizer reports incorrect downcast error in Awl/SingleList.h #1

Closed
dmitriano opened this issue Sep 13, 2017 · 1 comment
Closed

Comments

@dmitriano
Copy link
Owner

GCC with -fsanitize=undefined reports the following:

Awl/SingleList.h:250:23: runtime error: downcast of address 0x000002a33fe0 which does not point to an object of type 'Observer'
0x000002a33fe0: note: object has invalid vptr
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
^~~~~~~~~~~~~~~~~~~~~~~
invalid vptr

in function:

T * null() { return (T *)&Null; }

@dmitriano dmitriano changed the title GCC sanitizer reports reports incorrect downcast error in Awl/SingleList.h GCC sanitizer reports incorrect downcast error in Awl/SingleList.h Sep 13, 2017
@dmitriano
Copy link
Owner Author

resolved in master branch

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

1 participant