Fli
05-11-2023, 09:39 AM
So when the Linux app dumped core, there is a core dump, .zst file:
$ sudo coredumpctl list
$ sudo coredumpctl info PIDNUMBERHERE
The developer asked me to run the program in GDB instead. Following are two possible methods that may do it, but developers may already provided debug symbols (as i understand it helps or make possible debugging) which should be downloaded and placed/extracted to the app folder.
A)
cd /path/to/app/folder/; ls -l
gdb name-of-the-app-binary
set logging on
run name-of-the-app-binary
thread apply all bt full
q
(i can then check adb.txt file and after redacting some sensitive data, provide it tot he developer?)
B)
ps aux|grep part-of-app-name
pgrep name-of-the-app-binary
[number]
gdb
attach [number]
thread apply all bt full
q
Am i wrong, what better way to provide good data to developer?
$ sudo coredumpctl list
$ sudo coredumpctl info PIDNUMBERHERE
The developer asked me to run the program in GDB instead. Following are two possible methods that may do it, but developers may already provided debug symbols (as i understand it helps or make possible debugging) which should be downloaded and placed/extracted to the app folder.
A)
cd /path/to/app/folder/; ls -l
gdb name-of-the-app-binary
set logging on
run name-of-the-app-binary
thread apply all bt full
q
(i can then check adb.txt file and after redacting some sensitive data, provide it tot he developer?)
B)
ps aux|grep part-of-app-name
pgrep name-of-the-app-binary
[number]
gdb
attach [number]
thread apply all bt full
q
Am i wrong, what better way to provide good data to developer?