Closed Bug 3776 Opened 26 years ago Closed 26 years ago

FTP urls immediately crash Gecko

Categories

(Core :: Networking: FTP, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: elig, Assigned: gagan)

Details

* TITLE/SUMMARY FTP urls immediately crash Gecko (dunno who this should actually go to; put in NSPR.) * STEPS TO REPRODUCE 0) Launch Apprunner or Viewer 1) Type a URL of "ftp://ftp.netscape.com" * RESULT - What happened Crash. - What was expected No crash. (Bug #1986 doesn't cite a crash, so I'm writing it up afresh.) Note that I've seen this particular stack crawl on other crashes that can be reproduced by other means. * REGRESSION - Occurs On viewer (3.15.99 optimized build for Mac OS) viewer (3.14.99 optimized build for Win32 [NT 4, Service Pack 3]) viewer (3.15.99 optimized build for Linux; gives a Gtk-CRITICAL assert prior to crash) - Doesn't Occur On [use your imagination. ;-] * CONFIGURATIONS TESTED - [Mac] Power Mac 8500/120 (233 Mhz 604e), 64 MB RAM (VM on; 1 MB of VM used), 1024x768 (Thousands of Colors), Mac OS 8.5.1 - [Win32] Vectra VL (233 Mhz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP3. - [Linux] Vectra VL (266 Mhz P2), 96 MB RAM. * STACK CRAWL PowerPC unmapped memory exception at 0B9B21F4 NS_NewUnicharStreamLoader(nsIUnicharStreamLoade r**, nsIURL*, void (*)(nsIUnicharStreamLoader*, nsString&, void*, unsigned int), void*)+03654 Calling chain using A6/R1 links Back chain ISA Caller 00000000 PPC 0BA8A77C 03AFFB00 PPC 0BA89A64 03AFFA10 PPC 0B851F9C NSGetFactory+004F0 03AFF9D0 PPC 0B842BB8 nsMacMessageSink::IsRaptorWindow(GrafPort*)+00E84 03AFF8F0 PPC 0B8430B8 nsMacMessageSink::IsRaptorWindow(GrafPort*)+01384 03AFF890 PPC 0B843608 nsMacMessageSink::IsRaptorWindow(GrafPort*)+018D4 03AFF850 PPC 0B8437B8 nsMacMessageSink::IsRaptorWindow(GrafPort*)+01A84 03AFF800 PPC 0B841274 nsMacMessageSink::DispatchOSEvent(EventRecord&, GrafPort*)+00038 03AFF7C0 PPC 0B83E4A4 NS_GetWidgetNativeData(nsISupports*, void**)+084E4 03AFF760 PPC 0B83E658 NS_GetWidgetNativeData(nsISupports*, void**)+08698 03AFF720 PPC 0B83EBB4 NS_GetWidgetNativeData(nsISupports*, void**)+08BF4 03AFF680 PPC 0B833E44 NSGetFactory+01030 03AFF570 PPC 0B830D70 03AFF530 PPC 0B830CE8 03AFF4E0 PPC 0B550598 NSGetFactory+02D2C 03AFF490 PPC 0B54F138 NSGetFactory+018CC 03AFF350 PPC 0B551D90 NSGetFactory+04524 03AFF2D0 PPC 0B54B410 03AFF250 PPC 0B551D90 NSGetFactory+04524 03AFF1D0 PPC 0B551D90 NSGetFactory+04524 03AFF150 PPC 0B551D90 NSGetFactory+04524 03AFF0D0 PPC 0B551E20 NSGetFactory+045B4 03AFF050 PPC 0B630FB0 NS_NewPresShell(nsIPresShell**)+035BC 03AFEFE0 PPC 0B6CD55C NS_NewImageDocument(nsIDocument**)+38E3C 03AFEFA0 PPC 0B7510E8 nsTextFragment::CopyTo(char*, int, int)+04184 03AFEF40 PPC 0B68F388 NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet**)+ 01E9C 03AFEE70 PPC 0B88D338 NS_NewScriptEvent+00630 03AFEDE0 PPC 0B9178AC JS_CallFunctionValue+00014 03AFEDA0 PPC 0B92CB88 js_ForceGC+01424 03AFECF0 PPC 0B92C9A4 js_ForceGC+01240 03AFEC10 PPC 0B9327BC js_ForceGC+07058 03AFE9F0 PPC 0B92C9A4 js_ForceGC+01240 03AFE910 PPC 0B9327BC js_ForceGC+07058 03AFE6F0 PPC 0B92C94C js_ForceGC+011E8 03AFE610 PPC 0B8BEFB8 BrowserAppCoreLoadUrl(JSContext*, JSObject*, unsigned int, long* , long*)+000AC 03AFE560 PPC 0B8BB350 nsBrowserAppCore::LoadUrl(const nsString&)+0008C 03AFE510 PPC 0B7EE19C NS_NewThrobberFactory+0223C 03AFE4C0 PPC 0B7EECE4 NS_NewThrobberFactory+02D84 03AFE370 PPC 0B7EE2F0 NS_NewThrobberFactory+02390 Closing log
There is no evidence in the bug description that suggests this is an NSPR bug. Please reassign the bug to a more appropriate component.
Component: NSPR → Networking Library
QA Contact: 4078 → 1698
Assignee: wtc → gagan
Agreed. Do you have any suggestions?
Punting to Gagan for his opinion...
Status: NEW → ASSIGNED
Target Milestone: M3
Ouch! This should be M3! Signing myself up for more punishment....
Won't crash after this fix that I just checked in, but we do need to revisit it once FTP gets up and running.
So can we move this off M3.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Priority: P3 → P1
Resolution: --- → FIXED
elig, please check this with Mar16 build. If no more crashing, please mark this bug Verified, and write up a REMIND bug for gagan to revisit ftp issue. Thanks!
Status: RESOLVED → VERIFIED
Verified that: * the 3.16.99 Mac build of apprunner throbs indefinitely (instead of crashing) when given valid, invalid, and valid w/password FTP URLs. * Jake is an adorable dog who becomes even friendlier to one who is holding food. ;) Per Gagan's request, will write up a lower priority bug for the indefinite- throb item. Thanks, Gagan!
[Duh, also verified on 3.16.99 Win32 and Linux builds.]
Changing all Networking Library/Browser bugs to Networking-Core component for Browser. Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do this in a bulk change. If this happens, I will fix. ;-)
Bulk move of all Networking-Core (to be deleted component) bugs to new Networking component.
Component: Networking → Networking: FTP
You need to log in before you can comment on or make changes to this bug.