Closed Bug 125266 Opened 24 years ago Closed 24 years ago

PAC: doesn't start up after set

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 99026
Future

People

(Reporter: jurgen, Unassigned)

Details

(Keywords: verifyme)

Attachments

(2 files)

I have a proxy.pac file that sends requests for a couple of specific domains through Ssh forwarded connection (I'll attach this). When I configure mozilla for autmoatic proxy with this file (either with file:///proxy.apc url or with http://localhost/proxy.pac) everything works as intended, proxying works great. But after I exit mozilla and try to start it again, no browser window comes up. If I have multiple profiles, the profile selector comes up and I chose my profile and then nothing more happens, no browser window appears. If I then kill the mozilla processes and hand-edit my prefs.js to take out the two lines that set up the autoproxy, the mozilla starts fine again. This is with 0.9.8 and previous builds through at least 0.9.7. I've had intermittent problems with mozilla giving me a browser window on start for a while but only now tracked it down reliably to the autoproxy config. At least it is repeatable with the autoproxy config now, but I'm a bit suspicious that at least in some previous builds it was intermittent, i.e. even with autoproxy configured if I just tried starting mozilla and if failed kill processes and try again, sometimes it would succeed. Not 100% sure about this, at the moment it seems 100% repeatable.
perhaps bug 125219?
maybe a worsening of bug 112969. I never functional tested 0.9.6, or 0.9.7, so this may have snuck in.
I still have this problem, and it's a real PITA. I'd like to try to track it down a bit more... I suspect that I'd be able to figure out what's going on if I could strace mozilla to the point where it hangs, but strace doesn't seem to work well with mozilla on Linux. Is there a solution for this (strace not working), and if so could you point me at instructions?
You should try to isolate the point of failure. Due to the efforts of several contributors, most PAC bugs can be found by searching the summary for "PAC:" You might find you are using a busted function call. The other way is to start with a very simple PAC file and grow it to some failure point.
Actually it has nothing to do with the contents of the PAC file... I've already checked that and I get the same hang with even the most trivial PAC file, i.e. function FindProxyForURL(url, host) { return "DIRECT"; }
+qawanted Is this Linux-only?
Keywords: qawanted
Yes, this is Linux only as far as I know, and may be specific to RedHat 7.1 (with all current RH updates), as I haven't had a chance to try others. I will try to do so later. I've finally gotten a version of strace that works, but I don't see any obvious source of problems in the output... but that may be just because I don't know what to look for, so I'm going to attach a gzipped copy in case someone wants to look at it...
Attached file gzipped strace output
this is strace output for a mozilla which is hanging before opening any windows.
Temporarily "futuring" all PAC&SOCKS bugs to clear new-networking queue. I will review later. (I promise) If you object, and can make a case for a mozilla 1.0 fix, please reset milestone to "--" or email me.
Target Milestone: --- → Future
This stopped happening around the time of the .99 release. No change in my config... it was definitely a bug, but it seems to be gone.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
If you can asiciate this with a specific fix, then this is should be a dupe. If not, then this is a works for me...
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
This was a dupe. +verifyme, +qawanted prefixed summary, for the record. Jurgen: as owner, you can verify this... *** This bug has been marked as a duplicate of 99026 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Keywords: qawantedverifyme
Resolution: --- → DUPLICATE
Summary: Mozilla doesn't start up when autoproxy (.pac) file is used → PAC: doesn't start up after set
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: