Bug 1813 - Getting following error while using Smart pointer for LteHelper creation: *** Error in `/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine': double free or corruption (out): 0xb3f21480 ***
Getting following error while using Smart pointer for LteHelper creation: ***...
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: lte
ns-3.16
PC Linux
: P5 critical
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-11 13:08 UTC by Kushal SP
Modified: 2013-12-24 11:02 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kushal SP 2013-12-11 13:08:33 UTC
Code:
======

//  +----------+                           +----------+
//  | virtual  |                           | virtual  |
//  |  Linux   |                           |  Linux   |
//  |   Host   |                           |   Host   |
//  |          |                           |          |
//  |   eth0   |                           |   eth0   |
//  +----------+                           +----------+
//       |                                      |
//  +----------+                           +----------+
//  |  Linux   |                           |  Linux   |
//  |  Bridge  |                           |  Bridge  |
//  +----------+                           +----------+
//       |                                      |
//  +------------+                       +-------------+
//  | "tap-left" |                       | "tap-right" |
//  +------------+                       +-------------+
//       |           n0            n1           |
//       |       +--------+    +--------+       |
//       +-------|  tap   |    |  tap   |-------+
//               | bridge |    | bridge |
//               +--------+    +--------+
//               |  LTE |      |  LTE |
//               +--------+    +--------+
//                   |             |
//                 ((*))         ((*))
//
//                       LTE EPC
//
//                        ((*))
//                          |
//                     +---------+
//                     |   LTE   |
//                     +---------+
//                     |Spectrum |
//		       |Channel  |
//                     +---------+
//
#include <iostream>
#include <fstream>
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/mobility-module.h>
#include <ns3/lte-module.h>
#include "ns3/tap-bridge-module.h"
#include "ns3/config-store.h"
#include <ns3/buildings-helper.h>
#include "ns3/lte-helper.h"
#include "ns3/enum.h"

using namespace ns3;

NS_LOG_COMPONENT_DEFINE ("TapLteVirtualMachineExample");

int main (int argc, char *argv[])
{	
  
  CommandLine cmd;
  cmd.Parse (argc, argv);
	
  ConfigStore inputConfig;
  inputConfig.ConfigureDefaults ();
  
  // Parse again so you can override default values from the command line
  
   cmd.Parse (argc, argv);
  
   Ptr<LteHelper> lteHelper = CreateObject<LteHelper> ();

  GlobalValue::Bind ("SimulatorImplementationType", StringValue ("ns3::RealtimeSimulatorImpl"));
  GlobalValue::Bind ("ChecksumEnabled", BooleanValue (true));

   // Create Nodes: eNodeB and UE
  
NodeContainer enbNodes;
  NodeContainer ueNodes;
  enbNodes.Create (1);
  ueNodes.Create (1);
 
  // Install Mobility Model

  MobilityHelper mobility;
  
  Ptr<ListPositionAllocator> positionAlloc = CreateObject<ListPositionAllocator> ();
  
  positionAlloc->Add (Vector (0.0, 0.0, 0.0));
  positionAlloc->Add (Vector (5.0, 0.0, 0.0));
  mobility.SetPositionAllocator (positionAlloc);
  
  mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
  mobility.Install (enbNodes);
  BuildingsHelper::Install (enbNodes);
  
  mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
  mobility.Install (ueNodes);
  BuildingsHelper::Install (ueNodes);

  // Create Devices and install them in the Nodes (eNB and UE)
  NetDeviceContainer enbDevs;
  NetDeviceContainer ueDevs;
  
  // Default scheduler is PF, uncomment to use RR
  //lteHelper->SetSchedulerType ("ns3::RrFfMacScheduler");

  enbDevs = lteHelper->InstallEnbDevice (enbNodes);
  ueDevs = lteHelper->InstallUeDevice (ueNodes);

  // Attach a UE to a eNB
  
  lteHelper->Attach (ueDevs, enbDevs.Get (0));
  
  // Activate a data radio bearer
  enum EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;
  EpsBearer bearer (q);
  lteHelper->ActivateDataRadioBearer (ueDevs, bearer);
  lteHelper->EnableTraces ();

  //
  // Use the TapBridgeHelper to connect to the pre-configured tap devices for 
  // the left side.  We go with "UseLocal" mode since the wifi devices do not
  // support promiscuous mode (because of their natures0.  This is a special
  // case mode that allows us to extend a linux bridge into ns-3 IFF we will
  // only see traffic from one other device on that bridge.  That is the case
  // for this configuration.
  //
  TapBridgeHelper tapBridge;
  tapBridge.SetAttribute ("Mode", StringValue ("UseLocal"));
  
  tapBridge.SetAttribute ("DeviceName", StringValue ("tap-left"));
  tapBridge.Install (enbNodes.Get (0), enbDevs.Get (0));

  tapBridge.SetAttribute ("DeviceName", StringValue ("tap-right"));
  tapBridge.Install (ueNodes.Get (1), ueDevs.Get (1));

  //
  // Run the simulation for ten minutes to give the user time to play around
  //
  Simulator::Stop (Seconds (50));
  Simulator::Run ();
  Simulator::Destroy ();

}


Valgrind and waf Ouput:
=======================

root@vaio:/home/kushal/repos/ns-3-allinone/ns-3-dev# valgrind -v ./waf --run scratch/tap-lte-virtual-machine 
==5043== Memcheck, a memory error detector
==5043== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==5043== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==5043== Command: ./waf --run scratch/tap-lte-virtual-machine
==5043== 
--5043-- Valgrind options:
--5043--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--5043--    -v
--5043-- Contents of /proc/version:
--5043--   Linux version 3.8.0-18-generic (buildd@roseapple) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.2-23ubuntu2) ) #28-Ubuntu SMP Thu Apr 11 19:39:26 UTC 2013
--5043-- Arch and hwcaps: X86, x86-sse1-sse2
--5043-- Page sizes: currently 4096, max supported 4096
--5043-- Valgrind library directory: /usr/lib/valgrind
--5043-- Reading syms from /lib/i386-linux-gnu/ld-2.17.so
--5043--   Considering /lib/i386-linux-gnu/ld-2.17.so ..
--5043--   .. CRC mismatch (computed a0fb8cb1 wanted 57bd7c4c)
--5043--   Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.17.so ..
--5043--   .. CRC is valid
--5043--   Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.17.so ..
--5043--   .. CRC is valid
--5043-- Reading syms from /usr/bin/env
--5043--   Considering /usr/bin/env ..
--5043--   .. CRC mismatch (computed 729897ab wanted 2ade4a56)
--5043--    object doesn't have a symbol table
--5043-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux
--5043--   Considering /usr/lib/valgrind/memcheck-x86-linux ..
--5043--   .. CRC mismatch (computed 58cc7e37 wanted aecfbbb2)
--5043--    object doesn't have a symbol table
--5043--    object doesn't have a dynamic symbol table
--5043-- Scheduler: using generic scheduler lock implementation.
--5043-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--5043-- Reading suppressions file: /usr/lib/valgrind/default.supp
==5043== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-5043-by-root-on-???
==5043== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-5043-by-root-on-???
==5043== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-5043-by-root-on-???
==5043== 
==5043== TO CONTROL THIS PROCESS USING vgdb (which you probably
==5043== don't want to do, unless you know exactly what you're doing,
==5043== or are doing some strange experiment):
==5043==   /usr/lib/valgrind/../../bin/vgdb --pid=5043 ...command...
==5043== 
==5043== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==5043==   /path/to/gdb ./waf
==5043== and then give GDB the following command
==5043==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=5043
==5043== --pid is optional if only one valgrind process is running
==5043== 
--5043-- REDIR: 0x40185b0 (strlen) redirected to 0x3806af24 (???)
--5043-- REDIR: 0x4018330 (index) redirected to 0x3806aeff (???)
--5043-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so
--5043--   Considering /usr/lib/valgrind/vgpreload_core-x86-linux.so ..
--5043--   .. CRC mismatch (computed 8fb3125a wanted 0d923127)
--5043--    object doesn't have a symbol table
--5043-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
--5043--   Considering /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so ..
--5043--   .. CRC mismatch (computed efa74f7b wanted 304220ae)
--5043--    object doesn't have a symbol table
--5043-- Reading syms from /lib/i386-linux-gnu/libc-2.17.so
--5043--   Considering /lib/i386-linux-gnu/libc-2.17.so ..
--5043--   .. CRC mismatch (computed cd57cc0a wanted 572e0357)
--5043--   Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.17.so ..
--5043--   .. CRC is valid
--5043--   Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.17.so ..
--5043--   .. CRC is valid
--5043-- REDIR: 0x40c7780 (strnlen) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--5043-- REDIR: 0x40c8d00 (strncasecmp) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--5043-- REDIR: 0x40cd9c0 (memrchr) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--5043-- REDIR: 0x40e2230 (wcslen) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--5043-- REDIR: 0x40c7920 (__GI_strrchr) redirected to 0x402c880 (__GI_strrchr)
--5043-- REDIR: 0x40c78d0 (rindex) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--5043-- REDIR: 0x40df340 (__strrchr_sse2_bsf) redirected to 0x402c850 (rindex)
--5043-- REDIR: 0x40c6f30 (__GI_strcmp) redirected to 0x402da00 (__GI_strcmp)
--5043-- REDIR: 0x40c76c0 (__GI_strlen) redirected to 0x402cd40 (__GI_strlen)
--5043-- REDIR: 0x40ce060 (__GI_strncmp) redirected to 0x402d250 (__GI_strncmp)
--5043-- REDIR: 0x40c6d20 (__GI_strchr) redirected to 0x402c9a0 (__GI_strchr)
--5043-- REDIR: 0x40c30d0 (free) redirected to 0x402b160 (free)
--5043-- REDIR: 0x40c2cd0 (malloc) redirected to 0x402c3b0 (malloc)
--5043-- REDIR: 0x40c6cd0 (index) redirected to 0x4024580 (_vgnU_ifunc_wrapper)
--5043-- REDIR: 0x40df230 (__strchr_sse2_bsf) redirected to 0x402c940 (index)
--5043-- REDIR: 0x40ca190 (strchrnul) redirected to 0x402f4c0 (strchrnul)
Waf: Entering directory `/home/kushal/repos/ns-3-allinone/ns-3-dev/build'
Waf: Leaving directory `/home/kushal/repos/ns-3-allinone/ns-3-dev/build'
'build' finished successfully (2.375s)
*** Error in `/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine': double free or corruption (out): 0xb3f65480 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x767e2)[0xb3e2c7e2]
/lib/i386-linux-gnu/libc.so.6(+0x77530)[0xb3e2d530]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPv+0x1f)[0xb402db4f]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine(_ZN9__gnu_cxx13new_allocatorIN3ns33PtrINS1_9NetDeviceEEEE10deallocateEPS4_j+0x11)[0x8052533]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine(_ZNSt12_Vector_baseIN3ns33PtrINS0_9NetDeviceEEESaIS3_EE13_M_deallocateEPS3_j+0x25)[0x8051ff1]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/libns3-dev-mesh-debug.so(_ZNSt6vectorIN3ns33PtrINS0_9NetDeviceEEESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_+0x225)[0xb68c9059]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/libns3-dev-mesh-debug.so(_ZNSt6vectorIN3ns33PtrINS0_9NetDeviceEEESaIS3_EE9push_backERKS3_+0x7d)[0xb68c8197]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/libns3-dev-network-debug.so(_ZN3ns34Node9AddDeviceENS_3PtrINS_9NetDeviceEEE+0x1fe)[0xb536d840]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/libns3-dev-tap-bridge-debug.so(_ZN3ns315TapBridgeHelper7InstallENS_3PtrINS_4NodeEEENS1_INS_9NetDeviceEEE+0x474)[0xb60ce322]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine[0x80506d6]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0xb3dcf935]
/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine[0x804f291]
======= Memory map: ========
08048000-08056000 r-xp 00000000 08:08 162985     /home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine
08056000-08057000 r--p 0000d000 08:08 162985     /home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine
08057000-08058000 rw-p 0000e000 08:08 162985     /home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine
09c72000-09d28000 rw-p 00000000 00:00 0          [heap]
b2685000-b268e000 rw-p 00000000 00:00 0 
b268e000-b37fd000 r-xp 00000000 08:08 5890       /usr/lib/i386-linux-gnu/libicudata.so.48.1.1
b37fd000-b37fe000 r--p 0116e000 08:08 5890       /usr/lib/i386-linux-gnu/libicudata.so.48.1.1
b37fe000-b37ff000 rw-p 0116f000 08:08 5890       /usr/lib/i386-linux-gnu/libicudata.so.48.1.1
b37ff000-b3800000 rw-p 00000000 00:00 0 
b3800000-b3805000 r-xp 00000000 08:08 5423       /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b3805000-b3806000 r--p 00004000 08:08 5423       /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b3806000-b3807000 rw-p 00005000 08:08 5423       /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b3807000-b3809000 r-xp 00000000 08:08 5412       /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b3809000-b380a000 r--p 00001000 08:08 5412       /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b380a000-b380b000 rw-p 00002000 08:08 5412       /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b380b000-b3961000 r-xp 00000000 08:08 5904       /usr/lib/i386-linux-gnu/libicuuc.so.48.1.1
b3961000-b396b000 r--p 00155000 08:08 5904       /usr/lib/i386-linux-gnu/libicuuc.so.48.1.1
b396b000-b396c000 rw-p 0015f000 08:08 5904       /usr/lib/i386-linux-gnu/libicuuc.so.48.1.1
b396c000-b3970000 rw-p 00000000 00:00 0 
b3970000-b39a3000 r-xp 00000000 08:08 5896       /usr/lib/i386-linux-gnu/libicule.so.48.1.1
b39a3000-b39a4000 ---p 00033000 08:08 5896       /usr/lib/i386-linux-gnu/libicule.so.48.1.1
b39a4000-b39a5000 r--p 00033000 08:08 5896       /usr/lib/i386-linux-gnu/libicule.so.48.1.1
b39a5000-b39a6000 rw-p 00034000 08:08 5896       /usr/lib/i386-linux-gnu/libicule.so.48.1.1
b39a6000-b39a7000 rw-p 00000000 00:00 0 
b39a7000-b39cc000 r-xp 00000000 08:08 391805     /lib/i386-linux-gnu/liblzma.so.5.0.0
b39cc000-b39cd000 r--p 00024000 08:08 391805     /lib/i386-linux-gnu/liblzma.so.5.0.0
b39cd000-b39ce000 rw-p 00025000 08:08 391805     /lib/i386-linux-gnu/liblzma.so.5.0.0
b39ce000-b3a0d000 r-xp 00000000 08:08 391853     /lib/i386-linux-gnu/libpcre.so.3.13.1
b3a0d000-b3a0e000 r--p 0003f000 08:08 391853     /lib/i386-linux-gnu/libpcre.so.3.13.1
b3a0e000-b3a0f000 rw-p 00040000 08:08 391853     /lib/i386-linux-gnu/libpcre.so.3.13.1
b3a0f000-b3a14000 r-xp 00000000 08:08 5650       /usr/lib/i386-linux-gnu/libffi.so.6.0.1
b3a14000-b3a15000 r--p 00005000 08:08 5650       /usr/lib/i386-linux-gnu/libffi.so.6.0.1
b3a15000-b3a16000 rw-p 00006000 08:08 5650       /usr/lib/i386-linux-gnu/libffi.so.6.0.1
b3a16000-b3a3b000 r-xp 00000000 08:08 391778     /lib/i386-linux-gnu/libexpat.so.1.6.0
b3a3b000-b3a3d000 r--p 00025000 08:08 391778     /lib/i386-linux-gnu/libexpat.so.1.6.0
b3a3d000-b3a3e000 rw-p 00027000 08:08 391778     /lib/i386-linux-gnu/libexpat.so.1.6.0
b3a3e000-b3a5e000 r-xp 00000000 08:08 11776      /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b3a5e000-b3a5f000 r--p 0001f000 08:08 11776      /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b3a5f000-b3a60000 rw-p 00020000 08:08 11776      /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b3a60000-b3a61000 rw-p 00000000 00:00 0 
b3a61000-b3a69000 r-xp 00000000 08:08 11783      /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
b3a69000-b3a6a000 r--p 00008000 08:08 11783      /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
b3a6a000-b3a6b000 rw-p 00009000 08:08 11783      /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
b3a6b000-b3a6d000 r-xp 00000000 08:08 6275       /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
b3a6d000-b3a6e000 r--p 00001000 08:08 6275       /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
b3a6e000-b3a6f000 rw-p 00002000 08:08 6275       /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
b3a6f000-b3a96000 r-xp 00000000 08:08 391865     /lib/i386-linux-gnu/libpng12.so.0.49.0
b3a96000-b3a97000 r--p 00026000 08:08 391865     /lib/i386-linux-gnu/libpng12.so.0.49.0
b3a97000-b3a98000 rw-p 00027000 08:08 391865     /lib/i386-linux-gnu/libpng12.so.0.49.0
b3a98000-b3b2c000 r-xp 00000000 08:08 6059       /usr/lib/i386-linux-gnu/libpixman-1.so.0.28.2
b3b2c000-b3b31000 r--p 00093000 08:08 6059       /usr/lib/i386-linux-gnu/libpixman-1.so.0.28.2
b3b31000-b3b32000 rw-p 00098000 08:08 6059       /usr/lib/i386-linux-gnu/libpixman-1.so.0.28.2
b3b32000-b3bca000 r-xp 00000000 08:08 5874       /usr/lib/i386-linux-gnu/libharfbuzz.so.0.913.0
b3bca000-b3bcb000 ---p 00098000 08:08 5874       /usr/lib/i386-linux-gnu/libharfbuzz.so.0.913.0
b3bcb000-b3bcc000 r--p 00098000 08:08 5874       /usr/lib/i386-linux-gnu/libharfbuzz.so.0.913.0
b3bcc000-b3bcd000 rw-p 00099000 08:08 5874       /usr/lib/i386-linux-gnu/libharfbuzz.so.0.913.0
b3bcd000-b3bce000 rw-p 00000000 00:00 0 
b3bce000-b3be1000 r-xp 00000000 08:08 391876     /lib/i386-linux-gnu/libresolv-2.17.so
b3be1000-b3be2000 r--p 00013000 08:08 391876     /lib/i386-linux-gnu/libresolv-2.17.so
b3be2000-b3be3000 rw-p 00014000 08:08 391876     /lib/i386-linux-gnu/libresolv-2.17.so
b3be3000-b3be5000 rw-p 00000000 00:00 0 
b3be5000-b3c02000 r-xp 00000000 08:08 391880     /lib/i386-linux-gnu/libselinux.so.1
b3c02000-b3c03000 r--p 0001c000 08:08 391880     /lib/i386-linux-gnu/libselinux.so.1
b3c03000-b3c04000 rw-p 0001d000 08:08 391880     /lib/i386-linux-gnu/libselinux.so.1
b3c04000-b3c1b000 r-xp 00000000 08:08 391911     /lib/i386-linux-gnu/libz.so.1.2.7
b3c1b000-b3c1c000 r--p 00016000 08:08 391911     /lib/i386-linux-gnu/libz.so.1.2.7
b3c1c000-b3c1d000 rw-p 00017000 08:08 391911     /lib/i386-linux-gnu/libz.so.1.2.7
b3c1d000-b3c2d000 r-xp 00000000 08:08 5407       /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b3c2d000-b3c2e000 r--p 0000f000 08:08 5407       /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b3c2e000-b3c2f000 rw-p 00010000 08:08 5407       /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b3c2f000-b3c31000 r-xp 00000000 08:08 5421       /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
b3c31000-b3c32000 r--p 00001000 08:08 5421       /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
b3c32000-b3c33000 rw-p 00002000 08:08 5421       /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
b3c33000-b3c34000 rw-p 00000000 00:00 0 
b3c34000-b3c36000 r-xp 00000000 08:08 5417       /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
b3c36000-b3c37000 r--p 00001000 08:08 5417       /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
b3c37000-b3c38000 rw-p 00002000 08:08 5417       /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
b3c38000-b3c41000 r-xp 00000000 08:08 5444       /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b3c41000-b3c42000 r--p 00008000 08:08 5444       /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b3c42000-b3c43000 rw-p 00009000 08:08 5444       /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b3c43000-b3c4c000 r-xp 00000000 08:08 5432       /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
b3c4c000-b3c4d000 r--p 00008000 08:08 5432       /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
b3c4d000-b3c4e000 rw-p 00009000 08:08 5432       /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
b3c4e000-b3c5c000 r-xp 00000000 08:08 5418       /usr/lib/i386-linux-gnu/libXi.so.6.1.0
b3c5c000-b3c5d000 r--p 0000d000 08:08 5418       /usr/lib/i386-linux-gnu/libXi.so.6.1.0
b3c5d000-b3c5e000 rw-p 0000e000 08:08 5418       /usr/lib/i386-linux-gnu/libXi.so.6.1.0
b3c5e000-b3c60000 r-xp 00000000 08:08 5430       /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
b3c60000-b3c61000 r--p 00001000 08:08 5430       /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
b3c61000-b3c62000 rw-p 00002000 08:08 5430       /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
b3c62000-b3c63000 rw-p 00000000 00:00 0 
b3c63000-b3c6b000 r-xp 00000000 08:08 5426       /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b3c6b000-b3c6c000 r--p 00008000 08:08 5426       /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b3c6c000-b3c6d000 rw-p 00009000 08:08 5426       /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b3c6d000-b3c72000 r-xp 00000000 08:08 6279       /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
b3c72000-b3c73000 r--p 00004000 08:08 6279       /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
b3c73000-b3c74000 rw-p 00005000 08:08 6279       /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
b3c74000-b3da7000 r-xp 00000000 08:08 6285       /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b3da7000-b3da8000 r--p 00132000 08:08 6285       /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b3da8000-b3dab000 rw-p 00133000 08:08 6285       /usr/lib/i386-linux-gnu/libX11.so.6.3.0
b3dab000-b3dae000 r-xp 00000000 08:08 5743       /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.3600.0
b3dae000-b3daf000 r--p 00002000 08:08 5743       /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.3600.0
b3daf000-b3db0000 rw-p 00003000 08:08 5743       /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.3600.0
b3db0000-b3db3000 r-xp 00000000 08:08 391773     /lib/i386-linux-gnu/libdl-2.17.so
b3db3000-b3db4000 r--p 00002000 08:08 391773     /lib/i386-linux-gnu/libdl-2.17.so
b3db4000-b3db5000 rw-p 00003000 08:08 391773     /lib/i386-linux-gnu/libdl-2.17.so
b3db5000-b3db6000 rw-p 00000000 00:00 0 
b3db6000-b3f63000 r-xp 00000000 08:08 391758     /lib/i386-linux-gnu/libc-2.17.so
b3f63000-b3f65000 r--p 001ad000 08:08 391758     /lib/i386-linux-gnu/libc-2.17.so
b3f65000-b3f66000 rw-p 001af000 08:08 391758     /lib/i386-linux-gnu/libc-2.17.so
b3f66000-b3f69000 rw-p 00000000 00:00 0 
b3f69000-b3f80000 r-xp 00000000 08:08 391870     /lib/i386-linux-gnu/libpthread-2.17.so
b3f80000-b3f81000 r--p 00016000 08:08 391870     /lib/i386-linux-gnu/libpthread-2.17.so
b3f81000-b3f82000 rw-p 00017000 08:08 391870     /lib/i386-linux-gnu/libpthread-2.17.so
b3f82000-b3f85000 rw-p 00000000 00:00 0 
b3f85000-b3fa0000 r-xp 00000000 08:08 391783     /lib/i386-linux-gnu/libgcc_s.so.1
b3fa0000-b3fa1000 r--p 0001a000 08:08 391783     /lib/i386-linux-gnu/libgcc_s.so.1
b3fa1000-b3fa2000 rw-p 0001b000 08:08 391783     /lib/i386-linux-gnu/libgcc_s.so.1
b3fa2000-b3fe3000 r-xp 00000000 08:08 391806     /lib/i386-linux-gnu/libm-2.17.so
b3fe3000-b3fe4000 r--p 00040000 08:08 391806     /lib/i386-linux-gnu/libm-2.17.so
b3fe4000-b3fe5000 rw-p 00041000 08:08 391806     /lib/i386-linux-gnu/libm-2.17.so
b3fe5000-b40c1000 r-xp 00000000 08:08 6179       /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
b40c1000-b40c2000 ---p 000dc000 08:08 6179       /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
b40c2000-b40c6000 r--p 000dc000 08:08 6179       /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
b40c6000-b40c7000 rw-p 000e0000 08:08 6179       /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
b40c7000-b40ce000 rw-p 00000000 00:00 0 
b40ce000-b421e000 r-xp 00000000 08:08 11771      /usr/lib/i386-linux-gnu/libxml2.so.2.9.0
b421e000-b4222000 r--p 00150000 08:08 11771      /usr/lib/i386-linux-gnu/libxml2.so.2.9.0
b4222000-b4223000 rw-p 00154000 08:08 11771      /usr/lib/i386-linux-gnu/libxml2.so.2.9.0
b4223000-b4224000 rw-p 00000000 00:00 0 
b4224000-b4323000 r-xp 00000000 08:08 391787     /lib/i386-linux-gnu/libglib-2.0.so.0.3600.0
b4323000-b4324000 r--p 000fe000 08:08 391787     /lib/i386-linux-gnu/libglib-2.0.so.0.3600.0
b4324000-b4325000 rw-p 000ff000 08:08 391787     /lib/i386-linux-gnu/libglib-2.0.so.0.3600.0
b4325000-b4326000 rw-p 00000000 00:00 0 
b4326000-b4374000 r-xp 00000000 08:08 5759       /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3600.0
b4374000-b4375000 r--p 0004d000 08:08 5759       /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3600.0
b4375000-b4376000 rw-p 0004e000 08:08 5759       /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3600.0
b4376000-b43ad000 r-xp 00000000 08:08 5658       /usr/lib/i386-linux-gnu/libfontconfig.so.1.6.2
b43ad000-b43ae000 r--p 00036000 08:08 5658       /usr/lib/i386-linux-gnu/libfontconfig.so.1.6.2
b43ae000-b43af000 rw-p 00037000 08:08 5658       /usr/lib/i386-linux-gnu/libfontconfig.so.1.6.2
b43af000-b4445000 r-xp 00000000 08:08 5686       /usr/lib/i386-linux-gnu/libfreetype.so.6.10.0
b4445000-b4449000 r--p 00095000 08:08 5686       /usr/lib/i386-linux-gnu/libfreetype.so.6.10.0
b4449000-b444a000 rw-p 00099000 08:08 5686       /usr/lib/i386-linux-gnu/libfreetype.so.6.10.0
b444a000-b4493000 r-xp 00000000 08:08 6037       /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3200.5
b4493000-b4494000 r--p 00049000 08:08 6037       /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3200.5
b4494000-b4495000 rw-p 0004a000 08:08 6037       /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3200.5
b4495000-b45a8000 r-xp 00000000 08:08 5524       /usr/lib/i386-linux-gnu/libcairo.so.2.11200.14
b45a8000-b45aa000 r--p 00113000 08:08 5524       /usr/lib/i386-linux-gnu/libcairo.so.2.11200.14
b45aa000-b45ab000 rw-p 00115000 08:08 5524       /usr/lib/i386-linux-gnu/libcairo.so.2.11200.14Command ['/home/kushal/repos/ns-3-allinone/ns-3-dev/build/scratch/tap-lte-virtual-machine'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
root@vaio:/home/kushal/repos/ns-3-allinone/ns-3-dev#
Comment 1 Nicola Baldo 2013-12-12 07:07:36 UTC
Dear Kushal,

the program that are you using is not part of the ns-3 distribution, so I guess it is your own program. From the logs that you report, I don't see any evidence of a bug in the ns-3 LTE module. Please understand that the purpose of the bug tracker is to discuss and fix bugs in the ns-3 modules, not to debug programs by users. If you can't provide evidence of any bug in the ns-3 lte module, I'll have to close this bug as invalid.