[RELEASE] WildShips OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

cim wrote:
I get similar CTDs on Linux with trunk and wildships, and again no graphics instability at all previously, so I doubt it's entirely a driver issue since that I haven't changed. So far narrowed it down to somewhere between r4700 and r4737; continuing searching now.
Since I had just upgraded my drivers it was worth a check. I have now tried the one I had before which were rock solid. Still get CTD. I even found newer nVidia drivers released yesterday, and they yield the same result. So I'm going to rule out graphics drivers for now.

Anything else I can do with my limited technical knowledge. (Wife is away until Sunday, :mrgreen: )
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: [RELEASE] WildShips OXP

Post by another_commander »

Can anyone produce a backtrace? Sorry if one has been presented already, I have not gone back far enough in the thread pages to locate it.
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

I'm confused now. As I said, I upgraded my graphics drivers, and now all WildShips errors in the log are gone, but I still get the CTD. Searching the log (3MB of it) for error gives 0 results.

How would I go about doing a backtrace on Windows. I know you explained this once before AC, but can't find it.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: [RELEASE] WildShips OXP

Post by another_commander »

Gimi wrote:
How would I go about doing a backtrace on Windows. I know you explained this once before AC, but can't find it.
The thread with the instructions for generating a backtrace on Windows is here: https://bb.oolite.space/viewtopic.php?f=8&t=10800
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

another_commander wrote:
Gimi wrote:
How would I go about doing a backtrace on Windows. I know you explained this once before AC, but can't find it.
The thread with the instructions for generating a backtrace on Windows is here: https://bb.oolite.space/viewtopic.php?f=8&t=10800
Thank you AC.
Rebuilding with make debug=yes now. Will post a backtrace as soon as CTD occurs.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

Result of backtrace:

Code: Select all

$ gdb oolite.dbg.exe
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run
Starting program: d:\myOolite\trunk\oolite.app/oolite.dbg.exe 
[New thread 4284.0x1ad0]
[New thread 4284.0x1fe8]
[New thread 4284.0x480]
[New thread 4284.0x1264]
[New thread 4284.0x115c]
[New thread 4284.0x113c]
[New thread 4284.0x19e8]
[New thread 4284.0xf60]
[New thread 4284.0x1d4c]
[New thread 4284.0x1d8c]
[New thread 4284.0x1b4c]
[New thread 4284.0x1684]
[New thread 4284.0x1f48]
[New thread 4284.0x1310]
[New thread 4284.0x116c]
[New thread 4284.0x1c50]
[New thread 4284.0xdf0]
[New thread 4284.0xf5c]
[New thread 4284.0x1064]
[New thread 4284.0x1a3c]
[New thread 4284.0x1f8c]
[New thread 4284.0xff0]
[New thread 4284.0x1c84]
[New thread 4284.0x7d0]
[New thread 4284.0x1424]
[New thread 4284.0x978]
[New thread 4284.0x1a24]
[New thread 4284.0x1b2c]
[New thread 4284.0x980]
[New thread 4284.0x1d68]
[New thread 4284.0x520]
[New thread 4284.0x1cdc]
[New thread 4284.0x15d0]
[New thread 4284.0x1d14]
[New thread 4284.0x55c]
[New thread 4284.0x17f0]
[New thread 4284.0x19d8]
[New thread 4284.0x1b3c]
[New thread 4284.0x151c]
[New thread 4284.0xdd4]
[New thread 4284.0x12ac]
[New thread 4284.0xabc]
[New thread 4284.0xe1c]
[New thread 4284.0x10c0]
[New thread 4284.0x1864]
[New thread 4284.0x18ac]
[New thread 4284.0x1a50]
[New thread 4284.0x1d1c]
[New thread 4284.0xd60]
[New thread 4284.0x1fbc]
[New thread 4284.0xda0]
[New thread 4284.0x6a0]
[New thread 4284.0x5e8]

Program received signal SIGSEGV, Segmentation fault.
0x6784840a in objc_msg_lookup () from d:\myOolite\trunk\oolite.app\objc-1.dll
(gdb) Error: dll starting at 0x76bb0000 not found.
Error: dll starting at 0x76410000 not found.
Error: dll starting at 0x76bb0000 not found.
Error: dll starting at 0x76cd0000 not found.
warning: Lowest section in C:\Program Files\NVIDIA Corporation\nview\nvwimg.dll is .rdata at 10001000
warning: Lowest section in C:\Program Files\NVIDIA Corporation\nview\nvwimg.dll is .rdata at 10001000
warning: Lowest section in C:\Program Files\NVIDIA Corporation\nview\nvwimg.dll is .rdata at 10001000
backtrace
#0  0x6784840a in objc_msg_lookup ()
   from d:\myOolite\trunk\oolite.app\objc-1.dll
#1  0x005a928e in -[OOScriptTimer compareByNextFireTime:] (self=0x172b0f98, 
    _cmd=0x6b7c48, other=0x37cf997f) at src/Core/Scripting/OOScriptTimer.m:244
#2  0x005df147 in PQCompare (a=0x172b0f98, b=0x37cf997f, comparator=0x6b7c48)
    at src/Core/OOPriorityQueue.m:99
#3  0x005df5fe in -[OOPriorityQueue(Private) bubbleDownFrom:] (
    self=0x2878cf48, _cmd=0x6c9d08, i=6) at src/Core/OOPriorityQueue.m:440
#4  0x005df8ce in -[OOPriorityQueue(Private) removeObjectAtIndex:] (
    self=0x2878cf48, _cmd=0x6c9ca8, i=0) at src/Core/OOPriorityQueue.m:529
#5  0x005df27b in -[OOPriorityQueue removeNextObject] (self=0x2878cf48, 
    _cmd=0x6b7c80) at src/Core/OOPriorityQueue.m:361
#6  0x005a8fdc in +[OOScriptTimer updateTimers] (self=0x6b7ae0, _cmd=0x658138)
    at src/Core/Scripting/OOScriptTimer.m:177
#7  0x00425365 in -[PlayerEntity update:] (self=0xdf55708, _cmd=0x6e3960, 
    delta_t=0.25) at src/Core/Entities/PlayerEntity.m:1641
#8  0x0062778d in -[Universe update:] (self=0x37d2a78, _cmd=0x6d1a10, 
    inDeltaT=0.25) at src/Core/Universe.m:5159
#9  0x005f0e53 in -[GameController doPerformGameTick] (self=0x2e7b8d0, 
    _cmd=0x6d1a08) at src/Core/GameController.m:344
#10 0x005f0d02 in -[GameController performGameTick:] (self=0x2e7b8d0, 
    _cmd=0x6d1a28, sender=0x3c6b6178) at src/Core/GameController.m:323
#11 0x64922590 in gnustep-base-1_20!GSUnregisterCurrentThread ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#12 0x648fd8af in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#13 0x648f9d1f in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#14 0x648fa8a3 in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#15 0x648f9682 in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#16 0x005f0979 in -[GameController applicationDidFinishLaunching:] (
    self=0x2e7b8d0, _cmd=0x6d2ea8, notification=0x0)
    at src/Core/GameController.m:269
#17 0x005f49b8 in SDL_main (argc=1, argv=0x2e06cf8) at src/SDL/main.m:120
#18 0x00640eff in console_main (argc=1, argv=0x2e06cf8)
    at ./src/main/win32/SDL_win32_main.c:246
#19 0x006410dd in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x11a598c "", 
    sw=10) at ./src/main/win32/SDL_win32_main.c:382
#20 0x006408dc in main ()
(gdb) 
Hope this helps. Looks like graphic drivers may be the culprit after all.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: [RELEASE] WildShips OXP

Post by another_commander »

This line:
#2 0x005df147 in PQCompare (a=0x172b0f98, b=0x37cf997f, comparator=0x6b7c48)
at src/Core/OOPriorityQueue.m:99
appears to be a usual suspect in quite a few of the traces we have seen related with recent crash reports. It looks as if object a being compared to object b is not a valid object. Can't seem to be able to see why this is though, for the moment at least. Thanks for the backtrace Gimi, quite helpful.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: [RELEASE] WildShips OXP

Post by Kaks »

Hmm, the comparison is actually abstracted from the underlying objects, that's where the snafus seem to happen.

I've just committed a tentative fix in trunk that might solve this particular issue (aargh, timers!!!), but in any case we clearly need to have a proper look at the priority queue implementation! ;)

Gimi, can you let us know what happens with rev4831?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

Building 4831 now.
It might be a couple of hours before I post results, I have to go pick up the kids.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

Backtrace from 4831. Still get CTD.

Code: Select all

$ gdb oolite.dbg.exe
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run
Starting program: d:\myOolite\trunk\oolite.app/oolite.dbg.exe 
[New thread 2296.0x16b0]
[New thread 2296.0x1680]
[New thread 2296.0x12b8]
[New thread 2296.0x1dbc]
[New thread 2296.0x1c14]
[New thread 2296.0x1cd8]
[New thread 2296.0x1bf4]
[New thread 2296.0x1f94]
[New thread 2296.0x1d98]
[New thread 2296.0x1c50]
[New thread 2296.0xf70]
[New thread 2296.0x1a88]
[New thread 2296.0x1d5c]
[New thread 2296.0x1fd8]
[New thread 2296.0x1dcc]
[New thread 2296.0x1ea0]
[New thread 2296.0x1ca0]
[New thread 2296.0xd60]
[New thread 2296.0xa2c]
[New thread 2296.0x818]
[New thread 2296.0x19e0]
[New thread 2296.0x1c94]
[New thread 2296.0x45c]
[New thread 2296.0x177c]
[New thread 2296.0x12d0]
[New thread 2296.0x7c8]
[New thread 2296.0x1f24]
[New thread 2296.0x11e8]
[New thread 2296.0x19d8]
[New thread 2296.0x1f84]
[New thread 2296.0xb80]
[New thread 2296.0x17d4]
[New thread 2296.0x1ffc]
[New thread 2296.0x1c5c]
[New thread 2296.0x4f8]
[New thread 2296.0x5e8]
[New thread 2296.0x1c30]
[New thread 2296.0x161c]
[New thread 2296.0xab8]
[New thread 2296.0x1f14]
[New thread 2296.0x1e30]
[New thread 2296.0x1c78]
[New thread 2296.0x153c]
[New thread 2296.0xd94]
[New thread 2296.0x1494]
[New thread 2296.0x1c04]
[New thread 2296.0x1770]
[New thread 2296.0x824]
[New thread 2296.0x1eac]
[New thread 2296.0x72c]
[New thread 2296.0x19a4]

Program received signal SIGSEGV, Segmentation fault.
0x6784840a in objc_msg_lookup () from d:\myOolite\trunk\oolite.app\objc-1.dll
(gdb) Error: dll starting at 0x76bb0000 not found.
Error: dll starting at 0x76410000 not found.
Error: dll starting at 0x76bb0000 not found.
Error: dll starting at 0x76cd0000 not found.
warning: Lowest section in C:\Program Files\NVIDIA Corporation\nview\nvwimg.dll is .rdata at 10001000
warning: Lowest section in C:\Program Files\NVIDIA Corporation\nview\nvwimg.dll is .rdata at 10001000
warning: Lowest section in C:\Program Files\NVIDIA Corporation\nview\nvwimg.dll is .rdata at 10001000
backtrace
#0  0x6784840a in objc_msg_lookup ()
   from d:\myOolite\trunk\oolite.app\objc-1.dll
#1  0x005a92e0 in -[OOScriptTimer compareByNextFireTime:] (self=0x172b6be0, 
    _cmd=0x6b7c68, other=0x1853acaf) at src/Core/Scripting/OOScriptTimer.m:245
#2  0x005df277 in PQCompare (a=0x172b6be0, b=0x1853acaf, comparator=0x6b7c68)
    at src/Core/OOPriorityQueue.m:99
#3  0x005df72e in -[OOPriorityQueue(Private) bubbleDownFrom:] (
    self=0x15ff57c0, _cmd=0x6c9d28, i=6) at src/Core/OOPriorityQueue.m:440
#4  0x005df9fe in -[OOPriorityQueue(Private) removeObjectAtIndex:] (
    self=0x15ff57c0, _cmd=0x6c9cc8, i=0) at src/Core/OOPriorityQueue.m:529
#5  0x005df3ab in -[OOPriorityQueue removeNextObject] (self=0x15ff57c0, 
    _cmd=0x6b7ca0) at src/Core/OOPriorityQueue.m:361
#6  0x005a8fdc in +[OOScriptTimer updateTimers] (self=0x6b7b00, _cmd=0x658138)
    at src/Core/Scripting/OOScriptTimer.m:177
#7  0x00425365 in -[PlayerEntity update:] (self=0xcf11478, _cmd=0x6e3980, 
    delta_t=0.035999953746795654) at src/Core/Entities/PlayerEntity.m:1641
#8  0x006278bd in -[Universe update:] (self=0x38c2b20, _cmd=0x6d1a30, 
    inDeltaT=0.035999953746795654) at src/Core/Universe.m:5159
#9  0x005f0f83 in -[GameController doPerformGameTick] (self=0x2eb27e8, 
    _cmd=0x6d1a28) at src/Core/GameController.m:344
#10 0x005f0e32 in -[GameController performGameTick:] (self=0x2eb27e8, 
    _cmd=0x6d1a48, sender=0x18459f38) at src/Core/GameController.m:323
#11 0x64922590 in gnustep-base-1_20!GSUnregisterCurrentThread ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#12 0x648fd8af in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#13 0x648f9d1f in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#14 0x648fa8a3 in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#15 0x648f9682 in gnustep-base-1_20!NSRangeFromString ()
   from d:\myOolite\trunk\oolite.app\gnustep-base-1_20.dll
#16 0x005f0aa9 in -[GameController applicationDidFinishLaunching:] (
    self=0x2eb27e8, _cmd=0x6d2ec8, notification=0x0)
    at src/Core/GameController.m:269
#17 0x005f4ae8 in SDL_main (argc=1, argv=0x2e46ca8) at src/SDL/main.m:120
#18 0x0064102f in console_main (argc=1, argv=0x2e46ca8)
    at ./src/main/win32/SDL_win32_main.c:246
#19 0x0064120d in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x11e5954 "", 
    sw=10) at ./src/main/win32/SDL_win32_main.c:382
#20 0x00640a0c in main ()
(gdb) 
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Ironfist
Commander
Commander
Posts: 218
Joined: Tue Jun 28, 2011 2:16 pm
Location: London

Re: [RELEASE] WildShips OXP

Post by Ironfist »

Built R4830 this morning and ran with my usual set of OXPs plus wildships1.01.
Got a CTD as soon as a targeted a ship.
BT as follows

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x6784840d in objc_msg_lookup () from f:\myoolite\trunk\oolite.app\objc-1.dll
(gdb) bt
#0  0x6784840d in objc_msg_lookup ()
   from f:\myoolite\trunk\oolite.app\objc-1.dll
#1  0x005a928e in -[OOScriptTimer compareByNextFireTime:] (self=0x1122af70, 
    _cmd=0x6b7c48, other=0x12c64c30) at src/Core/Scripting/OOScriptTimer.m:244
#2  0x005df147 in PQCompare (a=0x1122af70, b=0x12c64c30, comparator=0x6b7c48)
    at src/Core/OOPriorityQueue.m:99
#3  0x005df5fe in -[OOPriorityQueue(Private) bubbleDownFrom:] (
    self=0x138fa600, _cmd=0x6c9d08, i=6) at src/Core/OOPriorityQueue.m:440
#4  0x005df8ce in -[OOPriorityQueue(Private) removeObjectAtIndex:] (
    self=0x138fa600, _cmd=0x6c9ca8, i=2) at src/Core/OOPriorityQueue.m:529
#5  0x005df1a7 in -[OOPriorityQueue removeExactObject:] (self=0x138fa600, 
    _cmd=0x6b7c68, object=0x11af2220) at src/Core/OOPriorityQueue.m:331
#6  0x005a8ee3 in -[OOScriptTimer unscheduleTimer] (self=0x11af2220, 
    _cmd=0x6b5258) at src/Core/Scripting/OOScriptTimer.m:152
#7  0x0059e6d2 in TimerStop (context=0x11908850, argc=0, vp=0xaea0068)
    at src/Core/Scripting/OOJSTimer.m:452
#8  0x0110f556 in js32ECMAv5dbg!_ZN2js11ArrayBufferC1Ev ()
   from f:\myoolite\trunk\oolite.app\js32ECMAv5dbg.dll
#9  0x00f54666 in js32ECMAv5dbg!JS_NewHashTable ()
   from f:\myoolite\trunk\oolite.app\js32ECMAv5dbg.dll
#10 0x00f65fdb in js32ECMAv5dbg!JS_NewHashTable ()
   from f:\myoolite\trunk\oolite.app\js32ECMAv5dbg.dll
#11 0x00f668f3 in js32ECMAv5dbg!JS_NewHashTable ()
   from f:\myoolite\trunk\oolite.app\js32ECMAv5dbg.dll
#12 0x00f67554 in js32ECMAv5dbg!JS_NewHashTable ()
   from f:\myoolite\trunk\oolite.app\js32ECMAv5dbg.dll
#13 0x00ec7d4f in js32ECMAv5dbg!JS_CallFunctionValue ()
   from f:\myoolite\trunk\oolite.app\js32ECMAv5dbg.dll
#14 0x0057d0ef in -[OOJSScript callMethod:inContext:withArguments:count:result:] (self=0x72b11f0, _cmd=0x6593a8, methodID={asBits = 189907952}, 
    context=0x11908850, argv=0x23ec10, argc=1, outResult=0x23eb30)
    at src/Core/Scripting/OOJSScript.m:409
#15 0x00449712 in -[PlayerEntity doWorldScriptEvent:inContext:withArguments:count:timeLimit:] (self=0x8fa3478, _cmd=0x6582a8, message={asBits = 189907952}, 
    context=0x11908850, argv=0x23ec10, argc=1, limit=0)
    at src/Core/Entities/PlayerEntity.m:8339
#16 0x00449336 in -[PlayerEntity doScriptEvent:inContext:withArguments:count:]
    (self=0x8fa3478, _cmd=0x671a18, message={asBits = 189907952}, 
    context=0x11908850, argv=0x23ec10, argc=1)
    at src/Core/Entities/PlayerEntity.m:8294
#17 0x004bcbc4 in -[ShipEntity doScriptEvent:withArgument:] (self=0x8fa3478, 
    _cmd=0x671260, message={asBits = 189907952}, argument=0x0)
    at src/Core/Entities/ShipEntity.m:10156
#18 0x004a893c in -[ShipEntity noteLostTarget] (self=0x8fa3478, _cmd=0x6586e0)
    at src/Core/Entities/ShipEntity.m:6687
#19 0x0042b14c in -[PlayerEntity updateTargeting] (self=0x8fa3478, 
    _cmd=0x658618) at src/Core/Entities/PlayerEntity.m:2617
#20 0x0042998a in -[PlayerEntity performInFlightUpdates:] (self=0x8fa3478, 
    _cmd=0x658370, delta_t=0.11000001430511475)
    at src/Core/Entities/PlayerEntity.m:2380
#21 0x00425616 in -[PlayerEntity update:] (self=0x8fa3478, _cmd=0x6e3960, 
    delta_t=0.11000001430511475) at src/Core/Entities/PlayerEntity.m:1670
#22 0x0062778d in -[Universe update:] (self=0x1e0b918, _cmd=0x6d1a10, 
    inDeltaT=0.11000001430511475) at src/Core/Universe.m:5159
#23 0x005f0e53 in -[GameController doPerformGameTick] (self=0x1bc2bd0, 
    _cmd=0x6d1a08) at src/Core/GameController.m:344
#24 0x005f0d02 in -[GameController performGameTick:] (self=0x1bc2bd0, 
    _cmd=0x6d1a28, sender=0xae0b338) at src/Core/GameController.m:323
#25 0x64922590 in gnustep-base-1_20!GSUnregisterCurrentThread ()
   from f:\myoolite\trunk\oolite.app\gnustep-base-1_20.dll
#26 0x648fd8af in gnustep-base-1_20!NSRangeFromString ()
   from f:\myoolite\trunk\oolite.app\gnustep-base-1_20.dll
#27 0x648f9d1f in gnustep-base-1_20!NSRangeFromString ()
   from f:\myoolite\trunk\oolite.app\gnustep-base-1_20.dll
#28 0x648fa8a3 in gnustep-base-1_20!NSRangeFromString ()
   from f:\myoolite\trunk\oolite.app\gnustep-base-1_20.dll
#29 0x648f9682 in gnustep-base-1_20!NSRangeFromString ()
   from f:\myoolite\trunk\oolite.app\gnustep-base-1_20.dll
#30 0x005f0979 in -[GameController applicationDidFinishLaunching:] (
    self=0x1bc2bd0, _cmd=0x6d2ea8, notification=0x0)
    at src/Core/GameController.m:269
#31 0x005f49b8 in SDL_main (argc=1, argv=0x1b696b8) at src/SDL/main.m:120
#32 0x00640eff in console_main (argc=1, argv=0x1b696b8)
    at ./src/main/win32/SDL_win32_main.c:246
#33 0x006410dd in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x251f0c "", 
    sw=10) at ./src/main/win32/SDL_win32_main.c:382
#34 0x006408dc in main ()
Thought I would post it since this is a XP32 machine with a ATI graphics card for comparision

Ironfist
64bit Mint 10 and Win 8 64bit on E8400 at 3.6GHz - ATI HD5750 graphics.
Concentration is the ability to think of absolutely nothing when it is absolutely necessary.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: [RELEASE] WildShips OXP

Post by Kaks »

Thanks Gimi, & Ironfist.

Back to RL for now, but will do some tweaking of code later on! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: [RELEASE] WildShips OXP

Post by Thargoid »

I'm now a bit confused - is this suspected to be a script timer issue or a texture overload one?

Can one of you who has the CTD's try cim's simplification (comment out the script line script = "wildShips_kiota.js"; - line 320 - in the shipdata.plist) and shift-restart and see if the CTDs remain or not.

Is the commonality here that the problem is on Linux (or at least not on Windows)? I might have to rebuild my Mint environment if so and see if I can reproduce there, although we're off tomorrow for a few days break.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: [RELEASE] WildShips OXP

Post by Svengali »

Thargoid wrote:
I'm now a bit confused - is this suspected to be a script timer issue or a texture overload one?
Both and both are not *nix specific.

Unrooted timers are happening quite often in shipscripts if they are not cleared before the context is not available anymore. This is a problem in more than one OXP. The auto-stop for timers is only working for worldScripts right now it seems.

The CTDs caused by texture sizes are gfx-card/driver specific. Quite a few gfx-cards have a max texture size of 2048, older cards may have a even lower limit. If you want to play safe use a lower size for textures - this will also speed up I/O transactions. Additionally you can use tools to optimize the streams and headers (like OptiPNG or png-crusher).
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [RELEASE] WildShips OXP

Post by Gimi »

Thargoid wrote:
I'm now a bit confused - is this suspected to be a script timer issue or a texture overload one?

Can one of you who has the CTD's try cim's simplification (comment out the script line script = "wildShips_kiota.js"; - line 320 - in the shipdata.plist) and shift-restart and see if the CTDs remain or not.

Is the commonality here that the problem is on Linux (or at least not on Windows)? I might have to rebuild my Mint environment if so and see if I can reproduce there, although we're off tomorrow for a few days break.
If you are confused, imagine how we feel :roll:
Well, I don't know what the issue is, but it is present on Windows. (I'm on Win 7, 64bit)
Commenting out the line 320 in shipdata.plist does solve the problem for me, no crash so far in that configuration.
Not sure if it's the same problem on Linux.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
Post Reply