Re: [ibr-dtn] Ibr-dtn Digest, Vol 26, Issue 8

Hello,
I also got a segmentation fault when trying to run my statically built executable. I debugged the segmentation fault and there was a line in EID.cpp (in ibrdtn/data folder) that was causing it. I changed that line and things worked after that.
I'm not sure if you are getting a segmentation fault for the same reason, but below is the change I made to the default constructor that fixed things for me
EID::EID() //: _scheme(DEFAULT_SCHEME), _ssp("none") // { //cout << "about to assign to _scheme" << endl; //cout << " DEFAULT_SCHEME = " << DEFAULT_SCHEME << endl; _scheme = "dtn"; _ssp = "none";
}
Regards, Gleneesha

Hello,
Thank you for the fix. It fixed our problem, too! I appreciate your great help.
We don't have any debugging tool for android native development. Without debugging tools, it's very hard to find bugs. If you don't mind, could you tell me how did you find it?
Best Regards, Yoshimi Fujii
(2012/10/03 5:48), gjohnson@ltsnet.net wrote:
participants (2)
-
gjohnson@ltsnet.net
-
Yoshimi Fujii