Package: liblog4cplus-2.0.5
Version: 2.0.5-2
Severity: important

Dear Maintainer,

liblog4cplus-2.0.5 is exporting symbols from the Catch:: namespace,
causing slic3r-prusa's tests (using its own bundled Catch library) to
fail with std::bad_alloc.

slic3r-prusa currently FTBFS due to this issue: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975198

Stacktrace below (note how some of the `Catch::` symbols are resolved from
a local file, and some are from liblog4cplus-2.0.so.3:

(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7096537 in __GI_abort () at abort.c:79
#2  0x00007ffff74507ec in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff745b966 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff745b9d1 in std::terminate() () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff745bc65 in __cxa_throw () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff7452f0f in std::__throw_bad_alloc() () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x000055555565b12a in 
__gnu_cxx::new_allocator<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >::allocate 
(__n=18446744073575334106, this=<optimized out>)
    at /usr/include/c++/10/ext/new_allocator.h:106
#8  std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >::allocate 
(__n=18446744073575334106, __a=...) at 
/usr/include/c++/10/bits/alloc_traits.h:460
#9  std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >::_M_allocate 
(this=0x7fffffffe670,
    __n=18446744073575334106) at /usr/include/c++/10/bits/stl_vector.h:346
#10 std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >::_M_create_storage (
    __n=18446744073575334106, this=0x7fffffffe670) at 
/usr/include/c++/10/bits/stl_vector.h:361
#11 std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >::_Vector_base (__a=...,
    __n=18446744073575334106, this=0x7fffffffe670) at 
/usr/include/c++/10/bits/stl_vector.h:305
#12 std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >::vector (this=0x7fffffffe670,
    __x=std::vector of length -134217510, capacity -1466015166623 = {...})
    at /usr/include/c++/10/bits/stl_vector.h:555
#13 0x000055555565b1e2 in Catch::TestCaseInfo::TestCaseInfo 
(this=0x7fffffffe610) at ./tests/catch2/catch.hpp:4762
#14 0x00007ffff6a9b845 in Catch::TestCase::TestCase(Catch::ITestCase*, 
Catch::TestCaseInfo const&) ()
   from /usr/lib/x86_64-linux-gnu/liblog4cplus-2.0.so.3
#15 0x00007ffff6aa23c6 in Catch::makeTestCase(Catch::ITestCase*, 
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&, Catch::SourceLineInfo 
const&) () from /usr/lib/x86_64-linux-gnu/liblog4cplus-2.0.so.3
#16 0x00007ffff6aa269b in Catch::registerTestCase(Catch::ITestCase*, char 
const*, Catch::NameAndDesc const&, Catch::SourceLineInfo const&) () from 
/usr/lib/x86_64-linux-gnu/liblog4cplus-2.0.so.3
#17 0x00007ffff6a6c17d in ?? () from 
/usr/lib/x86_64-linux-gnu/liblog4cplus-2.0.so.3
#18 0x00007ffff7fe1fb2 in call_init (l=<optimized out>, argc=argc@entry=1, 
argv=argv@entry=0x7fffffffea88,
    env=env@entry=0x7fffffffea98) at dl-init.c:72
#19 0x00007ffff7fe20b9 in call_init (env=0x7fffffffea98, argv=0x7fffffffea88, 
argc=1, l=<optimized out>)
    at dl-init.c:30
#20 _dl_init (main_map=0x7ffff7ffe180, argc=1, argv=0x7fffffffea88, 
env=0x7fffffffea98) at dl-init.c:119
#21 0x00007ffff7fd30ca in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#22 0x0000000000000001 in ?? ()
#23 0x00007fffffffecaa in ?? ()
          _dl_vdso_clock_gettime64 = 0x7ffff7fd0a50 <clock_gettime>, 
_dl_vdso_gettimeofday = 0x7ffff7fd0800 <gettimeofday>, _dl_vdso_time = 
0x7ffff7fd0a20 <time>, _dl_vdso_getcpu = 0x7ffff7fd0d60 <getcpu>,
          _dl_vdso_clock_getres_time64 = 0x7ffff7fd0d00 <clock_getres>, 
_dl_hwcap2 = 2, _dl_debug_printf = 0x7ffff7fe2cf0 <_dl_debug_printf>, 
_dl_mcount = 0x7ffff7fe4090 <__GI__dl_mcount>,
          _dl_lookup_symbol_x = 0x7ffff7fdcbc0 <_dl_lookup_symbol_x>, _dl_open 
= 0x7ffff7fe5830 <_dl_open>, _dl_close = 0x7ffff7fe7920 <_dl_close>, 
_dl_tls_get_addr_soft = 0x7ffff7fe5040 <_dl_tls_get_addr_soft>,
          _dl_discover_osversion = 0x7ffff7febef0 <_dl_discover_osversion>, 
_dl_audit = 0x0, _dl_naudit = 0}
        _dl_argc = 1
#22 0x0000000000000001 in ?? ()
No symbol table info available.
#23 0x00007fffffffecaa in ?? ()
No symbol table info available.
#24 0x0000000000000000 in ?? ()
No symbol table info available.



-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(400, 'focal-proposed'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.11-hyper1+ (SMP w/8 CPU cores)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_SG.utf8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_SG:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: PGP signature

Reply via email to