Bug#935902: libcppunit-dev: segfault when using with a program compiled with g++-9
Package: libcppunit-dev
Version: 1.14.0-4
Severity: important
Dear Maintainer,
When compiling a program with g++-9 (4:9.2.1-3) and linking with libcppunit
then I get a segfault if the program uses std::stack.
For example:
void f() {
std::stack<std::string> s1;
std::stack<unsigned int> s2;
std::string str;
CPPUNIT_ASSERT(r.empty()); // segfault here
}
It suffices to rebuild the package by compiling it with g++-9 and the segfault
does not occur any more.
Best regards,
Sorin
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libcppunit-dev depends on:
ii libcppunit-1.14-0 1.14.0-4
libcppunit-dev recommends no packages.
Versions of packages libcppunit-dev suggests:
pn libcppunit-doc <none>
-- no debconf information
Reply to: