• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

suthernfriend

Recruit
12 Badges
Jun 30, 2019
2
0
  • Cities in Motion 2
  • Magicka
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Prison Architect
  • Cities: Skylines - Campus
Hi,

besides the Tables / Bench issue i'm also experiencing a lot of crashes since the last update.
The crashes happen very random. i havent found a trigger or a way to really reproduce them yet.

System Information:

Code:
Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:        Intel(R) Xeon(R) CPU E3-1275 V2 @ 3.50GHz
    CPU Family:  0x6
    CPU Model:  0x3a
    CPU Stepping:  0x9
    CPU Type:  0x0
    Speed:  3900 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  5.1.15-arch1-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12005000
    X Window Manager:  Metacity (Marco)
    Steam Runtime Version:  jenkins-steam-runtime-beta-release_0.20190320.2

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 670/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 430.26
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x1189
    Revision Not Detected
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 20.08" x 11.30" (23.03" diag)
                                            51.0cm x 28.7cm (58.5cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x

Sound card:
    Audio device: Realtek ALC898

Memory:
    RAM:  32127 Mb

Miscellaneous:
    UI Language:  English
    LANG:  de_DE.utf8
    Total Hard Disk Space Available:  151061 Mb
    Largest Free Hard Disk Block:  15929 Mb
    VR Headset: None detected

Recent Failure Reports:

Example Core dump:

Code:
           PID: 17162 (PrisonArchitect)
           UID: 1000 (jp)
           GID: 1000 (jp)
        Signal: 6 (ABRT)
     Timestamp: Sun 2019-06-30 21:33:54 EEST (1min 9s ago)
  Command Line: /archive/raid/media/games/steamapps/common/Prison Architect/PrisonArchitect.x86_64
    Executable: /archive/raid/media/games/steamapps/common/Prison Architect/PrisonArchitect.x86_64
 Control Group: /user.slice/user-1000.slice/session-6.scope
          Unit: session-6.scope
         Slice: user-1000.slice
       Session: 6
     Owner UID: 1000 (jp)
       Boot ID: 1032650667174d55854956c45dc5cf5f
    Machine ID: c644a3587f0b4a378a5cb4f62b80b6bc
      Hostname: himbeere
       Storage: /var/lib/systemd/coredump/core.PrisonArchitect.1000.1032650667174d55854956c45dc5cf5f.17162.1561919634000000.lz4
       Message: Process 17162 (PrisonArchitect) of user 1000 dumped core.
           
                Stack trace of thread 17162:
                #0  0x00007efd9031f755 raise (libc.so.6)
                #1  0x00007efd9030a851 abort (libc.so.6)
                #2  0x00007efd90361a38 __libc_message (libc.so.6)
                #3  0x00007efd9036825a malloc_printerr (libc.so.6)
                #4  0x00007efd9036b2dc _int_malloc (libc.so.6)
                #5  0x00007efd9036c7ff malloc (libc.so.6)
                #6  0x00007efd90f00bed _Znwm (libpops_api.so)
                #7  0x00007efd90f29309 _Znam (libpops_api.so)
                #8  0x00000000008644be _ZN8FastListI8ObjectIdE11EnsureSpaceEi (PrisonArchitect.x86_64)
                #9  0x00000000009a346d _ZN5World16GetNearbyObjectsEiifR8FastListI8ObjectIdEib (PrisonArchitect.x86_64)
                #10 0x000000000088c68e _ZN5Guard20SearchForMisbehaviorEv (PrisonArchitect.x86_64)
                #11 0x000000000088e03d _ZN5Guard6UpdateEf (PrisonArchitect.x86_64)
                #12 0x00000000009ac957 _ZN5World6UpdateEf (PrisonArchitect.x86_64)
                #13 0x00000000005d96c1 _ZN3App6UpdateEv (PrisonArchitect.x86_64)
                #14 0x00000000007387fa _Z11AppMainRealv (PrisonArchitect.x86_64)
                #15 0x00000000005b63fc main (PrisonArchitect.x86_64)
                #16 0x00007efd9030bee3 __libc_start_main (libc.so.6)
                #17 0x00000000005b695a _start (PrisonArchitect.x86_64)
           
                Stack trace of thread 17174:
                #0  0x00007efd9132e415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000000000a4d025 _ZN17ConditionVariable4WaitEP5Mutexi (PrisonArchitect.x86_64)
                #2  0x0000000000a4f110 _ZN12MessageQueue14ProcessMessageEv (PrisonArchitect.x86_64)
                #3  0x0000000000a4f430 _ZN12MessageQueue3RunEv (PrisonArchitect.x86_64)
                #4  0x00007efd9132857f start_thread (libpthread.so.0)
                #5  0x00007efd903e10e3 __clone (libc.so.6)
           
                Stack trace of thread 17176:
                #0  0x00007efd91332145 __nanosleep (libpthread.so.0)
                #1  0x00007efd90c0aaf8 _ZN8pdx_http15CurlCallManager6updateEv (libpops_api.so)
                #2  0x00007efd90f25ae0 execute_native_thread_routine (libpops_api.so)
                #3  0x00007efd9132857f start_thread (libpthread.so.0)
                #4  0x00007efd903e10e3 __clone (libc.so.6)
           
                Stack trace of thread 17173:
                #0  0x00007efd9132e415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000000000a4d025 _ZN17ConditionVariable4WaitEP5Mutexi (PrisonArchitect.x86_64)
                #2  0x0000000000a4d0da _ZN10Dispatcher3RunEv (PrisonArchitect.x86_64)
                #3  0x00007efd9132857f start_thread (libpthread.so.0)
                #4  0x00007efd903e10e3 __clone (libc.so.6)
           
                Stack trace of thread 17171:
                #0  0x00007efd9132e415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000000000a4d025 _ZN17ConditionVariable4WaitEP5Mutexi (PrisonArchitect.x86_64)
                #2  0x0000000000a4d0da _ZN10Dispatcher3RunEv (PrisonArchitect.x86_64)
                #3  0x00007efd9132857f start_thread (libpthread.so.0)
                #4  0x00007efd903e10e3 __clone (libc.so.6)
           
                Stack trace of thread 17179:
                #0  0x00007efd903d6667 __poll (libc.so.6)
                #1  0x00007efd8892f2b0 n/a (libasound.so.2)
                #2  0x00007efd88932d51 n/a (libasound.so.2)
                #3  0x00007efd88971e24 n/a (libasound.so.2)
                #4  0x00007efd91409b47 n/a (/home/jp/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.9.0)

Example Console Output

Code:
Prisoner 11480 failed to plot route to shop access point.
TRADE: Prisoner 11194 bought item 'Booze' from prisoner 12437
TRADE: Prisoner 11285 bought item 'Booze' from prisoner 11873
TRADE: Prisoner 11370 bought item 'Booze' from prisoner 11280
TRADE: Prisoner 11638 bought item 'Booze' from prisoner 9751
TRADE: Prisoner 12203 bought item 'Cigs' from prisoner 11596


TRADE: Prisoner 13614 bought item 'Poison' from prisoner 13259
TRADE: Prisoner 3633 bought item 'Poison' from prisoner 13614
TRADE: Prisoner 8567 bought item 'Poison' from prisoner 13042
TRADE: Prisoner 10608 bought item 'MobilePhone' from prisoner 11733
Warning: mipmaps requested for non-power-of-two image (400x486), will break on OpenGL ES

TRADE: Prisoner 11370 bought item 'Knife' from prisoner 12115
TRADE: Prisoner 11752 bought item 'MobilePhone' from prisoner 11078
malloc(): mismatching next->prev_size (unsorted)
/archive/raid/media/games/steamapps/common/Prison Architect/PrisonArchitect: line 59: 17162 Aborted                 (core dumped) "$base"/PrisonArchitect.x86_64 "$@"
Game removed: AppID 233450 "", ProcID 17162
Exiting app 233450
No cached sticky mapping in ActivateActionSet.JS method call WebChat.GetOverlayChatBrowserInfo with 1 arguments

Anyways. These are only examples.

Another core dump gives this:
Code:
...
                Stack trace of thread 13635:
                #0  0x00007f2bfc106755 raise (libc.so.6)
                #1  0x00007f2bfc0f1851 abort (libc.so.6)
                #2  0x00007f2bfc148a38 __libc_message (libc.so.6)
                #3  0x00007f2bfc14f25a malloc_printerr (libc.so.6)
                #4  0x00007f2bfc1522dc _int_malloc (libc.so.6)
                #5  0x00007f2bfc1537ff malloc (libc.so.6)
                #6  0x00007f2bfcce7bed _Znwm (libpops_api.so)
                #7  0x00007f2bfcd10309 _Znam (libpops_api.so)
                #8  0x00000000008644be _ZN8FastListI8ObjectIdE11EnsureSpaceEi (PrisonArchitect.x86_64)
                #9  0x00000000009a3f79 _ZN5World16GetObjectsInRoomERK8ObjectIdR8FastListIS0_Ei (PrisonArchitect.x86_64)
                #10 0x000000000082637b _ZN4Door6UpdateEf (PrisonArchitect.x86_64)
                #11 0x00000000009ac957 _ZN5World6UpdateEf (PrisonArchitect.x86_64)
                #12 0x00000000005d96c1 _ZN3App6UpdateEv (PrisonArchitect.x86_64)
                #13 0x00000000007387fa _Z11AppMainRealv (PrisonArchitect.x86_64)
                #14 0x00000000005b63fc main (PrisonArchitect.x86_64)
                #15 0x00007f2bfc0f2ee3 __libc_start_main (libc.so.6)
                #16 0x00000000005b695a _start (PrisonArchitect.x86_64)
            
                Stack trace of thread 13653:
                #0  0x0000000000923281 _ZN17GridRoutingSystem20AdvanceRoute_RoutingEP19GridNavigationRoute (PrisonArchitect.x86_64)
                #1  0x00000000009237fb _ZN17GridRoutingSystem12AdvanceRouteEP19GridNavigationRoute (PrisonArchitect.x86_64)
                #2  0x00000000009238cd _ZN17GridRoutingSystem6UpdateEv (PrisonArchitect.x86_64)
                #3  0x0000000000a4f1f0 _ZN12MessageQueue14ProcessMessageEv (PrisonArchitect.x86_64)
                #4  0x0000000000a4d360 _ZN10Dispatcher3RunEv (PrisonArchitect.x86_64)
                #5  0x00007f2bfd10f57f start_thread (libpthread.so.0)
                #6  0x00007f2bfc1c80e3 __clone (libc.so.6)
...

Looks like a hard to debug memory corruption thing in FastList/ObjectId/EnsureSpace....
> but you guys are the devs.
In case you need the save file or the core dump files i could upload them.

Update:

I played around a bit and I was testing the game by preloading libtcmalloc from gperftools. kinda boosted the speed of the game by factor 5 and no crashes so far.

However, i still think it's a bug in the Prison Architect code and not in the glibc (Since it was working flawless with the previous version)

regardless of that you might consider deploying prison architect together with libtcmalloc since it really makes the game a lot faster and smoother.

regards jan
 
Last edited: