-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bug in boxed handling causing memory corruption #102
Comments
Uhm, what exactly are you trying to achieve here? The |
In my opinion, bindings should not corrupt the heap. I don't store anything anywhere here, explicitly. This is completely normal stuff. In general, for all the issues I open here: (1) it actually happens to me in a normal program I wrote, without trying to make it happen So I did here. This totally works, and the output is
Now, I'm reading the Gtk source code... In this case, I use |
Hmm, my results inside Guix environment are slightly different, but as we know from #96, we can't trust those. I've pushed a commit with a test, that has been inspired by yours, perhaps that solves it or perhaps it breaks the CI. |
Thanks. For reference, this is in
That suggests that Also, the |
Fix pushed. For the record, your code contained a fair number of typos, so here is the updated and fixed test case: Lines 139 to 148 in b398733
|
Message:
Something like g_boxed_free NULL
then corrupts heap.
Test:
The text was updated successfully, but these errors were encountered: