You are not logged in.

#1 2018-12-21 15:03:47

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

DBUS Firefox issue that is driving me mad

Since firefox 64, when i click to download a file, and the first download window opens, it gives you the choice to save the file or open.
Well, if i Click with the mouse on "save" or "open with" checkbox, firefox just hangs and cpu use is high for about 3 seconds.
This happens everytime i change from "save" to "open with" with a mouse click.
If i use the keyboard, everything is fine.

Testing another -newly created- user on the system make it works.
But now i think i tried everything that could comes to mind; i've even completely moved my user account home so that i started with an EMPTY home, and still i've the problem.
I removed my user account from every group the -newly created- user didn't appear in... nothing.
I inspected the environment variables of the problematic user and found that unsetting DBUS_SESSION_BUS_ADDRESS prior of starting firefox makes it work without the problem.

Anybody has a clue, please!?

Last edited by kokoko3k (2018-12-21 15:26:15)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2018-12-21 15:24:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: DBUS Firefox issue that is driving me mad

EDIT: thanks for the title revision.

What is that DBUS variable set to (in the working vs non-working sessions)?  How do you start X?  Please post relevant configs and/or startup scripts used for X.

Last edited by Trilby (2018-12-21 15:31:33)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-12-21 15:25:48

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

Thanks, done


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2018-12-21 16:14:38

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: DBUS Firefox issue that is driving me mad

What was the value of DBUS_SESSION_BUS_ADDRESS in the affected session before you unset it?

Offline

#5 2018-12-21 16:25:53

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: DBUS Firefox issue that is driving me mad

I doubt it's a dbus issue - the timeout is 25 seconds and you're not gonna see much cpu load from it.
Rather "dbus-monitor" inspect what's going on there when you click the item.

Online

#6 2018-12-21 17:08:29

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

seth:
I already did it (i forgot to mention, sorry, i tried so many things), and dbus-monitor does not show anything when i click.

loqs:
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1012/bus


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#7 2018-12-21 17:20:56

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: DBUS Firefox issue that is driving me mad

loginctl show-session $XDG_SESSION_ID

Does the output of the above contain

User=1012
Remote=no
Active=yes

Offline

#8 2018-12-21 18:33:14

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

It seems so:

koko@Gozer# loginctl show-session $XDG_SESSION_ID
Id=3
User=1012
Name=koko
Timestamp=Fri 2018-12-21 15:54:09 CET
TimestampMonotonic=48494765
VTNr=7
Seat=seat0
Display=:0
Remote=no
Service=sddm-autologin
Desktop=KDE
Scope=session-3.scope
Leader=1082
Audit=3
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

Last edited by kokoko3k (2018-12-21 18:33:50)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#9 2018-12-21 19:53:16

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: DBUS Firefox issue that is driving me mad

Does this happen outside a KDE desktop?

Online

#10 2018-12-22 00:09:23

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

Yes, it happens even under lxde, or even within the session of another user (with xhost +, su koko, export DISPLAY, and dbus-launch firefox)
I'm really clueless smile


What does characterize an user in a gnu/systemd/linux system apart from his home directory? That's the question.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#11 2018-12-22 01:53:02

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: DBUS Firefox issue that is driving me mad

Apart from the test in post #10 do you use dbus-launch for anything?

Offline

#12 2018-12-22 08:14:03

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

Not that i remember...

ps -ef|grep dbus|grep koko
koko       977   747  0 dic21 ?        00:00:09 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
koko      1653     1  0 dic21 ?        00:00:00 /bin/gmenudbusmenuproxy
koko      4288  4240  0 dic21 ?        00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
koko      8207  8196  0 dic21 ?        00:00:00 dbus-monitor --session type='signal',interface='org.freedesktop.ScreenSaver'

Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#13 2018-12-22 08:41:38

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: DBUS Firefox issue that is driving me mad

I don't think it's directly dbus related, firefox might just pull some random data via dbus that kicks it into a buggy execution path.
You could strace or ltrace firefox to get a better idea what's going on there. It might also relate to some theme/extension you installed?

Online

#14 2018-12-22 10:30:33

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

I'll try strace again, never heard about ltrace, i'll check.
About the extensions, not only i tried with an empty firefox profile. As i wrote in the first post, i even tried with a completely empty home directory!
And what really puzzles me is that i can reproduce the issue only with my user account, not with a newly created one.

Last edited by kokoko3k (2018-12-22 10:30:56)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#15 2018-12-22 10:35:48

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: DBUS Firefox issue that is driving me mad

Trilby wrote:

How do you start X?  Please post relevant configs and/or startup scripts used for X.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#16 2018-12-22 11:30:32

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: DBUS Firefox issue that is driving me mad

I start x with sddm, but i can even reproduce the issue under an xvnc session.
in that case it starts lxde with: exec startlxde...


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB