LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   BUG: Annoying deadlock caused by gam-server (Slack64-current) (http://www.linuxquestions.org/questions/slackware-14/bug-annoying-deadlock-caused-by-gam-server-slack64-current-4175428588/)

sombragris 09-22-2012 08:18 PM

BUG: Annoying deadlock caused by gam-server (Slack64-current)
 
Hi there,

I would like to share about a very annoying bug that pestered me a lot. I always wondered what it was. It was difficult to me to trace it because I'm not a programmer.

I'm using Slack64-current, or 14.0 RC5 as it is now. I'm also using AlienBob's KDE 4.9.1 packages, which work really well.

Since I use a laptop, I tend to use the suspend to Ram feature fairly frequently. During these sessions, and as the uptime grows, sometimes certain apps refuse to start.

An examination of current processes show that old apps that you thought you exited, were still running, but with no GUI. The app you recently started is also there, but with the GUI not showing.

Starting the app with strace shows that the app hangs expecting a connection to /tmp/fam-$USER.

Killing the app and restarting it does not work. Many times, in frustration, I had to reboot.

As it turned out, this wasn't necessary. Killing the gam_server process usually restored things to normality.

So, if you have been bitten by this bug, please take notice!

Here are two nice links talking about this bug:

"Deadlock in FAM/KDirWatch usage"
https://bugs.kde.org/show_bug.cgi?id=281312

"gam_server deadlocks, leading to all KDE applications hanging at start"
https://bugzilla.redhat.com/show_bug.cgi?id=786170

wildwizard 09-24-2012 05:04 AM

This bug?

http://www.linuxquestions.org/questi...c5-4175428179/

sombragris 09-24-2012 08:35 AM

Quote:

Originally Posted by wildwizard (Post 4787864)

Yes, that one, precisely. Didn't see it, otherwise I would have posted there. Oh my, I was pestered by this bug for months! I was so glad when I found exactly what it was and that crude workaround.

sombragris 09-24-2012 08:24 PM

From the ChangeLog:

Quote:

Originally Posted by Slackware64-current ChangeLog
Mon Sep 24 20:25:12 UTC 2012
Here are a few minor bugfixes as well as a couple more test drivers for X:
...

l/gamin-0.1.10-x86_64-5.txz: Rebuilt.
Patched to fix a deadlock bug, and to fix building against recent libraries.
Thanks to sberthelot, sombragris, and ponce on LQ.

...
+--------------------------+

Wow! Thank you Pat & the Slackware Crew !


All times are GMT -5. The time now is 05:00 PM.