Signal SIGIOT

2,415 views
Skip to first unread message

Mariya

unread,
Apr 3, 2013, 10:11:30 AM4/3/13
to ns-3-...@googlegroups.com
hi

i have this error msg..what does it mean

msg="Invalid value for attribute set (OnTime) on ns3::OnOffApplication", file=../src/core/model/object-factory.cc, line=69
terminate called without an active exception
Command ['/home/amel/Documents/PFE/ns-allinone-3.15/ns-3.15/build/scratch/roofnet'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
it urgent please can sommeone help me :(

Konstantinos

unread,
Apr 3, 2013, 10:32:13 AM4/3/13
to ns-3-...@googlegroups.com
The error is clear. You have used an invalid value for the OnTime when setting the OnOffApplication.

From the documentation this is what OnTime should be: 

OnTimeA RandomVariableStream used to pick the duration of the 'On' state.

Mariya

unread,
Apr 3, 2013, 10:45:40 AM4/3/13
to ns-3-...@googlegroups.com
hi

thnaks for ur response

so i'll should be doing instead: onOffHelper.SetAttribute ("OnTime", StringValue ("ns3::ConstantRandomVariable[Constant=20]"));


Kostantinos Katsaros

unread,
Apr 16, 2013, 2:38:59 PM4/16/13
to milou 27, ns-3-...@googlegroups.com
Hi,

First of all, use the NS-3 mailing list to ask your questions, PLEASE!!
Second, read the documentation before you ask your questions. 

If you have read it, you would see that InterferenceHelper does not have any method called CalculateSnrPur (similar to the output you get from the compiler). There is a CalculateSnrPer method. I don't know the difference between Per and Pur. 

So, if you need a method that is not implemented, you can implement it your self. This is the point of open-source project.


On 16 April 2013 18:45, milou 27 <milou27...@gmail.com> wrote:
Hello sir
 when i execute my code i got this error 

./src/wifi/model/interference-helper.cc:386:74: error: no ‘ns3::InterferenceHelper::SnrPur ns3::InterferenceHelper::CalculateSnrPur(ns3::Ptr<ns3::InterferenceHelper::Event>)’ member function declared in class ‘ns3::InterferenceHelper’

i use ns3.15 i had attached my class Interference helper;my object is calculate SNR and SINR in order to simulate IAWARE metric for HWMP

So sir helppppppp  please i will be  very thankful if you help me

so pleaaaaaaaaaaaaaase



On Sun, Apr 14, 2013 at 1:12 AM, Konstantinos Katsaros <dinos.k...@gmail.com> wrote:
Dear Aziria

The code for this tag is already in wifi-mac source code and in addition I have submitted a code-review to clean it out of mac source.


Regards,

Konstantinos Katsaros

On 12 Apr 2013, at 22:30, milou 27 <milou27...@gmail.com> wrote:

Hello mister konstantinos

i had creat a tag file for SNR and i hope that you check my code if it's correcte or if there is something wrong

Please mister helpe me i'm new in ns  :(

Regards

AZIRIA Amel

Master2 Informatique parcours Réseaux "Université d'Algerie"


On Thu, Apr 11, 2013 at 10:46 PM, Konstantinos Katsaros <dinos.k...@gmail.com> wrote:
Just put them in the wifi/model folder and update the corresponding wscript file

Regards,

Konstantinos Katsaros

On 11 Apr 2013, at 21:40, milou 27 <milou27...@gmail.com> wrote:

hello

i know that for runing a script we should put it in scratch folder that is not my problem

i want to calculate SNR tag so i had creat 2 classes(tag.cc/h) so i don't know where i should put them

i hope you understood me

Regards,


On Thu, Apr 11, 2013 at 10:23 PM, Konstantinos Katsaros <dinos.k...@gmail.com> wrote:
What type of script? Is it just a scenario script you want to run or do you have something like a module ?
if it is the first, then just put them in /scratch folder 
if it is the second, then you just create a new module. There is information in the ns-3 documentation on how to create new module.

Regards,

Konstantinos Katsaros

On 11 Apr 2013, at 21:11, milou 27 <milou27...@gmail.com> wrote:

Thank u very much for your reply

please  tell me where can i put my own ns3 script ; i had read that in ns3.9 we put this kind of script in src/contrib folder "i use ns3.15"

it's very urgent pleaaaaaaaaaaase   :(


On Thu, Apr 11, 2013 at 9:15 PM, Konstantinos Katsaros <dinos.k...@gmail.com> wrote:
Dear milou,

The structure has been changed since ns-3.11. Please read the change log from that version to understand the new structure.

Regards,

Konstantinos Katsaros

On 11 Apr 2013, at 18:56, milou 27 <milou27...@gmail.com> wrote:

hello

is there in ns3.15 a folder contrib in  which i put my script such as in ns3.9 ?????

Thanks


On Wed, Apr 3, 2013 at 10:19 PM, milou 27 <milou27...@gmail.com> wrote:
hello

it works thank you for your reply  :)


On Wed, Apr 3, 2013 at 10:15 PM, Kostantinos Katsaros <dinos.k...@gmail.com> wrote:
How have you set up the OnOffApplication attribute OnTime??

See other examples in ns-3 to see how it is done. Read the manual/documentation of OnOffApplication and RandomVariables to understand more.


On 3 April 2013 18:20, Mariya <milou27...@gmail.com> wrote:
hi Kostantinos

i don't really understand your idea;i'm new in NS3 can u explain again pleaase



--
Konstantinos Katsaros








<my-tag.cc>





--
Konstantinos Katsaros

Amel

unread,
Apr 16, 2013, 2:48:59 PM4/16/13
to ns-3-...@googlegroups.com
i solvedall this problems

Thanks

majorpr...@gmail.com

unread,
Feb 3, 2016, 3:22:20 AM2/3/16
to ns-3-users, milou27...@gmail.com
Can you please tell us what is this error ?
Kindly give us a solution.
Screenshot from 2016-01-28 11:13:28.png

Konstantinos

unread,
Feb 3, 2016, 3:59:18 AM2/3/16
to ns-3-users, milou27...@gmail.com
Hi

Please read the guidelines for posting. Do not reply to a 3yr old, unrelated topic.
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting

Follow the advice from the compiler and run your scenario under a debugger. There you can identify where the problem comes from.

Regards,
K.

Soujanya Venktesh

unread,
Feb 5, 2016, 1:55:12 AM2/5/16
to ns-3-users

Command ['/home/user/Documents/PFE/ns-allinone-3.15/ns-3.15/build/scratch/goodcode'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>"). 
i have got this error. please help me to debug

pdbarnes

unread,
Feb 5, 2016, 10:44:34 AM2/5/16
to ns-3-users
Please read Konstantinos' message. Your error is almost certainly not the same as the message Konstantinos was replying to, but his advice is the right approach. I know it's just general debugging hints, but you didn't give any specific information to work from.

Especially read the posting guidelines. They ask you to attach the full scenario code as well as the full error message because those are necessary for anyone else to give more specific help than just general debugging suggestions.

Peter

Tommaso Pecorella

unread,
Feb 5, 2016, 12:40:19 PM2/5/16
to ns-3-users
To whom it may be concerned:


Any message posted in this thread below this one will be considered as posted by someone that is not aware of the positing guidelines and that is not aware of how to perform basic debugging.

Since the posting guidelines are widely publicized, and since basic debugging how-to are widely available, we will NOT reply to any message and we will NOT help.

Have fun, and please use your brain, it's the best part of everyone's body. 

Thanks,

T.

Reply all
Reply to author
Forward
0 new messages