[Bug 2051695] Re: autopkgtests fail with 4.9-1build1

Pushkar Kulkarni 2051695 at bugs.launchpad.net
Tue Jan 30 11:41:56 UTC 2024


The stack causing the runtime error:

-----

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo at entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff7842866 in __GI_raise (sig=sig at entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff78268b7 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff7ca4f06 in __gnu_cxx::__verbose_terminate_handler ()
    at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#6  0x00007ffff7cb6e6c in __cxxabiv1::__terminate (handler=<optimized out>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#7  0x00007ffff7cb6ed7 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#8  0x00007ffff7cb7138 in __cxxabiv1::__cxa_throw (obj=<optimized out>, 
    tinfo=0x55555587b208 <typeinfo for Url::build_error>, dest=0x55555574e094 <Url::build_error::~build_error()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:98
#9  0x000055555574cf62 in Url::build_url (this=0x7fffffffc870)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/third_party/url.cpp:871
#10 0x00005555556178aa in Url::str[abi:cxx11]() const (this=0x7fffffffc870)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/third_party/url.hpp:51
#11 0x0000555555613938 in storage::get_redacted_url_str_for_logging (url=...)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/storage/Storage.cpp:330
#12 0x0000555555613b29 in storage::Storage::get_remote_storage_config_for_logging[abi:cxx11]() const (this=0x7fffffffd8a8)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/storage/Storage.cpp:342
#13 0x000055555557d58d in operator() (__closure=0x7fffffffcf50, key="remote_storage", value="http://foo@", 
    origin="environment") at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/ccache.cpp:2226
#14 0x0000555555586b4b in std::__invoke_impl<void, initialize(Context&, char const* const*, bool)::<lambda(const std::string&, const std::string&, const std::string&)>&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(std::__invoke_other, struct {...} &) (__f=...)
    at /usr/include/c++/13/bits/invoke.h:61
#15 0x0000555555586505 in std::__invoke_r<void, initialize(Context&, char const* const*, bool)::<lambda(const std::string&, const std::string&, const std::string&)>&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >--Type <RET> for more, q to quit, c to continue without paging--
&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(struct {...} &) (__fn=...) at /usr/include/c++/13/bits/invoke.h:111
#16 0x00005555555857fc in std::_Function_handler<void(const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&), initialize(Context&, char const* const*, bool)::<lambda(const std::string&, const std::string&, const std::string&)> >::_M_invoke(const std::_Any_data &, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &) (
    __functor=..., __args#0="remote_storage", __args#1="http://foo@", __args#2="environment")
    at /usr/include/c++/13/bits/std_function.h:290
#17 0x0000555555660b04 in std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (this=0x7fffffffcf50, 
    __args#0="remote_storage", __args#1="http://foo@", __args#2="environment") at /usr/include/c++/13/bits/std_function.h:591
#18 0x0000555555656b0f in Config::visit_items(std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)> const&) const (this=0x7fffffffd460, 
    item_visitor=...) at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/Config.cpp:962
#19 0x000055555557dc41 in initialize (ctx=..., argv=0x7fffffffdc38, masquerading_as_compiler=false)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/ccache.cpp:2220
#20 0x000055555557f7a9 in cache_compilation (argc=4, argv=0x7fffffffdc38)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/ccache.cpp:2376
#21 0x0000555555582fcb in ccache_main (argc=4, argv=0x7fffffffdc38)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/ccache.cpp:2751
#22 0x0000555555568dcd in main (argc=4, argv=0x7fffffffdc38)
    at /home/pushkarnk/work/24/sprint3/+1/ccache/upstream/ccache/src/main.cpp:24
----------

** Description changed:

  An existing test started dumping a core causing autopkgtests to fail
- with the 4.9-1build1 which is currently in noble proposed(universe).
- This happens because some changes that went upstream between versions
- 4.8.3 and 4.9.1, specifically this commit [1], cause the test to crash
- with SIGABRT when a Url::build_error() exception is raised.
+ with the 4.9-1build1 which is currently in proposed(universe). This
+ happens because some changes that went upstream between versions 4.8.3
+ and 4.9.1, specifically this commit [1], cause the test to crash with
+ SIGABRT when a Url::build_error() exception is raised.
  
  [1]
- https://github.com/ccache/ccache/commit/8d47ee7e5d289bd92102f082002631ad70a5046d
+ https://github.com/ccache/ccache/commit/829f93c48f2141f4c88f094ae82f728409ecb8d7

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ccache in Ubuntu.
https://bugs.launchpad.net/bugs/2051695

Title:
  autopkgtests fail with 4.9-1build1

Status in ccache package in Ubuntu:
  New

Bug description:
  An existing test started dumping a core causing autopkgtests to fail
  with the 4.9-1build1 which is currently in proposed(universe). This
  happens because some changes that went upstream between versions 4.8.3
  and 4.9.1, specifically this commit [1], cause the test to crash with
  SIGABRT when a Url::build_error() exception is raised.

  [1]
  https://github.com/ccache/ccache/commit/829f93c48f2141f4c88f094ae82f728409ecb8d7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ccache/+bug/2051695/+subscriptions




More information about the foundations-bugs mailing list