Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
My problem is following
when I get signal number 6 , I expected to see call stack and found out in which function abort happened, But I don't get expected output

What I have tried:

all my runs with valgrind show callstack. but valgrind uses my small system resources.
these are my compile and link flags
link flags:
-lpthread -ldl -lrt -shared -rdynamic

compile flags:
-IMyHeaders -O0 -Wall -g -fpic -fmessage-length=0

please help me to solve this problem
Thanks
Posted
Updated 22-Sep-20 3:35am
v3

1 solution

Try adding some of the Debugging Options (Using the GNU Compiler Collection (GCC))[^] so you can find more information when the abort happens.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900