Bug#897697: 3dldf: ftbfs with GCC-8
On 04.05.2018 14:20, Matthias Klose wrote:
> Please keep this issue open in the bug tracker for the package it
> was filed for. If a fix in another package is required, please
> file a bug for the other package (or clone), and add a block in this
> package. Please keep the issue open until the package can be built in
> a follow-up test rebuild.
>
> The package fails to build in a test rebuild on at least amd64 with
> gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
> severity of this report will be raised before the buster release.
>
<snip>
> Please send bug reports to Laurence.Finston@gmx.de
> Web site: http://www.gnu.org/software/3dldf/LDF.html
>
> ./runit: line 76: 11351 Segmentation fault ./3dldf sample2.ldf
> make[3]: *** [Makefile:1679: sample2.mp] Error 139
> make[3]: Leaving directory '/<<BUILDDIR>>/3dldf-2.0.3+dfsg/src'
> make[2]: *** [Makefile:786: check-am] Error 2
> make[2]: Leaving directory '/<<BUILDDIR>>/3dldf-2.0.3+dfsg/src'
> make[1]: *** [Makefile:546: check-recursive] Error 1
> make[1]: Leaving directory '/<<BUILDDIR>>/3dldf-2.0.3+dfsg'
> dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
> make: *** [debian/rules:10: build-arch] Error 2
>
We are aware of this. I have a core dump, here is the backtrace:
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `./3dldf sample2.ldf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb7adeb35 in std::locale::~locale() () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0xb7adeb35 in std::locale::~locale() () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
#1 0x004c78ef in std::basic_streambuf<char, std::char_traits<char>>
::~basic_streambuf (this=0x2257cc4, __in_chrg=<optimized out>) at
/usr/include/c++/8/streambuf:204
#2 std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf
(this=0x2257cc4, __in_chrg=<optimized out>) at
/usr/include/c++/8/fstream:247
#3 std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream
(this=0x2257cc0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
at /usr/include/c++/8/fstream:793
#4 Thread_Info_Type::~Thread_Info_Type (this=<optimized out>,
__in_chrg=<optimized out>) at ./pspglb.web:1626
#5 0x0052f614 in yyparse(void*) () at parser.y++:22016
#6 0x00517499 in main () at /usr/include/c++/8/bits/stl_vector.h:930
#7 0xb7756e81 in __libc_start_main (main=0x516500 <main>, argc=2,
argv=0xbfed44a4, init=0x7c7a30 <__libc_csu_init>, fini=0x7c7a90
<__libc_csu_fini>, rtld_fini=0xb7ef29a0 <_dl_fini>,
stack_end=0xbfed449c) at ../csu/libc-start.c:310
#8 0x005197f9 in _start () at ./main.web:1735
H.
--
#206401 http://counter.li.org
Reply to: