Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Blog post: Painting the Stars (02/07/20)

Author Topic: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES  (Read 7117 times)

Ryu116

  • Lieutenant
  • **
  • Posts: 56
    • View Profile
    • Email
HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« on: June 05, 2017, 05:17:33 PM »

HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES


After the release of 0.8.1a version of Starsector and recent release of long awaited DynaSector and Nexerelin mods, people are starting to report the crash issues without providing the proper information.   Without the proper information, Alex (Founder of Starsector), modders, and the community will not be able to narrow down the bugs that caused the crash to desktop (CTD).

So, I am typing this to show you the very simple methods of how to properly give the information about CTD issues.



STEPS:

1)  Locate the starsector.log located in Starsector folder:
Starsector\starsector-core



2)  Obtain the specific information from starsector.log.  Posting the entire starsector.log is not necessary, it is not most effective way to provide information to modders.   In order to provide the most useful information, scroll down to the bottom of starsector.log until you see the line that look similar to this:

ERROR (Any kind of error log)  - java.lang.NullPointerException

Example:
Here is an example of CTD log:

Code
179855 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at src.lt.data.scripts.campaign.Lt_CampaignSpawnSpecialFleet.advance(Lt_CampaignSpawnSpecialFleet.java:60)
at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

See where it say 179855 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException with the rest of lines below it?  That's is what you want to provide when posting crash log.



3) Post the list of mods you activated in Starsector.  THIS IS AN IMPORTANT PART because without it, we have no idea what mods could cause conflicts in Starsector.



4) Describe which mods you installed prior to CTD.



5) Describe the details of what you were doing in Starsector that led to CTD.



To anyone who want any more information added to the guide, please post reply and I will update the guide.



Credits:

Phelan Hood - Thank you for the advice with an English language.
« Last Edit: June 13, 2017, 01:36:55 AM by Gothars »
Logged

Ryu116

  • Lieutenant
  • **
  • Posts: 56
    • View Profile
    • Email
« Last Edit: June 10, 2017, 07:56:02 PM by Ryu116 »
Logged

SCC

  • Admiral
  • *****
  • Posts: 1700
    • View Profile

Here's some good advice: if you make something important or useful, it's best to notify moderator or Alex that you've done this and talk to them if they want this to be pinned... Somewhere. They aren't mind-readers.

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2654
  • Your Friendly Forum Friend
    • View Profile

I would suggest Baretail for windows users as it can read even the largest logs easily
Logged
Stop trying to balance the game around a few minmaxers...
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Tired of having your game crash because of out of date mods? Then click here!
Spoiler
Get Version Checker today! Now with 90% less hassle! Simply toss it into your mod folder, activate the mod like a normal one and BINGO you will now be informed of any and all updates when you start SS campaign up!
[close]

Snrasha

  • Admiral
  • *****
  • Posts: 648
    • View Profile

You need maybe put more with the example than you have put, no?

Quote
Sometimes you can detect instantly the bugged mod, Like here, Lt_"class",  very low many mods begin with a L, you can so detect than you use a old version of Snrasha Looters mods and in this case, report the bug on the subject of this mod, else he cannot fix that, if he know not.
No? No idea how explain that when many mods have a initial on each class, for detect the bugged mod more easily with many mods.
This is a good idea to add that to the guide?


Sorry ><



Thank for this subject!
« Last Edit: June 13, 2017, 01:25:13 AM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Artefact
Two weird faction.

Sanguinary Anarchistic Defectors A fan-mod of Shadowyard.

xhowlx

  • Ensign
  • *
  • Posts: 1
    • View Profile
    • Email
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #5 on: February 10, 2019, 09:37:05 PM »

i gots a fatal error An it took me a while to find it but it only happens when i finalize my new game character and the galaxy starts loading me in here is a list of mods i'm using.

Active-Gates,
Audio Plus,
Combat Chatter,
Diableavionics.
GraphicsLib,
LazyLib,
MagicLib
Lightshow,
Nexerelin,
Oga Portrait Pack,
SCY,
Shadowyards,
Sylphon,
Templars,
Tyrador Safeguard Coalition,
Underworld,
UpgradedRotary Weapons.

And here is the error found in the logs.

1304528 [Thread-10] INFO  sound.H  - Playing music with id [miscallenous_main_menu.ogg]
1374967 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NoSuchMethodError: com.fs.starfarer.api.campaign.econ.MarketAPI.setBaseSmugglingStabilityValue(I)V
java.lang.NoSuchMethodError: com.fs.starfarer.api.campaign.econ.MarketAPI.setBaseSmugglingStabilityValue(I)V
   at data.scripts.world.templars.TEM_Antioch.addMarketplace(TEM_Antioch.java:103)
   at data.scripts.world.templars.TEM_Antioch.generate(TEM_Antioch.java:332)
   at exerelin.world.ExerelinNewGameSetup.addAntiochPart1(ExerelinNewGameSetup.java:144)
   at exerelin.world.ExerelinNewGameSetup.generate(ExerelinNewGameSetup.java:186)
   at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.while.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.float.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.O0oO.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.OoO0.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.oooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.oooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.processInput(Unknown Source)
   at com.fs.starfarer.ui.V.super(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Please halp D;

Logged

AxleMC131

  • Admiral
  • *****
  • Posts: 1551
  • Amateur World-Builder
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #6 on: February 10, 2019, 10:13:34 PM »

@xhowlx The Knights Templar mod isn't updated for the current version of Starsector. Make sure you check the current game version a mod is compatible with when you're downloading/installing it.

(Also this should have been in its own new bug report thread and not as a comment in this one.)
Logged

TJJ

  • Admiral
  • *****
  • Posts: 1839
    • View Profile
    • Email
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #7 on: February 11, 2019, 02:09:53 AM »

It'd be trivial to have a mod catch all uncaught exceptions, and automatically report them. (Or at least prompt the user for permission to do so)

Could even include an optional 'steps to reproduce' field for the user to complete, and a dump of the gamestate graph.(aka a save game)
Logged

TiberQ

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #8 on: December 28, 2019, 06:46:03 PM »

It'd be trivial to have a mod catch all uncaught exceptions, and automatically report them. (Or at least prompt the user for permission to do so)

Could even include an optional 'steps to reproduce' field for the user to complete, and a dump of the gamestate graph.(aka a save game)

+1,
those have my vote ;-)
Logged