On 12/08/2014 05:58 AM, Luca Beltramelli wrote:
> Thank you Tommaso for the quick reply.
>
> I have tried as you suggested to use the dev/elopment version of ns-3
> but the results are the same:
>
> Waf: Leaving directory `/ns3dev/ns-3-dev/build'
> 'build' finished successfully (6m48.838s)
> assert failed. cond="m_supportedRates->m_nRates + length <=
> MAX_SUPPORTED_RATES", file=../src/wifi/model/supported-rates.cc, line=214
> terminate called without an active exception
> Command ['/ns3dev/ns-3-dev/build/scratch/mesh'] terminated with signal
> SIGIOT. Run it under a debugger to get more information (./waf --run
> <program> --command-template="gdb --args %s <args>")./
>
> * I haven't modified any file for this installation, even though I
> have multiple version of NS3 on my PC some of which I modified.
> Every installation have its own folder though. Do you think this may
> be the problem?;
> * /gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2/;
>
> * /Linux luca-HP-EliteBook-8460p 3.13.0-40-generic #69-Ubuntu SMP Thu
> Nov 13 17:56:26 UTC 2014 i686 i686 i686 GNU/Linux/;
>
> I'm sure I am doing something wrong because I have not been able to find
> a similar problem inside the ns-3-users group.
> Let me know if you have any suggestions.
You are probably hitting this bug:
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1770
If you are getting it for non-optimized build, then that would be a new
condition that we're unaware of. If you are getting it for optimized
build, then the workaround is to lower the optimization level to -O1.
To lower this value, you can edit the 'wscript' file as follows, perform
a './waf clean', then another './waf build':
@@ -46,7 +46,7 @@
cflags.profiles = {
# profile name: [optimization_level, warnings_level, debug_level]
'debug': [0, 2, 3],
- 'optimized': [3, 2, 1],
+ 'optimized': [1, 2, 1],
'release': [3, 2, 0],
}
cflags.default_profile = 'debug'
I started to debug it (notes in the tracker) but haven't returned to it
lately.
- Tom