Bug 58481 - Ошибка сегментирования при загрузке модели через onnxruntime
Summary: Ошибка сегментирования при загрузке модели через onnxruntime
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: onnxruntime (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-02 13:57 MSK by Савелий Солдатов
Modified: 2026-04-09 11:20 MSK (History)
2 users (show)

See Also:


Attachments
gdb log (11.93 KB, text/x-log)
2026-04-02 13:58 MSK, Савелий Солдатов
no flags Details
test code (1.31 KB, text/plain)
2026-04-02 13:58 MSK, Савелий Солдатов
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Савелий Солдатов 2026-04-02 13:57:38 MSK
Пакеты:
libonnxruntime-1.23.0-alt1
libonnxruntime-devel-1.23.0-alt1

Система: 
Alt Server 11.0-86-64 (Обновлена до Sisyphus)

Воспроизведение ошибки:
1) Установка пакетов:
# apt-get install libonnxruntime libonnxruntime-devel gcc-c++
2) Создать тестовый код (см. Вложение) и загрузить модель:
$ wget https://github.com/onnx/models/raw/main/validated/vision/classification/mnist/model/mnist-8.onnx
3) Скомпилировать код:
$ g++ onnix.cpp -o test_load -I/usr/include/onnxruntime -lonnxruntime

Результат:
Возникает ошибка 
Attempting to load model...
Ошибка сегментирования

Дополнительная информация:
Приложил логи запуска через gdb (см. Вложение)
libprotobuf25-lite-3.25.5-alt8
Comment 1 Савелий Солдатов 2026-04-02 13:58:16 MSK
Created attachment 21022 [details]
gdb log
Comment 2 Савелий Солдатов 2026-04-02 13:58:59 MSK
Created attachment 21023 [details]
test code