Skip to content

Xlib: request 55 length 16 would exceed buffer size and segmentation fault when launching OakInk2 preview GUI #21

@Jkho80

Description

@Jkho80

Description

When launching the OakInk2 preview visualization GUI, the program crashes with an Xlib error followed by a segmentation fault.
The crash happens after a few seconds while trying to loading any scene data.

This issue is reproducible on my machine with a clean conda environment.

Environment Information

Software

  • OS: Ubuntu 20.04
  • Desktop environment: GNOME
  • Python: 3.10 (conda)

Conda version: 25.1.1

OpenGL version: 4.6.0 NVIDIA 560.35.03

Hardware
GPU model: RTX 4090 24G
GPU driver version: 560.35.03
CPU model: AMD 7950X 16C32T
RAM size: 128G


Reproduction Steps

  1. Environment setup
conda create -n oakink2 python=3.10
conda activate oakink2
pip install -e .
  1. Install preview dependencies
pip install -r req_preview.txt
  1. Launch preview GUI
python -m oakink2_preview.launch.viz.gui --cfg config/gui__preview.yml
  1. Click 'switch sequence' and choose any scene

Observed Behavior

The program prints the configuration successfully and starts loading the stream root, but then crashes with an Xlib error and segmentation fault.

Console output

2025-12-19 22:00:15,487 [INFO] (__main__ @ gui.py:90) run_cfg: {
  stream_prefix       : /home/asc_vln/Data/gyx_mocap/OakInk2/OakInk-v2-hub/data
  anno_prefix         : /home/asc_vln/Data/gyx_mocap/OakInk2/OakInk-v2-hub/anno_preview
  object_prefix       : /home/asc_vln/Data/gyx_mocap/OakInk2/OakInk-v2-hub/object_repair
  program_prefix      : /home/asc_vln/Data/gyx_mocap/OakInk2/OakInk-v2-hub/program
}
stream_root : /home/asc_vln/Data/gyx_mocap/OakInk2/OakInk-v2-hub/data/scene_01__A001++seq__0b3d183d6b2e90eefd66__2023-04-27-20-38-16
Xlib: request 55 length 16 would exceed buffer size.
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions