Hang on startup when running Actual Multiple Monitors application




3 years ago
2 years ago


(Reporter: zoltan.rajnai, Unassigned, NeedInfo)



40 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [closeme 2016-07-10])


(1 attachment)

3.33 MB, application/octet-stream


3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36

Steps to reproduce:

Updated Firefox from 39.0.3 to 40.0.2 (I also tried with 40.0 and get the same results)

Actual results:

Firefox failed to start up a second time.

If I change the following line in pref.js it starts up :
user_pref("extensions.lastAppVersion", "40.0.2");
Firefox shows no window, but I can see the process in Process Explorer.

This is the top of the callstack for the Main Thread:
xul.dll!ID2D1RenderTarget::CreateSolidColorBrush(const _D3DCOLORVALUE & color={...}, ID2D1SolidColorBrush * * solidColorBrush=0x00000000)  Line 3314	C++
xul.dll!mozilla::gfx:rawTargetD2D1::Init(const mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> & aSize=, mozilla::gfx::SurfaceFormat aFormat=)  Line 937	C++
xul.dll!mozilla:references::GetBool(const char * aPref=0x00000000, bool * aResult=0x00000000)  Line 1374 + 0x29 bytes	C++
xul.dll!RecordingPrefChanged(const char * aPrefName=0x0fe99512, void * aClosure=0x6d612e50)  Line 423 + 0x13 bytes	C++

Expected results:

Firefox should start up every time, without having to modify prefs.js

Comment 1

3 years ago
Addition info here : 
Keywords: hang
OS: Unspecified → Windows 7
Hardware: Unspecified → x86


3 years ago
Hardware: x86 → x86_64

Comment 2

3 years ago
no crash report generated
about:crashes is empty
can't start safe mode (by pressing SHIFT)

Comment 3

3 years ago
Created attachment 8649296 [details]

Mini dump created with Process Explorer

Comment 4

3 years ago
This goes to product->toolkit, component->Startup and Profile System


Comment 5

3 years ago
Thanks Rahimul
Component: Untriaged → Startup and Profile System
Product: Firefox → Toolkit

Comment 6

3 years ago
Just a bit more info:
Cleaning FF, and creating a new profile didn't help.
I even had to manually edit profiles.ini to achieve this because the Profile Manager wouldn't even start.

Comment 7

3 years ago
I think I found the culprit:
I am running an application called Actual Multiple Monitors (v5.1.1).
If I exit that application Firefox starts up every time.
The question is what changed between 39.0.3 and 40.0.2 that would cause this?

Comment 8

3 years ago
Are you using multiple monitors?? why do you need that application anyway.??
Flags: needinfo?(zoltan.rajnai)

Comment 9

3 years ago
Yes. I'm using it. Unfortunately (for me) the latest version of Actual Multiple Monitors (8.5.1) does seem to work, but I have no license for it.
It replaces the system task bar with one that works on multiple monitors.
Flags: needinfo?(zoltan.rajnai)


3 years ago
Component: Startup and Profile System → Graphics
Product: Toolkit → Core
Summary: Hang on startup → Hang on startup when running Actual Multiple Monitors application


3 years ago
Severity: normal → critical
zoltan, could you please follow these instructions to get a hang report of what Firefox is doing? The stack you've provided doesn't make a lot of sense, and I expect that it's broken in some way.


You may want to try switching from a 32-bit Firefox build to a 64-bit build and see if that helps. Some tools that inject DLLs into Firefox will change behavior when you switch architectures.
Flags: needinfo?(zoltan.rajnai)


3 years ago
Whiteboard: [closeme 2016-07-10]
Closing this due to a lack of response from the bug reporter. Please reopen this report if the issue persists and please provide the previously requested information when doing so.
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.