<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>57618</bug_id>
          
          <creation_ts>2026-01-23 11:05:04 +0300</creation_ts>
          <short_desc>broken library</short_desc>
          <delta_ts>2026-04-09 11:16:16 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libonnxruntime</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=58481</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>arseny</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>280757</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2026-01-23 11:05:04 +0300</bug_when>
    <thetext>hieroglyphic из задания ниже падает с нашей libonnxruntime-1.23.0-alt1.x86_64. Он же успешно запускается и работает с апстримным бинарем 
https://github.com/microsoft/onnxruntime/releases/download/v1.23.0/onnxruntime-linux-x64-1.23.0.tgz

#399782 TESTED #1 [test-only] sisyphus srpm=hieroglyphic-2.2.0-alt1.src.rpm


...
Thread 6 &quot;pool-0&quot; received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeeaf1680 (LWP 184783)]
0x00007ffff59e761f in google::protobuf::internal::RepeatedPtrFieldBase::MergeIntoClearedMessages (this=this@entry=0x7fffdc4b2760, from=...)
    at /usr/src/debug/protobuf-3.25.5/src/google/protobuf/repeated_ptr_field.cc:223
Downloading source file /usr/src/debug/protobuf-3.25.5/src/google/protobuf/repeated_ptr_field.cc
223         ABSL_DCHECK(typeid(*src[i]) == typeid(*src[0]))                                                                                                                                   
(gdb) bt
#0  0x00007ffff59e761f in google::protobuf::internal::RepeatedPtrFieldBase::MergeIntoClearedMessages (this=this@entry=0x7fffdc4b2760, from=...)
    at /usr/src/debug/protobuf-3.25.5/src/google/protobuf/repeated_ptr_field.cc:223
#1  0x00007ffff59eb0db in google::protobuf::internal::RepeatedPtrFieldBase::MergeFromConcreteMessage (this=this@entry=0x7fffdc4b2760, from=..., 
    copy_fn=0x7ffff7721390 &lt;google::protobuf::internal::RepeatedPtrFieldBase::CopyMessage&lt;onnx::TensorShapeProto_Dimension&gt;(google::protobuf::Arena*, google::protobuf::MessageLite const&amp;)&gt;)
    at /usr/src/debug/protobuf-3.25.5/src/google/protobuf/repeated_ptr_field.cc:239
#2  0x00007ffff78e512e in google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom&lt;onnx::TensorShapeProto_Dimension&gt; (this=&lt;optimized out&gt;, from=..., this=&lt;optimized out&gt;, from=...)
    at /usr/include/google/protobuf/repeated_ptr_field.h:323
#3  google::protobuf::RepeatedPtrField&lt;onnx::TensorShapeProto_Dimension&gt;::MergeFrom (this=0x7fffdc4b2760, other=...) at /usr/include/google/protobuf/repeated_ptr_field.h:1602
#4  google::protobuf::RepeatedPtrField&lt;onnx::TensorShapeProto_Dimension&gt;::MergeFrom (this=0x7fffdc4b2760, other=...) at /usr/include/google/protobuf/repeated_ptr_field.h:1599
#5  onnx::TensorShapeProto::MergeFrom (this=0x7fffdc4b2750, from=...) at /usr/src/debug/onnxruntime-1.23.0/x86_64-alt-linux/_deps/onnx-build/onnx/onnx-ml.pb.cc:7624
#6  0x00007ffff77499a0 in onnxruntime::Graph::InferAndVerifyTypeMatch (this=this@entry=0x7fffdc4b4780, node=..., op=..., options=...)
    at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/graph/graph.cc:3068
#7  0x00007ffff774aa67 in onnxruntime::Graph::VerifyNodeAndOpMatch (this=this@entry=0x7fffdc4b4780, options=...) at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/graph/graph.cc:3272
#8  0x00007ffff774b59e in onnxruntime::Graph::PerformTypeAndShapeInferencing (this=this@entry=0x7fffdc4b4780, options=...)
    at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/graph/graph.cc:3355
#9  0x00007ffff774b9ab in onnxruntime::Graph::Resolve (this=0x7fffdc4b4780, options=...) at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/graph/graph.cc:3398
#10 0x00007ffff7782a6c in onnxruntime::Model::Load (model_proto=..., model_path=&quot;&quot;, model=..., local_registries=0x0, logger=..., options=...) at /usr/include/c++/14/bits/unique_ptr.h:193
#11 0x00007ffff70e98a5 in onnxruntime::InferenceSession::Load(void const*, int)::{lambda(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;)#1}::operator()(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;) const [clone .lto_priv.0] () at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/session/inference_session.cc:1121
#12 0x00007ffff70effee in std::__invoke_impl&lt;onnxruntime::common::Status, onnxruntime::InferenceSession::Load(void const*, int)::&lt;lambda(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;)&gt;&amp;, std::shared_ptr&lt;onnxruntime::Model&gt;&amp;&gt; (__f=...) at /usr/include/c++/14/bits/invoke.h:60
#13 std::__invoke_r&lt;onnxruntime::common::Status, onnxruntime::InferenceSession::Load(void const*, int)::&lt;lambda(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;)&gt;&amp;, std::shared_ptr&lt;onnxruntime::Model&gt;&amp;&gt; (__fn=...) at /usr/include/c++/14/bits/invoke.h:116
#14 std::_Function_handler&lt;onnxruntime::common::Status(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;), onnxruntime::InferenceSession::Load(void const*, int)::&lt;lambda(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;)&gt; &gt;::_M_invoke(const std::_Any_data &amp;, std::shared_ptr&lt;onnxruntime::Model&gt; &amp;) (__functor=..., __args#0=...) at /usr/include/c++/14/bits/std_function.h:291
#15 0x00007ffff70e92d2 in std::function&lt;onnxruntime::common::Status (std::shared_ptr&lt;onnxruntime::Model&gt;&amp;)&gt;::operator()(std::shared_ptr&lt;onnxruntime::Model&gt;&amp;) const (this=0x7fffeeaef010, 
    __args#0=std::shared_ptr&lt;onnxruntime::Model&gt; (use count 1, weak count 0) = {...}) at /usr/include/c++/14/bits/std_function.h:591
#16 onnxruntime::InferenceSession::LoadWithLoader(std::function&lt;onnxruntime::common::Status (std::shared_ptr&lt;onnxruntime::Model&gt;&amp;)&gt;, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;) (this=0x7fffdc49cda0, loader=..., event_name=&quot;model_loading_array&quot;) at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/session/inference_session.cc:980
#17 0x00007ffff70aad6b in onnxruntime::InferenceSession::Load (this=0x7fffdc49cda0, model_data=0x555555796b7d, model_data_len=3575749)
    at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/session/inference_session.cc:1124
#18 CreateSessionAndLoadModelImpl (options=&lt;optimized out&gt;, env=..., model_path=&lt;optimized out&gt;, model_data=0x555555796b7d, model_data_length=3575749, sess=...)
    at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/session/utils.cc:191
#19 0x00007ffff70623c2 in CreateSessionAndLoadModel (options=0x7fffdc000f80, env=&lt;optimized out&gt;, model_path=0x0, model_data=&lt;optimized out&gt;, model_data_length=&lt;optimized out&gt;, 
    sess=std::unique_ptr&lt;onnxruntime::InferenceSession&gt; = {...}) at /usr/include/c++/14/bits/unique_ptr.h:193
#20 OrtApis::CreateSessionFromArray (env=&lt;optimized out&gt;, model_data=&lt;optimized out&gt;, model_data_length=&lt;optimized out&gt;, options=0x7fffdc000f80, out=0x7fffeeaefa10)
    at /usr/src/debug/onnxruntime-1.23.0/onnxruntime/core/session/onnxruntime_c_api.cc:744
#21 0x00005555555d8a05 in ?? ()
#22 0x00005555555a7cd5 in ?? ()
--Type &lt;RET&gt; for more, q to quit, c to continue without paging--c
#23 0x00007ffff5cdb8a7 in g_task_thread_pool_thread (thread_data=0x555555d65d60, pool_data=&lt;optimized out&gt;) at ../gio/gtask.c:1585
#24 0x00007ffff6d3f702 in g_thread_pool_thread_proxy (data=&lt;optimized out&gt;) at ../glib/gthreadpool.c:336
#25 0x00007ffff6d3db43 in g_thread_proxy (data=0x7fffd8000b70) at ../glib/gthread.c:893
#26 0x00007ffff5ab797e in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:447
#27 0x00007ffff5b37bfc in __clone3 () from /lib64/libc.so.6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285452</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-04-09 11:12:24 +0300</bug_when>
    <thetext>старый protobuf ещё в добавок.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>