Crashing.
Moderators: winston, another_commander, Getafix
- GothStag
- Dangerous
- Posts: 66
- Joined: Mon Oct 01, 2007 1:10 pm
- Location: Fareham, Hampshire, England, Sol system, Galaxy 1.
- Contact:
Crashing.
I've downloaded quite a few OXPs now & recently Oolite keeps on crashing sometimes. It may be beause one of the OXPs (probably a ship one) may be unstable. How can I tell which of the OXPs is causing this problem?
In memory of ma homey H-Dog.
Krunchin tha numbaz with tha Angels.
http://www.midstateoffice.com/index.php
Krunchin tha numbaz with tha Angels.
http://www.midstateoffice.com/index.php
The normal way is to take out the Oxp's that you think may be the problem and add them back in one by one to find the offender. Search the boards and you should find some of the contenders.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
- GothStag
- Dangerous
- Posts: 66
- Joined: Mon Oct 01, 2007 1:10 pm
- Location: Fareham, Hampshire, England, Sol system, Galaxy 1.
- Contact:
Cheers TGHC I'll give that a try.
In memory of ma homey H-Dog.
Krunchin tha numbaz with tha Angels.
http://www.midstateoffice.com/index.php
Krunchin tha numbaz with tha Angels.
http://www.midstateoffice.com/index.php
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Another generally good idea is to send the crash reports to the address Ahruman gave us here.
Usually crash reports are helpful for him in making Oolite more stable.
Usually crash reports are helpful for him in making Oolite more stable.
- GothStag
- Dangerous
- Posts: 66
- Joined: Mon Oct 01, 2007 1:10 pm
- Location: Fareham, Hampshire, England, Sol system, Galaxy 1.
- Contact:
Cheers Commander.
It didn't crash yesterday but if it does again I'll mail the error bits.
It didn't crash yesterday but if it does again I'll mail the error bits.
In memory of ma homey H-Dog.
Krunchin tha numbaz with tha Angels.
http://www.midstateoffice.com/index.php
Krunchin tha numbaz with tha Angels.
http://www.midstateoffice.com/index.php
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Again it's a good idea to send the crash reports to the address Ahruman gave us here.
If he already has got lots of reports with that particular reason for a crash, and has fixed it, he'll let you know.
If he already has got lots of reports with that particular reason for a crash, and has fixed it, he'll let you know.
-
- Above Average
- Posts: 18
- Joined: Wed Nov 14, 2007 8:57 am
- Location: uk
I'll have to hold my hand up to going a bit .oxp crazy and ending in crashes also.
I went from about 40 oxp's to 70ish yesterday and this morning was a fun bug hunt.
My stderr file did prove useful and enabled me to remove the oxp's that either were or could have been causeing the crash.
Orb.oxp seemed the most reliable to cause a crash - it gives lots of 'can't find laser' type errors and dumps to the desktop pretty soon after start-up.
I was also getting messages from these oxp's doing odd stuff:
Firewasp
Pallas
Condor
Not sure if they cause a crash or not, but they were complained about in stderr for a few things.
The oddest thing I notice is lots(like about 40-50) repeats of this line(or subtle variations of) in stderr:
"2007-11-14 17:13:40.000 oolite.exe[3712] don't know how to load entity 'http://www.apple.com/DTDs/PropertyList-1.0.dtd' id '-//Apple Computer//DTD PLIST 1.0//EN'
.:3: validity error : Validation failed: no DTD found !
<plist version="1.0">"
I noticed that most mods(but not all) have a similar entry at the very top of their shipsdate+shipyard(maybe others?) plist files.
So what happens if I remove those enteries in those files? will stderr no longer give multiple error messages like above? Will the oxp's still function as they should?
I should just say i'm not a coder(last stuff i did was in basic along time ago...in a galaxy far, far away!), but have worked on various mod projects over the years and am looking to help out here as I get into Oolite.
I went from about 40 oxp's to 70ish yesterday and this morning was a fun bug hunt.
My stderr file did prove useful and enabled me to remove the oxp's that either were or could have been causeing the crash.
Orb.oxp seemed the most reliable to cause a crash - it gives lots of 'can't find laser' type errors and dumps to the desktop pretty soon after start-up.
I was also getting messages from these oxp's doing odd stuff:
Firewasp
Pallas
Condor
Not sure if they cause a crash or not, but they were complained about in stderr for a few things.
The oddest thing I notice is lots(like about 40-50) repeats of this line(or subtle variations of) in stderr:
"2007-11-14 17:13:40.000 oolite.exe[3712] don't know how to load entity 'http://www.apple.com/DTDs/PropertyList-1.0.dtd' id '-//Apple Computer//DTD PLIST 1.0//EN'
.:3: validity error : Validation failed: no DTD found !
<plist version="1.0">"
I noticed that most mods(but not all) have a similar entry at the very top of their shipsdate+shipyard(maybe others?) plist files.
So what happens if I remove those enteries in those files? will stderr no longer give multiple error messages like above? Will the oxp's still function as they should?
I should just say i'm not a coder(last stuff i did was in basic along time ago...in a galaxy far, far away!), but have worked on various mod projects over the years and am looking to help out here as I get into Oolite.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
It is not a very good idea interfering with the internal format of the plist files. The DTD reports on the stderr are harmless, although quite annoying. Are you using version 1.65? If you install a more recent one, these messages will be gone, as a slightly modified gnustep dll is utilized, specifically to not attempt to validate plists. The sure thing is, that DTDs are not responsible for any crashes you may be getting.
-
- Above Average
- Posts: 18
- Joined: Wed Nov 14, 2007 8:57 am
- Location: uk
- Captain Hesperus
- Grand High Clock-Tower Poobah
- Posts: 2310
- Joined: Tue Sep 19, 2006 1:10 pm
- Location: Anywhere I can sell Trumbles.....
It is, perhaps, a lasting memory to Charlie's Benulobiweed Inc. ships that, although the ships are phenomenal (but oh so UBER) and groundbreaking, their OXPs are sadly very buggy. When (if?) he returns to these friendly boards, he may well re-release the Benulobiweed fleet bug-free.
Captain Hesperus
Captain Hesperus
The truth, revealed!!
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Captain Hesperus
- Grand High Clock-Tower Poobah
- Posts: 2310
- Joined: Tue Sep 19, 2006 1:10 pm
- Location: Anywhere I can sell Trumbles.....
And the rather 'eccentric' nature of the readme.txt files......Commander McLane wrote:all the fancy ships by Benulobiweed Inc (most of them are recognizable by their bird-names).
Captain Hesperus
The truth, revealed!!
-
- Above Average
- Posts: 18
- Joined: Wed Nov 14, 2007 8:57 am
- Location: uk
His models+textures are very, very good mind you.
I find(so far, fingers crossed) that Kestral+Merlin seem ok, i just reduce their top end speed. But yeah it was Orb.oxp that caused my only Oolite CTD.
As his models are so good i might start with these oxps and do a little bug-hunting when i'm ready to move from playing Oolite to modding. It could be down to some simple typo?
Overall I'm very impressed by Oolite in general(it stopped me playing X3 infact), and the oxp's that have been made. It seems a very good system for player modifications. Thumbs up all round to all your efforts
I find(so far, fingers crossed) that Kestral+Merlin seem ok, i just reduce their top end speed. But yeah it was Orb.oxp that caused my only Oolite CTD.
As his models are so good i might start with these oxps and do a little bug-hunting when i'm ready to move from playing Oolite to modding. It could be down to some simple typo?
Overall I'm very impressed by Oolite in general(it stopped me playing X3 infact), and the oxp's that have been made. It seems a very good system for player modifications. Thumbs up all round to all your efforts
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
You're welcome to surf around the boards (and the wiki as well) to find out more about how it all works.
And keep in mind that Oolite is still a work in progress. So you are not restricted to modding, but also can ask the programmers for modifications of the game itself, adding new functionalities (within reasonable limits, of course).
As for Charlie's OXPs: Yes, most of it comes down to typos that as a result make one of his plists not executable (worse in more recent versions than in 1.65, which is pretty forgiving in that matter). In Orb.oxp things seem to be more serious. I also had a small argument at the time with Charlie, because I believe due to some flaws in the game's handling of AIs at least parts of the OXP simply can't work as he intends it to do.
And keep in mind that Oolite is still a work in progress. So you are not restricted to modding, but also can ask the programmers for modifications of the game itself, adding new functionalities (within reasonable limits, of course).
As for Charlie's OXPs: Yes, most of it comes down to typos that as a result make one of his plists not executable (worse in more recent versions than in 1.65, which is pretty forgiving in that matter). In Orb.oxp things seem to be more serious. I also had a small argument at the time with Charlie, because I believe due to some flaws in the game's handling of AIs at least parts of the OXP simply can't work as he intends it to do.