Mount & Blade: Warband

Mount & Blade: Warband

Star Wars Conquest
yaiba.kamisori 2021 年 10 月 15 日 下午 2:36
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.
< >
正在显示第 1 - 5 条,共 5 条留言
Swyter  [开发者] 2021 年 10 月 15 日 下午 3:17 
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.
最后由 Swyter 编辑于; 2021 年 10 月 15 日 下午 3:18
Swyter  [开发者] 2021 年 10 月 15 日 下午 3:19 
Posting a savegame here maybe also helps, so that I can reproduce the problem.
yaiba.kamisori 2021 年 10 月 16 日 上午 3:05 
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 2021 年 10 月 16 日 上午 6:08 
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  [开发者] 2021 年 10 月 19 日 下午 9:32 
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.
最后由 Swyter 编辑于; 2021 年 10 月 19 日 下午 9:34
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50