[Bug 222047] dynamips-community crashes when using the JIT compiler. Runs fine without it (-j flag)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 4 11:44:01 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222047
Bug ID: 222047
Summary: dynamips-community crashes when using the JIT
compiler. Runs fine without it (-j flag)
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: openss.services at gmail.com
When running dynamips it crashes every time with the following error:
blades at ryzen:~/GNS3/images/IOS % dynamips
c7200-adventerprisek9-mz.124-11.t1.image
Cisco Router Simulation Platform (version 0.2.16-amd64/FreeBSD stable)
Copyright (c) 2005-2011 Christophe Fillot.
Build date: Sep 4 2017 10:42:56
IOS image file: c7200-adventerprisek9-mz.124-11.t1.image
CPU0: carved JIT exec zone of 64 Mb into 2048 pages of 32 Kb.
NVRAM is empty, setting config register to 0x2142
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-adventerprisek9-mz.124-11.t1.image
Loading ELF file 'c7200-adventerprisek9-mz.124-11.t1.image'...
ELF entry point: 0x80008000
C7200 'default': starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled.
ROMMON emulation microcode.
Bus error (core dumped)
---------------------
gdb show the following:
(gdb) down
#4 0x0000000801268c4b in strftime_l (s=0x7fffde5f0ca8 "Sep ", maxsize=<value
optimized out>,
format=0x48c14d "%b %d %H:%M:%S", t=0x7fffde5f0c70, loc=0x80151b3e8)
at /usr/src/lib/libc/stdtime/strftime.c:99
99 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize,
&warn, loc);
(gdb) down
#3 0x0000000801268e8a in _fmt (format=<value optimized out>, t=0x7fffde5f0c70,
pt=0x7fffde5f0cac "", ptlim=0x7fffde5f0da8 "�\231�^\003�\025^",
warnp=0x7fffde5f0c14,
loc=0x80151b3e8) at /usr/src/lib/libc/stdtime/strftime.c:595
595 (void) sprintf_l(buf, loc, format, n);
(gdb) down
#2 0x00000008012bec51 in sprintf_l (str=<value optimized out>, locale=<value
optimized out>,
fmt=<value optimized out>) at /usr/src/lib/libc/stdio/sprintf.c:70
70 ret = vsprintf_l(str, locale, fmt, ap);
(gdb) down
#1 0x00000008012c0f76 in vsprintf_l (str=0x7fffde5f0b88 "�\v_��\177",
locale=0x80151b3e8,
fmt=0x8012e4d30 "%02d", ap=0x7fffde5f0ac8) at
/usr/src/lib/libc/stdio/vsprintf.c:60
60 ret = __vfprintf(&f, locale, fmt, ap);
(gdb) down
#0 0x000000080126f364 in __vfprintf (fp=0x7fffde5f08a0, locale=0x80151b3e8,
fmt0=0x8012e4d30 "%02d", ap=0x7fffde5f0ac8) at
/usr/src/lib/libc/stdio/vfprintf.c:471
471 va_copy(orgap, ap);
(gdb) down
Bottom (i.e., innermost) frame selected; you cannot go down.
FreeBSD 11.1 and 11.2 RELEASE are effected.
On a personal note I would love to get this running so I can run VMs in GNS3
2.0.3!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list