Package: dynamips
Version: 0.2.14-1+b1
Severity: important
dynamips on unstable fails to run a cisco software image which I've been using
with dynamips
for 12 years:
---
dynamips@nataraja:~$ dynamips c7200-itpk9-mz.124-15.SW.bin
Cisco Router Simulation Platform (version 0.2.14-amd64/Linux stable)
Copyright (c) 2005-2011 Christophe Fillot.
Build date: Apr 26 2024 21:50:16
Local UUID: 6d084a0e-f1de-4570-b465-357ee0e9ba9a
IOS image file: c7200-itpk9-mz.124-15.SW.bin
ILT: loaded table "mips64j" from cache.
ILT: loaded table "mips64e" from cache.
ILT: loaded table "ppc32j" from cache.
ILT: loaded table "ppc32e" from cache.
CPU0: carved JIT exec zone of 64 Mb into 2048 pages of 32 Kb.
C7200 instance 'default' (id 0):
VM Status : 0
RAM size : 256 Mb
IOMEM size : 0 Mb
NVRAM size : 128 Kb
NPE model : npe-400
Midplane : vxr
IOS image : c7200-itpk9-mz.124-15.SW.bin
Loading ELF file 'c7200-itpk9-mz.124-15.SW.bin'...
ELF entry point: 0x80008000
C7200 'default': starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled.
ROMMON emulation microcode.
Launching IOS image at 0x80008000...
Self decompressing the image :
###################################################################################################################################
[OK]
Segmentation fault (core dumped)
---
Journalctl says:
---
Jun 27 21:53:40 nataraja systemd-coredump[2459218]: [🡕] Process 2459200
(dynamips) of user 2009 dumped core.
Module libsystemd.so.0 from
deb systemd-257.7-1.amd64
Module libzstd.so.1 from
deb libzstd-1.5.7+dfsg-1.amd64
Module libuuid.so.1 from
deb util-linux-2.41-5.amd64
Stack trace of thread
2459214:
#0 0x00007ffbe837bd98
__printf_buffer_init_end (libc.so.6 + 0x87d98)
#1 0x00007ffbe8410aa0
___snprintf_chk (libc.so.6 + 0x11caa0)
#2 0x000055ab0916f07c
cpu_log (/usr/bin/dynamips + 0x3407c)
#3 0x000055ab091a7b12
dev_c7200_iofpga_access (/usr/bin/dynamips + 0x6cb12)
#4 0x000055ab09175f0d
mips64_mts32_lhu (/usr/bin/dynamips + 0x3af0d)
#5 0x00007ffbe13a6cc9 n/a
(n/a + 0x0)
ELF object binary
architecture: AMD x86-64
---
When using a debian 12 (stable) lxc container on the same machine, dynamips
works fine. So it seems like a
regression between the build for debian bookworm and unstable.
-- System Information:
Debian Release: 13.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.30-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dynamips depends on:
ii libc6 2.41-9
ii libelf1t64 0.192-4
ii libpcap0.8t64 1.10.5-2
ii libuuid1 2.41-5
dynamips recommends no packages.
Versions of packages dynamips suggests:
pn gns3 <none>
-- no debconf information