nicola@pcnbaldo:~/locale/ns-3-bug919$ ./waf --run scratch/bug802 --command="gdb %s" Waf: Entering directory `/home/nicola/locale/ns-3-bug919/build' Waf: Leaving directory `/home/nicola/locale/ns-3-bug919/build' 'build' finished successfully (0.977s) GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/nicola/locale/ns-3-bug919/build/debug/scratch/bug802...done. (gdb) run Starting program: /home/nicola/locale/ns-3-bug919/build/debug/scratch/bug802 [Thread debugging using libthread_db enabled] Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Received 1024 bytes from 10.1.3.2 Received 1024 bytes from 10.1.3.3 Received 1024 bytes from 10.1.3.1 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 Program received signal SIGSEGV, Segmentation fault. 0x00e2a688 in ns3::MinstrelWifiManager::GetNextSample (this=0x80a81e0, station=0x80c12a0) at ../src/devices/wifi/minstrel-wifi-manager.cc:452 452 bitrate = m_sampleTable[station->m_index][station->m_col]; (gdb) back #0 0x00e2a688 in ns3::MinstrelWifiManager::GetNextSample (this=0x80a81e0, station=0x80c12a0) at ../src/devices/wifi/minstrel-wifi-manager.cc:452 #1 0x00e2a953 in ns3::MinstrelWifiManager::FindRate (this=0x80a81e0, station=0x80c12a0) at ../src/devices/wifi/minstrel-wifi-manager.cc:494 #2 0x00e2a1bb in ns3::MinstrelWifiManager::DoReportDataOk (this=0x80a81e0, st=0x80c12a0, ackSnr=2555.6844884583461, ackMode=..., dataSnr=2555.761259175194) at ../src/devices/wifi/minstrel-wifi-manager.cc:386 #3 0x00de50d4 in ns3::WifiRemoteStationManager::ReportDataOk (this=0x80a81e0, address=..., header=0x80a8574, ackSnr=2555.6844884583461, ackMode=..., dataSnr=2555.761259175194) at ../src/devices/wifi/wifi-remote-station-manager.cc:414 #4 0x00da4007 in ns3::MacLow::ReceiveOk (this=0x80a8468, packet=..., rxSnr=2555.6844884583461, txMode=..., preamble=ns3::WIFI_PREAMBLE_LONG) at ../src/devices/wifi/mac-low.cc:711 #5 0x00db53e2 in ns3::MemPtrCallbackImpl, double, ns3::WifiMode, ns3::WifiPreamble), void, ns3::Ptr, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a8d90, a1=..., a2=2555.6844884583461, a3=..., a4=ns3::WIFI_PREAMBLE_LONG) at debug/ns3/callback.h:232 #6 0x00d7992b in ns3::Callback, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a8d18, a1=..., a2=2555.6844884583461, a3=..., a4=ns3::WIFI_PREAMBLE_LONG) at debug/ns3/callback.h:419 #7 0x00d77872 in ns3::WifiPhyStateHelper::SwitchFromRxEndOk (this=0x80a8bd8, packet=..., snr=2555.6844884583461, mode=..., preamble=ns3::WIFI_PREAMBLE_LONG) at ../src/devices/wifi/wifi-phy-state-helper.cc:361 #8 0x00d92f37 in ns3::YansWifiPhy::EndReceive (this=0x80a8a90, packet=..., event=...) at ../src/devices/wifi/yans-wifi-phy.cc:753 #9 0x00d93dd4 in Notify (this=0x80b4770) at debug/ns3/make-event.h:155 #10 0x008b53c8 in ns3::EventImpl::Invoke (this=0x80b4770) at ../src/simulator/event-impl.cc:37 #11 0x008d1a00 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x8083f20) at ../src/simulator/default-simulator-impl.cc:128 #12 0x008d1bcc in ns3::DefaultSimulatorImpl::Run (this=0x8083f20) at ../src/simulator/default-simulator-impl.cc:158 #13 0x008b5ef7 in ns3::Simulator::Run () at ../src/simulator/simulator.cc:173 #14 0x08055a75 in main (argc=1, argv=0xbfffef74) at ../scratch/bug802.cc:151 (gdb)