[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bugs #8498] [MinGW] NSUnarchiver crashes
From: |
Gregory John Casamento |
Subject: |
Re: [bugs #8498] [MinGW] NSUnarchiver crashes |
Date: |
Sun, 11 Apr 2004 06:33:22 -0700 (PDT) |
Happy to report that the new patch works just fine with Gorm, gormtest, and a
few other test apps I use for regression testing.
Great work, and thanks. :)
GJC
--- Wim Oudshoorn <woudshoo@xs4all.nl> wrote:
> "Richard Frith-Macdonald" <noreply@savannah.gnu.org> writes:
>
> > This mail is an automated notification from the bugs tracker
> >
> > ------------------ Additional Follow-up Comments
> > I fixed the bug in NSNumber and added a
> > simple mechanism for retaining decoded objects ... store them in an
> > NSMutableArray until the NSUnarchiver is deallocated.
> >
>
> >From the top of my head, I am not sure if this is correct.
> Consider the following code in initWithCoder:
>
> - initWithCoder: ...
> {
> ....
> [self dealloc];
> self = someotherobject;
> ....
> return self;
> }
>
> Arguably this is bad style, you should NOT dealloc, but just release.
> But AFAIK this works with WO4.5, and this will not work if you
> put the objects in an NS(Mutable)Array during unarchiving.
> (It will crash when the array is deallocated.)
>
> I think there should be a solution that works better.
> I hope my schedule allows me to investigate tuesday.
>
>
> Wim Oudshoorn.
>
>
>
>
>
> _______________________________________________
> Bug-gnustep mailing list
> Bug-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-gnustep
=====
Gregory John Casamento -- CEO/President Open Logic Corp.
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, (continued)
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, Gregory John Casamento, 2004/04/09
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, Richard Frith-Macdonald, 2004/04/10
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, Gregory John Casamento, 2004/04/10
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, Gregory John Casamento, 2004/04/10
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, Gregory John Casamento, 2004/04/10
- Re: [bugs #8498] [MinGW] NSUnarchiver crashes, Wim Oudshoorn, 2004/04/11
[bugs #8498] [MinGW] NSUnarchiver crashes, Willem Rein Oudshoorn, 2004/04/09
[bugs #8498] [MinGW] NSUnarchiver crashes, Gregory John Casamento, 2004/04/10
[bugs #8498] [MinGW] NSUnarchiver crashes, Richard Frith-Macdonald, 2004/04/11