public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29690] New: abipkgdiff --self-check  amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception
@ 2022-10-14 21:09 woodard at redhat dot com
  2022-10-14 21:10 ` [Bug default/29690] " woodard at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2022-10-14 21:09 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29690

            Bug ID: 29690
           Summary: abipkgdiff --self-check
                    amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out
                    of range exception
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

abipkgdiff --self-check  --d1
amg4psblas-mpich-debuginfo-1.1.0-3.fc37.x86_64.rpm
amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm

terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::at: __n (which is 5) >= this->size() (which is 5)
Aborted (core dumped)

The beginning of the backtrace is:

#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff75bed33 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#2  0x00007ffff756eaa6 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x00007ffff75587fc in __GI_abort () at abort.c:79
#4  0x00007ffff78b0b77 in __gnu_cxx::__verbose_terminate_handler () at
../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x00007ffff78bc4ac in __cxxabiv1::__terminate (handler=<optimized out>) at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#6  0x00007ffff78bc517 in std::terminate () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#7  0x00007ffff78bc778 in __cxxabiv1::__cxa_throw (obj=<optimized out>,
tinfo=0x7ffff7a340c8 <typeinfo for std::out_of_range>, dest=0x7ffff78d2760
<std::out_of_range::~out_of_range()>)
    at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:98
#8  0x00007ffff78b359f in std::__throw_out_of_range_fmt
(__fmt=__fmt@entry=0x7ffff7f46308 "basic_string::at: __n (which is %zu) >=
this->size() (which is %zu)")
    at ../../../../../libstdc++-v3/src/c++11/functexcept.cc:101
#9  0x00007ffff7ec4ce8 in std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::at (this=0x7ffff6c1e9c0, __n=5)
at /usr/include/c++/12/bits/basic_string.h:1264
#10 abigail::dwarf_reader::add_or_update_class_type (ctxt=...,
die=0x7ffff6c1ee60, scope=<optimized out>, is_struct=true, klass=...,
called_from_public_decl=true, where_offset=11234, is_declaration_only=false)
    at ../../../libabigail/src/abg-dwarf-reader.cc:13772
#11 0x00007ffff7ece97a in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1ee60, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16375
#12 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1ee60, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#13 0x00007ffff7ec3711 in abigail::dwarf_reader::add_or_update_class_type
(ctxt=..., die=0x7ffff6c1f270, scope=<optimized out>, is_struct=true,
klass=..., called_from_public_decl=true, where_offset=11234, 
    is_declaration_only=false) at
../../../libabigail/src/abg-dwarf-reader.cc:13795
#14 0x00007ffff7ece97a in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1f270, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16375
#15 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1f270, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#16 0x00007ffff7ec1a7c in abigail::dwarf_reader::build_reference_type
(ctxt=..., die=0x7ffff6c1f650, called_from_public_decl=<optimized out>,
where_offset=11234) at ../../../libabigail/src/abg-dwarf-reader.cc:14480
#17 0x00007ffff7eccdd8 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1f650, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16248
#18 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1f650, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#19 0x00007ffff7eccab3 in abigail::dwarf_reader::build_qualified_type
(where_offset=11234, called_from_public_decl=true, die=0x7ffff6c1f980,
ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:14189
#20 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=0x7ffff6c1f980, scope=<optimized out>, called_from_public_decl=<optimized
out>, where_offset=11234, is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16270
#21 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1f980, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#22 0x00007ffff7ec82f9 in abigail::dwarf_reader::build_function_type (ctxt=...,
die=0x7ffff6c1fcf0, is_method=..., where_offset=11234) at
../../../libabigail/src/abg-dwarf-reader.cc:14679
#23 0x00007ffff7ece132 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1fcf0, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
/usr/include/c++/12/bits/shared_ptr_base.h:1097
#24 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c1fcf0, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#25 0x00007ffff7ec15da in abigail::dwarf_reader::build_pointer_type_def
(ctxt=..., die=0x7ffff6c20150, called_from_public_decl=<optimized out>,
where_offset=11234) at ../../../libabigail/src/abg-dwarf-reader.cc:14405
#26 0x00007ffff7ecd91c in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c20150, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16231
#27 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c20150, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#28 0x00007ffff7ec3711 in abigail::dwarf_reader::add_or_update_class_type
(ctxt=..., die=0x7ffff6c20540, scope=<optimized out>, is_struct=true,
klass=..., called_from_public_decl=true, where_offset=11234, 
    is_declaration_only=false) at
../../../libabigail/src/abg-dwarf-reader.cc:13795
#29 0x00007ffff7ece97a in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c20540, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16375
#30 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c20540, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#31 0x00007ffff7ec15da in abigail::dwarf_reader::build_pointer_type_def
(ctxt=..., die=0x7ffff6c209a0, called_from_public_decl=<optimized out>,
where_offset=11234) at ../../../libabigail/src/abg-dwarf-reader.cc:14405
#32 0x00007ffff7ecd91c in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c209a0, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16231
#33 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c209a0, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#34 0x00007ffff7ec3711 in abigail::dwarf_reader::add_or_update_class_type
(ctxt=..., die=0x7ffff6c20f10, scope=<optimized out>, is_struct=true,
klass=..., called_from_public_decl=true, where_offset=11234, 
    is_declaration_only=false) at
../../../libabigail/src/abg-dwarf-reader.cc:13795
#35 0x00007ffff7ece97a in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c20f10, scope=<optimized out>,
called_from_public_decl=<optimized out>, where_offset=11234,
is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16375
#36 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c20f10, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#37 0x00007ffff7ec82f9 in abigail::dwarf_reader::build_function_type (ctxt=...,
die=0x7ffff6c21470, is_method=..., where_offset=11234) at
../../../libabigail/src/abg-dwarf-reader.cc:14679
#38 0x00007ffff7ecadd4 in abigail::dwarf_reader::build_function_decl (ctxt=...,
die=0x7ffff6c21470, where_offset=11234,
fn=std::shared_ptr<abigail::ir::function_decl> (empty) = {...})
    at ../../../libabigail/src/abg-dwarf-reader.cc:15711
#39 0x00007ffff7ecf542 in
abigail::dwarf_reader::build_or_get_fn_decl_if_not_suppressed (result=...,
is_declaration_only=false, where_offset=11234, fn_die=0x7ffff6c21470,
scope=0x7fffe695e9d0, ctxt=...)
    at ../../../libabigail/src/abg-dwarf-reader.cc:15384
#40 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=0x7ffff6c21470, scope=<optimized out>, called_from_public_decl=<optimized
out>, where_offset=11234, is_declaration_only=false, 
    is_required_decl_spec=false) at
../../../libabigail/src/abg-dwarf-reader.cc:16616
#41 0x00007ffff7ed0714 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7ffff6c21470, called_from_public_decl=<optimized out>,
where_offset=11234) at /usr/include/c++/12/bits/shared_ptr_base.h:1665
#42 0x00007ffff7ebf25a in
abigail::dwarf_reader::build_translation_unit_and_add_to_ir (ctxt=...,
die=<optimized out>, address_size=<optimized out>) at
../../../libabigail/src/abg-dwarf-reader.cc:12769
#43 0x00007ffff7ed95be in abigail::dwarf_reader::read_debug_info_into_corpus
(ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:15877
#44 abigail::dwarf_reader::read_corpus_from_elf (ctxt=...,
status=@0x7ffff6c21a54: abigail::elf_reader::STATUS_UNKNOWN) at
../../../libabigail/src/abg-dwarf-reader.cc:17012
#45 0x00000000004100dc in compare_to_self (detailed_error_status=<synthetic
pointer>, ctxt=<error reading variable: access outside bounds of object
referenced via synthetic pointer>, 
    diff=<error reading variable: access outside bounds of object referenced
via synthetic pointer>, env=<error reading variable: access outside bounds of
object referenced via synthetic pointer>, opts=...,

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/29690] abipkgdiff --self-check  amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception
  2022-10-14 21:09 [Bug default/29690] New: abipkgdiff --self-check amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception woodard at redhat dot com
@ 2022-10-14 21:10 ` woodard at redhat dot com
  2022-10-14 21:16 ` woodard at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2022-10-14 21:10 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29690

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |29412


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=29412
[Bug 29412] libabigail 2.1.1 Assertion metabug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/29690] abipkgdiff --self-check  amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception
  2022-10-14 21:09 [Bug default/29690] New: abipkgdiff --self-check amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception woodard at redhat dot com
  2022-10-14 21:10 ` [Bug default/29690] " woodard at redhat dot com
@ 2022-10-14 21:16 ` woodard at redhat dot com
  2023-03-23 22:52 ` woodard at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2022-10-14 21:16 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29690

--- Comment #1 from Ben Woodard <woodard at redhat dot com> ---
This affects 7 packages all of them blas related.
amg4psblas-mpich
amg4psblas-openmpi
amg4psblas-serial
psblas3-mpich
psblas3-openmpi
psblas3-serial64
psblas3-serial

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/29690] abipkgdiff --self-check  amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception
  2022-10-14 21:09 [Bug default/29690] New: abipkgdiff --self-check amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception woodard at redhat dot com
  2022-10-14 21:10 ` [Bug default/29690] " woodard at redhat dot com
  2022-10-14 21:16 ` woodard at redhat dot com
@ 2023-03-23 22:52 ` woodard at redhat dot com
  2023-03-24 11:51 ` [Bug default/29690] Out of range exception in add_or_update_class_type dodji at redhat dot com
  2023-03-24 17:35 ` dodji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2023-03-23 22:52 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29690

--- Comment #2 from Ben Woodard <woodard at redhat dot com> ---
continues to reproduce with the current trunk as of:

commit a8a4ca8862959e9fede1b4878469681b8fadeb74 (HEAD -> master, origin/master,
origin/HEAD)
Author: Dodji Seketeli <dodji@redhat.com>
Date:   Wed Mar 22 15:42:43 2023 +0100

    abipkgdiff: Fix a typo

            * tools/abipkgdiff.cc (compare_to_self): Fix a typo.

    Signed-off-by: Dodji Seketeli <dodji@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/29690] Out of range exception in add_or_update_class_type
  2022-10-14 21:09 [Bug default/29690] New: abipkgdiff --self-check amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception woodard at redhat dot com
                   ` (2 preceding siblings ...)
  2023-03-23 22:52 ` woodard at redhat dot com
@ 2023-03-24 11:51 ` dodji at redhat dot com
  2023-03-24 17:35 ` dodji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dodji at redhat dot com @ 2023-03-24 11:51 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29690

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|abipkgdiff --self-check     |Out of range exception in
                   |amg4psblas-mpich-1.1.0-3.fc |add_or_update_class_type
                   |37.x86_64.rpm throws an out |
                   |of range exception          |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/29690] Out of range exception in add_or_update_class_type
  2022-10-14 21:09 [Bug default/29690] New: abipkgdiff --self-check amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception woodard at redhat dot com
                   ` (3 preceding siblings ...)
  2023-03-24 11:51 ` [Bug default/29690] Out of range exception in add_or_update_class_type dodji at redhat dot com
@ 2023-03-24 17:35 ` dodji at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dodji at redhat dot com @ 2023-03-24 17:35 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29690

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from dodji at redhat dot com ---
This one should now be fixed by
https://sourceware.org/git/?p=libabigail.git;a=commit;h=0ddd051c27023f0ee21d6199517c40f4ab1a8c6a.

That fix should be available in libabigail 2.3.

Thank you for reporting this issue and sorry for the inconvenience.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-24 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 21:09 [Bug default/29690] New: abipkgdiff --self-check amg4psblas-mpich-1.1.0-3.fc37.x86_64.rpm throws an out of range exception woodard at redhat dot com
2022-10-14 21:10 ` [Bug default/29690] " woodard at redhat dot com
2022-10-14 21:16 ` woodard at redhat dot com
2023-03-23 22:52 ` woodard at redhat dot com
2023-03-24 11:51 ` [Bug default/29690] Out of range exception in add_or_update_class_type dodji at redhat dot com
2023-03-24 17:35 ` dodji at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).