public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27085] New: exception thrown from abg-dwarf-reader.cc:13824
@ 2020-12-16 23:45 woodard at redhat dot com
  2020-12-16 23:49 ` [Bug default/27085] " woodard at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2020-12-16 23:45 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 27085
           Summary: exception thrown from abg-dwarf-reader.cc:13824
           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: ---

With master as of: 9fc16dbc

/home/ben/Shared/Work/test/libabigail-x86_64/bin/abidw --abidiff
/home/ben/Shared/Work/spack/opt/spack/linux-fedora33-skylake/gcc-10.2.1/butterflypack-1.2.1-cbnctsg5mryjjrq6vpbjaznqw2bblfbf/lib64/libzbutterflypack.so.1.2.0

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

Program received signal SIGABRT, Aborted.
__GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49
49        return ret;
(gdb) bt
#0  __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007ffff74ec8a4 in __GI_abort () at abort.c:79
#2  0x00007ffff7892926 in __gnu_cxx::__verbose_terminate_handler () at
../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007ffff789e1ac in __cxxabiv1::__terminate (handler=<optimized out>) at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#4  0x00007ffff789e217 in std::terminate () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#5  0x00007ffff789e4c9 in __cxxabiv1::__cxa_throw (obj=<optimized out>,
tinfo=0x7ffff79ce228 <typeinfo for std::out_of_range>, dest=0x7ffff78b4070
<std::out_of_range::~out_of_range()>)
    at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
#6  0x00007ffff7895425 in std::__throw_out_of_range_fmt
(__fmt=__fmt@entry=0x7ffff7f48898 "basic_string::at: __n (which is %zu) >=
this->size() (which is %zu)") at
../../../../../libstdc++-v3/src/c++11/functexcept.cc:96
#7  0x00007ffff7ed8b84 in std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::at (this=0x7fffffffb880,
this=0x7fffffffb880, __n=5) at /usr/include/c++/10/bits/basic_string.h:1079
#8  abigail::dwarf_reader::add_or_update_class_type (ctxt=...,
die=0x7fffffffbde0, scope=<optimized out>, is_struct=<optimized out>,
klass=..., called_from_public_decl=true, where_offset=21749,
is_declaration_only=false)
    at ../../../libabigail/src/abg-dwarf-reader.cc:13824
#9  0x00007ffff7ec88ae in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7fffffffbde0, scope=0x7cfc70,
called_from_public_decl=<optimized out>, where_offset=21749,
is_declaration_only=false, is_required_decl_spec=false)
    at ../../../libabigail/src/abg-dwarf-reader.cc:16558
#10 0x00007ffff7eca438 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7fffffffbde0, called_from_public_decl=<optimized out>,
where_offset=21749) at /usr/include/c++/10/bits/shared_ptr_base.h:1324
#11 0x00007ffff7ed77d7 in abigail::dwarf_reader::add_or_update_class_type
(ctxt=..., die=0x7fffffffc420, scope=<optimized out>, is_struct=<optimized
out>, klass=..., called_from_public_decl=true, where_offset=21749, 
    is_declaration_only=false) at
../../../libabigail/src/abg-dwarf-reader.cc:13847
#12 0x00007ffff7ec88ae in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7fffffffc420, scope=0x7cfc70,
called_from_public_decl=<optimized out>, where_offset=21749,
is_declaration_only=false, is_required_decl_spec=false)
    at ../../../libabigail/src/abg-dwarf-reader.cc:16558
#13 0x00007ffff7eca438 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7fffffffc420, called_from_public_decl=<optimized out>,
where_offset=21749) at /usr/include/c++/10/bits/shared_ptr_base.h:1324
#14 0x00007ffff7ec8016 in abigail::dwarf_reader::build_array_type
(where_offset=21749, called_from_public_decl=true, die=0x7fffffffc690,
ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:15019
#15 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=0x7fffffffc690, scope=0x7cf910, called_from_public_decl=<optimized out>,
where_offset=21749, is_declaration_only=false, is_required_decl_spec=false)
    at ../../../libabigail/src/abg-dwarf-reader.cc:16604
#16 0x00007ffff7eca438 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7fffffffc690, called_from_public_decl=<optimized out>,
where_offset=21749) at /usr/include/c++/10/bits/shared_ptr_base.h:1324
#17 0x00007ffff7ed1145 in abigail::dwarf_reader::build_function_type (ctxt=...,
die=0x7fffffffcc20, is_method=..., where_offset=21749) at
../../../libabigail/src/abg-dwarf-reader.cc:14732
#18 0x00007ffff7ed222c in abigail::dwarf_reader::build_function_decl (ctxt=...,
die=0x7fffffffcc20, where_offset=21749,
fn=std::shared_ptr<abigail::ir::function_decl> (empty) = {...})
    at ../../../libabigail/src/abg-dwarf-reader.cc:15748
#19 0x00007ffff7ec7d0d in
abigail::dwarf_reader::build_or_get_fn_decl_if_not_suppressed (result=...,
is_declaration_only=false, where_offset=21749, fn_die=0x7fffffffcc20,
scope=<optimized out>, ctxt=...)
    at ../../../libabigail/src/abg-dwarf-reader.cc:15424
#20 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=0x7fffffffcc20, scope=0x7cfc70, called_from_public_decl=<optimized out>,
where_offset=21749, is_declaration_only=false, is_required_decl_spec=false)
    at ../../../libabigail/src/abg-dwarf-reader.cc:16789
#21 0x00007ffff7eca438 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0x7fffffffcc20, called_from_public_decl=<optimized out>,
where_offset=21749) at /usr/include/c++/10/bits/shared_ptr_base.h:1324
#22 0x00007ffff7edaaa1 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:8526
#23 0x00007ffff7edc78a in abigail::dwarf_reader::read_debug_info_into_corpus
(ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:16032
#24 abigail::dwarf_reader::read_corpus_from_elf (ctxt=...,
status=@0x7fffffffcfcc: abigail::dwarf_reader::STATUS_UNKNOWN) at
../../../libabigail/src/abg-dwarf-reader.cc:17221
#25 0x0000000000405a51 in load_corpus_and_write_abixml (opts=...,
context=std::shared_ptr<abigail::dwarf_reader::read_context> (use count 1, weak
count 0) = {...}, 
    env=std::shared_ptr<abigail::ir::environment> (use count 1, weak count 0) =
{...}, argv=0x7fffffffd508) at ../../../libabigail/tools/abidw.cc:479
#26 main (argc=<optimized out>, argv=0x7fffffffd508) at
../../../libabigail/tools/abidw.cc:851

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

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

* [Bug default/27085] exception thrown from abg-dwarf-reader.cc:13824
  2020-12-16 23:45 [Bug default/27085] New: exception thrown from abg-dwarf-reader.cc:13824 woodard at redhat dot com
@ 2020-12-16 23:49 ` woodard at redhat dot com
  2020-12-16 23:50 ` woodard at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2020-12-16 23:49 UTC (permalink / raw)
  To: libabigail

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

--- Comment #1 from Ben Woodard <woodard at redhat dot com> ---
Created attachment 13056
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13056&action=edit
input file

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

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

* [Bug default/27085] exception thrown from abg-dwarf-reader.cc:13824
  2020-12-16 23:45 [Bug default/27085] New: exception thrown from abg-dwarf-reader.cc:13824 woodard at redhat dot com
  2020-12-16 23:49 ` [Bug default/27085] " woodard at redhat dot com
@ 2020-12-16 23:50 ` woodard at redhat dot com
  2021-02-03  3:36 ` woodard at redhat dot com
  2021-06-08 21:33 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2020-12-16 23:50 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |27019


Referenced Bugs:

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

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

* [Bug default/27085] exception thrown from abg-dwarf-reader.cc:13824
  2020-12-16 23:45 [Bug default/27085] New: exception thrown from abg-dwarf-reader.cc:13824 woodard at redhat dot com
  2020-12-16 23:49 ` [Bug default/27085] " woodard at redhat dot com
  2020-12-16 23:50 ` woodard at redhat dot com
@ 2021-02-03  3:36 ` woodard at redhat dot com
  2021-06-08 21:33 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-02-03  3:36 UTC (permalink / raw)
  To: libabigail

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

--- Comment #2 from Ben Woodard <woodard at redhat dot com> ---
confirmed to continue to happen with 271e3afa

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

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

* [Bug default/27085] exception thrown from abg-dwarf-reader.cc:13824
  2020-12-16 23:45 [Bug default/27085] New: exception thrown from abg-dwarf-reader.cc:13824 woodard at redhat dot com
                   ` (2 preceding siblings ...)
  2021-02-03  3:36 ` woodard at redhat dot com
@ 2021-06-08 21:33 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-06-08 21:33 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

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

--- Comment #3 from Ben Woodard <woodard at redhat dot com> ---
Seems to be working with the current libabigail trunk.

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

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

end of thread, other threads:[~2021-06-08 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 23:45 [Bug default/27085] New: exception thrown from abg-dwarf-reader.cc:13824 woodard at redhat dot com
2020-12-16 23:49 ` [Bug default/27085] " woodard at redhat dot com
2020-12-16 23:50 ` woodard at redhat dot com
2021-02-03  3:36 ` woodard at redhat dot com
2021-06-08 21:33 ` woodard 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).