Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on startup #587

Open
kotori opened this issue Jan 3, 2025 · 2 comments
Open

Crash on startup #587

kotori opened this issue Jan 3, 2025 · 2 comments

Comments

@kotori
Copy link

kotori commented Jan 3, 2025

Describe the bug
I was able to compile [4e9003b] and successfully set up the directories needed to connect, however compiling the latest git source [0862b01] I have been unable to execute a successful startup with an odd crash.

Linux venussrv 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux

To reproduce
git clone repo, cmake, make, make install, copy files in bb patch directory, and startup.

Game version(s) (choose one or more of the following):
BB

Server log output

I 770174 2025-01-02 21:48:26 - [Config] newserv 0862b017 compiled with client function support at 2025-01-03 03:18:02.000000
...
lots of jumk output here referencing the SuperMap
...
I 771554 2025-01-02 21:54:15 - [StaticGameData] Linking existing free play supermap E893E7FDBD5D7B48 for key 4F080200
I 771554 2025-01-02 21:54:15 - [StaticGameData] Linking existing free play supermap BC24F742D167B4BE for key 4F090000
I 771554 2025-01-02 21:54:15 - [StaticGameData] Linking existing free play supermap 0000000000000000 for key 4F0A0000
I 771554 2025-01-02 21:54:15 - [Config] Loading battle parameters
I 771554 2025-01-02 21:54:15 - [Config] Loading level tables
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_NTE J binary text set from system/text-sets/dc-nte/TextJapanese.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1_11_2000_PROTOTYPE E binary text set from system/text-sets/dc-11-2000/TextEnglish.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1_11_2000_PROTOTYPE F binary text set from system/text-sets/dc-11-2000/TextFrench.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1_11_2000_PROTOTYPE G binary text set from system/text-sets/dc-11-2000/TextGerman.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1_11_2000_PROTOTYPE J binary text set from system/text-sets/dc-11-2000/TextJapanese.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1_11_2000_PROTOTYPE S binary text set from system/text-sets/dc-11-2000/TextSpanish.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1 E binary text set from system/text-sets/dc-v1/TextEnglish.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1 F binary text set from system/text-sets/dc-v1/TextFrench.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1 G binary text set from system/text-sets/dc-v1/TextGerman.pr2
I 771554 2025-01-02 21:54:15 - [TextIndex] Loading DC_V1 J binary text set from system/text-sets/dc-v1/TextJapanese.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading DC_V1 S binary text set from system/text-sets/dc-v1/TextSpanish.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading DC_V2 E binary text set from system/text-sets/dc-v2/TextEnglish.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading DC_V2 F binary text set from system/text-sets/dc-v2/TextFrench.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading DC_V2 G binary text set from system/text-sets/dc-v2/TextGerman.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading DC_V2 J binary text set from system/text-sets/dc-v2/TextJapanese.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading DC_V2 S binary text set from system/text-sets/dc-v2/TextSpanish.pr2
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE B Unicode text set from system/text-sets/pc-nte/unitxt_b.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE E Unicode text set from system/text-sets/pc-nte/unitxt_e.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE F Unicode text set from system/text-sets/pc-nte/unitxt_f.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE G Unicode text set from system/text-sets/pc-nte/unitxt_g.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE J Unicode text set from system/text-sets/pc-nte/unitxt_j.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE K Unicode text set from system/text-sets/pc-nte/unitxt_k.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE S Unicode text set from system/text-sets/pc-nte/unitxt_s.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_NTE T Unicode text set from system/text-sets/pc-nte/unitxt_t.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_V2 B Unicode text set from system/text-sets/pc-v2/unitxt_b.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_V2 E Unicode text set from system/text-sets/pc-v2/unitxt_e.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_V2 F Unicode text set from system/text-sets/pc-v2/unitxt_f.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_V2 G Unicode text set from system/text-sets/pc-v2/unitxt_g.prs
I 771554 2025-01-02 21:54:16 - [TextIndex] Loading PC_V2 J Unicode text set from system/text-sets/pc-v2/unitxt_j.prs
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading PC_V2 K Unicode text set from system/text-sets/pc-v2/unitxt_k.prs
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading PC_V2 S Unicode text set from system/text-sets/pc-v2/unitxt_s.prs
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading PC_V2 T Unicode text set from system/text-sets/pc-v2/unitxt_t.prs
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_NTE E binary text set from system/text-sets/gc-nte/TextEnglish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_NTE F binary text set from system/text-sets/gc-nte/TextFrench.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_NTE G binary text set from system/text-sets/gc-nte/TextGerman.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_NTE J binary text set from system/text-sets/gc-nte/TextJapanese.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_NTE S binary text set from system/text-sets/gc-nte/TextSpanish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_V3 E binary text set from system/text-sets/gc-v3/TextEnglish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_V3 F binary text set from system/text-sets/gc-v3/TextFrench.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_V3 G binary text set from system/text-sets/gc-v3/TextGerman.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_V3 J binary text set from system/text-sets/gc-v3/TextJapanese.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_V3 S binary text set from system/text-sets/gc-v3/TextSpanish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3_NTE E binary text set from system/text-sets/gc-ep3-nte/TextEnglish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3_NTE F binary text set from system/text-sets/gc-ep3-nte/TextFrench.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3_NTE G binary text set from system/text-sets/gc-ep3-nte/TextGerman.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3_NTE J binary text set from system/text-sets/gc-ep3-nte/TextJapanese.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3_NTE S binary text set from system/text-sets/gc-ep3-nte/TextSpanish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3 E binary text set from system/text-sets/gc-ep3/TextEnglish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3 F binary text set from system/text-sets/gc-ep3/TextFrench.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3 G binary text set from system/text-sets/gc-ep3/TextGerman.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3 J binary text set from system/text-sets/gc-ep3/TextJapanese.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading GC_EP3 S binary text set from system/text-sets/gc-ep3/TextSpanish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading XB_V3 E binary text set from system/text-sets/xb-v3/TextEnglish.pr2
I 771554 2025-01-02 21:54:17 - [TextIndex] Loading XB_V3 F binary text set from system/text-sets/xb-v3/TextFrench.pr2
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading XB_V3 G binary text set from system/text-sets/xb-v3/TextGerman.pr2
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading XB_V3 J binary text set from system/text-sets/xb-v3/TextJapanese.pr2
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading XB_V3 S binary text set from system/text-sets/xb-v3/TextSpanish.pr2
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 B Unicode text set from unitxt_cs.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 T Unicode text set from unitxt_ct.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 E Unicode text set from unitxt_e.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 F Unicode text set from unitxt_f.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 G Unicode text set from unitxt_g.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 K Unicode text set from unitxt_h.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 J Unicode text set from unitxt_j.prs in patch tree
I 771554 2025-01-02 21:54:18 - [TextIndex] Loading BB_V4 S Unicode text set from unitxt_s.prs in patch tree
I 771554 2025-01-02 21:54:18 - [Config] Loading Word Select table
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Using PC_V2 unitxt_e.prs from text index
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading BB_V4 unitxt_ws_e.prs
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading DC_NTE data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading DC_V1_11_2000_PROTOTYPE data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading DC_V1 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading DC_V2 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading PC_NTE data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading PC_V2 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading GC_NTE data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading GC_V3 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading GC_EP3_NTE data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading GC_EP3 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading XB_V3 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Loading BB_V4 data
I 771554 2025-01-02 21:54:18 - [Config] (Word select) Generating table
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 1767) >= this->size() (which is 1660)

Additional context
I have tried changing my data dirs around, however it seems the only thing that works is using an older release, like the example i provided.

@fuzziqersoftware
Copy link
Owner

This is an issue with the file system/text-sets/gc-v3/ws_data.bin. This file's contents were incorrect in a previous version, and I replaced it with a new version recently. The correct file is 24650 bytes in size and is in the git repo here; it should work if you get a new copy of that file from the git repo and replace the one in your system folder.

This isn't the first time this has happened, so I'll leave this open until I figure out a better way to fix this.

@kotori
Copy link
Author

kotori commented Jan 3, 2025

Edit: That worked a treat, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants