Re: [ns] Segmentation fault problem

2013-03-02 Thread itishi saxena

I think you should install gdb debugger. It can show you complete trace of the 
possible effective place.
Wherever I have any segmentation fault I like to use debugger ($gdb ns; run 
test.tcl enter )that give you an option of  $bt, so that you can see at which 
point in execution this error occurs.
It makes easier for the programmer to rectify the problem.
 


 From: HiepTran hiepd...@gmail.com
To: ns-users@isi.edu 
Cc: itishi saxena itish...@yahoo.com; mairagae...@hotmail.com 
Sent: Saturday, 2 March 2013 4:09 PM
Subject: Re: [ns] Segmentation fault problem
  

Hi Itishi,

I also got this error when running ns simple-mipv6.tcl after I
  run the patch ns-233-mobiwan-1.patch successfully. I also modified the 
some default paths to explicit paths.
I'm using Ubuntu 10.04LTS, and ns-2.33
Pls share with me your experience on this ?

Hiep Tran Mobile : +84983 959 104
Skype: tran_phuoc_hiep
E-mail : hiepd...@gmail.com
On 03/02/2013 05:17 AM, itishi saxena wrote:
 
Hello Mai,
Segmentation fault occurs due to missing memory block.
You try to trace from all those changes you made.
Possibility is you are pointing to something which is not existing at the time 
of execution.
 
   From: mai ragaei 
mailto:mairagae...@hotmail.com To: ns-users@ISI.EDU Sent: Friday, 1 March 2013 
11:08 AM
Subject: [ns] Segmentation fault problem Hi, 
I used ns2.34 with nsmiracle , I modified code in nsmiracle and when I run an 
example, it produce an error : segmentation fault  Please can any one tell me 
the reason to produce segmentation fault ? And how can I solve it ?  Best 
regards 
Mai Ragaei   


Re: [ns] Segmentation fault problem

2013-03-01 Thread itishi saxena

Hello Mai,
Segmentation fault occurs due to missing memory block.
You try to trace from all those changes you made.
Possibility is you are pointing to something which is not existing at the time 
of execution.
 
 
 


 From: mai ragaei mairagae...@hotmail.com
To: ns-users@ISI.EDU 
Sent: Friday, 1 March 2013 11:08 AM
Subject: [ns] Segmentation fault problem
  

Hi, 
I used ns2.34 with nsmiracle , I modified code in nsmiracle and when I run an 
example, it produce an error : segmentation fault 

Please can any one tell me the reason to produce segmentation fault ? And how 
can I solve it ? 

Best regards 
Mai Ragaei


[ns] Segmentation fault problem

2013-02-28 Thread mai ragaei

Hi, 
I used ns2.34 with nsmiracle , I modified code in nsmiracle and when I run an 
example, it produce an error : segmentation fault 

Please can any one tell me the reason to produce segmentation fault ? And how 
can I solve it ? 

Best regards 
Mai Ragaei