Hello,
I found this interesting and tried to reproduce the issue.

It did not show up during installation step and just at startup with the 
generic kernel,
so I tried to install the smp one.
With "apt install linux-image-alpha-smp" and later with the "dpkg --configure 
-a"
the issue shows up quite reliable [1], still running the generic kernel.
It can also be triggered by "systemctl start apparmor.service" [4].

This was observed with 1:10.1.0+ds-5.

In [2] is a backtrace with debug symbols installed.

In [3] are the steps I noted to get the alpha VM set up inside a temporary 
minimal amd64 VM.

Kind regards,
Bernhard





[1]
root@debian:~# dpkg --configure -a
Setting up apparmor (4.1.0-1) ...
[   73.884727] audit: type=1400 audit(1758805994.276:2): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="lsb_release" pid=678 comm="apparmor_parser"
[   74.790977] audit: type=1400 audit(1758805995.192:3): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="nvidia_modprobe" pid=686 comm="apparmor_parser"
[   74.813438] audit: type=1400 audit(1758805995.212:4): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="nvidia_modprobe//kmod" pid=686 comm="apparmor_parser"
Created symlink '/etc/systemd/system/sysinit.target.wants/apparmor.service' -> 
'/usr/lib/systemd/system/apparmor.service'.
Reloading AppArmor profiles
[   81.324177] audit: type=1400 audit(1758806001.727:5): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="1password" pid=746 comm="apparmor_parser"
[   81.347614] audit: type=1400 audit(1758806001.751:6): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="Discord" pid=747 comm="apparmor_parser"
[   81.372028] audit: type=1400 audit(1758806001.774:7): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=748 comm="apparmor_parser"
[   81.398395] audit: type=1400 audit(1758806001.802:8): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="QtWebEngineProcess" pid=749 comm="apparmor_parser"
[   81.982379] audit: type=1400 audit(1758806002.386:9): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="Xorg" pid=750 comm="apparmor_parser"
[   82.037067] audit: type=1400 audit(1758806002.439:10): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="balena-etcher" pid=751 comm="apparmor_parser"
[   82.059528] audit: type=1400 audit(1758806002.463:11): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="brave" pid=752 comm="apparmor_parser"
[   82.082965] audit: type=1400 audit(1758806002.486:12): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="buildah" pid=753 comm="apparmor_parser"
[   82.107379] audit: type=1400 audit(1758806002.511:13): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="busybox" pid=754 comm="apparmor_parser"
[   82.132770] audit: type=1400 audit(1758806002.534:14): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="cam" pid=755 comm="apparmor_parser"
**
ERROR:accel/tcg/cputlb.c:2944:cpu_pointer_wrap_notreached: code should not be 
reached
Bail out! ERROR:accel/tcg/cputlb.c:2944:cpu_pointer_wrap_notreached: code 
should not be reached




[2]
benutzer@debian:~$ gdb -q --pid $(pidof qemu-system-alpha)
Attaching to process 10916
[New LWP 10922]
[New LWP 10921]
[New LWP 10920]
[New LWP 10919]
[New LWP 10918]
[New LWP 10917]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__syscall_cancel_arch () at 
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56

warning: 56     ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S: Datei oder 
Verzeichnis nicht gefunden
(gdb) cont
Continuing.
(gdb)
Thread 5 "qemu-system-alp" received signal SIGABRT, Aborted.
[Switching to Thread 0x7f0d6b8016c0 (LWP 10919)]
__GI_abort () at ./stdlib/abort.c:91
warning: 91     ./stdlib/abort.c: Datei oder Verzeichnis nicht gefunden
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0  __GI_abort () at ./stdlib/abort.c:91
#1  0x00007f0d746d00bb in g_assertion_message (domain=domain@entry=0x0, file=file@entry=0x5647ff8c6164 
"accel/tcg/cputlb.c", line=line@entry=2944, func=func@entry=0x5647ff9dd150 <__func__.0> 
"cpu_pointer_wrap_notreached", message=message@entry=0x7f0d091e69c0 "code should not be 
reached") at ../../../glib/gtestutils.c:3459
#2  0x00007f0d7473c5ce in g_assertion_message_expr (domain=domain@entry=0x0, 
file=file@entry=0x5647ff8c6164 "accel/tcg/cputlb.c", line=line@entry=2944, 
func=func@entry=0x5647ff9dd150 <__func__.0> "cpu_pointer_wrap_notreached", 
expr=expr@entry=0x0) at ../../../glib/gtestutils.c:3485
#3  0x00005647ff69dff7 in cpu_pointer_wrap_notreached (cs=<optimized out>, idx=<optimized 
out>, res=<optimized out>, base=<optimized out>) at accel/tcg/cputlb.c:2944
#4  0x00005647ff6940d2 in mmu_lookup (cpu=cpu@entry=0x5648316436e0, 
addr=18446739675751088126, oi=<optimized out>, ra=ra@entry=139695112588102, 
type=type@entry=MMU_DATA_LOAD, l=l@entry=0x7f0d6b7fff10) at accel/tcg/cputlb.c:1776
#5  0x00005647ff69456d in do_ld4_mmu (cpu=0x5648316436e0, addr=<optimized out>, 
oi=<optimized out>, ra=139695112588102, access_type=access_type@entry=MMU_DATA_LOAD) 
at accel/tcg/cputlb.c:2374
#6  0x00005647ff696647 in helper_ldul_mmu (env=<optimized out>, addr=<optimized out>, 
oi=<optimized out>, retaddr=<optimized out>) at accel/tcg/ldst_common.c.inc:33
#7  0x00007f0d4d900c40 in code_gen_buffer ()
#8  0x00005647ff67ee13 in cpu_tb_exec (cpu=cpu@entry=0x5648316436e0, 
itb=itb@entry=0x7f0d5ca4af00 <code_gen_buffer+257162963>, 
tb_exit=tb_exit@entry=0x7f0d6b8004cc) at accel/tcg/cpu-exec.c:438
#9  0x00005647ff67f272 in cpu_loop_exec_tb (cpu=0x5648316436e0, tb=0x7f0d5ca4af00 
<code_gen_buffer+257162963>, pc=18446739675684378516, last_tb=<synthetic 
pointer>, tb_exit=0x7f0d6b8004cc) at accel/tcg/cpu-exec.c:872
#10 cpu_exec_loop (cpu=cpu@entry=0x5648316436e0, sc=sc@entry=0x7f0d6b800590) at 
accel/tcg/cpu-exec.c:982
#11 0x00005647ff67f911 in cpu_exec_setjmp (cpu=cpu@entry=0x5648316436e0, 
sc=sc@entry=0x7f0d6b800590) at accel/tcg/cpu-exec.c:999
#12 0x00005647ff67ff9d in cpu_exec (cpu=cpu@entry=0x5648316436e0) at 
accel/tcg/cpu-exec.c:1025
#13 0x00005647ff69f0f7 in tcg_cpu_exec (cpu=cpu@entry=0x5648316436e0) at 
accel/tcg/tcg-accel-ops.c:82
#14 0x00005647ff69f4da in mttcg_cpu_thread_fn (arg=0x5648316436e0) at 
accel/tcg/tcg-accel-ops-mttcg.c:94
#15 0x00005647ff87372f in qemu_thread_start (args=0x564831643630) at 
util/qemu-thread-posix.c:393
#16 0x00007f0d7389cb7b in start_thread (arg=<optimized out>) at 
./nptl/pthread_create.c:448
#17 0x00007f0d7391a7b8 in __GI___clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) print/x 18446739675751088126
$1 = 0xfffffc00053f7ffe
(gdb) print/x 139695112588102
$2 = 0x7f0d4d900b46
(gdb)




[3]
# 2025-09-24 minimal Trixie/stable amd64 qemu VM

apt install xserver-xorg slim jwm mc net-tools gdb qemu-system libguestfs-tools 
libc6-dbg libglib2.0-0t64-dbgsym
#enable unstable sources
apt install qemu-system qemu-system-misc-dbgsym

wget 
https://cdimage.debian.org/cdimage/ports/snapshots/2025-08-29/debian-12.0.0-alpha-NETINST-1.iso
mkdir iso
mount debian-12.0.0-alpha-NETINST-1.iso iso
zcat iso/boot/vmlinuz > vmlinux
cp -a iso/boot/initrd.gz .

qemu-img create -f qcow2 alpha-system.img 20G

qemu-system-alpha \
    -smp 4 \
    -m 1024M \
    -drive media=cdrom,file=debian-12.0.0-alpha-NETINST-1.iso,readonly \
    -drive file=alpha-system.img,format=qcow2 \
    -net nic -net user,hostfwd=tcp::2222-:22 \
    -nographic \
    -append "rw console=ttyS0" \
    -kernel vmlinux \
    -initrd initrd.gz
#

mkdir /mnt/test
guestmount -a alpha-system.img -i --ro /mnt/test
cp -a /mnt/test/boot 2025-09-25_boot
cat /mnt/test/etc/fstab | grep "/ "
    # / was on /dev/sda3 during installation
    UUID=4a6e9ae5-68a4-412c-ba08-0d4055e79254 /               ext4    
errors=remount-ro 0       1
umount /mnt/test

zcat 2025-09-25_boot/vmlinuz-6.16.8+deb14-alpha-generic > 
2025-09-25_boot/vmlinux-6.16.8+deb14-alpha-generic

qemu-system-alpha \
    -smp 4 \
    -m 1024M \
    -drive file=alpha-system.img,format=qcow2 \
    -net nic -net user,hostfwd=tcp::2222-:22 \
    -nographic \
    -append "root=UUID=4a6e9ae5-68a4-412c-ba08-0d4055e79254 rw console=ttyS0" \
    -kernel 2025-09-25_boot/vmlinux-6.16.8+deb14-alpha-generic \
    -initrd 2025-09-25_boot/initrd.img-6.16.8+deb14-alpha-generic
#





[4]
benutzer@debian:~$ sudo su -
[sudo] password for benutzer:
root@debian:~# systemctl status apparmor.service
* apparmor.service - Load AppArmor profiles
     Loaded: loaded (/usr/lib/systemd/system/apparmor.service; disabled; 
preset: enabled)
     Active: inactive (dead)
       Docs: man:apparmor(7)
             https://gitlab.com/apparmor/apparmor/wikis/home/
root@debian:~# systemctl start apparmor.service
[   98.806590] audit: type=1400 audit(1758807382.045:2): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="1password" pid=615 comm="apparmor_parser"
[   98.832957] audit: type=1400 audit(1758807382.072:3): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="Discord" pid=616 comm="apparmor_parser"
[   98.857371] audit: type=1400 audit(1758807382.098:4): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=617 comm="apparmor_parser"
[   98.889597] audit: type=1400 audit(1758807382.130:5): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="QtWebEngineProcess" pid=618 comm="apparmor_parser"
[   99.478464] audit: type=1400 audit(1758807382.720:6): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="Xorg" pid=619 comm="apparmor_parser"
[   99.525339] audit: type=1400 audit(1758807382.767:7): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="balena-etcher" pid=620 comm="apparmor_parser"
[   99.555613] audit: type=1400 audit(1758807382.795:8): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="brave" pid=621 comm="apparmor_parser"
[   99.604441] audit: type=1400 audit(1758807382.846:9): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="buildah" pid=622 comm="apparmor_parser"
[   99.627878] audit: type=1400 audit(1758807382.869:10): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="busybox" pid=623 comm="apparmor_parser"
[   99.651316] audit: type=1400 audit(1758807382.892:11): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="cam" pid=624 comm="apparmor_parser"
**
ERROR:accel/tcg/cputlb.c:2944:cpu_pointer_wrap_notreached: code should not be 
reached
Bail out! ERROR:accel/tcg/cputlb.c:2944:cpu_pointer_wrap_notreached: code 
should not be reached
Abgebrochen

Reply via email to