You are not logged in.

#26 2020-03-25 02:29:17

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. What you need to know to understand this issue is here:

1636493 - Firefox is unusable when XDisplayOpen fails. More easily reproducible with dom.ipc.processCount = -1
https://bugzilla.mozilla.org/show_bug.cgi?id=1636493

These steps (found on Reddit) are a work-around until Firefox addresses the bug.

Option 1:

Do not set dom.ipc.processCount to -1
(set it back to 8 or whatever your default was previously)

Option 2: increase X resources:

/usr/lib/Xorg -maxclients 1000000000

Look for the error like:

(EE) maxclients must be one of 64, 128, 256, 512, 1024 or 2048

Then run this as root, using the desired value for maxclients:

printf 'Section "ServerFlags"\n\tOption "MaxClients" "2048"\nEndSection\n' > /etc/X11/xorg.conf.d/99-maxclients.conf

Last edited by moscow-hunt (2020-05-09 04:46:30)

Offline

#27 2020-03-25 18:20:36

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:46:57)

Offline

#28 2020-03-25 18:24:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: Firefox has just been updated in the background. Click to restart

It means that firefox was open using that profile when you did the update.  The running process noticed that the version on disk is newer, and wants to reload itself.  Edit:  It made the assumption that it updated in the background, because it had nothing to do with it.
Normal, and nothing to worry about.

Last edited by ewaller (2020-03-25 18:26:07)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#29 2020-03-25 18:50:11

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:47:21)

Offline

#30 2020-03-25 19:07:05

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:47:38)

Offline

#31 2020-03-25 19:25:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: Firefox has just been updated in the background. Click to restart

Very well.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#32 2020-03-25 19:26:26

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:47:52)

Offline

#33 2020-03-28 06:39:53

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:48:02)

Offline

#34 2020-03-28 07:40:49

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

Re: Firefox has just been updated in the background. Click to restart

My guess is that Arch is not compiling Firefox very well, because they should be disabling all update checks and letting updates happen via the repository -- if it is coming from Arch.

If that is the case, that is a bug in Arch -- why is it using Mozilla's code for checking for updates when it cannot update itself (since it is going to use the repositories instead)?

We've been there: https://bbs.archlinux.org/viewtopic.php … 6#p1850816

I doubt this is related to the built-in auto-updater, looking at the straces from comment #25, this looks fishy:

   2268 access("/home/adios/.ICEauthority", R_OK) = 0
   2269 openat(AT_FDCWD, "/home/adios/.ICEauthority", O_RDONLY) = 11
   2270 fstat(11, {st_mode=S_IFREG|0600, st_size=15790, ...}) = 0
   2271 read(11, "\0\4XSMP\0\0\0'unix/CONTROL-AdrianO:/"..., 4096) = 4096
   2272 read(11, "1\0\22MIT-MAGIC-COOKIE-1\0\20\260\354\327\315 \270\212,\351"..., 4096) = 4096
   2273 read(11, "mp/.ICE-unix/707\0\22MIT-MAGIC-COOK"..., 4096) = 4096
   2274 read(11, "NTROL-AdrianO:@/tmp/.ICE-unix/69"..., 4096) = 3502
   2275 close(11)                               = 0
   2276 write(10, "\0\4\1\0\3\0\0\0\20\0\0\0\0\0\0\0\25\212\373\200\215\6;\245\234\20FUk\221\217\276", 32) = 32
   2277 read(10, "\0\10\0\1\4\0\0\0", 8)        = 8
   2278 read(10, "\20\0cinnamon-sessiontC\5\0004.0.0\0\0\0\0\0", 32) = 32
   2279 write(10, "\1\1\1\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
   2280 read(10, "\1\2\0\1\7\0\0\0", 8)         = 8
   2281 read(10, "0\0\0\000104059873dc1e9def41562150087"..., 56) = 56
   2282 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
   2283 writev(4, [{iov_base="\20\0\5\0\f\0\0\0SM_CLIENT_ID", iov_len=20}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 20
   2284 poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
   2285 recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0s\0\0\0\0\0\277\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
   2286 readlink("/proc/self/exe", "/usr/lib/firefox/firefox", 4095) = 24
   2287 getuid()                                = 1000
   2288 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 11
   2289 connect(11, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
   2290 close(11)                               = 0
   2291 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 11
   2292 connect(11, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
   2293 close(11)                               = 0
   2294 openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 11
   2295 lseek(11, 0, SEEK_CUR)                  = 0
   2296 fstat(11, {st_mode=S_IFREG|0644, st_size=1274, ...}) = 0
   2297 read(11, "root:x:0:0::/root:/bin/bash\nbin:"..., 4096) = 1274
   2298 close(11)                               = 0
   2299 write(10, "\1\f\1\0,\0\0\0\4\0\0\0\0\0\0\0\16\0\0\0RestartComma"..., 360) = 360
   2300 access("/home/adios/.mozilla/firefox", F_OK) = 0
   2301 access("/home/adios/.cache/mozilla/firefox", F_OK) = 0
   2302 access("/home/adios/.mozilla/firefox/installs.ini", F_OK) = 0
   2303 stat("/home/adios/.mozilla/firefox/installs.ini", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
   2304 stat("/home/adios/.mozilla/firefox/installs.ini", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
   2305 access("/home/adios/.mozilla/firefox/profiles.ini", F_OK) = 0
   2306 stat("/home/adios/.mozilla/firefox/profiles.ini", {st_mode=S_IFREG|0644, st_size=416, ...}) = 0
   2307 stat("/home/adios/.mozilla/firefox/profiles.ini", {st_mode=S_IFREG|0644, st_size=416, ...}) = 0
   2308 stat("/home/adios/.mozilla/firefox/profiles.ini", {st_mode=S_IFREG|0644, st_size=416, ...}) = 0
   2309 stat("/home/adios/.mozilla/firefox/profiles.ini", {st_mode=S_IFREG|0644, st_size=416, ...}) = 0
   2310 openat(AT_FDCWD, "/home/adios/.mozilla/firefox/profiles.ini", O_RDONLY) = 11
   2311 fstat(11, {st_mode=S_IFREG|0644, st_size=416, ...}) = 0
   2312 read(11, "[Install46F492E0ACFF84D4]\nDefaul"..., 416) = 416
   2313 close(11)                               = 0
   2314 readlink("/proc/self/exe", "/usr/lib/firefox/firefox", 4095) = 24
   2315 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 11
   2316 connect(11, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0
   2317 getpeername(11, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, [124->20]) = 0
   2318 uname({sysname="Linux", nodename="CONTROL-AdrianO", ...}) = 0
   2319 access("/home/adios/.Xauthority", R_OK) = 0
   2320 openat(AT_FDCWD, "/home/adios/.Xauthority", O_RDONLY) = 12
   2321 fstat(12, {st_mode=S_IFREG|0600, st_size=60, ...}) = 0
   2322 read(12, "\1\0\0\17CONTROL-AdrianO\0\0010\0\22MIT-MAGI"..., 4096) = 60
   2323 read(12, "", 4096)                      = 0
   2324 close(12)                               = 0

At this point FF has an X11 connection, it checks the ICEauthority and the MIT-MAGIC-COOKIE
Then somethingsomething cinnamon-sessiontC
Then /proc/self/exe
Then it checks /etc/passwd for the root account???
The issues RestartComma into /tmp/.ICE-unix/688 and obtains a new X11 connection.

a) does this also happen in "good" straces?
b) are you also on cinnamon?
c) (in addition): how do you login? (startx/xinit, lightdm, lxdm, gdm, …)?

Online

#35 2020-03-28 08:33:19

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:48:13)

Offline

#36 2020-03-28 12:41:04

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

Re: Firefox has just been updated in the background. Click to restart

a) not sure what you mean

The OP asserted that this is not a permanent issue and goes away after a reboot.
So strace such a "good" session and see whether the same pattern emerges.

And please post your xinitrc.

Online

#37 2020-03-28 19:13:35

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. See edited post above.

Last edited by moscow-hunt (2020-05-09 04:48:23)

Offline

#38 2020-03-28 20:13:29

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

Re: Firefox has just been updated in the background. Click to restart

To show the problem, is it sufficient attach strace to a FF process once the issue occurs?

Probably not, but afaiu once it's there, restarting FF won't cut it. So you can just kill the running process and strace a new one.

Online

#39 2020-05-06 23:30:19

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

Re: Firefox has just been updated in the background. Click to restart

EDIT - everything I posted here previously was a distraction. What you need to know to understand this issue is here:

1636493 - Firefox is unusable when XDisplayOpen fails. More easily reproducible with dom.ipc.processCount = -1
https://bugzilla.mozilla.org/show_bug.cgi?id=1636493

These steps (found on Reddit) are a work-around until Firefox addresses the bug.

Option 1:

Do not set dom.ipc.processCount to -1
(set it back to 8 or whatever your default was previously)

Option 2: increase X resources:

/usr/lib/Xorg -maxclients 1000000000

Look for the error like:

(EE) maxclients must be one of 64, 128, 256, 512, 1024 or 2048

Then run this as root, using the desired value for maxclients:

printf 'Section "ServerFlags"\n\tOption "MaxClients" "2048"\nEndSection\n' > /etc/X11/xorg.conf.d/99-maxclients.conf

Last edited by moscow-hunt (2020-05-09 04:48:39)

Offline

Board footer

Powered by FluxBB