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

GeanyLua/GTK3: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed #1027

Closed
Skif-off opened this issue Nov 13, 2020 · 4 comments
Closed

Comments

@Skif-off
Copy link
Contributor

Xubuntu 20.04
Geany 1.37.1, GTK 3.24.20, GLib 2.64.3

(gdb) run
Starting program: /usr/local/bin/geany
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff548c700 (LWP 80774)]
[New Thread 0x7ffff4be7700 (LWP 80775)]
[New Thread 0x7fffecc9e700 (LWP 80776)]
[New Thread 0x7fffe7fff700 (LWP 80777)]
[Detaching after fork from child process 80778]
[Thread 0x7fffe7fff700 (LWP 80777) exited]

(geany:80770): GLib-GObject-CRITICAL **: 08:43:38.441: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed

Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
0x00007fffedc844e5 in gsdlg_option (label=0x555556413338 "DICT", value=0x555556413308 "dict",
    key=0x555556412e18 "proto", dlg=0x555556403ed0) at gsdlg.c:479
479		cw=g_object_get_data(G_OBJECT(hbox), DataKey);

For test use complex-dialog.lua

Also I tried GTK2-version (Geany 1.36, GTK 2.24.32 and GLib 2.64.3): works fine.

@elextr
Copy link
Member

elextr commented Nov 13, 2020

The search in gsdlg.c looks fragile, its possible GTK3 changed the widget hierarchy so it doesn't return what was expected.

@xiota
Copy link
Contributor

xiota commented Sep 25, 2021

@Skif-off When I use geany/geany-plugins from the Ubuntu 21.04 repository, I get the segfault you describe. However, when I build geany/geany-plugins from git, I do not. So the problem is probably already fixed.

@Skif-off
Copy link
Contributor Author

@xiota
Thanks for checking. I have tried too and I think I will wait v1.38 and close this issue (if Geany team members will not close it).

@Skif-off
Copy link
Contributor Author

Not reproduced with 1.38.

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

3 participants