Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Crash to desktop - Manjaro Linux  (Read 2693 times)

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #15 on: January 13, 2020, 03:36:09 PM »

$ archlinux-java
archlinux-java <COMMAND>

COMMAND:
        status          List installed Java environments and enabled one
        get             Return the short name of the Java environment set as default
        set <JAVA_ENV>  Force <JAVA_ENV> as default
        unset           Unset current default Java environment
        fix             Fix an invalid/broken default Java environment configuration
       
$ archlinux-java status
Available Java environments:
  java-13-openjdk (default)
  java-7-openjdk/jre
  java-8-openjdk/jre
 
$ sudo archlinux-java set java-7-openjdk/jre

Running the latest edited starsector.sh now successfully runs the game.
java -server -Djava.library.path=./native/linux -Xms1536m -Xmx1536m -Xss1024k -classpath janino.jar:commons-compiler.jar:commons-compiler-jdk.jar:starfarer.api.jar:starfarer_obf.jar:jogg-0.0.7.jar:jorbis-0.0.15.jar:json.jar:lwjgl.jar:jinput.jar:log4j-1.2.9.jar:lwjgl_util.jar:fs.sound_obf.jar:fs.common_obf.jar:xstream-1.4.10.jar -Dcom.fs.starfarer.settings.paths.saves=./saves -Dcom.fs.starfarer.settings.paths.screenshots=./screenshots -Dcom.fs.starfarer.settings.paths.mods=./mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher

Trying to run Starsector with java-8-openjdk/jre shows a popup that says Java 7 is the only supported version of Java.

I'll post updates if I get more crashes.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #16 on: January 13, 2020, 04:03:08 PM »

Ok, cool, thank you for giving that a try! Fingers crossed.

(It's possible to run with java 8 by editing data/config/settings.json and setting "allowAnyJavaVersion" to true, btw, if need be.)
Logged

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #17 on: January 14, 2020, 02:02:14 PM »

Got a new log in Dropbox:
hs_err_pid9844.log
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #18 on: January 14, 2020, 02:09:46 PM »

This looks like another jvm crash, so, not the graphics driver this time. Not really sure what to suggest, unfortunately - it seems like something on your system isn't getting along with java, but I'm not sure what else to suggest (beyond trying java 8, and setting "allowAnyJavaVersion" to try in data/config/settings.json - it might work, but at this point, it's difficult to say with any degree of certainty.)
Logged

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #19 on: January 15, 2020, 11:31:46 PM »

New log while using java-8-openjdk/jre:
hs_err_pid14335.log
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #20 on: January 16, 2020, 08:42:32 AM »

And this one is in the graphics driver:

# Problematic frame:
# C  [libnvidia-glcore.so.430.64+0xa4a517]

I realize this probably isn't very helpful, but it feels like there's something wrong with your system or maybe OS install - the game is just crashing fairly at random in places that it really, really shouldn't. If all of the crashes were in the same place - say, in the graphics driver, or in the same place in Java - then, alright, it'd make sense to say that that specific component isn't compatible with *something* on your system, or there's a problem with that component.

But with the crashes being, well, pretty much random like this? I almost wonder if it's not a bad stick of RAM of something, and the game just happens to be stressing your RAM more than usual, since it is fairly RAM-intensive. I don't know if there's a RAM-checking utility for Linux but personally I'd look at that next.
Logged

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #21 on: January 18, 2020, 07:49:35 PM »

New log while using java-7-openjdk/jre:
hs_err_pid7814.log

I've ran memtest86-efi and the RAM passed the test.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #22 on: January 18, 2020, 08:46:09 PM »

Another graphics driver crash, looks like, same lines. There isn't another version of the graphics drivers you can use, is there?
Logged

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #23 on: January 19, 2020, 12:03:11 AM »

I had the video-nvidia-430xx driver installed but the latest one is video-nvidia-440xx. I thought new graphics drivers would be installed automatically when running sudo pacman -Syu.

I would have kept using the old drivers if you hadn't mentioned it. Thanks.
Logged

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #24 on: January 21, 2020, 12:18:38 AM »

I got a new starsector.log
Running with java-7-openjdk/jre and the latest graphics drivers.

I'll test the other java versions now that I'm using the latest graphics drivers.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #25 on: January 21, 2020, 08:35:25 AM »

Hmm. The error, here:

Code
20809955 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at com.fs.starfarer.api.combat.MutableStatWithTempMods.advance(MutableStatWithTempMods.java:108)
at com.fs.starfarer.campaign.econ.Market.advance(Unknown Source)
at com.fs.starfarer.campaign.BaseCampaignEntity.advance(Unknown Source)
at com.fs.starfarer.campaign.CampaignPlanet.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$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Points to a line of code that - and I double-checked to make sure the code I'm looking at is the same as the one the released version is running - doesn't actually exist. Even assuming the line number was wrong somehow, that specific error doesn't seem possible in that method. I'm just not sure what I can suggest, unfortunately - things are breaking in very abnormal ways, and that makes me think something major is wrong. The ram (which you checked) being one of those possibilities, but I suppose there are others - it's just not something I'm particularly knowledgeable about.
Logged

mymfj2rul3

  • Ensign
  • *
  • Posts: 28
    • View Profile
Re: Crash to desktop - Manjaro Linux
« Reply #26 on: January 22, 2020, 03:14:26 PM »

New log hs_err_pid837.log
Running java-8-openjdk/jre.

Edit:
I wanted to reinstall java-runtime-common-3-2 and I was told I was out of space.
I resized the root partition and reinstalled java-runtime-common-3-2 successfully.
« Last Edit: January 22, 2020, 06:18:00 PM by mymfj2rul3 »
Logged
Pages: 1 [2]