Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
[opensuse] Trying to get the crashlog of a program
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Fri, 9 Jun 2017 02:30:17 +0200 (CEST)
  • Message-id: <nycvar.YFH.7.76.1706090218470.30027@Grypbagne.inyvabe>
Hash: SHA1


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:

./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)
Version: GnuPG v2

< Previous Next >
Follow Ups