Fractal Softworks Forum

Please login or register.

Login with username, password and session length

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

Ryu116

  • Lieutenant
  • **
  • Posts: 56
    • View Profile
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
« Last Edit: June 10, 2017, 07:56:02 PM by Ryu116 »
Logged

SCC

  • Admiral
  • *****
  • Posts: 3694
    • 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: 2818
  • Your Friendly Forum Friend
    • View Profile

I would suggest Baretail for windows users as it can read even the largest logs easily
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Snrasha

  • Admiral
  • *****
  • Posts: 704
    • 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.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

xhowlx

  • Ensign
  • *
  • Posts: 1
    • View Profile
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: 1721
  • 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: 1902
    • View Profile
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: 31
    • 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

Jaghaimo

  • Admiral
  • *****
  • Posts: 619
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #9 on: January 21, 2022, 08:34:52 AM »

Quote
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.

As of 0.95.1a we have a full info regarding mogs in the main starsector.log. Sadly, it is difficult to extract it from a large file, but what can be done is: delete the starsector.log file, and launch the game. You will see something like this:

Code
124  [main] INFO  com.fs.starfarer.StarfarerLauncher  - Running with the following mods (in order of priority):
124  [main] INFO  com.fs.starfarer.StarfarerLauncher  -      Starpocalypse [id: starpocalypse] [version 2.2.1] (from C:\Starsector\starsector-core\..\mods\starpocalypse)
125  [main] INFO  com.fs.starfarer.StarfarerLauncher  -     LazyLib [id: lw_lazylib] [version 2.7b] (from C:\Starsector\starsector-core\..\mods\lw_lazylib)
125  [main] INFO  com.fs.starfarer.StarfarerLauncher  -     MagicLib [id: MagicLib] [version 0.42] (from C:\Starsector\starsector-core\..\mods\MagicLib)
125  [main] INFO  com.fs.starfarer.StarfarerLauncher  -     Nexerelin [id: nexerelin] [version 0.10.3i] (from C:\Starsector\starsector-core\..\mods\nexerelin)
125  [main] INFO  com.fs.starfarer.StarfarerLauncher  -     Stellar Networks [id: stelnet] [version 2.4.0] (from C:\Starsector\starsector-core\..\mods\stelnet)
125  [main] INFO  com.fs.starfarer.StarfarerLauncher  -     Transponder Off [id: transpoffder] [version 1.1.2] (from C:\Starsector\starsector-core\..\mods\transpoffder)
128  [main] INFO  com.fs.starfarer.StarfarerLauncher  - Mod list finished

The deletion of starsector.log file should also be encouraged in order to get a cleaner, smaller log. Delete file, start the game again, load your save, trigger the CDT.
Logged

Jazuke Taizago

  • Ensign
  • *
  • Posts: 14
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #10 on: April 08, 2022, 07:22:57 AM »

Seeing as i have the CombatMain issue and it is basically CTD. I didn't have this issue yesterday, and my Mods were no different than they are now, with the exception of a few inactive ones i wanted to test out, hopefully after this is resolved for me.

ACTIVE MODS:
Slightly Better Tech-Mining
A New Level of Confidence
Adjusted Sector
Arma Armatura
Attuned Drive Field Hullmod
Better Colonies
Better Deserving SMods
Captains Log
Caymons Ship Pack
ClearCommands
Combat Alarm Sounds
Combat Chatter
Concord
Console Commands
Dassault-Mikoyan Engineering
Deluxe Player Flags
Detailed Combat Results
Diable Avionics
DroneLib
Dynamic Tariffs
Fast Engine Rendering
Fleet Action History
Fleet Size By DP
Flux Reticle
Forge Production
Fuel Siphoning
Grand Colonies
High Tech Expansion
HyperDrive
Immersion Friendly Portrait Pack
Interstellar Imperium
Jackundor's Advanced Arms
LazyLib
Leading Pip
Locked and Loaded
Logistics Notifications
Low Maintenance
Magnetar
Machina Void Shipyards
MagicLib
Modern Carriers
More Hullmods
Nexerelin
Planet Search
Planetary Shield: Access Control
Pulse Industry
QoL Pack
Rotces Rats
ScalarTech Solutions
Seeker - Unidentified Contact
Shielded Holds For All
Ship Direction Marker
Ship/Weapon Pack
SpeedUp
Starship Legends
Stop Gap Measures
Superweapons Arsenal
Supply Forging
Tahlan Shipworks
Terraforming & Station Construction
Torchships and Deadly Armaments
Transfer All Items
Unknown Skies
Upgraded Rotary Weapons
VIC
Vayra's Ship Pack
Weapon Arcs
WhichMod
AudioPlus
Modified Industry Requirements
GraphicsLib
Ship Catalogue/Variant Editor

INACTIVE MODS:
Lightshow
Trailer Moments
AdvancedGunneryControl
Capture Officers and Crew
Cari's UI (All except Lite)
Commissioned Crews
DIY Planets
ED Shipyard
Hexagonal Shieldidgeridoos
Hostile Intercept (And Autopause)
Hullmod Barratry
Quality Captains: A Skill Rework
Skill Edit
Yunru's Unpack Blueprints

291764 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.O0OO.do.for(Unknown Source)
   at com.fs.starfarer.O0OO.do.o00000(Unknown Source)
   at com.fs.starfarer.O0OO.OOoO.o00000(Unknown Source)
   at com.fs.starfarer.O0OO.OOoO.Ò00000(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.showInteractionDialog(Unknown Source)
   at exerelin.utilities.versionchecker.UpdateNotificationScript.advance(UpdateNotificationScript.java:162)
   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.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged

lustfull

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #11 on: January 25, 2023, 05:08:03 PM »

help , every time i fight the remnant or the derelict domain resurgent, my game crash but i don't get the usual " permgen space" , it just crash and i found nothing usefull in the log. i aslo reset the game multiple time
 aslo tryed disable mod i suspected but no match

all mods are up to date.

"yunrutechmining",
  "$$$_lightshow",
  "pantera_ANewLevel40R",
  "AI-Retrofits",
  "adjustable_skill_thresholds",
  "advanced_gunnery_control_dbeaa06e",
  "anotherportraitpack",
  "armaa",
  "raccoonarms",
  "automatedcommands",
  "battletechportraitpack",
  "timid_admins",
  "better_deserving_smods",
  "beyondthesector",
  "capturecrew",
  "CJHM",
  "CAS",
  "chatter",
  "cmutils",
  "timid_commissioned_hull_mods",
  "lw_console",
  "timid_cum",
  "aaacrew_replacer",
  "diyplanets",
  "hm_flagpack",
  "Diktat Enhancement",
  "dragonslayer",
  "seven_nexus",
  "exoticatechnologies",
  "HHE",
  "forge_production",
  "sun_fuel_siphoning",
  "GrandColonies",
  "HMI",
  "gunnyhegexpeditionary",
  "hte",
  "hm_barratry",
  "IndEvo",
  "timid_xiv",
  "jaa",
  "JYD",
  "LTA",
  "lw_lazylib",
  "logisticsNotifications",
  "luddenhance",
  "MagicLib",
  "memeportraits",
  "more_hullmods",
  "nexerelin",
  "officerExtension",
  "planet_search",
  "progressiveSMods",
  "PulseIndustry",
  "pt_qolpack",
  "QualityCaptains",
  "zQualityCaptainsConfig",
  "repdec",
  "sun_ruthless_sector",
  "scan_those_gates",
  "SEEKER",
  "holdsforall",
  "swp",
  "simpleplayerflags",
  "speedUp",
  "sun_starship_legends",
  "stelnet",
  "StopGapMeasures3",
  "superweapons",
  "timid_supply_forging",
  "tahlan",
  "Terraforming & Station Construction",
  "star_federation",
  "underworld",
  "US",
  "UGH",
  "va11portraits",
  "vic",
  "whichmod",
  "yunru_arsenal",
  "yunru_cunt",
  "yunru_ht",
  "yunruhullmods",
  "yunru_midline_expansion",
  "yunru_ose",
  "yunru_pirate_collection",
  "yunruworlds",
  "yunrucore",
  "audio_plus",
  "mir_np",
  "shaderLib",
  "ShipCatalogVariantEditor".
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4124
    • View Profile
    • Bitbucket profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #12 on: January 26, 2023, 01:03:24 AM »

Crash in what way that doesn't leave a log message?
Does the application hang and need to be killed? If so, make sure you're on the latest Exotica Technologies (1.2.11 has the problem, 1.2.16 is latest).
Logged

lustfull

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #13 on: January 26, 2023, 02:08:58 PM »

problem seems to be solve for now , thanks a lot.
Logged

Kenalbus

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: HOW TO REPORT CTD (CRASH-TO-DESKTOP) ISSUES
« Reply #14 on: Today at 12:27:51 AM »

Active mods are :
Slightly better tech mining
$$$Lightshow
A new level of confidence 25
AdvancedGunneryControl
Apex Design Collective
Arsenal expansion
Diktat enhancement
Hegemony expeditionary auxiliary
High tech expansion
industrial evolution
Iron Shell
LTA
Lazylib
Luddic enhancement
MagicLib
Missing ships
Nes's ship and weapon
Nexerelin
Seeker - unidentified contact
Stop gap measures
Tahlan shipworks
Trochships and deadly armaments
Underworld
Upgraded rotary weapons
Vayra's ship pack
Weftin's ship pack
Xhan empire
zz GraphicsLib

I entered a system and a Domain artillery station began targeting me. Once the targeting 'eye' was full and it fired, the game crashed. I repeated this twice to make sure that was the series of events that led to the crash.

75341 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.campaign.CustomCampaignEntity.readResolve(Unknown Source)
   at com.fs.starfarer.campaign.CustomCampaignEntity.<init>(Unknown Source)
   at com.fs.starfarer.campaign.BaseLocation.addCustomEntity(Unknown Source)
   at indevo.industries.artillery.projectiles.RailgunShotEntity.spawn(RailgunShotEntity.java:59)
   at indevo.industries.artillery.entities.ArtilleryStationEntityPlugin.fireAtTarget(ArtilleryStationEntityPlugin.java:168)
   at indevo.industries.artillery.entities.ArtilleryStationEntityPlugin.fireAtTargets(ArtilleryStationEntityPlugin.java:103)
   at indevo.industries.artillery.entities.ArtilleryStationEntityPlugin.advance(ArtilleryStationEntityPlugin.java:83)
   at com.fs.starfarer.campaign.CustomCampaignEntity.advance(Unknown Source)
   at com.fs.starfarer.campaign.BaseLocation.advance(Unknown Source)
   at com.fs.starfarer.campaign.StarSystem.advance(Unknown Source)
   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.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged