[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] How to get around exception::what()?



Hi, ns freaks:
    I realize that what I ask might has nothing
to do with ns but gcc. Still do I eager to know
how you got it by as you met it.
    I ran into this kind of seg. fault when I used
some trace file sizing up to 100Mb, which contains
a LAN trace with the rate of tens of Mbps. Also did
I reencounter it when I heavily exerted my Debian
Linux to run some ns scripts without trace files.
I think that it happened due to some resource allocation
problems, but I guess that it could be bypassed.
The following,
http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00260.html ,
seems to contain some kind of modification to gcc and intend
to solve my problem. I don't know if I am right. If true,
to my dismay, gcc 2.95.x still doesn't allow that modification
though its eligibility is claimed by the standard, which is a known
bug of gcc 2.95.x itself.
    Therefore would you please tell me how to do it?
    Thank you!
 
Regards,
M. Jiang