Hi,
My setup is a bit complex. The process tree looks something like this:
- <wrapper script>
+- proot ... alot of options...
+- <another wrapper script>
+- daemon1
+- ...
+- daemonN
+- bash
+- applications, etc
From the bash I launch the multi-threaded application.
It works good if I do "gdb <app>".
If I do "<app> &", and then "gdb <pid>", gdb freezes.
After that I can not manage to kill that gdb, Neither from inside proot or from outside.
Killing the application doesn't "free" gdb either.
gdb is in "t+" state in ps. "tracing stopped"
It is only if I force kill proot that the gdb actually dies.
The application and all shared libraries inside proot have debug symbols so gdb reads up a lot of debug information. Not sure if that matters or not.
But as it seems to work with "gdb <app>" I guess that should be ok.
I'm not sure what kind of logs would be interesting in this scenario?