[mythtv-commits] Ticket #12535: Segmentation fault after starting livetv recording
MythTV
noreply at mythtv.org
Mon Nov 9 06:15:57 UTC 2015
#12535: Segmentation fault after starting livetv recording
-------------------------------------+-------------------------------------
Reporter: xenic@… | Owner: jyavenard
Type: Bug Report - | Status: new
General |
Priority: major | Milestone: unknown
Component: MythTV - Recording | Version: 0.27.5
Severity: medium | Keywords: sigsegv segmentation
Ticket locked: 0 | fault segfault record
-------------------------------------+-------------------------------------
mythtv-backend segfaults after starting a recording of the current livetv
program.
manually connecting to mysql and deleting contents of 'record' table will
allow backend to start up again.
Contents of 'record' table which causes backend to segfault
{{{
mysql> select * from record \G
*************************** 1. row ***************************
recordid: 9
type: 1
chanid: 1004
starttime: 05:55:00
startdate: 2015-11-09
endtime: 06:50:00
enddate: 2015-11-09
title: Zoo Tales Special 3 (7)
subtitle:
description: Australian suurin vauva. Melbournen eläintarhaan on
syntymässä toinen norsunpoikanen. Synnytys ei kuitenkaan suju aivan
suunnitelmien mukaan, ja sekä poikanen että emo ovat vaarassa menehtyä.
Australialainen dokumenttisarja.
season: 0
episode: 0
category: Leisure/Hobbies
profile: Default
recpriority: 0
autoexpire: 0
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 6
dupin: 15
station: Nelonen
seriesid:
programid:
inetref:
search: 0
autotranscode: 0
autocommflag: 1
autouserjob1: 0
autouserjob2: 0
autouserjob3: 0
autouserjob4: 0
autometadata: 1
findday: 2
findtime: 07:55:00
findid: 736276
inactive: 0
parentid: 0
transcoder: 0
playgroup: Default
prefinput: 0
next_record: 0000-00-00 00:00:00
last_record: 0000-00-00 00:00:00
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
1 row in set (0.00 sec)
}}}
This happens repeatedly every time a Live TV program is recorded.
gdb output from mythbackend while a 'broken' recording is in the database,
command ''gdb --args mythbackend --nologserver'':
{{{
2015-11-09 08:12:38.145518 N AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
2015-11-09 08:12:39.102962 I Bonjour: Service registration complete: name
'Mythbackend on digilaatikko' type '_mythbackend._tcp.' domain: 'local.'
2015-11-09 08:12:40.128034 I Reschedule requested for MATCH 0 0 0 -
SchedulerInit
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9dffb700 (LWP 3010)]
0x00007fffd8ed257d in my_datetime_to_str () from /usr/lib/x86_64-linux-
gnu/libmysqlclient.so.18
(gdb) bt
#0 0x00007fffd8ed257d in my_datetime_to_str () from /usr/lib/x86_64
-linux-gnu/libmysqlclient.so.18
#1 0x00007fffd8ec4ecf in ?? () from /usr/lib/x86_64-linux-
gnu/libmysqlclient.so.18
#2 0x00007fffd8ec5138 in ?? () from /usr/lib/x86_64-linux-
gnu/libmysqlclient.so.18
#3 0x00007fffd8ec905e in mysql_stmt_fetch () from /usr/lib/x86_64-linux-
gnu/libmysqlclient.so.18
#4 0x00007fffd9476011 in ?? () from /usr/lib/x86_64-linux-
gnu/qt4/plugins/sqldrivers/libqsqlmysql.so
#5 0x00007ffff69cb629 in MSqlQuery::next() () from
/usr/lib/libmythbase-0.27.so.0
#6 0x00000000004d2ebc in ?? ()
#7 0x00000000004db2cf in ?? ()
#8 0x00000000004dde50 in ?? ()
#9 0x00000000004eb177 in ?? ()
#10 0x00007ffff3fc7e6c in ?? () from /usr/lib/x86_64-linux-
gnu/libQtCore.so.4
#11 0x00007ffff5dcf0a4 in start_thread (arg=0x7fff9dffb700) at
pthread_create.c:309
#12 0x00007ffff33f806d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
}}}
Installed version
{{{
||/ Name Version Architecture
Description
+++-========================-=================-=================-=====================================================
ii mythtv-backend 0.27.5+fixes20151 amd64 Personal
video recorder application (server)
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12535>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list