LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2020, 06:32 PM   #1
UH10Y6
LQ Newbie
 
Registered: May 2020
Posts: 26

Rep: Reputation: Disabled
qt5ct segfault on xfce de - slackware-current-64 multilib


Hello everyone,

When i try to run qt5ct with Xfce De i get a segfault for qt5ct.

Here is what i got.

Code:
Thread 1 "qt5ct" received signal SIGSEGV, Segmentation fault.
0x00007fffe9fcf22e in gdk_display_open ()
   from /usr/lib64/qt5/plugins/styles/../../../libgdk-x11-2.0.so.0
(gdb) bt
#0  0x00007fffe9fcf22e in gdk_display_open ()
    at /usr/lib64/qt5/plugins/styles/../../../libgdk-x11-2.0.so.0
#1  0x00007fffe9f9fac2 in gdk_display_open_default_libgtk_only ()
    at /usr/lib64/qt5/plugins/styles/../../../libgdk-x11-2.0.so.0
#2  0x00007fffea16d525 in gtk_init ()
    at /usr/lib64/qt5/plugins/styles/../../../libgtk-x11-2.0.so.0
#3  0x00007fffea4a54f5 in  () at /usr/lib64/qt5/plugins/styles/libqgtk2style.so
#4  0x00007fffea4a6a1f in  () at /usr/lib64/qt5/plugins/styles/libqgtk2style.so
#5  0x00007ffff7b2b60a in QStyleFactory::create(QString const&) ()
    at /usr/lib64/libQt5Widgets.so.5
#6  0x00000000004167a1 in  ()
#7  0x0000000000417f02 in  ()
#8  0x0000000000418d15 in  ()
#9  0x000000000041383b in  ()
#10 0x000000000041265c in  ()
#11 0x00007ffff66cde5b in __libc_start_main () at /lib64/libc.so.6
qt5ct does not segfault if i use icewm.
 
Old 10-12-2020, 11:27 PM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Does it still happen if you switch to Fusion style?

Note:
I compiled it on 64bit 14.2 with qt5-5.15.1 and it doesn't crash here, but I have no such thing as libqgtk2style.so
On my system there is only 1 plugin /usr/lib64/qt5/plugins/styles/libqt5ct-style.so (it's built without gtk support).
 
Old 10-15-2020, 07:33 PM   #3
UH10Y6
LQ Newbie
 
Registered: May 2020
Posts: 26

Original Poster
Rep: Reputation: Disabled
@elcore I did change the theme to bb10bright on icewm, then switched to xfce. Now works but, i get huge icons on qt5ct.

https://i.ibb.co/JRfxjph/qt5ct.png

EDIT: This seems to be just an issue with bb10bright and bb10dark. All the other themes work fine.

Last edited by UH10Y6; 10-15-2020 at 07:59 PM.
 
Old 10-15-2020, 11:06 PM   #4
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Went to double check the readme on github mirror.
Apparently, there is a list of relevant files installed by qt5ct package, with these descriptions:
Code:
qt5ct - Qt5 configuration tool
libqt5ct.so - qt5ct platform plugin
libqt5ct-style.so - qt5ct proxy style plugin
And since libqgtk2style.so is not listed there, it must be a part of another package.
Where this object came from and why it segfaults under xfce, I have no idea.
Possibly a qt5 package with gtk compatibility enabled includes this object, or some external package did that, I'm not sure.
But from previous experience, it's not the first time gtk compatibility in qt had bugs.

Last edited by elcore; 10-15-2020 at 11:07 PM. Reason: typo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] QT5 styleplugins and qt5ct are not working properly for me. UH10Y6 Slackware 2 10-10-2020 11:54 PM
lost single click after using qt5ct, though kdeglobal appears correct husten Linux - Desktop 1 06-02-2017 02:51 AM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration