I see. Thanks! Can you tell us the specific intel compiler version, and your specific command for building Dyninst and the example? We will try to reproduce your problem.
On Mon, Jun 3, 2019 at 12:14 PM Abdullah Al-Mamun <aalma...@nevada.unr.edu> wrote: > Hi Xiaozhu, > > Thank you so much for your response. > > I just ran the gdb with the example executable (*a.out), which is > basically the first example shown on Appendix of the Dyninst-10.1 doc > <https://github.com/dyninst/dyninst/tree/master/dyninstAPI/doc> *and > found the following error (attached with this email). > I also attached the screenshot of the example code that I used from the > dyninst-10.1 doc. > > > Best regards, > *Abdullah Al-Mamun* > > *PhD Fellow, Computer Science & Engg, University of Nevada, Reno* > *Joint MSc. (EUMI Double Degree),Computer Science, Univesity of Trento, > Italy & RWTH Aachen University,Germany * > *Contact: +1(775)-3575433* > *Personal Web* > <https://wolfweb.unr.edu/homepage/aalmamun/abdullahwebsite/> > > *"In the middle of every difficulty lies opportunity"** - *Albert > Einsteine > > > On Sat, Jun 1, 2019 at 4:28 PM Xiaozhu Meng <mxz...@gmail.com> wrote: > >> >> I get *segmentation fault *error when I compile the example. >>> >> >> Do you really mean you get a segfault when you compile the example? >> >> If you encountered a segfault when you "run" the executable, can you use >> GDB to collect a stack trace? >> >> I am trying to instrument a very simple hello.cc file that has a simple >>> function named "hello" which just prints "hello world". >>> >>> Could you please point any direction to get rid of this error? >>> I am using dyninst 10.1 with boost 1.67. >>> Any kind of help is appreciated. >>> >>> Best regards, >>> *Abdullah Al-Mamun* >>> >>> *PhD Fellow, Computer Science & Engg, University of Nevada, Reno* >>> *Joint MSc. (EUMI Double Degree),Computer Science, Univesity of Trento, >>> Italy & RWTH Aachen University,Germany * >>> *Contact: +1(775)-3575433* >>> *Personal Web* >>> <https://wolfweb.unr.edu/homepage/aalmamun/abdullahwebsite/> >>> >>> *"In the middle of every difficulty lies opportunity"** - *Albert >>> Einsteine >>> _______________________________________________ >>> Dyninst-api mailing list >>> Dyninst-api@cs.wisc.edu >>> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api >> >> _______________________________________________ > Dyninst-api mailing list > Dyninst-api@cs.wisc.edu > https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
_______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api