Page 1 of 2

[SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

Posted: 2023-01-30 22:39
by deepforest
Hello Free People! :)
Here very strange situation.

Fresh install Debian Sid, XFCE4, nvidia proprietary driver 340.108 from Sid repo(maybe this proprietary driver have bug?)
c2d, gf9800gtx, 4gb ram, hdd

after installing qtbase5-dev, qtmultimedia5-dev, qttools5-dev i have segfault at all Qt software

Now when i try start any Qt software almost all give here Segmentation fault

Example Doomseeker, it crashes at start, BUT! working good through

Code: Select all

gdb ./doomseeker
strace ./doomseeker
Same is with Qbittorrent
https://imgur.com/a/SYgqHZD

and 2048-Qt
https://imgur.com/SUefK7P

Only one Qt application starting normally - CMake GUI

Segmentation fault

Code: Select all

#include <QApplication>
int main(int argc, char **argv)
{
  QApplication app(argc, argv);
  return 0;
}
Please, can you give answer why it happens? :roll:
And if its possible solve this?

UPD
nvidia leagacy 340.108 drive broke Qt
viewtopic.php?p=767606#p767606
UPD2
bug report and Fedora
viewtopic.php?p=768912#p768912
UPD3
temporary fix
viewtopic.php?p=769302#p769302

Re: [Software] Debian Sid, all Qt software give Segmentation fault at launch

Posted: 2023-01-31 01:59
by sunrat
Moved to Sid/Testing subforum.

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-01 17:20
by deepforest
any ideas?

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-01 17:25
by wizard10000
The screenshots you posted aren't visible right now so kinda hard to diagnose.

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-01 21:57
by deepforest
new links at first post

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-02 15:13
by wizard10000
Are you using a Qt theme that's not available in Debian? The reason I ask is that the non-Debian theme may not support newer Qt headers.

edit: If you are using a non-Debian theme can you try temporarily switching to a supported theme and see if the problem goes away?

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-02 16:58
by deepforest
what themes? i am do not install any special qt software, except depencies needed for doomseeker.

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-02 22:27
by wizard10000
I think it's doomseeker dependencies that are causing the issue. doomseeker depends on qt5-qttools-devel and qt5-qtmultimedia-devel and I think these development libraries may be causing issues.

Can you *temporarily* remove those two packages (this will break doomseeker but they can be reinstalled) and see if the problem goes away? If this resolves the issue then we've found the problem.

edit: Proper troubleshooting would probably be to remove the packages one at a time and test between removals to determine which package is causing the issue - and then it'd be pretty amazing for you to file a bug report against the package causing the issues.

Hope this helps -

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-03 02:02
by deepforest
Thanks you. Cant now check. Sorry.
But doomseeker developer reported that all working good at his PC with Debian Sid it also have installed all Qt dev tools. I am ask him.

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-03 02:07
by wizard10000
Sounds like a plan. Good luck!

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-03 11:46
by wizard10000
@deepforest - the two packages we mentioned - qt5-qttools-devel and qt5-qtmultimedia-devel are no longer available in Sid.
i looked for them this morning after an update and they're not in Sid repos any more - my guess is there was a problem since I saw both of them in Sid yesterday.

Your doomseeker dev is maintaining an app for three different platforms and since Qt was updated fairly recently maybe you and the dev aren't running the same version of these dev libraries. Might be worth checking.

cheers -

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-04 00:14
by deepforest
update first post

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-05 22:33
by deepforest
I see here no true specialists that can say what that and how solve that?

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-06 15:05
by wizard10000
deepforest wrote: 2023-02-05 22:33I see here no true specialists that can say what that and how solve that?
Did you test either of the dev libraries as suggested?

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-10 22:53
by deepforest
Reinstall Sid.

Before i am install deps needed for building Doomseeker, all Qt soft works fine. But after installing qtbase5-dev, qtmultimedia5-dev, qttools5-dev again have segfault.

https://pastebin.com/raw/KtzYvmJA

Now i remove and purge qtbase5-dev, qtmultimedia5-dev, qttools5-dev but all Qt soft still give me SegFault

How restore my Sid?

Why qtbase5-dev, qtmultimedia5-dev, qttools5-dev broke system?

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-02-11 02:21
by deepforest
Found source of problem SegFault with Qt

Problem is in legacy nvidia driver 340.108 for my videocard

Install fresh Debian Sid

install qtbase5-dev qtmultimedia5-dev qttools5-dev and 2048-qt on NOUVEAU
ALL Qt soft Works and 2048-qt too!

But!
after installing legacy nvidia driver 340.108 - 2048-qt gives SegFault

BUT!
After purging nvidia driver 340.108 - 2048-qt and others Qt software WORKING AGAIN! :)

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-03-02 19:50
by deepforest
bug report
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1031489

Fedora 37 + 340.108 + Qt 5.15.8 = ALL QT WORKING GOOD
https://i.imgur.com/8Sma9pM.png
So its Debian issue?

Re: [SID - Unstable] All Qt GUI software give Segmentation fault at launch

Posted: 2023-03-02 21:01
by sunrat
deepforest wrote: 2023-03-02 19:50 bug report
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1031489
...
So its Debian issue?
Bug is marked upstream, wontfix which means the maintainers believe it's not a Debian issue.
You said it happened after you installed doomseeker which is also not a Debian package, so that makes it lower priority also.
I can't see it getting fixed for Debian especially as you are the only person reporting the bug.

Re: [SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

Posted: 2023-03-03 04:52
by deepforest
but why all working at Fedora at same soft combination?
qt devs says that is not their issue.
if its eol nvidia driver issue, why debian devs cant make a patch?

Re: [SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

Posted: 2023-03-05 08:58
by deepforest
deepforest wrote: 2023-03-03 04:52 but why all working at Fedora at same soft combination?
qt devs says that is not their issue.
if its eol nvidia driver issue, why debian devs cant make a patch?
i see here no specialists about this question?
why debian devs do not whant fix that?