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

Re: Segmentation fault ?



Could it be that you didn't connect the agent to anything meaningful
and Agent::target_ is not set?

"Zhu Xiaogang" <[email protected]> writes:

> Hi,
>   I defined a new type of Agent and compiled pass. When I send a packet from
> the agent( execute the line 'target_->recv(pkt);' ), the system return
> "Segmentation fault". What does it mean?
> 
>   Who can give me any clues? I have worked for a whole day, but can't solve
> it by myself. Any help will be appreciated!
> 
>             ZXG