-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

retitle 831072 singular: FTBFS with GCC 6: segfault
thanks


Hello Folks,

it appears that it is segfault bug.

I could reproduced it the vanilla source ball by
building with GCC compilers (6.1.1) and by forcing shared library
at configure time:

        $ ./configure --enable-shared --disable-static

Then, after processing `make', ./Singular/Singular emits a segfault.

The GDB prints:

 GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
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 ./Singular/Singular...done.
[New LWP 7786]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./Singular/Singular'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa9769a810d in idrec::get(char const*, int) () from 
/home/calculus/singular/unpacked/singular-4.0.3-11/Singular/.libs/libSingular-4.0.3.so

Exporting dpkg-buildflags FLAGS, shows that the issue is emiited from line 104 
of Singular/ipid.cc :

l=IDLEV(h);

where `idhdl h = this;' (line 94) and IDLEV is the macro  `((a)->lev)' defined 
in Singular/ipid.h .

Thanks,
Jerome



- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calcu...@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

iQQcBAEBCgAGBQJXkgy7AAoJED+SGaZ/NsaLfa4gAKkOJfSVdtNLv3WUO5mfDFr3
/iaky+2BxHMEXt/s5/hURe0/6JbdP5I/Y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bqXx
TStcMNIr/yWkMz1QWNW8QJlWq3oRL34t7ipaCmkG/eQkXOOrLxYNFAoezNyB6FPd
M2AFsHV9PDxUqkSsJZ9ciw6P1ZS7HUh3iP4W+DGZzGQh1NUVsVMHqXi1pqKVksyr
gdXCF6Rucp1+jVNew/ncWw7sxZAXZl3EiNT9/uxvJvZ6ho/pl/07TXGXZsp1jFqM
m+OkuG7Y4H2yAUUYaxuR6M8KNQ7CWFRjEWvTBbJEbElIeBOUu17qaoRDsMpMZCU=
=z9wv
-----END PGP SIGNATURE-----

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to