Bug#995323: libc6: 2.33-0experimental2 breaks maxima

2021-09-29 Thread Aurelien Jarno
control: reassign -1 gcl
control: affects -1 libc6
control: retitle -1 gcl: fails to start with glibc 2.33
control: forwarded -1 https://savannah.gnu.org/bugs/index.php?60161
control: patch -1 + upstream
control: patch -1 + patch

Hi,

On 2021-09-29 10:51, Andreas Kloeckner wrote:
> Package: libc6
> Version: 2.33-0experimental2
> Severity: normal
> 
> Dear Maintainer,
> 
> Upgrading libc6 to 2.33-0experimental2  causes maxima to fail at startup
> with the message:
> 
> The assertion realpath(s,o) on line 475 of main.c in function mbin failed: 
> Invalid argument[1]468085 abort (core dumped)  maxima
> 
> To reproduce, simply 'apt install maxima' (version 5.44.0-3) and run
> 'maxima'.
> 

Thanks for testing glibc 2.33. This is actually a bug in gcl, triggered
by a change in glibc 2.33. It has already been reported upstream with a
patch:

https://savannah.gnu.org/bugs/index.php?60161

Regards,
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Processed (with 2 errors): Re: Bug#995323: libc6: 2.33-0experimental2 breaks maxima

2021-09-29 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 gcl
Bug #995323 [libc6] libc6: 2.33-0experimental2 breaks maxima
Bug reassigned from package 'libc6' to 'gcl'.
No longer marked as found in versions glibc/2.33-0experimental2.
Ignoring request to alter fixed versions of bug #995323 to the same values 
previously set
> affects -1 libc6
Bug #995323 [gcl] libc6: 2.33-0experimental2 breaks maxima
Added indication that 995323 affects libc6
> retitle -1 gcl: fails to start with glibc 2.33
Bug #995323 [gcl] libc6: 2.33-0experimental2 breaks maxima
Changed Bug title to 'gcl: fails to start with glibc 2.33' from 'libc6: 
2.33-0experimental2 breaks maxima'.
> forwarded -1 https://savannah.gnu.org/bugs/index.php?60161
Bug #995323 [gcl] gcl: fails to start with glibc 2.33
Set Bug forwarded-to-address to 'https://savannah.gnu.org/bugs/index.php?60161'.
> patch -1 + upstream
Unknown command or malformed arguments to command.

> patch -1 + patch
Unknown command or malformed arguments to command.


-- 
995323: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995323
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#995323: libc6: 2.33-0experimental2 breaks maxima

2021-09-29 Thread Andreas Kloeckner
Package: libc6
Version: 2.33-0experimental2
Severity: normal

Dear Maintainer,

Upgrading libc6 to 2.33-0experimental2  causes maxima to fail at startup
with the message:

The assertion realpath(s,o) on line 475 of main.c in function mbin failed: 
Invalid argument[1]468085 abort (core dumped)  maxima

To reproduce, simply 'apt install maxima' (version 5.44.0-3) and run
'maxima'.

Strace reveals the apparent difference in behavior:

Bad:

readlink("/proc", 0x7ffdac5d2c00, 1023) = -1 EINVAL (Invalid argument)
readlink("/proc/self", "468544", 1023)  = 6
readlink("/proc/468544", 0x7ffdac5d2c00, 1023) = -1 EINVAL (Invalid argument)
readlink("/proc/468544/exe", "/usr/lib/maxima/5.44.0/binary-gc"..., 1023) = 40
readlink("/usr", 0x7ffdac5d2c00, 1023)  = -1 EINVAL (Invalid argument)
readlink("/usr/lib", 0x7ffdac5d2c00, 1023) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/maxima", 0x7ffdac5d2c00, 1023) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/maxima/5.44.0", 0x7ffdac5d2c00, 1023) = -1 EINVAL (Invalid 
argument)
readlink("/usr/lib/maxima/5.44.0/binary-gcl", 0x7ffdac5d2c00, 1023) = -1 EINVAL 
(Invalid argument)
readlink("/usr/lib/maxima/5.44.0/binary-gcl/maxima", 0x7ffdac5d2c00, 1023) = -1 
EINVAL (Invalid argument)
brk(NULL)   = 0x3b89000
write(2, "The assertion realpath(s,o) on l"..., 91) = 91
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0

Good (lib6 2.32):

readlink("/proc/self", "6410", 4095)= 4
lstat("/proc/6410", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
lstat("/proc/6410/exe", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
readlink("/proc/6410/exe", "/usr/lib/maxima/5.44.0/binary-gc"..., 4095) = 40
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
lstat("/usr/lib/maxima", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib/maxima/5.44.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib/maxima/5.44.0/binary-gcl", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
lstat("/usr/lib/maxima/5.44.0/binary-gcl/maxima", {st_mode=S_IFREG|0755, 
st_size=53250416, ...}) = 0
(continues as normal)

Andreas

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable-updates'), (500, 'unstable'), 
(500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6 depends on:
ii  libgcc-s1  11.2.0-7

Versions of packages libc6 recommends:
ii  libidn2-0  2.3.2-2

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.77
pn  glibc-doc  
ii  libc-l10n  2.33-0experimental1
ii  libnss-nis 3.1-4
ii  libnss-nisplus 1.3-4
ii  locales2.33-0experimental1

-- debconf information:
* glibc/upgrade: true
  glibc/kernel-too-old:
  glibc/disable-screensaver:
  glibc/kernel-not-supported:
* libraries/restart-without-asking: true
  glibc/restart-services:
  glibc/restart-failed:
Thank you for using reportbug