Subject: bug#875: libmimalloc3: illegal instruction error when called from mtxrun --generate

From: Arthur Marsh <[email-masked]>
Date: Fri, 07 Feb 2025 15:16:49 +1030

Package: libmimalloc3
Version: 3.0.1+ds-2+b1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

With package context installed, mtxrun --generate is called, which
exits with an illegal instruction error on this machine
AMD A10-6800K APU with Radeon(tm) HD Graphics, supports:

 sse3-support
 sse4.1-support
 sse4.2-support
 x86-64-v2-support 

but NOT:

x86-64-v3-support

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

mtxrun is a symbolic link to luametatex

running from gdb:

(gdb) file luametatex
Reading symbols from luametatex...
(No debugging symbols found in luametatex)
(gdb) run
Starting program: /usr/bin/luametatex 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x00007ffff7f7819a in ?? () from /lib/x86_64-linux-gnu/libmimalloc.so.3

I tried installing context on another machine which DOES include:

x86-64-v3-support (AMD Ryzen 5 5500GT).

and that ran fine.

On my older machine, I tried removing luamtetatex and dependencies, and
the tex-common 6.18 process completed successfully, but that is hardly
and ideal solution.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
Architecture: x86_64

Kernel: Linux 6.14.0-rc1+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libmimalloc3 depends on:
ii  libc6  2.41-1

libmimalloc3 recommends no packages.

libmimalloc3 suggests no packages.

-- no debconf information

---

From: Mark Hindley <[email-masked]>
Date: Mon, 10 Feb 2025 08:54:11 +0000

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/1094881

Arthur,

Thanks. This is Debian #1094881.

Mark

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Mon, 24 Feb 2025 13:22:03 +0000

This is an automatic notification regarding your bug report
which was filed against the libmimalloc3 package:

#875: libmimalloc3: illegal instruction error when called from mtxrun --generate

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
875: https://bugs.devuan.org/cgi/bugreport.cgi?bug=875
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Fixed in Debian #1094881
From: Mark Hindley <[email-masked]>
To: [email-masked]
Date: Mon, 24 Feb 2025 13:20:38 +0000

Version: 3.0.1+ds-2.1

Subject: libmimalloc3: illegal instruction error when called from mtxrun --generate
From: Arthur Marsh <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Fri, 07 Feb 2025 15:16:49 +1030

Package: libmimalloc3
Version: 3.0.1+ds-2+b1
Severity: normal

Dear Maintainer,

 sse3-support
 sse4.1-support
 sse4.2-support
 x86-64-v2-support 

but NOT:

x86-64-v3-support

running from gdb:

(gdb) file luametatex

and that ran fine.

-- System Information:
Distributor ID:	Devuan