Skip to content

[Box32][Termux-GlibC]: Missing symbol _ZSt28__throw_bad_array_new_lengthv when attempt to launch Xash3D-FWGS dedicated server with RCBot plugin #3867

@TheKingFireS

Description

@TheKingFireS

Currently RCBot plugin I use, it's compiled by Ubuntu 22.04 CI.
https://github.com/APGRoboCop/rcbotold/releases/tag/v1.51b13

Log (reduced to only relevant error):

[BOX32] Using emulated /data/data/com.termux/files/home/xashds/valve/addons/rcbot/dlls/rcbot_mm.so
[BOX32] Error: Symbol _ZSt28__throw_bad_array_new_lengthv not found, cannot apply R_386_JMP_SLOT 0x40e83348 (0x18d36) in /data/data/com.termux/files/home/xashds/valve/addons/rcbot/dlls/rcbot_mm.so
[BOX32] Error: relocating Plt symbols in elf rcbot_mm.so
[BOX32] Error initializing needed lib /data/data/com.termux/files/home/xashds/valve/addons/rcbot/dlls/rcbot_mm.so

To reproduce this:

  1. download XashDS FWGS i386 from https://github.com/FWGS/xash3d-fwgs/releases/download/continuous/xashds-linux-i386.tar.gz

  2. Install valve folder beside where xash and filesystem_stdio.so (do not replace it with goldsrc one!) binaries files installed.

  3. Extract valve.zip and copy addons and dlls folders to valve folder
    valve.zip

  4. Start XashDS FWGS by running grun -s box64 ./xash -port 27016 -dll addons/metamod/dlls/metamod_i386.so +maxplayers 32 +map crossfire (this is for Termux).

Info:
Box64: Latest built by me, for Termux-GlibC
Phone: Xiaomi Redmi Note 9S
SoC: Snapdragon 720G
OS: LineageOS 22.2 (Android 15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions