Bug 487060 - 11.2 Alpha0 x86_64 never comes out of FUTEX_WAIT_PRIVATE on some apps run as root
Summary: 11.2 Alpha0 x86_64 never comes out of FUTEX_WAIT_PRIVATE on some apps run as...
Status: RESOLVED DUPLICATE of bug 514056
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: KDE4 Workspace (show other bugs)
Version: Factory
Hardware: x86-64 Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 01:20 UTC by Sid Boyce
Modified: 2009-07-31 20:21 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
"strace -s 256 -f qjackctl" run as root - CTRL-C to get back to prompt (21.12 KB, application/x-gzip)
2009-03-20 01:20 UTC, Sid Boyce
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sid Boyce 2009-03-20 01:20:12 UTC
Created attachment 280798 [details]
"strace -s 256 -f qjackctl" run as root - CTRL-C to get back to prompt

This only happens on one box, the other one is OK. The apps work OK as user. I have checked and set permissions as easy. Two apps that I find affected are VirtualBox and qjackctl.
Attached is "strace -s 256 -f qjackctl".
Comment 1 Sid Boyce 2009-04-22 12:28:36 UTC
Built a new box AMD Phenom(tm) II X4 940 Processor, new HD, memory, everything. Installed 11.1 DVD x64_64, did the 11.1 update, then changed the repos and zypper dup to factory 11.2 Alpha0.
I'm seeing this problem on this box also.
lancelot@slipstream:~/ftp/Apr09> sudo VirtualBox
root's password:
Qt WARNING: VirtualBox: cannot connect to X server

"xhost +" same result as above.
If I try as root, it gets stuck at FUTEX_WAIT_PRIVATE the same as on the other box.
Executing VirtualBox as user "lancelot", no problem.

In case it's likely, here is the URL I'm using for KDE 4.2.
http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_Factory

Later I shall see if it happens under KDE 3.
Comment 2 Sid Boyce 2009-04-22 12:31:30 UTC
BTW the other box with the problem is AMD 64x2,
Comment 3 Sid Boyce 2009-04-24 06:57:52 UTC
I can do "ssh -X" from another x86_64 box and get VirtualBox up and running as root, but on this box itself, it gets stuck at
futex(0x69bbcc, FUTEX_WAIT_PRIVATE, 1, NULL

I haven't yet tried KDE3.
Comment 4 Sid Boyce 2009-04-24 07:02:26 UTC
Both boxes at the same level and running kde4.
Hmmmmm..... Same behaviour on the other box, VirtualBox run as root gets stuck the same way, but will run fine over a "ssh -X" link.
Comment 5 Sid Boyce 2009-05-02 20:31:49 UTC
Just noticed priority was set to None. Other stuff such as hp-setup will also fail the same. I reckon such stuff affecting the whole system should be run by root.
Seeing the same behaviour in Milestone 1.
Comment 6 Jeff Mahoney 2009-05-12 15:56:55 UTC
Can you reproduce with the latest kernel-default and kernel-vanilla from http://ftp.suse.com/pub/projects/kernel/kotd/master/ ?
Comment 7 Sid Boyce 2009-05-13 22:52:35 UTC
I have tried vmlinuz-2.6.30-rc4-git1-master_20090506152001_d8423c47-default, it boots, but no video is displayed. I had to ssh in from another box.

I tried many vanilla kernels up to the latest 2.6.30-rc5-git3 and the result is the same.
"ssh -X" in from another box (11.2 M1 x86_64) and qjackctl comes up fine as root, it just gets stuck at FUTEX_WAIT_PRIVATE only when run as root on the boxes where it's installed.
I have 4 AMD x86_64 boxes including 2 laptops and a AMD x86 box all at 11.2 M1, all exhibit the same problem.
Why these applications run over the network but not locally is the mystery and it started with late Alpha0, some days before the M1 upgrade.
Comment 8 Sid Boyce 2009-06-10 21:58:57 UTC
The kernel has been updated a number of times since, but the problem persists. Bugs #458230 and #400834 seem to be flavours of this bug.
Comment 9 Sid Boyce 2009-06-10 21:59:33 UTC
Still present at Milestone 2 ++.
Comment 10 Sid Boyce 2009-06-15 12:43:23 UTC
Just tried KDE 3.5 and there isn't a problem. So there is something in KDE4 that's causing it. Currently using repo baseurl=http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_Factory but it has been the same with the standard factory repo.
Changed Component to KDE4 Workspace.
Comment 11 Sid Boyce 2009-06-21 14:47:30 UTC
I have gone back to using KDE 3.5 where problem does not exist, also a problem with bash crashing when the box is idle for some hours is now not happening.
Comment 12 Stephan Binner 2009-07-03 07:53:49 UTC
Reports are not allowed to play with priority.
Comment 13 Lubos Lunak 2009-07-31 20:21:26 UTC
It's dbus hanging.

*** This bug has been marked as a duplicate of bug 514056 ***