Closed Bug 29551 Opened 25 years ago Closed 25 years ago

ftp://ftp.apple.com/bin cause assertion to fire

Categories

(Core :: Internationalization, defect, P3)

PowerPC
Mac System 8.6
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: gordon, Assigned: jud)

References

()

Details

Attachments

(1 file)

The assertion is 'tm is not set correctly' in nsDateTimeFormatMac.cpp. Here's the stack trace: User break at 0A821220 dprintf(const char*, ...)+0008C ###!!! ASSERTION: tm is not set correctly: 'tmTime->tm_mon >= 0', file nsDateTimeFormatMac.cpp, line 335 Calling chain using A6/R1 links Back chain ISA Caller 00000000 PPC 0931B7FC 09EF26C0 PPC 09306564 main+001C0 09EF2630 PPC 09304CFC main1(int, char**, nsISplashScreen*)+0072C 09EF2540 PPC 0A5D2C94 nsAppShellService::Run()+00020 09EF2500 PPC 0884D08C nsAppShell::Run()+00040 09EF24C0 PPC 0884D8A0 nsMacMessagePump::DoMessagePump()+00044 09EF2470 PPC 0884DBBC nsMacMessagePump::DispatchEvent(int, EventRecord*)+ 001A4 09EF2420 PPC 0F0258CC Repeater::DoRepeaters(const EventRecord&)+00034 09EF23E0 PPC 0882A51C nsMacNSPREventQueueHandler::RepeatAction(const EventRecord&)+00284 09EF2350 PPC 0A8443D8 nsEventQueueImpl::ProcessPendingEvents()+00138 09EF22E0 PPC 0A8443D8 nsEventQueueImpl::ProcessPendingEvents()+00138 09EF2270 PPC 0A8443D8 nsEventQueueImpl::ProcessPendingEvents()+00138 09EF2200 PPC 0A8443D8 nsEventQueueImpl::ProcessPendingEvents()+00138 09EF2190 PPC 0A8443D8 nsEventQueueImpl::ProcessPendingEvents()+00138 09EF2120 PPC 0A844308 nsEventQueueImpl::ProcessPendingEvents()+00068 09EF20B0 PPC 0A8B9184 PL_ProcessPendingEvents+00084 09EF2060 PPC 0A8B92C8 PL_HandleEvent+00054 09EF2020 PPC 08CA2FB0 nsStreamListenerEvent::HandlePLEvent(PLEvent*)+00050 09EF1FE0 PPC 08CA48E8 nsOnDataAvailableEvent::HandleEvent()+00084 09EF1F90 PPC 09F29E70 nsFTPDirListingConv::OnDataAvailable(nsIChannel*, nsISupports*, nsIInputStream*, unsigned int, unsigned int)+00308 09EF1E80 PPC 09F2BD70 nsFTPDirListingConv::DigestBufferLines(char*, nsCAutoString&)+005C0 09EF1DB0 PPC 09F18A00 nsDateTimeFormatMac::FormatPRExplodedTime(nsILocale* , int, int, const PRExplodedTime*, nsString&)+000AC 09EF1D40 PPC 09F17E10 nsDateTimeFormatMac::FormatTMTime(nsILocale*, int, int, const std::tm*, nsString&)+000BC 09EF1A60 PPC 0A821320 nsDebug::Assertion(const char*, const char*, const char*, int)+0005C
Seems like a bug for the writer of nsDateTimeFormatMac.
Assignee: valeski → nhotta
Component: Networking → Internationalization
Target Milestone: M15
Status: NEW → ASSIGNED
ftp://ftp.apple.com/bin has no files to list, no date to be displayed (no need to call date format interface).
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
I'll take this one.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
FTP must be trying to build up a dir listing when it shouldn't be.
Assignee: nhotta → valeski
Status: REOPENED → NEW
Attached patch proposed fixSplinter Review
fix just checked in.
a
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: