Closed Bug 1369184 Opened 8 years ago Closed 8 years ago

Process explorer shows unicode gibberish in -contentproc command line

Categories

(Core :: DOM: Content Processes, defect)

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1373157

People

(Reporter: jack, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Build ID: 20170531030204 Steps to reproduce: I was looking at the complete command line of firefox in Sysinternals' Process Explorer Actual results: It's gibberish producing random characters that don't display well Expected results: The binary data probably shouldn't be passed on a command line, or maybe there was some string that needed to be null terminated or something. I don't know what was supposed to happen, but I've seen long command lines from chrome and slack that don't seem to have any problem like this. I suspect that if binary data is required on the command line, then it should probably be encoded somehow. It's just a little disconcerting, there is not necessarily any problem with it per se... I don't *need* to look at the command line. I also looked to see if it was showing the same way using Task Manager, and it was cut off before it got to the non-printable characters (which included fraction symbols, non-printing characters, a switch between rtl/ltr, etc.). I'll upload a screen cap. I don't have Nightly installed on mac or linux but I imagine if you ran ps auxwww you could end up frying some terminal apps and have to fix it with stty or start a new terminal.
I'd like to correct or clarify my unclear writing in the second to last paragraph; I only mentioned Task Manager to say that the problem, if it is really a problem, was hidden by their way of abbreviating the command line. The (probably arbitrary) limit to how many characters it displays prevented the issue from being seen, there. Process Explorer is just what I've always preferred, anyway, for such purposes. It's also conceivable to me that this is a bug in Process Explorer, but I don't think so because the gibberish is in the middle of the command line string and there is more Nightly stuff afterwards (shown in reverse for whatever reason). I can see, backwards, -appdir and -appomni paths printed there.
Please correct if this is the wrong component. Thanks.
Component: Untriaged → Developer Tools
Component: Developer Tools → DOM: Content Processes
Product: Firefox → Core
This appears to be the "network.IDN.blacklist_chars" config parameter being passed along to a child process: http://kb.mozillazine.org/Network.IDN.blacklist_chars
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: