LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-25-2021, 01:00 PM   #16
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379

Today i installed kde on -current, logged in kde, reboot, logged in xfce and then was hit by that crashing firefox.
As it is a testing system i did some brute-force debugging:
After "rm -rf ~/.config/*", firefox worked again, so that may be a starting point.
 
1 members found this post helpful.
Old 02-25-2021, 01:29 PM   #17
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by franzen View Post
Today i installed kde on -current, logged in kde, reboot, logged in xfce and then was hit by that crashing firefox.
As it is a testing system i did some brute-force debugging:
After "rm -rf ~/.config/*", firefox worked again, so that may be a starting point.
I just edited

/etc/gamin/gaminrc
and for all used fs (ext4 in my case) changed
fsset ext4 poll 15
to
fsset ext4 poll 104

no more crashing though error persists
 
Old 02-25-2021, 04:14 PM   #18
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by Aeterna View Post
I just edited

/etc/gamin/gaminrc
and for all used fs (ext4 in my case) changed
fsset ext4 poll 15
to
fsset ext4 poll 104

no more crashing though error persists
After some investigation, the culprit seems to be ~/.config/gtk-3.0 which is created when logging into kde.
Removing ~/.config/gtk-3.0/settings.ini is sufficient to make firefox work again, no message about gam_server anymore.
So something is broken with these gtk settings.
 
1 members found this post helpful.
Old 02-25-2021, 10:06 PM   #19
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,219

Original Poster
Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by franzen View Post
After some investigation, the culprit seems to be ~/.config/gtk-3.0 which is created when logging into kde.
Removing ~/.config/gtk-3.0/settings.ini is sufficient to make firefox work again, no message about gam_server anymore.
So something is broken with these gtk settings.
Nice one! I just tested that in awesomewm, and removing ~/.config/gtk-3.0/settings.ini makes the gamin errors go away, although as you say logging into Plasma recreates the file so the problem starts again.
 
1 members found this post helpful.
Old 02-25-2021, 10:13 PM   #20
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,219

Original Poster
Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
The line that causes the problem is this:
Code:
gtk-modules=colorreload-gtk-module:window-decorations-gtk-module
commenting that out stops the gamin errors, although it induces this stuff:
Code:
(firefox:28295): Gdk-WARNING **: 12:17:45.218: ../gdk/x11/gdkproperty-x11.c:224 invalid X atom: 1935754093
but at least it narrows down the problem.

*edit* scratch the "invalid X atom" stuff, I think that happens anyway.

Last edited by drgibbon; 02-25-2021 at 11:30 PM.
 
1 members found this post helpful.
Old 03-18-2021, 04:48 PM   #21
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,219

Original Poster
Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Perhaps there's a way to also compile Firefox with inotify instead of gamin?
Quote:
kde/kcoreaddons-5.79.0-x86_64-2.txz: Rebuilt.
Use inotify, not gamin. This should improve performance and fix a few random
deadlocks. Thanks to Heinz Wiesinger.
 
2 members found this post helpful.
Old 03-19-2021, 04:30 AM   #22
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by drgibbon View Post
Perhaps there's a way to also compile Firefox with inotify instead of gamin?
Here firefox still starts after
Code:
removepkg gamin
, but i didn't test after logging into plasma.
Thunar had a dependency on gamin/fam, but this is not the case anymore.
To completely get rid of gamin, at least rebuilding glib2 with
Code:
-Dfam=false # default, btw.
and rebuilding samba is needed.
Both glib2 and samba do support inotify.
 
2 members found this post helpful.
Old 03-20-2021, 10:24 PM   #23
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,219

Original Poster
Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by franzen View Post
To completely get rid of gamin, at least rebuilding glib2 with
Code:
-Dfam=false # default, btw.
and rebuilding samba is needed.
Both glib2 and samba do support inotify.
Nice one, this is the fix, thanks! I was going to test rebuilding glib2 but Pat beat me to it:
Quote:
l/glib2-2.66.8-x86_64-2.txz: Rebuilt.
Rebuilt using -Dfam=false. Thanks to franzen.
"failed to find gam_server" problem solved.
 
3 members found this post helpful.
  


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
-current and gam_server strikes back ? NoStressHQ Slackware 4 03-15-2011 08:54 PM
gam_server? k3nn0n Linux - Networking 19 06-18-2008 05:20 PM
gam_server gamin crxssi Linux - General 3 04-30-2005 08:05 AM
FC3 Flashdrive can't umount (busy - gam_server) msewing Linux - Software 2 03-02-2005 11:04 AM
gam_server? k3nn0n Fedora 1 09-23-2004 12:27 PM

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

All times are GMT -5. The time now is 10:39 PM.

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