Skip to main content
Topic: Segmentation fault in QT apps (Read 1944 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Segmentation fault in QT apps

Reply #15
I have that error after building it.
Just after building auralquiz that error.

Re: Segmentation fault in QT apps

Reply #16
I searched qt5 apps in ARMtix repos.
I found etherwallet that does not start cause of missing libprotobuf.so.25.

Any suggestion to how fix qt5/6 apps?

Re: Segmentation fault in QT apps

Reply #17
As i already said, it is firstly required to find actually broken packages, which are qt5-* packages built against wrong qt5-base. Not etherwallet, just qt5-*. They are root of the problem, others are just a consequence.
ARMtix

Re: Segmentation fault in QT apps

Reply #18
Do I need to rebuild qt6-base for qt6 apps?

If it is just me having these problems I wonder why.

Re: Segmentation fault in QT apps

Reply #19
qt6 should be unaffected but you still can check qt6-* packages. It is not base which should be rebuilt, some other qt5-* packages are.
ARMtix

Re: Segmentation fault in QT apps

Reply #20
I find out about this problem because of qt6 apps.
After I checked qt5 just to see if that works.

I think that something is wrong normally you do not have segmentation fault in all qt6 apps and mismatching library for qt5 just after building the app.


Re: Segmentation fault in QT apps

Reply #22
As for qt - i'm not sure if it is really needed. It's a whole lot of rebuilds and i'll have to track all qt of packages on updates. Meanwhile you can overcome this segfault by using drag-and-drop feature
As for kvantum - i'll check it

Also, can you confirm that rebuilding with clang actually fixes problems?
ARMtix

Re: Segmentation fault in QT apps

Reply #23
I did not try this yet on ARMtix.
Having qt built with clang can help see if the bug with the file picker happens with gcc.

Adding this to build should work for kvantum.
Code: [Select]
build() {
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
It worked for pmOS.

ARMtix does not support my devices and so I had to tinker.
Then when I had this bug I decided to abandon ARMtix.
Now I may use it again.

Re: Segmentation fault in QT apps

Reply #24
@phoenix_king_rus I can confirm that building kvantum with clang fixes this.

Next qt update can you use clang? To see if it fixes the file picker bug.

 

Re: Segmentation fault in QT apps

Reply #25
As i said, rebuilding all qt with clang will require patching everything and maintaining these parches. Could you check if rebuilding only qt{5,6}-base can fix issue?
ARMtix