Mount & Blade: Warband

Mount & Blade: Warband

Star Wars Conquest
Is it possible to log crashes under Linux?
Subj.
Game crashes often at the battle begin.
With some information to debug I can help myself and possibly others.
< >
Showing 1-5 of 5 comments
Swyter  [developer] 15 Oct, 2021 @ 3:17pm 
Hi, yeah. You can probably dump a stack trace under Linux, but it may take some fiddling with the Terminal. Launch the game with gdb, press `r` to run and when it crashes type `bt` to get the exact point where it crashes.

Unlike the Windows version the Linux and macOS versions come with some debug symbols, so it's easier to see what's going on when it goes kaboom.
Last edited by Swyter; 15 Oct, 2021 @ 3:18pm
Swyter  [developer] 15 Oct, 2021 @ 3:19pm 
Posting a savegame here maybe also helps, so that I can reproduce the problem.
yaiba.kamisori 16 Oct, 2021 @ 3:05am 
Here is the crash after "Land and fight on Nal Hutta"
```
Thread 1 "mb_warband_linu" received signal SIGSEGV, Segmentation fault.
0x0000000000f1bd94 in rglScene::insert_manifold(rglManifold*) ()
(gdb) bt
#0 0x0000000000f1bd94 in rglScene::insert_manifold(rglManifold*) ()
#1 0x0000000000f48e16 in Terrain_generator::build_manifold() ()
#2 0x000000000100fd07 in Terrain_generator::build_terrain(rglScene*, Ground_paint*, bool) ()
#3 0x0000000001000952 in Mission::setup_battle_scene() ()
#4 0x0000000000ec3920 in ?? ()
#5 0x0000000000fc1d47 in Meeting_redirector::redirect(bool&) ()
#6 0x0000000000fc7b6d in Menu_window::check(float) ()
#7 0x0000000000f3666b in Application::FrameMove() ()
#8 0x0000000000ec8ae6 in CMyD3DApplication::FrameMove() ()
#9 0x00000000010e1e0f in CD3DApplication::Render3DEnvironment() ()
#10 0x00000000010e1efa in CD3DApplication::Run() ()
#11 0x00000000009dfacf in main ()

```
yaiba.kamisori 16 Oct, 2021 @ 6:08am 
Looks like the problem with the `scn_mainplanet_hypori_land_battle.sco` file. (and the Endor, NalHutta too)
By renaming .sco files I played successfully same battle on the Naboo for example.

btw:
Ubuntu 20.04
```
>uname -a
Linux homelin 5.13.0-1010-oem #11-Ubuntu SMP Wed Jul 28 13:04:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
```
SWG 0.9.4-Finall

I have the strace output for the crash moment. It is wall of text, and I don't see how to add it as a spoiler or as a file here.
Swyter  [developer] 19 Oct, 2021 @ 9:32pm 
Well done, and thanks for the backtrace. To link to some text file you can probably link to a paste site, like gist.github.com or pastebin.com.

If you can link to a ready-to-use savegame that would also save me some time, probably.
Last edited by Swyter; 19 Oct, 2021 @ 9:34pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50