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

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

    <bug>
          <bug_id>52818</bug_id>
          
          <creation_ts>2025-01-25 16:50:03 +0300</creation_ts>
          <short_desc>Кривой DWARF</short_desc>
          <delta_ts>2025-04-04 16:06:26 +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>binutils</component>
          <version>unstable</version>
          <rep_platform>aarch64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Egor Shestakov">vedingrot</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>lakostis</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>258041</commentid>
    <comment_count>0</comment_count>
    <who name="Egor Shestakov">vedingrot</who>
    <bug_when>2025-01-25 16:50:03 +0300</bug_when>
    <thetext>Коллеги, при попытке отладки через gdb вылезают ошибки вида:

Offset from DW_FORM_GNU_str_index or DW_FORM_strx pointing outside of .debug_str.dwo section in CU at offset 0x2b4eb37 [in module /usr/lib/debug/usr/lib/llvm-18.1/lib64/libLLVM.so.18.1.debug]

Python Exception &lt;class &apos;gdb.error&apos;&gt;: Offset from DW_FORM_GNU_str_index or DW_FORM_strx pointing outside of .debug_str.dwo section in CU at offset 0x2b4eb37 [in module /usr/lib/debug/usr/lib/llvm-18.1/lib64/libLLVM.so.18.1.debug]

И после отладка прекращается. Это у нас проблемы или в апстриме что-то не так?
Ничего похожего я не нашел. dwarfdump тоже ругань выдает на смещение за пределы секции.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258046</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2025-01-25 22:14:16 +0300</bug_when>
    <thetext>(In reply to Egor Shestakov from comment #0)
&gt; Коллеги, при попытке отладки через gdb вылезают ошибки вида:
&gt; 
&gt; Offset from DW_FORM_GNU_str_index or DW_FORM_strx pointing outside of
&gt; .debug_str.dwo section in CU at offset 0x2b4eb37 [in module
&gt; /usr/lib/debug/usr/lib/llvm-18.1/lib64/libLLVM.so.18.1.debug]
&gt; 
&gt; Python Exception &lt;class &apos;gdb.error&apos;&gt;: Offset from DW_FORM_GNU_str_index or
&gt; DW_FORM_strx pointing outside of .debug_str.dwo section in CU at offset
&gt; 0x2b4eb37 [in module
&gt; /usr/lib/debug/usr/lib/llvm-18.1/lib64/libLLVM.so.18.1.debug]
&gt; 
&gt; И после отладка прекращается. Это у нас проблемы или в апстриме что-то не
&gt; так?
&gt; Ничего похожего я не нашел. dwarfdump тоже ругань выдает на смещение за
&gt; пределы секции.

https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=65067f1c2c842f001017638c4fe53613d6656263;hp=a08bdb159bb7401f266836ded2899a9015828c25

Вот тут пишут, что исправили для x86_64. Наверное, для aarch64 никто не озадачивался? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262453</commentid>
    <comment_count>2</comment_count>
    <who name="Egor Shestakov">vedingrot</who>
    <bug_when>2025-04-04 16:06:26 +0300</bug_when>
    <thetext>(Ответ для Konstantin A Lepikhov (L.A. Kostis) на комментарий #1)
&gt; Вот тут пишут, что исправили для x86_64. Наверное, для aarch64 никто не
&gt; озадачивался? :)

Точно ли проблема с gdb, если dwarfdump тоже сигнализирует об ошибках. Они,
как я понимаю, проекты независимые</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>