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

UBSAN errors, need inspection #1290

Open
mgondan opened this issue Jun 17, 2024 · 2 comments
Open

UBSAN errors, need inspection #1290

mgondan opened this issue Jun 17, 2024 · 2 comments

Comments

@mgondan
Copy link
Sponsor Contributor

mgondan commented Jun 17, 2024

if ( !pushSegStack(&LD->cycle.vstack, p, Word) )

If I add an assertion,

set_marked(p);
assert(LD->cycle.vstack.top);
if ( !pushSegStack(&LD->cycle.vstack, p, Word) )
outOfCore();

the build fails.

Same here

while( popSegStack(&LD->cycle.vstack, &p, Word) )

@mgondan
Copy link
Sponsor Contributor Author

mgondan commented Jun 17, 2024

Also in pl-segstack.c, assert(stack->top) right before line 72
And in pl-rec.c, assert(LD->cycle.lstack.top), line 617

@mgondan
Copy link
Sponsor Contributor Author

mgondan commented Jun 23, 2024

I think that this has now been solved.

#1289 (comment)

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