Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#9817 closed Bug Report - Crash (Unverified)

mythpreviewgen crashes

Reported by: Andrew Junev <a-j@…> Owned by: beirdo
Priority: minor Milestone: unknown
Component: MythTV - Mythpreviewgen Version: 0.24-fixes
Severity: medium Keywords: mythpreviewgen crash
Cc: Ticket locked: no

Description

I have MythTV 0.24.1 with DVB-S2 cards (a TeVii? S470 and a TechnoTrend? S2-1600). Satellites - Eutelsat W4 and Eurobird 9A.

mythpreviewgen often (always?) crashes when making preview for HD channels. The crash log is here: http://pastebin.com/MMATQXdQ

The issue doesn't seem to be card-dependent, and I think it could happen on any HD channel. Never noticed it crashing on SD channels though.

My current system is:

# uname -a Linux mythbackend 2.6.34.8-68.fc13.i686.PAE #1 SMP Thu Feb 17 14:54:10 UTC 2011 i686 i686 i386 GNU/Linux # mythbackend -v Missing argument to -v/--verbose option[root@mythbackend ~]# mythbackend --version Please attach all output as a file in bug reports. MythTV Version : 0.24.1-2.fc13 (3657f313ac) MythTV Branch : Network Protocol : 63 Library API : 0.24.20110505-1 QT Version : 4.6.3 Options compiled in:

linux release using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

I can provide more logs / video samples (just let me know what is needed and how I could get it).

Attachments (1)

backtrace.txt (15.5 KB) - added by beirdo 13 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 13 years ago by sphery

Status: newinfoneeded_new

We're going to need a proper backtrace, as described at http://www.mythtv.org/wiki/Debugging (and note that you should be able to get proper debug packages, even with packaged builds, as described on the page).

comment:2 Changed 13 years ago by Andrew Junev <a-j@…>

Pardon my question... Do you need a backtrace of mythbackend or of a mythpreviewgen? It's mythpreviewgen that is crashing, but I'm not sure I could do a proper backtrace of it:

# gdb '/usr/bin/mythpreviewgen --size 0x0 --chanid 2120 --starttime 20110527203000 --outfile "/terabyte/livetv.storage/2120_20110527203000.mpg.png"' -x gdbcommands GNU gdb (GDB) Fedora (7.1-34.fc13) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... /usr/bin/mythpreviewgen --size 0x0 --chanid 2120 --starttime 20110527203000 --outfile "/terabyte/livetv.storage/2120_20110527203000.mpg.png": No such file or directory. No symbol table is loaded. Use the "file" command. Breakpoint 1 (qFatal) pending. /home/mythtv/trace/gdbcommands:8: Error in sourced command file: No executable file specified. Use the "file" or "exec-file" command. (gdb)

Not sure if this is needed, but the mythpreviewgen log itself is here: http://pastebin.com/KmEVp7m2

comment:3 Changed 13 years ago by robertm

Yes, we need a BT of mythpreviewgen

In your gdbcommands file, put the following in after "args"

--size 0x0 --chanid 2120 --starttime 20110527203000 --outfile "/terabyte/livetv.storage/2120_20110527203000.mpg.png"

Then invoke gdb with

gdb -x gdbcommands mythpreviewgen

comment:4 Changed 13 years ago by Andrew Junev <a-j@…>

Here is the mythpreviewgen backtrace: http://pastebin.com/ak5wwsAM

Changed 13 years ago by beirdo

Attachment: backtrace.txt added

comment:5 Changed 13 years ago by beirdo

Do you have the logs from right when it crashed as well? This died with an abort, and there is a corresponding error sent to the console when it crashes.

Also, for backtraces, it is often simpler to allow coredumps (ulimit -c 1000000) and then use "gdb -c core -se /full/path/to/binary"

comment:6 Changed 13 years ago by Andrew Junev <a-j@…>

Ummm... I ran it once again, captured the backtrace and the console output (excuse me if something is still wrong - I'm just learning).

Backtrace: http://pastebin.com/5Fs9nKGM

Console: http://pastebin.com/RtqqKUR1

Thanks!

comment:7 Changed 13 years ago by Raymond Wagner

Status: infoneeded_newnew

comment:8 Changed 13 years ago by beirdo

Component: MythTV - GeneralMythTV - Mythpreviewgen
Type: Bug Report - GeneralBug Report - Crash

comment:9 Changed 12 years ago by beirdo

Owner: set to beirdo
Status: newassigned

comment:10 Changed 12 years ago by beirdo

Resolution: Unverified
Status: assignedclosed

Please try again with 0.25. If this still is an ongoing issue at that point, then we can open a new ticket and try debugging again. Enough of the code has changed that it is to the point of being futile trying to debug 0.24 code as much of it has been fixed or rewritten for the sake of stability.

comment:11 Changed 11 years ago by asil.h@…

Hello, first thanks for MythTV, this software is really what I want for TV/PVR on my HTPC. I don't know if that can help, but this issue seems present in 0.25. I have this message in syslog :

Nov  5 21:26:20 pimousse kernel: [10326.857940] mythpreviewgen[3758]: segfault at 1b1b1b27 ip b630a741 sp bfc0b690 error 4 in libc-2.15.so[b6293000+1a3000]

and that one in apport.log :

ERROR: apport (pid 3773) Mon Nov  5 21:26:21 2012: executable: /usr/bin/mythpreviewgen (command line "/usr/bin/mythpreviewgen --size 0x0 --chanid 1051 --starttime 20121105210135 --verbose general --loglevel info --syslog local7 --quiet")
ERROR: apport (pid 3773) Mon Nov  5 21:26:21 2012: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
ERROR: apport (pid 3865) Mon Nov  5 21:26:43 2012: another apport instance is already running, aborting
ERROR: apport (pid 3773) Mon Nov  5 21:27:25 2012: wrote report /var/crash/_usr_bin_mythpreviewgen.110.crash
ERROR: apport (pid 5165) Mon Nov  5 22:01:57 2012: called for pid 5151, signal 6

comment:12 Changed 11 years ago by mikkel@…

Cheers for the work guys!

I can add that I get the same errors in .26 and have 2 x Tevii S480.

Just say what to do and I will gladly assist.

Note: See TracTickets for help on using tickets.