Closed Bug 1742671 Opened 4 years ago Closed 4 years ago

Firefox takes up to 10 seconds to start if `/tmp/firefox` directory exists

Categories

(Toolkit :: Startup and Profile System, defect)

Firefox 94
All
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1553771

People

(Reporter: aros, Unassigned)

Details

Steps to reproduce:

This affects Thunderbird as well only the directory name is /tmp/thunderbird.

Actual results:

It would be great if Firefox spew an error message to the console if such a directory exists because it tries to create a file with the same name, fails continuously for great many times, in the end it decides it's not worth it and finally launches.

Expected results:

However!

Whenever you open a new tab a very long delay occurs, up to a few seconds. It's very annoying.

I guess this is related to bug 1553829 and bug 1553771.

Component: Untriaged → Startup and Profile System
OS: Unspecified → Linux
Product: Firefox → Toolkit
Hardware: Unspecified → All

Again, please add something like this

if (!mkdir(concat("/tmp", product_name))) // product_name = firefox, thunderbird, whatever
    fprintf(stderr, "/tmp/%s is inaccessible, please remove it or %s will malfunction", product_name, product_name);

This is a very simple patch/fix and people will be happy. I've had this issue at least a couple of times recently.

Thank you.

The severity field is not set for this bug.
:mossop, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dtownsend)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(dtownsend)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.