Closed Bug 645444 Opened 14 years ago Closed 14 years ago

Visiting invalid single-word domains causes crash

Categories

(Firefox :: General, defect)

4.0 Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nick, Unassigned)

References

()

Details

(Whiteboard: [bugday-20110401])

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110321 Firefox/4.0 Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110321 Firefox/4.0 Going to single-word domains that do not work, such as http://x, or http://foobar cause firefox to crash. However, ones such as http://x. (with the . at the end!) does not. This is reproducable with links clicked in other programs that are opened in firefox. Operational single-word domains, such as when visiting http://localhost, do not crash. Reproducible: Always Steps to Reproduce: 1.Enter 'http://x' (without quotes) in location bar 2.Click go arrow or hit enter OR 1.Click link to 'http://x' (without quotes) Actual Results: Firefox crashes, exits. I know no further details as of now. Expected Results: "Server not found" error ("Firefox can't find the server at x..") Unsure of where the crash occurred. I forgot to check before filling the rest of the report.
As if to mock me, I started firefox from the terminal and could not reproduce it. I reproduced it 17 times when started from gmrun -- I can not reproduce it at all now. Will edit it to note that it's sometimes reproduced, instead of always.
Version: unspecified → 4.0 Branch
Sorry for double post, misinterpreted what the 'edit' link was for (first time using bugzilla)... Just note it's now only occuring *sometimes* not *always*
Works for me - no issues, no crashes - plain "Server not found" notice!
Please post a crash ID from about:crashes. Note: The crash report only works in Mozilla.org binary builds. https://developer.mozilla.org/en/How_to_get_a_stacktrace_for_a_bug_report
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0 Works fine for me also.
I test on last nightly and I can't reproduce this bug Build: Mozilla/5.0 (X11; Linux x86_64; rv:2.2a1pre) Gecko/20110401 Firefox/4.2a1pre
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Whiteboard: [bugday-20110401]
WFM Build identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0
about:crashes doesn't work here (ArchLinux's binary, not Mozilla.org), but figured I'd post this since I forgot to before: Build: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110321 Firefox/4.0
You have to create a back trace using gdb and using debug symbols in such a case.
You need to log in before you can comment on or make changes to this bug.