segmentation fault core dumped !! [closed]
hi guys,, though i am not getting any fault now luckily but i did not do anything just restarted my pc, but i often get segmentation fault , core dumped often,, according to me this is some memory issue which i don´t know how to debug,, can someone tell me how to debug this segmentation fault ??
thanks
code link -- https://pastebin.com/jwS39qyz
Did you write this code yourself? We can't possibly help debug without at least seeing a code snippet. Is this segfault coming from a ROS node that you didn't write? Which one, and how can we reproduce the issue?
I suggest editing your question to provide more detailed information. If you are looking for a general lesson on how to debug segfaults in code you've written, then this is probably not the right place to be asking that question.
hi, yes this is a rosnode,, which i am running and i cant paste the whole code here its exceeds to limit of comment.. but i am using opencv and my system is running on ros
and thus i dont know where i am getting segmentation fault,, i dont know which part of my code will be usefull to paste on here
I just closed this question because as it stands, we can't possibly help you. If you edit the question, I'll re-open it. Alternatively, you can just ask a new (hopefully more clearly written) question. Thanks!
You say you are using OpenCV, but you tagged PCL... which is it? I'd suggest using print statements and/or gdb to at least narrow down where your segfault is coming from.
ok, i cant paste my so long code on here,, well thanks i willl try if i can to rewrite my question.
If your code is really that long and there is some reason you can't include it in a question (I didn't think there were limits on that?) you can try including it in a pastebin or a gist. If your code is that long, people aren't as likely to help you because it will take significant time.