Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2017 11:44:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222047] dynamips-community crashes when using the JIT compiler. Runs fine without it (-j flag)
Message-ID:  <bug-222047-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222047

            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@FreeBSD.org
          Reporter: openss.services@gmail.com

When running dynamips it crashes every time with the following error:

blades@ryzen:~/GNS3/images/IOS % dynamips
c7200-adventerprisek9-mz.124-11.t1.image=20
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=3D0xffffffffbfc00000), JIT en=
abled.
ROMMON emulation microcode.

Bus error (core dumped)
---------------------

gdb show the following:
(gdb) down
#4  0x0000000801268c4b in strftime_l (s=3D0x7fffde5f0ca8 "Sep ", maxsize=3D=
<value
optimized out>,=20
    format=3D0x48c14d "%b %d %H:%M:%S", t=3D0x7fffde5f0c70, loc=3D0x80151b3=
e8)
    at /usr/src/lib/libc/stdtime/strftime.c:99
99              p =3D _fmt(((format =3D=3D NULL) ? "%c" : format), t, s, s =
+ maxsize,
&warn, loc);
(gdb) down
#3  0x0000000801268e8a in _fmt (format=3D<value optimized out>, t=3D0x7fffd=
e5f0c70,=20
    pt=3D0x7fffde5f0cac "", ptlim=3D0x7fffde5f0da8 "=EF=BF=BD\231=EF=BF=BD^=
\003=EF=BF=BD\025^",
warnp=3D0x7fffde5f0c14,=20
    loc=3D0x80151b3e8) 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=3D<value optimized out>, locale=3D=
<value
optimized out>,=20
    fmt=3D<value optimized out>) at /usr/src/lib/libc/stdio/sprintf.c:70
70              ret =3D vsprintf_l(str, locale, fmt, ap);
(gdb) down
#1  0x00000008012c0f76 in vsprintf_l (str=3D0x7fffde5f0b88 "=EF=BF=BD\v_=EF=
=BF=BD=EF=BF=BD\177",
locale=3D0x80151b3e8,=20
    fmt=3D0x8012e4d30 "%02d", ap=3D0x7fffde5f0ac8) at
/usr/src/lib/libc/stdio/vsprintf.c:60
60              ret =3D __vfprintf(&f, locale, fmt, ap);
(gdb) down
#0  0x000000080126f364 in __vfprintf (fp=3D0x7fffde5f08a0, locale=3D0x80151=
b3e8,=20
    fmt0=3D0x8012e4d30 "%02d", ap=3D0x7fffde5f0ac8) 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!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222047-13>