You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also crashes when superfluous number of threads get injected, which is quite normal to be honest but not desirable. Will try to write better threads asap.
The text was updated successfully, but these errors were encountered:
korcankaraokcu
changed the title
Inferior crashes after a certain time upon injection of a never-ending thread
Inferior crashes after a certain time once in a while upon injection of a never-ending thread
Feb 25, 2016
threadinf is a local variable, it deallocates from memory when function ends. This may cause problems because first parameter of pthread_create() is the address of threadinf.
That was a good one, tested on a few applications. After this patch, the debuggee doesn't crash even after 20-25 thread injections. Might close this issue once I test this enough.
Edit: Done enough tests, this is the correct fix. Thank you again @salihmarangoz. Closing this issue.
It also crashes when superfluous number of threads get injected, which is quite normal to be honest but not desirable. Will try to write better threads asap.
The text was updated successfully, but these errors were encountered: