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
geany crashes on ubuntu/mate 22.04 when attempting to select text #3843
Comments
Its hard to say anything except that the problem occurs inside the X11 library called from GDK called from GTK during the initialisation of the displays called from Geany at line |
This is geany 1.38 GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1 For help, type "help". (geany:843195): dconf-DEBUG: 07:38:44.906: watch_fast: "/org/appmenu/gtk-module/" (establishing: 0, active: 0) Thread 1 "geany" received signal SIGSEGV, Segmentation fault. |
I have also built current geany 2.0. It runs with same outcome (.i.e crashes when attempting to select any text) |
Sounds like something is wrong with your brand new Ubuntu. Are you running Wayland? If so try |
Thanks I will give at shot. My current default backed is x11 |
Looks like this it is not new issue. First reported 2 year back on Fedora thread. Probably not geany specific, but some odd interaction between gdk3 and x11 |
There are some reports of weirdnesses with XWayland and GTK, which have been fixed by running Geany as Wayland as I mentioned. But havn't had any reports that can be traced to real xorg and GTK (that my quick search on Geany issues found anyway), and it is just fine on my Linux Mint (which is based on Ubuntu). |
From looking at the backtrace and the relevant GTK source code, this seems entirely unrelated to Geany itself (apart for Geany using GTK3, that is). It looks like either there is a bug in your |
Thank you. I have decided to take an easy way out and do fresh install. All works now. Cheers. |
didn't you have a fresh install before already? Not sure, but maybe your hardware (hard drive maybe) is faulty? |
Running on fresh install of ubuntu/mate 22.04. Crash is consistent, any time I try to select some text using either keyboard or mouse
thread 1 "geany" received signal SIGSEGV, Segmentation fault.
0x00007ffff6603104 in XVisualIDFromVisual () from /lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0 0x00007ffff6603104 in XVisualIDFromVisual ()
at /lib/x86_64-linux-gnu/libX11.so.6
#1 0x00007ffff7b79a2e in gdk_x11_window_foreign_new_for_display ()
at /lib/x86_64-linux-gnu/libgdk-3.so.0
#2 0x00007ffff7b649f8 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#3 0x00007ffff7b66191 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#4 0x00007ffff7b69d28 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#5 0x00007ffff7b2fa99 in gdk_display_get_event ()
at /lib/x86_64-linux-gnu/libgdk-3.so.0
#6 0x00007ffff7b69f46 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#7 0x00007ffff6b42d3b in g_main_context_dispatch ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007ffff6b98258 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff6b422b3 in g_main_loop_run ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff7048cfd in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff7c8fd1a in main_lib () at /lib/x86_64-linux-gnu/libgeany.so.0
#12 0x00007ffff7829d90 in __libc_start_call_main
(main=main@entry=0x555555555060, argc=argc@entry=2, argv=argv@entry=0x7fffffffdbb8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007ffff7829e40 in __libc_start_main_impl
(main=0x555555555060, argc=2, argv=0x7fffffffdbb8, init=, fini=, rtld_fini=, stack_end=0x7fffffffdba8)
--Type for more, q to quit, c to continue without paging--
-start.c:392
The text was updated successfully, but these errors were encountered: