Game crashes by undoing while building. Error invalid palette index #7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I built a tiny building, but while building and undoing by pressing U the game sometimes freezes and crashes.
Then follows a black screen with ERROR invalid palette index. What's weird as well that undoing reverses like 5 steps instead of 1.
Ran with gdb townforge, got the following output. Don't know you can see what's going on.
[New Thread 0x7fffe712e700 (LWP 817069)]
[Mon Oct 11 20:35:40 2021] INFO: Opened log file /home/.local/share/townforge/logs/townforge.log
[New Thread 0x7fffe579a700 (LWP 817071)]
[New Thread 0x7fffe4f99700 (LWP 817072)]
[New Thread 0x7fffdffff700 (LWP 817073)]
[New Thread 0x7fffdf7fe700 (LWP 817074)]
[New Thread 0x7fffdeffd700 (LWP 817075)]
[New Thread 0x7fffde7fc700 (LWP 817076)]
[New Thread 0x7fffddffb700 (LWP 817077)]
[New Thread 0x7fffdd7fa700 (LWP 817078)]
[New Thread 0x7fffdcff9700 (LWP 817079)]
[New Thread 0x7fffdc7f8700 (LWP 817080)]
[New Thread 0x7fffdbff7700 (LWP 817081)]
[New Thread 0x7fffdb7f6700 (LWP 817082)]
[New Thread 0x7fffdaff5700 (LWP 817083)]
[New Thread 0x7fffda7f4700 (LWP 817084)]
[New Thread 0x7fffd9ff3700 (LWP 817085)]
[Mon Oct 11 20:35:40 2021] INFO: Created 15 worker threads
[Mon Oct 11 20:35:40 2021] INFO: Added resource package /home/games/townforge-linux-x86_64-0.33.1.1/CoreData.pak
[Mon Oct 11 20:35:40 2021] INFO: Added resource package /home/games/townforge-linux-x86_64-0.33.1.1/Data.pak
[Mon Oct 11 20:35:40 2021] INFO: Added resource package /home/games/townforge-linux-x86_64-0.33.1.1/GameData.pak
[Mon Oct 11 20:35:40 2021] INFO: Added resource package /home/games/townforge-linux-x86_64-0.33.1.1/Tutorial.pak
[New Thread 0x7fffd272a700 (LWP 817086)]
[New Thread 0x7fffd1de8700 (LWP 817087)]
[New Thread 0x7fffd15e7700 (LWP 817088)]
[New Thread 0x7fffd0de6700 (LWP 817089)]
[New Thread 0x7fffbbfff700 (LWP 817090)]
[New Thread 0x7fffbb7fe700 (LWP 817091)]
[New Thread 0x7fffb3fff700 (LWP 817092)]
[New Thread 0x7fffbaffd700 (LWP 817093)]
[New Thread 0x7fffba7fc700 (LWP 817094)]
[New Thread 0x7fffb9ffb700 (LWP 817095)]
[New Thread 0x7fffb97fa700 (LWP 817096)]
[New Thread 0x7fffb8ff9700 (LWP 817097)]
[New Thread 0x7fffb37fe700 (LWP 817098)]
[New Thread 0x7fffb2ffd700 (LWP 817099)]
[New Thread 0x7fffb27fc700 (LWP 817100)]
[New Thread 0x7fffb1ffb700 (LWP 817101)]
[New Thread 0x7fffb17fa700 (LWP 817102)]
[New Thread 0x7fffb0ff9700 (LWP 817103)]
[New Thread 0x7fff83fff700 (LWP 817104)]
[New Thread 0x7fff837fe700 (LWP 817105)]
[New Thread 0x7fff82ffd700 (LWP 817106)]
[New Thread 0x7fff827fc700 (LWP 817107)]
[New Thread 0x7fff81ffb700 (LWP 817108)]
[Thread 0x7fff81ffb700 (LWP 817108) exited]
[New Thread 0x7fff81ffb700 (LWP 817109)]
[Mon Oct 11 20:35:40 2021] INFO: Adapter used AMD AMD RENOIR (DRM 3.40.0, 5.11.0-27-generic, LLVM 12.0.0)
[Mon Oct 11 20:35:40 2021] INFO: Set screen mode 2736x1672 rate 90 Hz windowed monitor 0 resizable
[Mon Oct 11 20:35:40 2021] INFO: Initialized input
[Mon Oct 11 20:35:40 2021] INFO: Initialized user interface
[Mon Oct 11 20:35:40 2021] INFO: Initialized renderer
[New Thread 0x7fff817fa700 (LWP 817110)]
[Mon Oct 11 20:35:40 2021] INFO: Set audio mode 44100 Hz stereo interpolated
[Mon Oct 11 20:35:40 2021] INFO: Initialized engine
This is the Townforge game. It needs to connect to a Townforge daemon to work correctly.
Townforge 'Shangri-La' (v0.33.1.1-release)
Logging to townforge.log
[New Thread 0x7fff579ff700 (LWP 817113)]
[New Thread 0x7fff571fe700 (LWP 817114)]
[New Thread 0x7fff569fd700 (LWP 817115)]
[New Thread 0x7fff561fc700 (LWP 817116)]
Loop: Unarmed Idle 01, speed 0.0, blend time 0.2
[New Thread 0x7fff45aff700 (LWP 817117)]
[New Thread 0x7fff452fe700 (LWP 817119)]
[New Thread 0x7fff44dfd700 (LWP 817120)]
[New Thread 0x7fff448fc700 (LWP 817121)]
[New Thread 0x7fff37fff700 (LWP 817122)]
[New Thread 0x7fff37afe700 (LWP 817123)]
[New Thread 0x7fff375fd700 (LWP 817124)]
[New Thread 0x7fff370fc700 (LWP 817125)]
[New Thread 0x7fff36bfb700 (LWP 817126)]
[New Thread 0x7fff366fa700 (LWP 817127)]
[New Thread 0x7fff361f9700 (LWP 817128)]
[New Thread 0x7fff35cf8700 (LWP 817129)]
[New Thread 0x7fff357f7700 (LWP 817130)]
[New Thread 0x7fff352f6700 (LWP 817131)]
[New Thread 0x7fff34df5700 (LWP 817132)]
[New Thread 0x7fff348f4700 (LWP 817133)]
New state state_falling, playing Fall A Loop and from 0.000000
Loop: Fall A Loop, speed 1.0, blend time 0.2
New state state_idle, playing Fall A Land To Standing Idle 01 and from 0.000000
Once: Fall A Land To Standing Idle 01, speed 1.0, blend time 0.2
Loop: Unarmed Idle 01, speed 1.0, blend time 0.0
finished: Fall A Land To Standing Idle 01, queue is 3
Playing queued Unarmed Idle 01 and
Loop: Unarmed Idle 01, speed 1.0, blend time 0.2
[New Thread 0x7fff2d9f3700 (LWP 817191)]
finished: Unarmed Idle 01, queue is 2
Playing queued Unarmed Idle 01 and
Loop: Unarmed Idle 01, speed 1.0, blend time 0.2
[Thread 0x7fff571fe700 (LWP 817114) exited]
[Thread 0x7fff561fc700 (LWP 817116) exited]
[Thread 0x7fff569fd700 (LWP 817115) exited]
[New Thread 0x7fff571fe700 (LWP 817203)]
[New Thread 0x7fff569fd700 (LWP 817204)]
[New Thread 0x7fff561fc700 (LWP 817205)]
finished: Unarmed Idle 01, queue is 1
finished: Unarmed Idle 01, queue is 0
Once: Unarmed Idle 01, speed 1.0, blend time 0.8
finished: Unarmed Idle 01, queue is 0
Once: Unarmed Idle 01, speed 1.0, blend time 0.8
New state state_running_backward, playing Running Backward and from 410.629608
Loop: Running Backward, speed 0.7, blend time 0.2
New state state_sprinting_backward, playing Running Backward and from 411.229858
Loop: Running Backward, speed 1.4, blend time 0.2
finished: Running Backward, queue is 1
New state state_running_backward, playing Running Backward and from 411.663300
Loop: Running Backward, speed 0.7, blend time 0.2
finished: Running Backward, queue is 1
New state state_sprinting_backward, playing Running Backward and from 412.397614
Loop: Running Backward, speed 1.4, blend time 0.2
finished: Running Backward, queue is 1
New state state_running_backward, playing Running Backward and from 412.531036
Loop: Running Backward, speed 0.7, blend time 0.2
New state state_idle, playing Unarmed Idle 01 and from 412.631012
Loop: Unarmed Idle 01, speed 1.0, blend time 0.2
[Thread 0x7fff81ffb700 (LWP 817109) exited]
[Thread 0x7fffe712e700 (LWP 817069) exited]
[Thread 0x7fff45aff700 (LWP 817117) exited]
[Thread 0x7fff571fe700 (LWP 817203) exited]
[Thread 0x7fff569fd700 (LWP 817204) exited]
[Thread 0x7fff561fc700 (LWP 817205) exited]
[Thread 0x7fff579ff700 (LWP 817113) exited]
[Thread 0x7fff817fa700 (LWP 817110) exited]
[Thread 0x7fffe716f700 (LWP 817068) exited]
[Thread 0x7fffb2ffd700 (LWP 817099) exited]
[Thread 0x7fffb37fe700 (LWP 817098) exited]
[Thread 0x7fffb17fa700 (LWP 817102) exited]
[Thread 0x7fffb1ffb700 (LWP 817101) exited]
[Thread 0x7fffb27fc700 (LWP 817100) exited]
[Thread 0x7fffb8ff9700 (LWP 817097) exited]
[Thread 0x7fffb9ffb700 (LWP 817095) exited]
[Thread 0x7fffba7fc700 (LWP 817094) exited]
[Thread 0x7fffbaffd700 (LWP 817093) exited]
[Thread 0x7fffb3fff700 (LWP 817092) exited]
[Thread 0x7fffbb7fe700 (LWP 817091) exited]
[Thread 0x7fffb97fa700 (LWP 817096) exited]
[Thread 0x7fff82ffd700 (LWP 817106) exited]
[Thread 0x7fff837fe700 (LWP 817105) exited]
[Thread 0x7fff83fff700 (LWP 817104) exited]
[Thread 0x7fffb0ff9700 (LWP 817103) exited]
[Thread 0x7fff827fc700 (LWP 817107) exited]
[Thread 0x7fffbbfff700 (LWP 817090) exited]
[Thread 0x7fffd0de6700 (LWP 817089) exited]
[Thread 0x7fffd15e7700 (LWP 817088) exited]
[Thread 0x7fffd1de8700 (LWP 817087) exited]
[Thread 0x7fffd272a700 (LWP 817086) exited]
[Thread 0x7fffd9ff3700 (LWP 817085) exited]
[Thread 0x7fffda7f4700 (LWP 817084) exited]
[Thread 0x7fffdaff5700 (LWP 817083) exited]
[Thread 0x7fffdb7f6700 (LWP 817082) exited]
[Thread 0x7fffdbff7700 (LWP 817081) exited]
[Thread 0x7fffdc7f8700 (LWP 817080) exited]
[Thread 0x7fffdcff9700 (LWP 817079) exited]
[Thread 0x7fffdd7fa700 (LWP 817078) exited]
[Thread 0x7fffddffb700 (LWP 817077) exited]
[Thread 0x7fffde7fc700 (LWP 817076) exited]
[Thread 0x7fffdeffd700 (LWP 817075) exited]
[Thread 0x7fffdf7fe700 (LWP 817074) exited]
[Thread 0x7fffdffff700 (LWP 817073) exited]
[Thread 0x7fffe4f99700 (LWP 817072) exited]
[Thread 0x7fffe579a700 (LWP 817071) exited]
[Thread 0x7fff348f4700 (LWP 817133) exited]
[Thread 0x7fff34df5700 (LWP 817132) exited]
[Thread 0x7fff352f6700 (LWP 817131) exited]
[Thread 0x7fff357f7700 (LWP 817130) exited]
[Thread 0x7fff35cf8700 (LWP 817129) exited]
[Thread 0x7fff361f9700 (LWP 817128) exited]
[Thread 0x7fff366fa700 (LWP 817127) exited]
[Thread 0x7fff36bfb700 (LWP 817126) exited]
[Thread 0x7fff370fc700 (LWP 817125) exited]
[Thread 0x7fff375fd700 (LWP 817124) exited]
[Thread 0x7fff37afe700 (LWP 817123) exited]
[Thread 0x7fff37fff700 (LWP 817122) exited]
[Thread 0x7fff448fc700 (LWP 817121) exited]
[Thread 0x7fff44dfd700 (LWP 817120) exited]
[Thread 0x7fff452fe700 (LWP 817119) exited]
[Thread 0x7ffff7913c40 (LWP 817061) exited]
--Type for more, q to quit, c to continue without paging--bt
[Inferior 1 (process 817061) exited normally]
(gdb)
I fixed such a bug just today.
The fix is in the cc-syksy branch for now.
Same build steps as for the the usual cc branch, except change the branch name from cc to cc-syksy.