Open Dr-Terrible opened 7 years ago
@Dr-Terrible Thanks for trying out bookworm on gnome 3.22 with Wayland...can you provide some steps on how I can build this Env on a VM to test and do some debugging to see where it fails...
Will leave this issue on the backburner for now and will come back to it as part of the cross-distro support when I have got all the improvements/features into bookworm ....
@Dr-Terrible Thanks for trying out bookworm on gnome 3.22 with Wayland...can you provide some steps on how I can build this Env on a VM to test and do some debugging to see where it fails
I'm using a Gentoo/Linux, but I advise against it because it's tricky to set up correctly and a lot of long compilations are involved. Instead, you should try a VM with Arch, which brings gtk3 with wayland support compiled in by default: https://wiki.archlinux.org/index.php/wayland#GTK.2B_3
Then you launch a Wayland session for Gnome through your login manager (gdm, or sddm); gnome 3.22 already provides everything you need to use a Wayland session.
Will leave this issue on the backburner for now and will come back to it as part of the cross-distro support when I have got all the improvements/features into bookworm
Keep in mind that the problem happens within Xorg sessions too; which means that distros like Gentoo, Arch, and SuSe are all affected right now because they ship gtk3+ with wayland already compiled in. Pretty soon it will be the same for Fedora 25, and most probably for Canonical too since Wayland is supposed to be packaged as a preview technology (limited to some apps) by the end of the current year.
However, later I'll try to compile bookworm with debug symbols and report a proper gdb session; that should help you find the issue ;)
I am not able to make much out of the logs attached...ideally I should catch the error and handle it instead of a seg fault happening...will have to create a VM with Arch and debug with the Wayland session...and add some debug into the code on the "add book" button to see where the seg fault is happening.... wish there was some information on which line of code is throwing is the seg fault...
Bookworm
generates a lot of segmentation faults when it's executed in a gnome/gtk+ 3.22+ session withwayland
support compiled in at runtime. It doesn't matter what I do, whenever I click on a button or a menu, the app segments.Similar behaviours can be found in other Elementary apps: https://github.com/needle-and-thread/birdie/issues/189