Segmentation fault on Archlinux Arm #999
Replies: 14 comments 3 replies
-
Not reproducible, of course. You need to be more specific. Which version of Kvanrum? How did you install Kvantum? Did you compile it? Against which version of Qt? What's the "platform theme" you use to activate Kvantum (inside |
Beta Was this translation helpful? Give feedback.
-
Kvantum 1.1.2-1 (tried both compiled and from package manager) |
Beta Was this translation helpful? Give feedback.
-
I wonder if this can be related to More info is needed. |
Beta Was this translation helpful? Give feedback.
-
Closing because there's nothing in Kvantum that can cause this crash, especially in an elementary method like The report might be reopened if more info is provided, such that the issue can be reproduced. |
Beta Was this translation helpful? Give feedback.
-
I also encountered this issue on Archlinux Arm aarch64.
Raspberry Pi 4 Model B Rev 1.2 |
Beta Was this translation helpful? Give feedback.
-
@xiaohuirong, thanks for your clean backtrace! Since you also use Arm, this confirms my suspicion about a problem in it (but doesn't prove it). Everything will change if someone with x86_64 packages encounters the same issue — although I don't know how that might be possible because, first, I have it and see no problem, and second, the crash happens in a very basic Qt method. |
Beta Was this translation helpful? Give feedback.
-
After downgrading Kvantum to 1.1.0-1, it no longer crashes. |
Beta Was this translation helpful? Give feedback.
-
Because nothing has changed regarding the backtrace from 1.1.0 to 1.1.2 (see V1.1.0...V1.1.2), the problem may be in the kvantum aarch64 package for 1.1.2. |
Beta Was this translation helpful? Give feedback.
-
This is likely an issue with Qt6. The 1.1.0-1 version I recompiled doesn't work, but the 1.1.0-1 version downloaded from the archive works. |
Beta Was this translation helpful? Give feedback.
-
That's possible. But there's also another possibility: the compiler itself. |
Beta Was this translation helpful? Give feedback.
-
I changed the report to a Q&A discussion for more visibility. |
Beta Was this translation helpful? Give feedback.
-
I added a line of I don't understand those underlying things and don't know how to continue debugging this issue 🤔 |
Beta Was this translation helpful? Give feedback.
-
Judging from the output of gdb, this error seems to be caused by a toBool operation on an uninitialized QVariant ( The following code will print QVariant v;
qDebug() << v.toBool(); |
Beta Was this translation helpful? Give feedback.
-
I tried to rebuild the Kvantum package with Clang and then it worked. This issue is most likely caused by GCC itself. |
Beta Was this translation helpful? Give feedback.
-
When ever I try to launch anything to do with Kvantum eg kvantummanager I get a segmentation fault (core dumped) error. I'm stumped what to do to fix this. I'm running arch Linux arm 6.6.42.
Beta Was this translation helpful? Give feedback.
All reactions