Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What do I do if my program dumps core when run with Aprobe?

aprobe core dumps program run
0
Posted

What do I do if my program dumps core when run with Aprobe?

0

For possible reasons for such crashes, see questions 13.13, 13.16 and 20.19. If you have a core file, keep reading. The first thing to check is whether any probes you have written are responsible for illegal memory references. These will cause core dumps just like any C or C++ program. If you have a machine-level debugger installed you can usually use it to get the a stack trace. On AIX and Solaris: dbx /full/path/of/your-application /find/the/core-file On Linux: gdb /full/path/of/your-application -c /find/the/core-file (That is, the first argument is the name of your executable, and the second is the path to the core file it dropped, which should be in the program’s PWD.) Then enter the command where which will give the stack trace at the point of the core dump. (On Solaris, dbx is part of the Sun Workshop toolset and may not be installed on your target system if your applications run on a different host than they are compiled on. Similarly, on AIX you need to have the bos.adt.debug f

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.