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

VERIFIED FIXED in M15

Status

()

P3
normal
VERIFIED FIXED
19 years ago
18 years ago

People

(Reporter: gordon, Assigned: jud)

Tracking

Trunk
PowerPC
Mac System 8.6
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

19 years ago
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

Comment 1

19 years ago
Seems like a bug for the writer of nsDateTimeFormatMac.
Assignee: valeski → nhotta
Component: Networking → Internationalization
Target Milestone: M15

Updated

19 years ago
Status: NEW → ASSIGNED

Comment 2

19 years ago
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
Last Resolved: 19 years ago
Resolution: --- → INVALID
(Assignee)

Comment 3

19 years ago
I'll take this one.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
(Assignee)

Comment 4

19 years ago
FTP must be trying to build up a dir listing when it shouldn't be.
Assignee: nhotta → valeski
Status: REOPENED → NEW
(Assignee)

Comment 5

19 years ago
Created attachment 5901 [details] [diff] [review]
proposed fix
(Assignee)

Comment 6

19 years ago
fix just checked in.
(Assignee)

Comment 7

19 years ago
a
Status: NEW → RESOLVED
Last Resolved: 19 years ago19 years ago
Resolution: --- → FIXED

Comment 8

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