Maybe you can add "Queue/RED set q_weight xxx" at the beginning.Or try to avoid using "set sth [new Queue/RED]", in which case NS doesn't call the initialize_params() in RED to initialize the q_weight value,so it will be -1 by default.Thus a seg fault will happen.
Hope this helps.

Longbo Huang

From: Jaewoo Park <[EMAIL PROTECTED]>
Subject: [ns] Segmentation fault regarding RED
Date: Sat, 17 Dec 2005 19:08:51 -0800 (PST)

  Dear ns-users
  I've succesfully installed ns-allinone-2.28 on a recent version of
  Red Hat linux.
  An example script with a Drop-tail link runs fine.
  But when I replace it with RED
  I get a segmentation fault.
  Could someone explain?
  I appreciate your help in advance.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around

Reply via email to