Closed Bug 37479 Opened 25 years ago Closed 25 years ago

crash (in network code) from clicking on imagemap

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: gagan)

References

()

Details

(Keywords: crash, Whiteboard: 1d)

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
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.
at the very least we should add parameter checking (I will do that tonite)
Status: NEW → ASSIGNED
Target Milestone: --- → M16
Whiteboard: 1d
Adding crash to keywords
Keywords: crash
this might have been a dup of bug 36862. marking as fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
It might also have been a dup of bug 31892.
verif.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.