Closed Bug 278235 Opened 20 years ago Closed 19 years ago

Right Clicking on anything and hitting "Save Link As" hangs on malformed URL

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED EXPIRED

People

(Reporter: aaronmgriffin, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: http://www.archlinux.org

Any time the "Save As" dialog or the "Save or Open With" dialog should open,
firefox hangs.  When recompiled with logging and debug enabled, I receive error
messages about malformed URLs and aEncodingType being null (I believe it was the
ParseURL method of nsStandardURL).

Reproducible: Always

Steps to Reproduce:
1. As far as I can tell, not all archlinux users have this problem
2. Open any page
3. Click on a link that does not have a defined handler (i.e. *.mpg, *.torrent)
or
3. Right Click on anything and click "Save Link As"

Actual Results:  
Firefox hangs, requiring manual killing of the process, no dialog is seen

Expected Results:  
A dialog box should pop up and/or the file should be saved to disk.

archlinux 0.7, all current updates
HP Pavillion zd7000 series notebook
ndiswrapper wireless driver....
Can the problem be reproduced with an official mozilla.org build?  What about
using current trunk builds?
I'll look into official builds, but I have a feeling it may have to do with
something else... something external.  It appears to be failing whenever it
tries to handle mime-types locally (another application, saving, etc)... The
preferences box hangs too when clicking "Plug-ins" in the Download options
tab... also the "File Types" list shows nothing.
I'm having exactly the same problem with the same debugging output when using 
the FreeBSD native port for Mozilla Firefox.

The output when opening Firefox, and using save link as (then it freezes) is 
exactly:

To STDOUT:

Type Manifest File: /usr/X11R6/lib/firefox/components/xpti.dat
Type Manifest File:
/home/peter/.mozilla/<88><D8>#(<90><D6><BF>/ny4xsfgs.default
/xpti.dat
GFX: dpi=70 t2p=0.047619 p2t=21 depth=24
++WEBSHELL == 1
++DOMWINDOW == 1
++WEBSHELL == 2
++DOMWINDOW == 2
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Note: verifyreflow is disabled
++WEBSHELL == 3
++DOMWINDOW == 3
spec=/fox1.gif


And to STDERR (this one is full of failed assertions and breakpoints, i
hope this is not normal):

###!!! ASSERTION: nsTDependentString must wrap only null-terminated
strings: 'mData[mLength] == 0', file
../../dist/include/string/nsTDependentString.h, line 67
Break: at file ../../dist/include/string/nsTDependentString.h, line 67
^G###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file
xptiInterfaceInfoManager.cpp, line 1937
Break: at file xptiInterfaceInfoManager.cpp, line 1937
^GnsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file
xptiInterfaceInfoManager.cpp, line 1937
Break: at file xptiInterfaceInfoManager.cpp, line 1937
^GnNCL: registering deferred (0)
###!!! ASSERTION: nsTDependentString must wrap only null-terminated
strings: 'mData[mLength] == 0', file
../../dist/include/string/nsTDependentString.h, line 67
Break: at file ../../dist/include/string/nsTDependentString.h, line 67
^GnsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp,
line 51
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
nsPermissionManager.cpp, line 623
###!!! ASSERTION: nsTDependentString must wrap only null-terminated
strings: 'mData[mLength] == 0', file
../../dist/include/string/nsTDependentString.h, line 67
Break: at file ../../dist/include/string/nsTDependentString.h, line 67
^GCSS Error
(http://www.google.com.ar/firefox?client=firefox-a&rls=org.mozilla:en-US:
official
:3.315): Selector expected.  Ruleset ignored due to bad selector.
CSS Error
(http://www.google.com.ar/firefox?client=firefox-a&rls=org.mozilla:en-US:
official
:4.0): Unexpected end of file while searching for closing } of invalid
rule set.
###!!! ASSERTION: Null encoding type: 'aEncodingType', file
nsExternalHelperAppService.cpp, line 618
Break: at file nsExternalHelperAppService.cpp, line 618
^GWARNING: malformed url: no scheme, file nsStandardURL.cpp, line 682



If i run the official build for Linux using FreeBSD's Linux ABI everything works 
fine.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
it's also happend to me too.
i will try to compile from other source
firefox 1.0.7

I have solved my problem!!!
My firewall settings were blocking my browser, so I could'nt save images and stuff.

Check your iptables settings and enjoy!!
You need to log in before you can comment on or make changes to this bug.