Campaign freezes at one scenario
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
- General_Steelclad
- Posts: 5
- Joined: June 22nd, 2024, 5:39 pm
Campaign freezes at one scenario
Hi everyone. I noticed a very naughty bug: when in "Delfadors' Memoirs" campaign I come to the beginning of the "Prince of Wesnoth" scenario, it shows the initial frames with lore text, but then the game freezes after showing the map with the path and crossed swords indicator. Mouse cursor moves, but all screen buttons are inactive, and the only thing I am able to do is hit
Specs:
I tried obtaining the logs and backtrace according to the forum links (logs guide and backtrace guide), and here is what I've got from
This doesn't tell much about the problem, I guess. For logging I also tried running
For backtracing I ran
Hence bad luck here as well... Although giving it a go with
Not sure whether it's useful or not since I'm not that much acquainted with thread debugging, really.
The last thing I've got for you which is actually meaningful and helpful is the scenario save that causes the bug. See it attached. If anyone can give advice on how to produce sane logs and backtrace, I would be very glad to help you further understanding this issue!
Esc
and quit the campaign to the main menu.Specs:
Code: Select all
The Battle for Wesnoth version 1.18.2 x86_64
Running on Debian GNU/Linux 12 (bookworm) x86_64
Distribution channel: Linux repository
Game paths
==========
Data dir: /usr/share/games/wesnoth/1.18
User config dir: /home/USER/.config/wesnoth-1.18
User data dir: /home/USER/.config/wesnoth-1.18
Saves dir: /home/USER/.config/wesnoth-1.18/saves
Add-ons dir: /home/USER/.config/wesnoth-1.18/data/add-ons
Cache dir: /home/USER/.config/wesnoth-1.18/cache
Logs dir: /home/USER/.config/wesnoth-1.18/logs
Libraries
=========
Boost: 1.74
Lua: 5.4.6
OpenSSL/libcrypto: 3.0.0m-dev (runtime 3.0.0n-dev)
libcurl: 7.88.1 (runtime 7.88.1)
Cairo: 1.16.0 (runtime 1.16.0)
Pango: 1.50.12 (runtime 1.50.12)
SDL: 2.26.5 (runtime 2.26.5)
SDL_image: 2.6.3 (runtime 2.6.3)
SDL_mixer: 2.6.2 (runtime 2.6.2)
Features
========
Lua console completion: yes
D-Bus notifications back end: yes
Installed add-ons
=====================
No add-ons installed.
/home/USER/.config/wesnoth-1.18/logs/
:Code: Select all
Battle for Wesnoth v1.18.2 x86_64
Started on Wed Sep 4 16:12:06 2024
Setting mode to 1920x1080
Checking lua scripts... ok
20240904 16:12:17 warning image: Replaced missing 'story/httt_story3.png' with found 'story/httt_story3.webp'.
wesnoth > log_file.txt 2>&1
, but the resulting log_file.txt
in my custom working dir /home/USER/wesnoth/
was empty.For backtracing I ran
gdb wesnoth
, but it says
Code: Select all
Reading symbols from wesnoth...
(No debugging symbols found in wesnoth)
run --debug
produced some output to the terminal, which is included here:Code: Select all
Starting program: /usr/games/wesnoth --debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff217b6c0 (LWP 8416)]
[New Thread 0x7fffed3ff6c0 (LWP 8417)]
[New Thread 0x7fffed3be6c0 (LWP 8418)]
[New Thread 0x7fffd4dff6c0 (LWP 8423)]
[New Thread 0x7fffcffff6c0 (LWP 8424)]
[New Thread 0x7fffc77fe6c0 (LWP 8425)]
[New Thread 0x7fffcf7fe6c0 (LWP 8426)]
[New Thread 0x7fffceffd6c0 (LWP 8427)]
[Thread 0x7fffceffd6c0 (LWP 8427) exited]
[New Thread 0x7fffceffd6c0 (LWP 8428)]
[New Thread 0x7fffcdffc6c0 (LWP 8429)]
[Thread 0x7fffcdffc6c0 (LWP 8429) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8430)]
[New Thread 0x7fffcd7fb6c0 (LWP 8431)]
[Thread 0x7fffcdffc6c0 (LWP 8430) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8432)]
[New Thread 0x7fffccffa6c0 (LWP 8433)]
[Thread 0x7fffcd7fb6c0 (LWP 8431) exited]
[Thread 0x7fffcdffc6c0 (LWP 8432) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8434)]
[New Thread 0x7fffcd7fb6c0 (LWP 8435)]
[Thread 0x7fffccffa6c0 (LWP 8433) exited]
[Thread 0x7fffcdffc6c0 (LWP 8434) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8436)]
[New Thread 0x7fffccffa6c0 (LWP 8437)]
[Thread 0x7fffcdffc6c0 (LWP 8436) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8435) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8438)]
[New Thread 0x7fffcdffc6c0 (LWP 8439)]
[Thread 0x7fffccffa6c0 (LWP 8437) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8438) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8440)]
[New Thread 0x7fffccffa6c0 (LWP 8441)]
[Thread 0x7fffcd7fb6c0 (LWP 8440) exited]
[Thread 0x7fffcdffc6c0 (LWP 8439) exited]
[Thread 0x7fffccffa6c0 (LWP 8441) exited]
[New Thread 0x7fffccffa6c0 (LWP 8442)]
[New Thread 0x7fffcdffc6c0 (LWP 8443)]
[Thread 0x7fffccffa6c0 (LWP 8442) exited]
[New Thread 0x7fffccffa6c0 (LWP 8444)]
[New Thread 0x7fffcd7fb6c0 (LWP 8445)]
[Thread 0x7fffcdffc6c0 (LWP 8443) exited]
[Thread 0x7fffccffa6c0 (LWP 8444) exited]
[New Thread 0x7fffccffa6c0 (LWP 8446)]
[New Thread 0x7fffcdffc6c0 (LWP 8447)]
[Thread 0x7fffcd7fb6c0 (LWP 8445) exited]
[Thread 0x7fffccffa6c0 (LWP 8446) exited]
[New Thread 0x7fffccffa6c0 (LWP 8448)]
[New Thread 0x7fffcd7fb6c0 (LWP 8449)]
[Thread 0x7fffcdffc6c0 (LWP 8447) exited]
[Thread 0x7fffccffa6c0 (LWP 8448) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8449) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8450)]
[New Thread 0x7fffccffa6c0 (LWP 8451)]
[Thread 0x7fffcd7fb6c0 (LWP 8450) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8452)]
[New Thread 0x7fffcdffc6c0 (LWP 8453)]
[Thread 0x7fffcd7fb6c0 (LWP 8452) exited]
[Thread 0x7fffccffa6c0 (LWP 8451) exited]
[New Thread 0x7fffccffa6c0 (LWP 8454)]
[New Thread 0x7fffcd7fb6c0 (LWP 8455)]
[Thread 0x7fffccffa6c0 (LWP 8454) exited]
[Thread 0x7fffcdffc6c0 (LWP 8453) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8456)]
[New Thread 0x7fffccffa6c0 (LWP 8457)]
[Thread 0x7fffcd7fb6c0 (LWP 8455) exited]
[Thread 0x7fffcdffc6c0 (LWP 8456) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8458)]
[New Thread 0x7fffcd7fb6c0 (LWP 8459)]
[Thread 0x7fffcdffc6c0 (LWP 8458) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8460)]
[New Thread 0x7fffc6ffd6c0 (LWP 8461)]
[Thread 0x7fffccffa6c0 (LWP 8457) exited]
[Thread 0x7fffcdffc6c0 (LWP 8460) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8459) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8462)]
[Thread 0x7fffc6ffd6c0 (LWP 8461) exited]
[New Thread 0x7fffc6ffd6c0 (LWP 8463)]
[Thread 0x7fffcd7fb6c0 (LWP 8462) exited]
[Thread 0x7fffc6ffd6c0 (LWP 8463) exited]
[New Thread 0x7fffc6ffd6c0 (LWP 8470)]
[New Thread 0x7fffcd7fb6c0 (LWP 8471)]
[Thread 0x7fffc6ffd6c0 (LWP 8470) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8471) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8472)]
[New Thread 0x7fffc6ffd6c0 (LWP 8473)]
[Thread 0x7fffcd7fb6c0 (LWP 8472) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8474)]
[New Thread 0x7fffcdffc6c0 (LWP 8475)]
[Thread 0x7fffc6ffd6c0 (LWP 8473) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8474) exited]
[Thread 0x7fffcdffc6c0 (LWP 8475) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8476)]
[New Thread 0x7fffcd7fb6c0 (LWP 8477)]
[Thread 0x7fffcdffc6c0 (LWP 8476) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8478)]
[Thread 0x7fffcd7fb6c0 (LWP 8477) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8479)]
[Thread 0x7fffcdffc6c0 (LWP 8478) exited]
[New Thread 0x7fffcdffc6c0 (LWP 8480)]
[New Thread 0x7fffc6ffd6c0 (LWP 8481)]
[Thread 0x7fffcdffc6c0 (LWP 8480) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8479) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8482)]
[New Thread 0x7fffcdffc6c0 (LWP 8483)]
[Thread 0x7fffc6ffd6c0 (LWP 8481) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8482) exited]
[New Thread 0x7fffcd7fb6c0 (LWP 8484)]
[New Thread 0x7fffc6ffd6c0 (LWP 8485)]
[Thread 0x7fffcdffc6c0 (LWP 8483) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8484) exited]
[Thread 0x7fffc6ffd6c0 (LWP 8485) exited]
[New Thread 0x7fffc6ffd6c0 (LWP 8487)]
[New Thread 0x7fffcd7fb6c0 (LWP 8488)]
[Thread 0x7fffc6ffd6c0 (LWP 8487) exited]
[New Thread 0x7fffc6ffd6c0 (LWP 8489)]
[New Thread 0x7fffcdffc6c0 (LWP 8490)]
[Thread 0x7fffc6ffd6c0 (LWP 8489) exited]
[Thread 0x7fffcd7fb6c0 (LWP 8488) exited]
[Thread 0x7fffcdffc6c0 (LWP 8490) exited]
[Detaching after fork from child process 8491]
[New Thread 0x7fffcdffc6c0 (LWP 8492)]
[Thread 0x7fffcdffc6c0 (LWP 8492) exited]
The last thing I've got for you which is actually meaningful and helpful is the scenario save that causes the bug. See it attached. If anyone can give advice on how to produce sane logs and backtrace, I would be very glad to help you further understanding this issue!
- Attachments
-
- DM-Prince of Wesnoth.gz
- (23.37 KiB) Downloaded 62 times
Cry 'Havoc!' and let slip the dogs of war!
Shakespeare's Julius Caesar, Act 3, Scene 1
Shakespeare's Julius Caesar, Act 3, Scene 1
Re: Campaign freezes at one scenario
I think I've seen this issue before: [Bug] Prince of Wesnoth freezes
If you want to attempt to edit the code, you can try changing
Alternatively, you can just wait when it freezes, I think it will eventually un-freeze itself. (But it might take several minutes.)
If you want to attempt to edit the code, you can try changing
units[i]:advance( )
to units[i]:advance(false)
in the file data/campaigns/Delfadors_Memoirs/utils/sides.cfg, line 540.Alternatively, you can just wait when it freezes, I think it will eventually un-freeze itself. (But it might take several minutes.)
-
- Posts: 1440
- Joined: August 26th, 2018, 11:46 pm
- Location: A country place, far outside the Wire
Re: Campaign freezes at one scenario
If you want to capture the output, you need to make sure it's logging to the terminal:
Code: Select all
wesnoth --no-log-to-file > log_file.txt 2>&1
Speak softly, and carry Doombringer.
-
- Posts: 1
- Joined: September 20th, 2024, 7:59 pm
Re: Campaign freezes at one scenario
I am not seeing the bug.