[opensuse] Trying to get the crashlog of a program
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I use a third party (no source code) program that crashes, and I want to send the crash output to the developer, but I can't because it disappears. I use tmux, and I can not page up to see the screen output. And the output is not piped, either - perhaps I do it wrong. I do: LOG="/home/cer/Fusion/log/kodiserver_$HORA" ./Kodi_MovistarTV_Server.pvr -d:/home/cer/Fusion 2>&1 | tee $LOG I see the end of the backtrace, but the log file is empty: 7ffc177e7000-7ffc17808000 rw-p 00000000 00:00 0 [stack] │·································· 7ffc17886000-7ffc17889000 r--p 00000000 00:00 0 [vvar] │·································· 7ffc17889000-7ffc1788b000 r-xp 00000000 00:00 0 [vdso] │·································· ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] │·································· │·································· Se cayó, reiniciando en 10 segundos... │·································· │·································· Son las 2017-06-09T00:12:01+00:00; iniciando Kodi_MovistarTV_Server.pvr │·································· terminate called after throwing an instance of 'std::bad_alloc' │·································· what(): std::bad_alloc │·································· │·································· Se cayó, reiniciando en 10 segundos... │·································· Log /home/cer/Fusion/log/kodiserver_20170609-001201 de tamaño cero borrado What is happening there is that there is a backtrace, and the script starts the program again after ten seconds. The log has cero bytes, so I delete it, no info. I have also tried: ./Kodi_MovistarTV_Server.pvr -d:/home/cer/Fusion &> "$LOG" but it is the same, nothing is captured. Am I doing the pipe wrong? Or is it the program that is bypassing the pipes? Is there some other way to capture the output? - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlk57BkACgkQtTMYHG2NR9WzbgCgiE+U52MdatG0gnAVAFLbrLIf kZgAoI56FTFrPE5xwGoqLkQRzWUD4/Ze =kSwK -----END PGP SIGNATURE-----
09.06.2017 03:30, Carlos E. R. пишет:
Hi,
I use a third party (no source code) program that crashes, and I want to send the crash output to the developer, but I can't because it disappears. I use tmux, ...
Is there some other way to capture the output?
It is already captured in tmux history buffer.
On 2017-06-09 06:30, Andrei Borzenkov wrote:
09.06.2017 03:30, Carlos E. R. пишет:
Hi,
I use a third party (no source code) program that crashes, and I want to send the crash output to the developer, but I can't because it disappears. I use tmux, ...
Is there some other way to capture the output?
It is already captured in tmux history buffer.
Yes, see the thread about tmux, I finally found out how to get it. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (2)
-
Andrei Borzenkov
-
Carlos E. R.