Re: [DynInst_API:] Segmentation fault error with dyninst 10.1


Date: Sat, 01 Jun 2019 16:52:21 -0700
From: Abdullah Al-Mamun <aalmamun@xxxxxxxxxxxxxx>
Subject: Re: [DynInst_API:] Segmentation fault error with dyninst 10.1
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Â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

"In the middle of every difficulty lies opportunity" - Albert Einsteine


On Sat, Jun 1, 2019 at 4:28 PM Xiaozhu Meng <mxz297@xxxxxxxxx> 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

"In the middle of every difficulty lies opportunity" - Albert Einsteine
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Attachment: Screen Shot 2019-06-01 at 4.39.27 PM.png
Description: PNG image

Attachment: Screen Shot 2019-06-01 at 4.50.34 PM.png
Description: PNG image

[← Prev in Thread] Current Thread [Next in Thread→]