bugGNUstep - Bugs: bug #11516, Crash with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11516: Crash with TimeZone/CalendarDate/Autorelease

Submitted by:  Manuel Guesdon <mguesdon>
Submitted on:  Fri 07 Jan 2005 12:32:30 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

Fri 07 Jan 2005 03:36:30 PM UTC, comment #1:

My bad. Fixed.

  • Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary.
Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Fri 07 Jan 2005 12:32:30 PM UTC, original submission:

Just put this in main():
{
NSAutoreleasePool *arpTest = [NSAutoreleasePool new];
id d=[[NSCalendarDate alloc] initWithString: @"04/02/2004 16:53:41 CEST"
calendarFormat: @"%m/%d/%Y %H:%M:%S %Z"];
NSLog(@"d=%@",d);
[arpTest release];
}
{
NSAutoreleasePool *arpTest = [NSAutoreleasePool new];
id d=[[NSCalendarDate alloc] initWithString: @"04/02/2004 16:53:41 CEST"
calendarFormat: @"%m/%d/%Y %H:%M:%S %Z"];
NSLog(@"d=%@",d);
[arpTest release];
}

(2 times)
The 2nd time, it crash:
2005-01-07 13:28:01.000 x[22382] Unknown time zone name `CEST'.
2005-01-07 13:28:01.000 x[22382] d=04/02/2004 16:53:41 CEST
2005-01-07 13:28:01.000 x[22382] Unknown time zone name `CEST'.

Manuel Guesdon <mguesdon>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 07 Jan 2005 03:36:30 PM UTCfedorSeverity6 - Security=>3 - Normal
  StatusNone=>Fixed
  Assigned toNone=>fedor
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1