Closed Bug 1317611 Opened 8 years ago Closed 8 years ago

Crash in mozilla::net::CrashWithReason

Categories

(Core :: Networking: HTTP, defect)

52 Branch
x86
Windows 8
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1315905
Tracking Status
firefox51 --- affected
firefox52 --- affected
firefox53 --- affected

People

(Reporter: ting, Unassigned)

References

Details

(Keywords: crash, Whiteboard: [OA][userContextId])

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-3804a7bc-4d7d-442b-91ca-020bf2161115.
=============================================================
#7 top crash on Windows for Nightly 52.0a1 20161113030203, 23 crashes from 19 installations. The crash reason is: 

  "GetValidatedAppInfo | App does not have permission"

Bug 1289001 marked 52 fixed, but it doesn't seem the case.
(In reply to Ting-Yu Chou [:ting] from comment #0)
> Bug 1289001 marked 52 fixed, but it doesn't seem the case.

The signature is related to several different crashes (bug 1289001 fixed two different crashes), so it's better to open a new bug for the remaining crashes rather than fixing everything in a single bug.
Crash Signature: [@ mozilla::net::CrashWithReason] → [@ mozilla::net::CrashWithReason] [@ IPCError-browser | (msgtype=0xAE0005,name=PNecko::Msg_PHttpChannelConstructor) Value error: message was deserialized, b] [@ IPCError-browser | (msgtype=0xB00005,name=PNecko::Msg_PHttpChannelConstructor) Value error: …
Whiteboard: [OA][userContextId]
Attached patch necko_test.patchSplinter Review
I would like to see what the child process does when the channel is created.
With this patch I do:

1. sync HTTP Channel creation
2. the check happens in RecvPHttpChannelConstructor so that we can kill the child sending IPC_FAIL.
Attachment #8813174 - Flags: review?(wmccloskey)
Of course this patch should stay in m-i/m-c just for a couple of days. No more.
Comment on attachment 8813174 [details] [diff] [review]
necko_test.patch

Review of attachment 8813174 [details] [diff] [review]:
-----------------------------------------------------------------

I could be wrong, but I think that bug 1315905 eliminates this crash. UsingNeckoIPCSecurity is false on desktop, so we'll return here:
http://searchfox.org/mozilla-central/rev/59bb309e38b10aba63dea8505fb800e99fe821d6/netwerk/ipc/NeckoParent.cpp#219

Not sure if that was the intention. The patch would be fine if we were still crashing, so r+ :-). But please don't land this unless we resolve this issue, since it just adds a sync message pointlessly.

::: netwerk/ipc/NeckoParent.cpp
@@ +296,5 @@
> +  const char *error = CreateChannelLoadContext(aBrowser, Manager(),
> +                                               aSerialized, requestingPrincipal,
> +                                               loadContext);
> +  if (error) {
> +    printf_stderr("NeckoParent::AllocPHttpChannelParent: "

Did you mean to keep the printf around?
Attachment #8813174 - Flags: review?(wmccloskey) → review+
Marco, can you help me to confirm (or not) that the bug has been already resolved by bug 1315905 ?
Flags: needinfo?(mcastelluccio)
(In reply to Andrea Marchesini [:baku] from comment #5)
> Marco, can you help me to confirm (or not) that the bug has been already
> resolved by bug 1315905 ?

I see no crashes on 53.0a1 since bug 1315905 landed.
Valentin, let me know if you want to reopen it.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(valentin.gosu)
Resolution: --- → DUPLICATE
I filed bug 1319881 to figure out what to do here.
Flags: needinfo?(valentin.gosu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: