Skip to content

Software crashes with Siglent scopes #1002

Description

@CantBelieveThisWorks

Hello,
I have an issue using ngscopeclient with a Siglent scope. When trying to acquire a waveform the software crashes, with the following being shown on STDOUT

/usr/include/c++/16.1.1/bits/basic_string.h:1393: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed.
fish: Job 1, 'ngscopeclient' terminated by signal SIGABRT (Abort)

When this happens the scope triggers correctly. I have tried both a Siglent SDS2000X+ and a SDS800X HD model, with both showing the same issue.
I did not have any issues acquiring waveforms from the demo scope. Unfortunately, I do not have any other real scopes to try eliminate the Siglent scopes as an issue.

See below for tried versions (both were installed using the scope-hal-git package from AUR https://aur.archlinux.org/packages/scopehal-apps-git, the scope-hal package building the release version failed the build process, thus I was trying the git one).

Please let me know if there is anything else I can try/information I can supply.

Versions tried:

ngscopeclient v0.1.1-579-gaf941cd0
libscopehal v0.1.1-633-g828056el
Dear ImGui 1.92.8
VKFFT 1.3.5
Vulkan SDK 350

ngscopeclient v0.1.1-587-g061abdc4
libscopehal v0.1.1-640-93f97620a
Dear ImGui 1.92.8
VKFFT 1.3.5
Vulkan SDK 350

GPU information:

Vulkan loader

  • Version 1.4

Vulkan device (AMD Radeon 8060S Graphics (RADV STRIX_HALO))

Attributes

  • Mesa

Feature flags

  • float64
  • int64
  • atomic int64
  • intl6
  • int8
  • atomic float
  • debug utils
  • memory budget
  • push descriptor

Limits

  • Max compute group: 4294967295 x 65535 x 65535

Heaps

  • Pinned: 0
  • local: 1

System used:

Operating System: CachyOS Linux
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.11-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD RYZEN AI MAX+ 395 w/ Radeon 8060S
Memory: 64 GiB of RAM (46.8 GiB usable)
Graphics Processor: AMD Radeon 8060S Graphics
Manufacturer: HP
Product Name: HP ZBook Ultra G1a 14 inch Mobile Workstation PC
System Version: SBKPFV3

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