kmkolasinski/AwesomeBump

Manjaro Linux SegFault

andersmmg opened this issue · 7 comments

I've tried both precompiled binaries and building it myself and with AUR, but all ended in a segmentation fault.
Console output

Hi, did you try to build GL 330 version ? Maybe it is related to Mesa which you are using. You can compile AB with gl330 support by setting BUILD_WITH_OPENGL_330_SUPPORT variable in the compilation script, see: unixBuildScript.sh

Had the same output on Ubuntu 18.04.3 LTS, managed to compile and run after shuffling around some lines in mainwindow.cpp

mainwindow.diff.txt

glWidget is using stuff from dialog3dGeneralSettings which is initialized later, hence causing the segfault.

Yes, I did try that, and still had the same problem.

You mean, you've tried the @ruudvring solution ?
Another approach would be to compile AB in debug mode and run the program. It should show you where exactly is the problem or which line causes this.

I meant I tried your solution, using GL 330. Somehow I didn't see the other comment. How would I compile it in debug mode? I must be looking in the wrong place, as I don't see any instructions

Ok, are you using QtCreator or provided script ?

If the former you just click one button in the GUI to build AB in debug mode:
image
My debug settings:
image

If the latter you must modify unixBuildScript.sh script and add to QMAKE_CONFIG debug flags somewhere in the file.

QMAKE_CONFIG="CONFIG+=debug CONFIG+=qml_debug"

I've tried both precompiled binaries and building it myself and with AUR, but all ended in a segmentation fault.
Console output

It's working fine on arch linux (AUR git build). The stable version doesn't open and it crashes the whole DE.