Closed Bug 301368 Opened 19 years ago Closed 19 years ago

crash on malformated url

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: micklweiss, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

Ok, If I open up FF 1.0.5 (MacOSX 10.4) and type in "gfx/" in the titlebar - it
crashes... I tried  the same thing on Fedora  with version 10.0.4 it doesn't
crash (redirects to some site that looks like it came from Google's "I'm Feeling
Lucky"). I heard of a FF extention that does something like that but to my
knowledge I don't have it installed.


Reproducible: Always

Steps to Reproduce:
1. start firefox
2. type in "gfx/"
3. press enter

Actual Results:  
It crashed

Expected Results:  
a redirect, or an error that that site doesn't exist (or that it is a
malformated url).

I'm not sure if this is a Mac only bug or a 1.0.5 only bug. After looking for
similar bugs I found this: https://bugzilla.mozilla.org/show_bug.cgi?id=275164

But I highly doubt that it has anything to do with my problem.

I haven't tested out other forms of "some-text/", but my guess is that that too
would crash it.

I originally thought that this may be able to cause a denial of service... 
but it can't (with what I tried):
<html>
<a href="http://gfx">link</a>
<a href="gfx/">link</a>
<a href="gfx">link</a>
</html>

If you have any questions / remards - feel free to email me.

- Mick
I couldn't reproduce the bug on either of these builds:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050719
Firefox/1.0+

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716
Firefox/1.0.6

Instead I was redirected to http://www.gfxartist.com/.
Summary: crash on malformated url → crash on malformated url
Ok, thats weird. I tried on another box (iMac) with 10.0.5 (forget what build) -
and it crashed.

I went home and i tried it (on my pbook where I originally had that problem) and
I was redirected.

Thats just strange. :-/

- Mick
Ok, I managed to crash it again. 
This time I put a space after gfx/ so it looked like: "gfx/ "

15'inch pbook running: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
rv:1.7.9) Gecko/20050711 Firefox/1.0.5

Try that, and let me know if it crashes your FF. 

- Mick 
Sorry to keep posting - but now it works again (oddly enough). It is only
reproducable 1/4 of the time that i try it now. I'm not sure what is causing
this. Should I submit next time via Talkback? Would that give you more info as
to what could be causing this? 

- Mick
absolutely, although you could attach a Crash Reporter log if you have one handy
Could this have anything to do with the fact that there is a gfx folder in the
mozilla source?  I don't know why it would but I thought I should point out the
coincidence.
WFM, goes to http://www.gfxartist.com/ each time.
Sorry for the delayed response. :-)

I'd like to attach my crashlog for this. The complete crashlog is too big to put
as an attachment. How can I see which part is this particular bug?

Console.app tells me:
2005-07-19 06:32:09.634 Talkback[13869] Could not find image named 'firefox'.
Jul 19 17:02:07 pbook crashdump[15002]: firefox-bin crashed
Jul 19 17:02:15 pbook crashdump[15002]: crash report written to:
/Users/micklweiss/Library/Logs/CrashReporter/firefox-bin.crash.log
2005-07-19 17:02:21.803 Talkback[15005] Could not find image named 'firefox'.
2005-07-19 17:29:18.681 Talkback[15029] Could not find image named 'firefox'.
Jul 19 23:33:23 pbook crashdump[15297]: firefox-bin crashed
Jul 19 23:33:33 pbook crashdump[15297]: crash report written to:
/Users/micklweiss/Library/Logs/CrashReporter/firefox-bin.crash.log
2005-07-19 23:33:39.133 Talkback[15299] Could not find image named 'firefox'.
2005-07-19 23:33:53.771 Talkback[15302] Could not find image named 'firefox'.

The log file starts with:

**********

Host Name:      pbook
Date/Time:      2005-05-09 18:47:24.455 -0400
OS Version:     10.4 (Build 8A428)
Report Version: 3

Command: firefox-bin
Path:    /Applications/Firefox.app/Contents/MacOS/firefox-bin
Parent:  WindowServer [25379]

Version: 1.0.3 (1.0.3)

PID:    3894
Thread: 9

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000018

Thread 0:

...

I want to pinpoint this exact bug. Could someone please help me pinpoint it? I
grepped for "Jul" (for July) and nothing came up. the whole logfile is way too
big to put as an attachment. I could email it to someone though.

thanks,

- Mick
(In reply to comment #8)
> Sorry for the delayed response. :-)
> 
> I'd like to attach my crashlog for this. The complete crashlog is too big to put
> as an attachment. How can I see which part is this particular bug?
> 
> Console.app tells me:
> 2005-07-19 06:32:09.634 Talkback[13869] Could not find image named 'firefox'.
> Jul 19 17:02:07 pbook crashdump[15002]: firefox-bin crashed
> Jul 19 17:02:15 pbook crashdump[15002]: crash report written to:
> /Users/micklweiss/Library/Logs/CrashReporter/firefox-bin.crash.log
> 2005-07-19 17:02:21.803 Talkback[15005] Could not find image named 'firefox'.
> 2005-07-19 17:29:18.681 Talkback[15029] Could not find image named 'firefox'.
> Jul 19 23:33:23 pbook crashdump[15297]: firefox-bin crashed
> Jul 19 23:33:33 pbook crashdump[15297]: crash report written to:
> /Users/micklweiss/Library/Logs/CrashReporter/firefox-bin.crash.log
> 2005-07-19 23:33:39.133 Talkback[15299] Could not find image named 'firefox'.
> 2005-07-19 23:33:53.771 Talkback[15302] Could not find image named 'firefox'.

This is the Talkaback agent complaining, which means you migh have submitted
Talkback incidents. Next time it crashes, take a note of the submitted incident
numbers, and report them here.

> The log file starts with:
> 
> **********
> 
> Host Name:      pbook
> Date/Time:      2005-05-09 18:47:24.455 -0400
> OS Version:     10.4 (Build 8A428)
> Report Version: 3
> 
> Command: firefox-bin
> Path:    /Applications/Firefox.app/Contents/MacOS/firefox-bin
> Parent:  WindowServer [25379]
> 
> Version: 1.0.3 (1.0.3)
> 
> PID:    3894
> Thread: 9
> 
> Exception:  EXC_BAD_ACCESS (0x0001)
> Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000018
> 
> Thread 0:
> 
> ...
> 
> I want to pinpoint this exact bug. Could someone please help me pinpoint it? I
> grepped for "Jul" (for July) and nothing came up. the whole logfile is way too
> big to put as an attachment. I could email it to someone though.

Move the firefox crash log out ~/Library/Logs/CrashReporter/, and crash again to
get just one crash in the log. Then attach the file.
I can't reproduce this so, I'm changing the status to WFM
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.