[ndnSIM] Visualizer Module Bug

Charlie Gettys charlie.gettys at comcast.net
Thu Nov 12 05:51:15 PST 2015

I've been trying to run some some simulations. I'm running ndnsim 2.1, 
and whenever I use a default Producer with a payload of more than ~90 
bytes, the visualizer module will crash. The same simulations run fine 
without the visualizer module. Does anyone know how to fix this?

I've been running the simulation with the following command:
sudo ./waf --run scratch/wifi-attempt08 --vis

My script and an error log is attached.

                Charlie Gettys

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wifi-attempt08.cc
Type: text/x-c++src
Size: 7227 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20151112/564ff65a/attachment.bin>
-------------- next part --------------
sudo ./waf --run scratch/wifi-attempt08 --vis --command-template="gdb --args %s <args>"
Waf: Entering directory `/home/cg/ndnSIM/ns-3/build'
Waf: Leaving directory `/home/cg/ndnSIM/ns-3/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (2.706s)
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/cg/ndnSIM/ns-3/build/scratch/wifi-attempt08...done.
(gdb) run
Starting program: /home/cg/ndnSIM/ns-3/build/scratch/wifi-attempt08 \<args\> --SimulatorImplementationType=ns3::VisualSimulatorImpl
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
Could not load icon applets-screenshooter due to missing gnomedesktop Python module
Could not load icon gnome-terminal due to missing gnomedesktop Python module
scanning topology: [0, 5) nodes...
[New Thread 0x7fffd73ac700 (LWP 2947)]
[New Thread 0x7fffd6bab700 (LWP 2948)]
[Thread 0x7fffd73ac700 (LWP 2947) exited]
[Thread 0x7fffd6bab700 (LWP 2948) exited]
[New Thread 0x7fffd6bab700 (LWP 2949)]
assert failed. cond="IsStateOk ()", file=../src/network/model/packet-metadata.cc, line=688
terminate called without an active exception

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd6bab700 (LWP 2949)]
0x00007fffe85dacc9 in __GI_raise (sig=sig at entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

More information about the ndnSIM mailing list