Krasch i futex på uppstart i Cities: Skylines

Behöver skriva lite om en irriterande bugg i Cities: Skylines innan jag gör systemuppdateringen idag. Bara för att jag bestämt mig för det. Den är redan rapporterad uppströms. Rapporterar själv per princip inte buggar, läskigt med människor och vill inte höva hantera dem.

Spelet kraschar på uppstart. Klagar på något om ‘futex’. I och med att både personen som rapporterade buggen och jag själv kör instabila distributioner av Linux gissar jag på att det är någon form av missmatch mellan versioner. Antagligen något som är bundlat med spelet som inte fungerar med något lokalt systembibliotek (libc?).

För mig började problemen frammåt slutet av januari, och för den som rapporterade i slutet av december. Så det är definitift inte så att felet i sig är trasigt, utan felet uppstår på grund av en uppdatering i systemet som ännu inte nått stabila distributioner. Alltså kan jag i princip räkna med att det kommer åtgärdas lagom till att nya Ubuntu släpps i april.

Tyvärr fixade rapportören inte in en relevant backtrace av felet så jag har bestämt för att ladda upp en här. Bara för att. Denna är för felet det är fråga om, den uppladdad till uppströms är från ett orelaterat fel.

10:10 poff@poff ~ $ sudo coredumpctl gdb
 PID: 4746 (Cities.x64)
 UID: 1000 (poff)
 GID: 100 (users)
 Signal: 6 (ABRT)
 Timestamp: Mon 2017-02-27 10:10:43 CET (14s ago)
 Command Line: /home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64
 Executable: /home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64
 Control Group: /user.slice/user-1000.slice/session-c1.scope
 Unit: session-c1.scope
 Slice: user-1000.slice
 Session: c1
 Owner UID: 1000 (poff)
 Boot ID: 2c9488827c24475aa32de4030c0702c6
 Machine ID: 8c6cc7b4fb0f027bee24f3aa0000000d
 Hostname: poff
 Storage: /var/lib/systemd/coredump/core.Cities\x2ex64.1000.2c9488827c24475aa32de4030c0702c6.4746.1488186643000000000000.lz4
 Message: Process 4746 (Cities.x64) of user 1000 dumped core.

GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
 Copyright (C) 2017 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law. Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-pc-linux-gnu".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 .
 Find the GDB manual and other documentation resources online at:
 .
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from /home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64...(no debugging symbols found)...done.
 [New LWP 4749]
 [New LWP 4748]
 [New LWP 4746]
 [New LWP 4747]
 [New LWP 4751]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 Core was generated by `/home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64'.
 Program terminated with signal SIGABRT, Aborted.
 #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
 58 }
 [Current thread is 1 (Thread 0x7f868d9ab700 (LWP 4749))]
 (gdb) bt
 #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
 #1 0x00007f8691752657 in __GI_abort () at abort.c:118
 #2 0x00007f869178f400 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f869187d410 "%s") at ../sysdeps/posix/libc_fatal.c:175
 #3 0x00007f869178f41e in __GI___libc_fatal (message=message@entry=0x7f8692fd87e0 "The futex facility returned an unexpected error code.") at ../sysdeps/posix/libc_fatal.c:185
 #4 0x00007f8692fd5525 in futex_fatal_error () at ../sysdeps/nptl/futex-internal.h:200
 #5 futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7f868fae3bb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:223
 #6 do_futex_wait (sem=sem@entry=0x7f868fae3bb8, abstime=0x0) at sem_waitcommon.c:111
 #7 0x00007f8692fd5584 in __new_sem_wait_slow (sem=0x7f868fae3bb8, abstime=0x0) at sem_waitcommon.c:181
 #8 0x000000000092c8d8 in ?? ()
 #9 0x000000000092d0c9 in ?? ()
 #10 0x00000000008e2a58 in ?? ()
 #11 0x00007f8692fcd3b4 in start_thread (arg=0x7f868d9ab700) at pthread_create.c:333
 #12 0x00007f869180662f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
 (gdb) quit

Klipper också in utputen från Steam, och därmed också spelet självt. Dock från en annan körning, men med samma fel.

Running Steam on gentoo 2.2 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Gtk-Message: Failed to load module "canberra-gtk-module"
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
[0305/104643.159087:ERROR:nss_util.cc(808)] After loading Root Certs, loaded==false: NSS error code: -8018
Installing breakpad exception handler for appid(steam)/version(1487812945)
Generating new string page texture 2: 48x256, total string texture memory is 49,15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311,30 KB
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x57422c80)" of type `gboolean'
Installing breakpad exception handler for appid(steam)/version(1487812945)
Installing breakpad exception handler for appid(steam)/version(1487812945)
roaming config store loaded successfully - 656 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1487812945)
Failed to init SteamVR because it isn't installed
ExecCommandLine: ""/home/poff/.local/share/Steam/ubuntu12_32/steam" "steam://rungameid/255710" "
ExecSteamURL: "steam://rungameid/255710"
Installing breakpad exception handler for appid(steam)/version(1487812945)
System startup time: 22,37 seconds
Game update: AppID 255710 "Cities: Skylines", ProcID 8789, IP 0.0.0.0:0
>>> Adding process 8789 for game ID 255710
ERROR: ld.so: object '/home/poff/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/poff/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 8790 for game ID 255710
Found path: /home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities.x64
Mono path[0] = '/home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities_Data/Managed'
Mono path[1] = '/home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities_Data/Mono'
Mono config path = '/home/poff/.local/share/Steam/steamapps/common/Cities_Skylines/Cities_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 4 screens
displaymanager screen (0)(DVI-I-1): 1280 x 1024
displaymanager screen (1)(DVI-D-0): 1920 x 1080
Using libudev for joystick management


Importing game controller configs
/dev/input/js0: driver version: 2.1.0 (20100)
/dev/input/js0: fd 7, buttons 19, axes 27, name Sony PLAYSTATION(R)3 Controller
/dev/input/js0: axis  0: raw -32767, mapped 0.000000
/dev/input/js0: axis  1: raw -32767, mapped 0.000000
/dev/input/js0: axis  2: raw -32767, mapped 0.000000
/dev/input/js0: axis  3: raw -32767, mapped 0.000000
/dev/input/js0: axis  4: raw -32767, mapped 0.000000
/dev/input/js0: axis  5: raw -32767, mapped 0.000000
/dev/input/js0: axis  6: raw -32767, mapped 0.000000
/dev/input/js0: axis  7: raw -32767, mapped 0.000000
/dev/input/js0: axis  8: raw -32767, mapped 0.000000
/dev/input/js0: axis  9: raw -32767, mapped 0.000000
/dev/input/js0: axis 10: raw -32767, mapped 0.000000
/dev/input/js0: axis 11: raw -32767, mapped 0.000000
/dev/input/js0: axis 12: raw -32767, mapped 0.000000
/dev/input/js0: axis 13: raw -32767, mapped 0.000000
/dev/input/js0: axis 14: raw -32767, mapped 0.000000
/dev/input/js0: axis 15: raw -32767, mapped 0.000000
/dev/input/js0: axis 16: raw -32767, mapped 0.000000
/dev/input/js0: axis 17: raw -32767, mapped 0.000000
/dev/input/js0: axis 18: raw -32767, mapped 0.000000
/dev/input/js0: axis 19: raw -32767, mapped 0.000000
/dev/input/js0: axis 20: raw -32767, mapped 0.000000
/dev/input/js0: axis 21: raw -32767, mapped 0.000000
/dev/input/js0: axis 22: raw -32767, mapped 0.000000
/dev/input/js0: axis 23: raw -32767, mapped 0.000000
/dev/input/js0: axis 24: raw -32767, mapped 0.000000
/dev/input/js0: axis 25: raw -32767, mapped 0.000000
/dev/input/js0: axis 26: raw -32767, mapped 0.000000
Assigning joystick 1
>>> Adding process 8796 for game ID 255710
>>> Adding process 8797 for game ID 255710
Game removed: AppID 255710 "Cities: Skylines", ProcID 8789 
No cached sticky mapping in ActivateActionSet.
Annonser

Kommentera

Fyll i dina uppgifter nedan eller klicka på en ikon för att logga in:

WordPress.com Logo

Du kommenterar med ditt WordPress.com-konto. Logga ut / Ändra )

Twitter-bild

Du kommenterar med ditt Twitter-konto. Logga ut / Ändra )

Facebook-foto

Du kommenterar med ditt Facebook-konto. Logga ut / Ändra )

Google+ photo

Du kommenterar med ditt Google+-konto. Logga ut / Ändra )

Ansluter till %s

%d bloggare gillar detta: