-
Notifications
You must be signed in to change notification settings - Fork 71
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
GtkContainer.child SIGSEGVs on access #292
Comments
Uhm.... sorry, but... why? GTK 2 is end-of-life and GTK 2.24.33 is almost 1.5 years old. I can't even find a GTK 2 package for Debian testing, so apparently Debian already got rid of this. Could you try whether this problem also occurs with a current GTK version? |
No, sorry, I don't have gtk3 installed, and I'd like to keep that abomination away from my system as long as possible. Lines 634 to 640 in 60b66d3
|
Wow, that code is nine years old: 1a9d493 Also, I can't say that this is more or less supported than the rest of LGI. People use it. Sometimes they find problems. Sometimes they report them. Sometimes I can do something about the problems. Sometimes not. But if I understand the code you found correctly, then... doesn't this try to make the So... apparently either the code you found or the the code here does not work any more. After nine years. It certainly looks different. Back then, this code was on "the main level" and these days it is wrapped in a Dunno, sorry. |
Hmm, based on the comment I though it wanted to get rid of this: https://developer-old.gnome.org/gtk2/2.24/GtkBin.html#gtk-bin-get-child while still keeping the lgi's own
so I don't think that |
If you want to invest more time into this: You could try building the version with the above commit and see if it works. Then you could try a No idea if this would actually help. This is all before I even knew lgi existed, I think. |
I've tried to create a toy program, but it looks like as soon as I try to access a container's
child
property, it crashes.Here's a gdb backtrace:
In frame 1, tag is
GI_TYPE_TAG_INTERFACE
yetarg->v_string
clearly points to the stringlua
, so something is not alright here, but I have no idea what's wrong.Using lgi 0.9.2, lua 5.1.5 (but the same happens with luajit) and gtk 2.24.33.
The text was updated successfully, but these errors were encountered: