Bug#892622: singular: on mips64el, crashes 50% of the time when ASLR is enabled (the default)
Ximin Luo
infinity0 at debian.org
Sun Mar 11 13:08:20 UTC 2018
Package: singular
Version: 1:4.1.0-p3+ds-2+b2
Severity: important
Control: affects -1 sagemath
Dear Maintainer,
Singular on mips64el crashes 50% of the time when ASLR is enabled (the default).
If one disables it (by using `setarch $(arch) -R`) then the segfaults go away.
This affects sagemath, but I will add the workaround to it for now.
In order to get a backtrace it is necessary to run `gdb -ex "set disable-randomization off" Singular`
as well as install libsingular4-dbgsym singular-modules-dbgsym singular-ui-dbgsym.
Then the backtrace looks like this:
(gdb) bt
#0 0x000000fff5901e84 in omTakeOutBinPage (bin=<optimized out>, bin=<optimized out>, page=0xfff4be8000) at om_Alloc.c:83
#1 omFreeToPageFault (page=0xfff4be8000, addr=<optimized out>) at om_Alloc.c:182
#2 0x000000fff5d6d340 in iiConvName (libname=libname at entry=0xfff4be9420 "standard.lib") at iplib.cc:1352
#3 0x000000fff5d6ea5c in iiLibCmd (newlib=0xfff4be9420 "standard.lib", autoexport=autoexport at entry=1, tellerror=tellerror at entry=1, force=force at entry=1) at iplib.cc:852
#4 0x000000fff5d9fd10 in siInit (name=<optimized out>) at misc_ip.cc:1372
#5 0x000000aaaf7b7910 in main (argc=<optimized out>, argv=0xffffb4e1d8) at tesths.cc:77
X
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages singular depends on:
ii singular-data 1:4.1.0-p3+ds-2
ii singular-modules 1:4.1.0-p3+ds-2+b2
ii singular-ui 1:4.1.0-p3+ds-2+b2
singular recommends no packages.
singular suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list