Segmentation fault on Archlinux Arm #999
|
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. |
Replies: 14 comments 5 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 |
|
Kvantum 1.1.2-1 (tried both compiled and from package manager) |
|
I wonder if this can be related to More info is needed. |
|
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. |
|
I also encountered this issue on Archlinux Arm aarch64. Raspberry Pi 4 Model B Rev 1.2 |
|
@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. |
|
After downgrading Kvantum to 1.1.0-1, it no longer crashes. |
|
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. |
|
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. |
That's possible. But there's also another possibility: the compiler itself. |
|
I changed the report to a Q&A discussion for more visibility. |
|
I added a line of I don't understand those underlying things and don't know how to continue debugging this issue 🤔 |
|
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(); |
|
I tried to rebuild the Kvantum package with Clang and then it worked. This issue is most likely caused by GCC itself. |
I tried to rebuild the Kvantum package with Clang and then it worked. This issue is most likely caused by GCC itself.