Closed Bug 1347826 Opened 7 years ago Closed 5 years ago

New debugger crashes

Categories

(DevTools :: Debugger, defect)

53 Branch
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nn1436401, Unassigned)

References

Details

(Keywords: crash, Whiteboard: needs-review)

Attachments

(4 files)

19 bytes, text/html
Details
1.56 MB, text/plain
Details
11.74 KB, application/x-zip-compressed
Details
1.36 MB, application/x-zip-compressed
Details
Attached file a.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170313154936

Steps to reproduce:

Make a simple page:

<script></script>

Configure new debugger in FF
Open the page
Open debugger
Click on html file in the debugger tab.


Actual results:

Tab crashes.


Expected results:

Show the code
Works with single process FF.
Crashes with multi process FF configuration.
I tested in FF53 and FF55 32/64 bits with devtools.debugger.new-debugger-frontend=true on Win 7, I can't reproduce the crash.

Do you have crash reports in about:crashes? If yes, paste some links.
Component: Untriaged → Developer Tools: Debugger
Flags: needinfo?(nn1436401)
Product: Core → Firefox
WFM in Fx53.0 with devtools.debugger.new-debugger-frontend=true and e10s on/off, on Win10.
Severity: normal → critical
Keywords: crash
Seems related to https://bugzilla.mozilla.org/show_bug.cgi?id=1346368
Yes, it's probably a duplicate of bug 1346368.
Flags: needinfo?(nn1436401)
See Also: → 1346368
I'm closing this as a duplicate. If it's not, I'm happy to re-open it.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
nn1436401, can you reproduce the crash?
If you can reproduce it it would be really good. From the crash report it is hard to figure out what is wrong.

can you make a log:
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging
Flags: needinfo?(nn1436401)
Attached file log.txt-main.18060
Networking log
Flags: needinfo?(nn1436401)
Reproduced using 52.0.2 64-bit.
(In reply to nn1436401 from comment #9)
> Created attachment 8852784 [details]
> log.txt-main.18060
> 
> Networking log

You colud have a log.txt-child.... file or multiple such files.
Can you also upload them too? Thanks!!!
Flags: needinfo?(nn1436401)
I have only log.txt-main.
Attaching another once
Flags: needinfo?(nn1436401)
Attached file log.txt-main.18060.zip
Open debugger on this page.
Go to show_bug.cgi and see FF tab crahes.
I cannot reproduce it :( It would me much easier if I could.
I do not see anything in the logs.

I will make a debug build of 53 and ask you to reproduce the crash with some additional logging that only work in debug build
Here is a debug build of 53. You do not need to install it just download and unpack the zip and run firefox.exe

https://archive.mozilla.org/pub/firefox/try-builds/dd.mozilla@gmail.com-d7c340acc56c0cae2e42c95dcaec147f0d0aeef4/try-win64-debug/firefox-53.0.en-US.win64.zip

Change into directory where the new firefox.exe is and run this:

set MOZ_IPC_MESSAGE_LOG=1
set MOZ_LOG=timestamp,nsHttp:5
.\firefox.exe > %TEMP%\log.txt 2>&1

this will put the log into %TEMP%\log.txt

Thank you a lot for helping us, really appreciated !!!!!!
Flags: needinfo?(nn1436401)
Attached file logff.zip
Flags: needinfo?(nn1436401)
Uploaded. Please try.
Thanks a lot!!!!

From this log I can see what is failing:

NeckoParent::AllocPHttpChannelParent: FATAL error: SerializedLoadContext from child is null: KILLING CHILD PROCESS

I will investigate this tomorrow.
Ben, do you know what can cause this error? 

NeckoParent::AllocPHttpChannelParent: FATAL error: SerializedLoadContext from child is null: KILLING CHILD PROCESS


The only place where we call SendPHttpChannelConstructor is:

https://dxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/HttpChannelChild.cpp#2449


Thanks!!!
Flags: needinfo?(bkelly)
Removing need-info, not needed.
Flags: needinfo?(bkelly)
I am going to reopen this bug, because there is a lot of details here. (And mark the other one as dup).
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
This can be reproduce if network.disable.ipc.security is set to false.

It is related to devtool, so I would like some one from dev-tools to take a look. We do not have LoadContext wherefore it is crashing.

I have seen this comment but I do not know the history of it:
https://dxr.mozilla.org/mozilla-central/source/devtools/client/webide/content/runtimedetails.js#136

Is it possible if you manually change the pref it is going to crash?
Product: Firefox → DevTools

Honza, could you take a look?

Flags: needinfo?(odvarko)
Whiteboard: needs-review

I can't reproduce the crash (win10, Nightly) and the link to Fx53 (comment #16) doesn't work anymore.
Not sure how to help here.
Honza

Flags: needinfo?(odvarko)
Status: REOPENED → RESOLVED
Closed: 7 years ago5 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: