Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12064 - Qt from [extra] causes Shaman freeze

Attached to Project: Arch Linux
Opened by Bartek Iwaniec (hash) - Sunday, 09 November 2008, 19:00 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 26 November 2008, 13:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Shaman doesn't start when run on Arch with Qt package from [extra]. It just hangs and there is not output in the terminal. The only possible way to start Shaman with [extra] Qt package is to change GUI style in qtconfig to different than oxygen.

However installing Qtmod from [kdemod-core] makes shaman to start normally even with oxygen style. It looks like it's something wrong with Qt build from [extra].

I'm not sure if this is a bug of Shaman or Qt so sorry if its not the right place to report the bug.

Additional info:

* Qt 4.4.3, Shaman 1.0.9/SVN

Steps to reproduce:

Start the Shaman with standard Qt from extra and oxygen style.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Wednesday, 26 November 2008, 13:17 GMT
Reason for closing:  Fixed
Comment by Pierre Schmitz (Pierre) - Sunday, 09 November 2008, 19:14 GMT
Did you try to recompile shaman?
Comment by Allan McRae (Allan) - Sunday, 09 November 2008, 19:15 GMT
I'm trying to test this out. What package provides the oxygen style? As far as I can tell, it does not come with plain Qt from the repos.
Comment by Bartek Iwaniec (hash) - Sunday, 09 November 2008, 19:15 GMT
Yup, I tried recompiling shaman and that didn't help.
Comment by Pierre Schmitz (Pierre) - Sunday, 09 November 2008, 19:19 GMT
Do you use any other package from the kdemod repo? Oxygen is part of KDE.
Comment by Bartek Iwaniec (hash) - Sunday, 09 November 2008, 19:22 GMT
Nope, I do not use any other package from KDEmod. I downloaded Qtmod only because i remembered that Shaman was working just fine in kdemod. Right now i use KDE from Arch repo + Qtmod from kdemod (just because shaman wasn't working)
Comment by Bartek Iwaniec (hash) - Sunday, 09 November 2008, 19:24 GMT
Actually there are some other users on Arch forums that confirm this problem. http://bbs.archlinux.org/viewtopic.php?id=56755
Comment by Pierre Schmitz (Pierre) - Sunday, 09 November 2008, 20:17 GMT
Was this bug reported to the shaman authors? I have created a diff of qtmod's and qt's patches. (Just for reference)
Comment by Bartek Iwaniec (hash) - Sunday, 09 November 2008, 20:20 GMT
Nope i haven't reported this bug to shaman authors. As i stated in the description i'm not sure whats the reason of this bug - shaman or qt build.
Comment by Pierre Schmitz (Pierre) - Monday, 10 November 2008, 09:04 GMT
Maybe you should. Even if its a bug in QT (I don't know of any other problems with it though) he might know better why his programm hangs.
Comment by Bartek Iwaniec (hash) - Monday, 10 November 2008, 10:05 GMT
Ok i've just reported this bug to shaman authors.
Comment by Marcello Mansueto (torshind) - Saturday, 15 November 2008, 14:08 GMT
I think that the problem is in the QT package. A simple code like this...

#include <QApplication>

int main( int argc, char **argv )
{
QApplication app( argc, argv, QApplication::GuiClient );
return 0;
}

...doesn't work when invoked by root user. It doesn't crash, it loops on the first instruction until I send a SIGINT.
When called by unprivileged user it runs normally.
Comment by Marcello Mansueto (torshind) - Saturday, 15 November 2008, 14:44 GMT
I've just discovered that the root execution problem only happens with SUID root executables or if I gain root privileges with the "su" command. If I login as root to the workstation the problem isn't present any more, and shaman works...
Comment by Marcello Mansueto (torshind) - Sunday, 23 November 2008, 23:35 GMT
I've deleted some ./configure options in the qt PKGBUILD and now everything is OK.
These are the options:
-no-exceptions
-dbus-linked
-reduce-relocations
I have no time to investigate it further, sorry.
Comment by Bartek Iwaniec (hash) - Monday, 24 November 2008, 10:11 GMT
Good to know. I've reported this bug to shaman developers but i haven't received any helping answer. IMHO its Qt package bug - even the simple code provided by Marcello has the same problem.
Comment by Pierre Schmitz (Pierre) - Wednesday, 26 November 2008, 13:17 GMT
The problem was caused by dbus-linked. (Don't ask me why ;-))

Loading...