crash (in network code) from clicking on imagemap

VERIFIED FIXED in M16

Status

()

Core
Networking
P3
normal
VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: dbaron, Assigned: Gagan)

Tracking

({crash})

Trunk
x86
Linux
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: 1d, URL)

(Reporter)

Description

18 years ago
DESCRIPTION:  Clicking on the link (a testcase from bug 9140) crashes in
NS_MakeAbsoluteURI.  I'm not sure if the problem is in the network code or in
the layout code that calls it, or both.

STEPS TO REPRODUCE:
 * load http://bugzilla.mozilla.org/showattachment.cgi?attach_id=4647
 * click on "onfocus"

ACTUAL RESULTS:
 * crash

DOES NOT WORK CORRECTLY ON:
 * Linux, mozilla, 2000-04-27-09-M16
 * Linux, mozilla, debug build from 2000-04-25-09

ADDITIONAL INFORMATION:
Top of stack trace:
#0  0x4041542a in NS_MakeAbsoluteURI (result=0xbfffc8b4, 
    spec=0x8687c30 "nowhere.html", baseURI=0x0, ioService=0x0)
    at ../../../dist/include/nsNetUtil.h:218
#1  0x404152bb in NS_MakeAbsoluteURI (result=@0xbfffcb04, spec=@0xbfffc8dc, 
    baseURI=0x0, ioService=0x0) at ../../../dist/include/nsNetUtil.h:238
#2  0x41316d9d in nsImageMap::IsInside (this=0x867c750, aX=474, aY=326, 
    aContent=0xbfffc9c8, aAbsURL=@0xbfffcb04, aTarget=@0xbfffca6c, 
    aAltText=@0xbfffc9d4, aSuppress=0xbfffc9d0) at nsImageMap.cpp:919
#3  0x4131383d in nsImageFrame::GetContentForEvent (this=0x87d2fa0, 
    aPresContext=0x826a540, aEvent=0xbfffcf50, aContent=0xbfffcc0c)
    at nsImageFrame.cpp:813
#4  0x4132ff0a in PresShell::HandleEventInternal (this=0x876f528, 
    aEvent=0xbfffcf50, aView=0x864c1c8, aStatus=0xbfffce68)
    at nsPresShell.cpp:3322
#5  0x4132fb19 in PresShell::HandleEvent (this=0x876f528, aView=0x864c1c8, 
    aEvent=0xbfffcf50, aEventStatus=0xbfffce68, aHandled=@0xbfffce0c)
    at nsPresShell.cpp:3253

Comment 1

18 years ago
Does this still happen? I don't see the crash with the latest build *and* some
changes to NS_MakeAbsolute I don't want to revert to check it out.
(Assignee)

Comment 2

18 years ago
at the very least we should add parameter checking (I will do that tonite)
Status: NEW → ASSIGNED
Target Milestone: --- → M16
(Assignee)

Updated

18 years ago
Whiteboard: 1d

Comment 3

18 years ago
Adding crash to keywords
Keywords: crash
(Assignee)

Comment 4

18 years ago
this might have been a dup of bug 36862. marking as fixed 
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

18 years ago
It might also have been a dup of bug 31892.

Comment 6

18 years ago
verif.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.