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

Manjaro Linux SegFault #161

Open
andersmmg opened this issue Jan 24, 2020 · 7 comments
Open

Manjaro Linux SegFault #161

andersmmg opened this issue Jan 24, 2020 · 7 comments
Labels

Comments

@andersmmg
Copy link

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

@kmkolasinski
Copy link
Owner

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

@ruudvring
Copy link

ruudvring commented Jan 27, 2020

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.

@andersmmg
Copy link
Author

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

@kmkolasinski
Copy link
Owner

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.

@andersmmg
Copy link
Author

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

@kmkolasinski
Copy link
Owner

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"

@Calinou Calinou added the bug label Feb 9, 2020
@arun54321
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants