[paludis-dev] [Paludis] #1335: unhandled exception in cave fix-linkage (gcc 5.3.0)

Paludis trac-paludis at exherbo.org
Sat Dec 26 18:07:37 UTC 2015


#1335: unhandled exception in cave fix-linkage (gcc 5.3.0)
-----------------------------------------+--------------------------
    Reporter:  sss123next                |       Type:  defect
      Status:  new                       |   Priority:  MinorRelease
   Milestone:  cave Basic Functionality  |  Component:  clients/cave
     Version:  scm                       |   Keywords:
  Blocked By:                            |   Blocking:
Distribution:  Gentoo                    |
-----------------------------------------+--------------------------
 {{{
 cave fix-linkage
 Searching: 9 directories, 68182 filesterminate called after throwing an
 instance of 'std::ios_base::failure'
   what():  basic_ios::clear
 }}}

 {{{
 gdb cave
 GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
 Copyright (C) 2015 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-pc-linux-gnu".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <https://bugs.gentoo.org/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from cave...Reading symbols from
 /usr/lib64/debug//usr/bin/cave.debug...(no debugging symbols
 found)...done.
 (no debugging symbols found)...done.
 (gdb) start fix-lincage
 Temporary breakpoint 1 at 0x46b4a0
 Starting program: /usr/bin/cave fix-lincage
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".

 Temporary breakpoint 1, 0x000000000046b4a0 in main ()
 (gdb) c
 Continuing.

 Error:
   * In program /usr/bin/cave fix-lincage:
   * Unknown command 'fix-lincage' (paludis::cave::UnknownCommand)

 [Inferior 1 (process 6257) exited with code 01]
 (gdb) start fix-linkage
 Temporary breakpoint 2 at 0x46b4a0
 Starting program: /usr/bin/cave fix-linkage
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".

 Temporary breakpoint 2, 0x000000000046b4a0 in main ()
 (gdb) c
 Continuing.
 Searching: 9 directories, 68182 filesterminate called after throwing an
 instance of 'std::ios_base::failure'
   what():  basic_ios::clear

 Program received signal SIGABRT, Aborted.
 0x00007ffff6615a97 in raise () from /lib64/libc.so.6
 (gdb) where
 #0  0x00007ffff6615a97 in raise () from /lib64/libc.so.6
 #1  0x00007ffff6616f5d in abort () from /lib64/libc.so.6
 #2  0x00007ffff6c30385 in __gnu_cxx::__verbose_terminate_handler () at
 /var/tmp/paludis/sys-devel-
 gcc-5.3.0/work/gcc-5.3.0/libstdc++-v3/libsupc++/vterminate.cc:95
 #3  0x00007ffff6c2e046 in __cxxabiv1::__terminate (handler=<optimized
 out>) at /var/tmp/paludis/sys-devel-
 gcc-5.3.0/work/gcc-5.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
 #4  0x00007ffff6c2e0b1 in std::terminate () at /var/tmp/paludis/sys-devel-
 gcc-5.3.0/work/gcc-5.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
 #5  0x00007ffff6c2e2e7 in __cxxabiv1::__cxa_throw (obj=obj at entry=0xb87b70,
 tinfo=0x7ffff6f1b740 <typeinfo for std::ios_base::failure>,
 dest=0x7ffff6c3e360 <std::ios_base::failure::~failure()>)
     at /var/tmp/paludis/sys-devel-
 gcc-5.3.0/work/gcc-5.3.0/libstdc++-v3/libsupc++/eh_throw.cc:87
 #6  0x00007ffff6c58216 in std::__throw_ios_failure
 (__s=__s at entry=0x7ffff6ce4a47 "basic_ios::clear") at /var/tmp/paludis/sys-
 devel-gcc-5.3.0/work/gcc-5.3.0/libstdc++-v3/src/c++11/functexcept.cc:126
 #7  0x00007ffff6c9842a in std::basic_ios<char, std::char_traits<char>
 >::clear (this=<optimized out>, __state=<optimized out>) at
 /var/tmp/paludis/sys-devel-gcc-5.3.0/work/build/x86_64-pc-linux-
 gnu/libstdc++-v3/include/bits/basic_ios.tcc:48
 #8  0x00007ffff6c9c1d9 in std::basic_ios<char, std::char_traits<char>
 >::setstate (__state=6, this=<optimized out>) at /var/tmp/paludis/sys-
 devel-gcc-5.3.0/work/build/x86_64-pc-linux-
 gnu/libstdc++-v3/include/bits/basic_ios.h:158
 #9  std::istream::read (this=0x7fffffff5180, __s=0xaf4d40 "exports.x =
 1;\n", __n=16) at /var/tmp/paludis/sys-devel-gcc-5.3.0/work/build/x86_64
 -pc-linux-gnu/libstdc++-v3/include/bits/istream.tcc:671
 #10 0x00007ffff7f02e66 in
 paludis::ElfObject<paludis::Elf32Type>::is_valid_elf(std::istream&) ()
 from /usr/lib64/libpaludisutil_2.4_31510077.so.204
 #11 0x00007ffff76e1359 in bool
 paludis::Imp<paludis::ElfLinkageChecker>::check_elf<paludis::Elf32Type>(paludis::FSPath
 const&, std::istream&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #12 0x00007ffff76dbbb1 in
 paludis::ElfLinkageChecker::check_file(paludis::FSPath const&) () from
 /usr/lib64/libpaludis_2.4_31510077.so.204
 #13 0x00007ffff76aada5 in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #14 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #15 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #16 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #17 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #18 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #19 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #20 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #21 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #22 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #23 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #24 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #25 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #26 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #27 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #28 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #29 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #30 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #31 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #32 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #33 0x00007ffff76aaf3b in
 paludis::Imp<paludis::BrokenLinkageFinder>::check_file(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #34 0x00007ffff76a9f58 in
 paludis::Imp<paludis::BrokenLinkageFinder>::walk_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #35 0x00007ffff76aa675 in
 paludis::Imp<paludis::BrokenLinkageFinder>::search_directory(paludis::FSPath
 const&) () from /usr/lib64/libpaludis_2.4_31510077.so.204
 #36 0x00007ffff76ac8ee in
 paludis::BrokenLinkageFinder::BrokenLinkageFinder(paludis::Environment
 const*, std::shared_ptr<paludis::Sequence<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > > const> const&) ()
    from /usr/lib64/libpaludis_2.4_31510077.so.204
 #37 0x0000000000530f07 in
 paludis::cave::FixLinkageCommand::run(std::shared_ptr<paludis::Environment>
 const&, std::shared_ptr<paludis::Sequence<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > > const> const&) ()
 #38 0x000000000046bd72 in main ()
 }}}

-- 
Ticket URL: <http://paludis.exherbo.org/trac/ticket/1335>
Paludis <http://paludis.exherbo.org/>
Paludis, the Other Package Mangler


More information about the paludis-dev mailing list