-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
"wrapper functions for null function error function pointers" commit leads to segfaults #662
Comments
The issue is still immanent. People experience issues (with the weekly builds) with MaxIDE and bcc for some weeks now. I think we should at least kinda "discuss" how to approach the issue (if required) or maybe @woollybah could write if he is already investigating (simply assign the issue to you @woollybah ). As I provided a short "failing" example it should be at least possible to replicate it on your own computers. |
I am a bit confused as to how 600b543 is meant to work. I might be misunderstanding something here but as far as I can tell, it introduces wrapper functions for the Null function, resulting on
still needs to work. So do similar comparisons in Extern functions whenever BlitzMax functions are passed to them, e.g.
which has been working since all the way back in legacy BlitzMax. Isn't there be an easier way to fix the casting issues in #659 that doesn't require all this? |
On a related note, while writing the above I noticed that function type variance is currently broken. That is an unrelated bug, but such conversions would be relevant here as well ( |
Using bcc with the commit 600b543
leads to a segfault in my game and test applications (using parts of my game code):
Using the bcc revision of before that commit and everything works as expected.
The method it calls there has an overloaded variant, dunno if that can lead to it (need to investigate a bit tomorrow)edit - nope, renamed the overloaded method and it still failed.
User hotcakes at our discord also mentioned something about the new bcc (weekly build):
It might be related to it.
The text was updated successfully, but these errors were encountered: