Warnings are relatively harmless (those are really just memory, leaks,
no memory corruptions). Usually, such warnings happen when you create
the new thread, use objective-c memory-allocations on it, but do not
create Autorelease Pool for that thread

and segfault should be rtaced with gdb, I guess. That's something more
serious (but not related to warnings)

On 5/5/08, Schindler Karl-Michael
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  SDL is used in the program Ultrastar.
>
>  on macosx 10.5 and fpc 2.3.1 sdl_init leads to a large number of
>  warnings.
>
>  This is the line with sdl_init:
>
>      SDL_Init(SDL_INIT_VIDEO or SDL_INIT_TIMER);
>
>  This is the part of the output:
>
>  2008-05-05 01:17:26.689 UltraStar[22982:807] ***
>  _NSAutoreleaseNoPool(): Object 0x121f0d0 of class NSCFNumber
>  autoreleased with no pool in place - just leaking
>  Stack: (0x9609d12f 0x95fa9ec2 0x9577ede1 0x92059b78 0x920584f9
>  0x92068736 0x957db1aa 0x957d93b0 0x957d90f5 0x957d8aa4 0x957d85e3
>  0x957d65df 0x4dbc96 0x4d1d0b 0x4a5f70 0x4a5fa7 0x55977 0x2540 0x1cbc5
>  0x250b 0x2439)
>  2008-05-05 01:17:26.691 UltraStar[22982:807] ***
>  _NSAutoreleaseNoPool(): Object 0x121f550 of class NSCFNumber
>  autoreleased with no pool in place - just leaking
>  Stack: (0x9609d12f 0x95fa9ec2 0x9577ee19 0x92059b78 0x920584f9
>  0x92068736 0x957db1aa 0x957d93b0 0x957d90f5 0x957d8aa4 0x957d85e3
>  0x957d65df 0x4dbc96 0x4d1d0b 0x4a5f70 0x4a5fa7 0x55977 0x2540 0x1cbc5
>  0x250b 0x2439)
>
>  and about 50 more.
>
>  the program continues.
>
>  later this line
>
>      screen := SDL_SetVideoMode(W, H, (Depth+1) * 16, SDL_OPENGL or
>  SDL_RESIZABLE)
>
>  gives similar output:
>
>  2008-05-05 01:17:27.301 UltraStar[22982:807] ***
>  _NSAutoreleaseNoPool(): Object 0x12520c0 of class
>  NSMutableParagraphStyle autoreleased with no pool in place - just
>  leaking
>  Stack: (0x9609d12f 0x95fa9ec2 0x9578cf64 0x92059b78 0x92059a4c
>  0x920584f9 0x92068996 0x9578ff52 0x9578fa7a 0x9578f4fe 0x4deb2f
>  0x4dc2ac 0x4d204e 0x51322 0x50dc1 0x55f90 0x2540 0x1cbc5 0x250b 0x2439)
>  2008-05-05 01:17:27.302 UltraStar[22982:807] ***
>  _NSAutoreleaseNoPool(): Object 0x12525b0 of class NSCFDictionary
>  autoreleased with no pool in place - just leaking
>  Stack: (0x9609d12f 0x95fa9ec2 0x91b98e5c 0x9578cfa8 0x92059b78
>  0x92059a4c 0x920584f9 0x92068996 0x9578ff52 0x9578fa7a 0x9578f4fe
>  0x4deb2f 0x4dc2ac 0x4d204e 0x51322 0x50dc1 0x55f90 0x2540 0x1cbc5
>  0x250b 0x2439)
>
>  going on until the final crash:
>
>  2008-05-05 01:17:27.342 UltraStar[22982:807] ***
>  _NSAutoreleaseNoPool(): Object 0x1256e30 of class NSCFData
>  autoreleased with no pool in place - just leaking
>  Stack: (0x9609d12f 0x95fa9ec2 0x95fbe2a5 0x95fbde81 0x91b9c1e2
>  0x9205d0fb 0x95874b81 0x95790683 0x9578fb41 0x9578f4fe 0x4deb2f
>  0x4dc2ac 0x4d204e 0x51322 0x50dc1 0x55f90 0x2540 0x1cbc5 0x250b 0x2439)
>  2008-05-05 01:17:27.343 UltraStar[22982:807] *** Terminating app due
>  to uncaught exception 'NSInternalInconsistencyException', reason:
>  'Error (1002) creating CGSWindow'
>  2008-05-05 01:17:27.344 UltraStar[22982:807] Stack: (
>      2444870219,
>      2449854715,
>      2444869675,
>      2444869738,
>      2508676964,
>      2508671815,
>      2507736707,
>      2507733825,
>      2507732222,
>      5106479,
>      5096108,
>      5054542,
>      332578,
>      331201,
>      352144,
>      9536,
>      117701,
>      9483,
>      9273
>  )
>  Trace/BPT trap
>
>  Any help or hints - Michael Schindler aka mischi.
>
>
>
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Fink-devel mailing list
>  Fink-devel@lists.sourceforge.net
>  http://news.gmane.org/gmane.os.apple.fink.devel
>


-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to