Closed
Bug 1013307
Opened 11 years ago
Closed 10 years ago
Shutdown error: illegal operation
Categories
(Instantbird Graveyard :: Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Instantbird 43
People
(Reporter: aleth, Assigned: aleth)
Details
Attachments
(1 file, 1 obsolete file)
1.76 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "Component returned failure code: 0x8046001e [nsIWindowWatcher.openWindow]" nsresult: "0x8046001e (<unknown>)" location: "JS frame :: resource:///modules/ibCore.jsm :: Core.showWindow :: line 143" data: no]
"NS_ERROR_ILLEGAL_DURING_SHUTDOWN (0x8046001E)
Many operations cannot be performed once the application is being shutdown. This error will occur in this situation."
Comment 1•11 years ago
|
||
Are there STR? Is this really a blocker?
Comment 2•11 years ago
|
||
(In reply to Patrick Cloke [:clokep] from comment #1)
> Are there STR? Is this really a blocker?
I saw a similar error at more or less every shutdown of my debug build for months. I haven't checked recently if I still see it. I don't think it blocks.
Whiteboard: [1.6-blocking]
Assignee | ||
Comment 3•10 years ago
|
||
Found this old fix sitting in the mq
Attachment #8646575 -
Flags: review?(clokep)
Assignee | ||
Updated•10 years ago
|
Severity: normal → minor
Comment 4•10 years ago
|
||
Could we instead make _showAccountManagerIfNeeded return early if imServices.core.initialized is false?
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #4)
> Could we instead make _showAccountManagerIfNeeded return early if
> imServices.core.initialized is false?
That'll only work if initialized is unset before all the accounts etc are uninited and not after (as is the case now). I don't know whether that would have side effects or not.
Updated•10 years ago
|
Attachment #8646575 -
Flags: review?(clokep) → review?(florian)
Comment 6•10 years ago
|
||
Comment on attachment 8646575 [details] [diff] [review]
shutdownopenwindow.diff
Review of attachment 8646575 [details] [diff] [review]:
-----------------------------------------------------------------
::: im/modules/ibCore.jsm
@@ +292,5 @@
> this._onQuitRequest(aSubject, aData);
> return;
> }
> +
> + if (aTopic == "prpl-quit") {
Could we do this during "quit-application-granted" instead?
Attachment #8646575 -
Flags: review?(florian)
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #6)
> > + if (aTopic == "prpl-quit") {
>
> Could we do this during "quit-application-granted" instead?
I should think so, but why?
Nothing currently observes that apart from the listener that calls quit().
Comment 8•10 years ago
|
||
At some point, the core service was designed/tested so that we could do .init() then .quit() and then .init() again. I think the goal of doing that was for test purposes, but it may also be helpful to install/uninstall prpl add-ons.
After quit-application-granted, we are sure the process will be terminated, so doing irreversible changes to functions doesn't matter.
Assignee | ||
Comment 9•10 years ago
|
||
I'm not sure I'd trust this feature right now, but let's not break it further ;)
Attachment #8646575 -
Attachment is obsolete: true
Attachment #8646917 -
Flags: review?(florian)
Comment 10•10 years ago
|
||
Comment on attachment 8646917 [details] [diff] [review]
shutdownopenwindow.diff v2
Review of attachment 8646917 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
(In reply to aleth [:aleth] from comment #9)
> I'm not sure I'd trust this feature right now, but let's not break it
> further ;)
Yeah, I wouldn't bet either on it being in working conditions right now.
Attachment #8646917 -
Flags: review?(florian) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 11•10 years ago
|
||
url: https://hg.mozilla.org/comm-central/rev/639709ee79764cd725fb10ebecb41f1cd5547141
changeset: 639709ee79764cd725fb10ebecb41f1cd5547141
user: aleth <aleth@instantbird.org>
date: Wed Aug 12 19:31:52 2015 +0200
description:
Bug 1013307 - Don't try to open account manager at shutdown. r=florian
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → aleth
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Instantbird 43
You need to log in
before you can comment on or make changes to this bug.
Description
•