FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    ^ key crashes the game. (under linux?)

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    14 Posts 4 Posters 695 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JipJ Offline
      Jip
      last edited by

      There's this in your logs that's highly unusual:

      warning: UI layer has not been initialized.
      warning: stack traceback:
      warning:         [C]: in function `GetFrame'
      warning:         ...aforever\gamedata\lua.nx2\lua\maui\effecthelpers.lua(34): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...e\t\.faforever\gamedata\lua.nx2\lua\ui\game\chat.lua(4): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...\.faforever\gamedata\lua.nx2\lua\keymap\hotbuild.lua(8): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         [string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      warning: ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): Error importing '/lua/maui/effecthelpers.lua'
      warning: stack traceback:
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(77): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...e\t\.faforever\gamedata\lua.nx2\lua\ui\game\chat.lua(4): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ....faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(35): in main chunk
      warning:         ...
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...\.faforever\gamedata\lua.nx2\lua\keymap\hotbuild.lua(8): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         [string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      warning: ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): Error importing '/lua/ui/game/chat.lua'
      warning: stack traceback:
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(77): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ....faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(35): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...orever\gamedata\lua.nx2\lua\ui\game\construction.lua(20): in main chunk
      warning:         ...
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...\.faforever\gamedata\lua.nx2\lua\keymap\hotbuild.lua(8): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         [string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      warning: ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): Error importing '/lua/ui/game/gamemain.lua'
      warning: stack traceback:
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(77): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...orever\gamedata\lua.nx2\lua\ui\game\construction.lua(20): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...forever\gamedata\lua.nx2\lua\ui\game\commandmode.lua(12): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...\.faforever\gamedata\lua.nx2\lua\keymap\hotbuild.lua(8): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         [string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      warning: ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): Error importing '/lua/ui/game/construction.lua'
      warning: stack traceback:
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(77): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...forever\gamedata\lua.nx2\lua\ui\game\commandmode.lua(12): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...\.faforever\gamedata\lua.nx2\lua\keymap\hotbuild.lua(8): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         [string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      warning: ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): Error importing '/lua/ui/game/commandmode.lua'
      warning: stack traceback:
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(77): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(137): in function `import'
      warning:         ...\.faforever\gamedata\lua.nx2\lua\keymap\hotbuild.lua(8): in main chunk
      warning:         [C]: in function `doscript'
      warning:         [C]: ?
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(61): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
      warning:         ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
      warning:         [string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      warning: Error running lua command: ...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): Error importing '/lua/keymap/hotbuild.lua'
               stack traceback:
               	[C]: ?
               	...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(77): in function <...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua:41>
               	...\t\.faforever\gamedata\lua.nx2\lua\system\import.lua(161): in function `import'
               	[string "import("/lua/keymap/hotbuild.lua").buildAct..."](1): in main chunk
      

      The unusual part is that this errors out before the game has even launched. It also marks various Lua modules as corrupt. It appears the origin is from a hotkey. Do you have other game logs where the game crashes for you?

      A work of art is never finished, merely abandoned

      tatsuT 1 Reply Last reply Reply Quote 1
      • tatsuT Offline
        tatsu @Jip
        last edited by

        @jip

        here's a plan of action if you'll validate it :

        1.) I delete all logs, this way i know what was generated after what events
        2.) I set my keyboard layout back to the default french layout
        3.) I play a game and hit ^
        4.) if no logs are generated i repeat until there's one and upload that one

        How to setup FAF on linux

        1 Reply Last reply Reply Quote 0
        • JipJ Offline
          Jip
          last edited by

          All game should create a log; they're synced to disk as you play. Beyond that, plan sounds good 🙂 .

          Also check and confirm that it really is ^ (e.g., shift + 6 on my keyboard) and not just 6. And check and confirm that there's not else attached to the key combination. For example, some graphics drivers listen to certain keys and trigger all sorts of behavior such as starting a recording or collecting statistics.

          A work of art is never finished, merely abandoned

          tatsuT 1 Reply Last reply Reply Quote 1
          • tatsuT Offline
            tatsu @Jip
            last edited by

            @jip
            no no it's a different key :

            IMG_20240325_193611.jpg

            this one

            How to setup FAF on linux

            1 Reply Last reply Reply Quote 0
            • tatsuT Offline
              tatsu
              last edited by tatsu

              Ok the plot thickens.

              after launching it on steam once and also changing the keyboard layout to and back the same feature I saw on steam happens on FAF and the circumflex gets correctly captured.

              So for now I can no longer reproduce the crash.

              I checked with iczero, it's not due to the game.prefs file, there already was one.
              I don't know what provoked this change in behavior. my guess is running the game once in steam generated some other added files more than just game.prefs

              How to setup FAF on linux

              1 Reply Last reply Reply Quote 1
              • JipJ Offline
                Jip
                last edited by

                That's a great discovery 👍 , thank you for taking the time to find it

                A work of art is never finished, merely abandoned

                1 Reply Last reply Reply Quote 1
                • tatsuT Offline
                  tatsu
                  last edited by tatsu

                  game_22182918.log

                  new update to the FAF linux script (new FAF client vestion) removed whatever steam files made the game not crash so the crash is back.

                  How to setup FAF on linux

                  1 Reply Last reply Reply Quote 0
                  • tatsuT Offline
                    tatsu
                    last edited by tatsu

                    this time running FA from steam does not fix it.

                    and the log file didn't generate. for this second crash

                    How to setup FAF on linux

                    MostLostNoobM 2 Replies Last reply Reply Quote 0
                    • MostLostNoobM Offline
                      MostLostNoob @tatsu
                      last edited by

                      @tatsu Look at this guide for the section titled Doing your own home work - using the log that provides instructions on how to add logging to your vanilla Steam SCFA install.

                      tatsuT 1 Reply Last reply Reply Quote 0
                      • tatsuT Offline
                        tatsu @MostLostNoob
                        last edited by

                        @mostlostnoob .exe

                        read the title of this thread. I'm on linux. I can only use the tools FAF provides. plus I have no issues whatsoever under steam.

                        How to setup FAF on linux

                        1 Reply Last reply Reply Quote 0
                        • MostLostNoobM Offline
                          MostLostNoob @tatsu
                          last edited by

                          @tatsu said in ^ key crashes the game. (under linux?):

                          this time running FA from steam does not fix it.

                          and the log file didn't generate. for this second crash

                          My apologies as I was replying to this post which indicated that you did have a crash when running from Steam but were unable to get a log for that Steam SCFA crash.

                          In any case, for future reference regarding logging Steam SCFA on linux, you should be able to go to Steam > Library > right-click SCFA > Properties > General > Launch Options > add /log "C:\supcomlog.txt" or whatever path & file name you want.

                          tatsuT 1 Reply Last reply Reply Quote 0
                          • tatsuT Offline
                            tatsu @MostLostNoob
                            last edited by tatsu

                            @mostlostnoob sorry, that's a missreading of what's written.

                            the operative "it" in the context of this thread was the FAF crash.

                            I said "running it from steam". which implies it did run.

                            How to setup FAF on linux

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post