(2) multi-threaded segfaults are scary. Are you able to try and reproduce it single-threaded? If you can, it'll be easier to debug. If you cannot, it may be related to the threading itself.
(3) This is probably a lot deeper than just finding a segfault. You will want to audit your code for thread safety.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Jason!
I was running a multi threaded code where I am getting a segfault at a particular line.
As shown in the image the curr_node in the code is a healthy node that I am able to check on my debugger.
Hi gaurav,
(1) I can't see the image.
(2) multi-threaded segfaults are scary. Are you able to try and reproduce it single-threaded? If you can, it'll be easier to debug. If you cannot, it may be related to the threading itself.
(3) This is probably a lot deeper than just finding a segfault. You will want to audit your code for thread safety.