Changes between Initial Version and Version 1 of Ticket #9353


Ignore:
Timestamp:
12/13/10 17:25:11 (16 years ago)
Author:
Kenni Lund [kenni a kelu dot dk]
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9353 – Description

    initial v1  
    1 Almost every other time I change channels in live TV, I get a segfault.  I'm running Fedora 14 x85_64, and a HD-PVR to record.  Here's a backtrace:
    2 
    3 [root@myth1 ~]# gdb mythbackend
    4 GNU gdb (GDB) Fedora (7.2-26.fc14)
    5 Copyright (C) 2010 Free Software Foundation, Inc.
    6 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    7 This is free software: you are free to change and redistribute it.
    8 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    9 and "show warranty" for details.
    10 This GDB was configured as "x86_64-redhat-linux-gnu".
    11 For bug reporting instructions, please see:
    12 <http://www.gnu.org/software/gdb/bugs/>...
    13 Reading symbols from /usr/bin/mythbackend...Reading symbols from /usr/lib/debug/usr/bin/mythbackend.debug...done.
    14 done.
    15 (gdb) run
    16 Starting program: /usr/bin/mythbackend
    17 warning: "/usr/lib/debug/usr/lib64/libcrystalhd.so.3.6.debug": separate debug info file has no debug info
    18 [Thread debugging using libthread_db enabled]
    19 warning: "/usr/lib/debug/usr/lib64/libQtWebKit.so.4.7.1.debug": separate debug info file has no debug info
    20 2010-12-10 17:05:59.242 mythbackend version: exported [0.24-2.fc14 (r27317)] www.mythtv.org
    21 2010-12-10 17:05:59.242 Using runtime prefix = /usr
    22 2010-12-10 17:05:59.242 Using configuration directory = /root/.mythtv
    23 2010-12-10 17:05:59.242 Unable to read configuration file mysql.txt
    24 2010-12-10 17:05:59.242 Empty LocalHostName.
    25 2010-12-10 17:05:59.242 Using localhost value of myth1.vtscrew.com
    26 [New Thread 0x7ffff1489700 (LWP 17015)]
    27 [Thread 0x7ffff1489700 (LWP 17015) exited]
    28 2010-12-10 17:05:59.352 New DB connection, total: 1
    29 2010-12-10 17:05:59.356 Connected to database 'mythconverg' at host: localhost
    30 2010-12-10 17:05:59.369 Closing DB connection named 'DBManager0'
    31 2010-12-10 17:05:59.370 Connected to database 'mythconverg' at host: localhost
    32 2010-12-10 17:05:59.372 Current locale EN_US
    33 2010-12-10 17:05:59.372 Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
    34 2010-12-10 17:05:59.380 Current MythTV Schema Version (DBSchemaVer): 1264
    35 2010-12-10 17:05:59.383 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
    36 [New Thread 0x7ffff1489700 (LWP 17018)]
    37 2010-12-10 17:05:59.387 MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP
    38 2010-12-10 17:05:59.388 MythBackend: Starting up as the master server.
    39 2010-12-10 17:05:59.390 New DB connection, total: 2
    40 2010-12-10 17:05:59.398 Connected to database 'mythconverg' at host: localhost
    41 2010-12-10 17:05:59.401 New DB connection, total: 3
    42 2010-12-10 17:05:59.404 Connected to database 'mythconverg' at host: localhost
    43 Detaching after fork from child process 17021.
    44 [New Thread 0x7ffff0a7b700 (LWP 17022)]
    45 defined(@array) is deprecated at /usr/local/bin/d10control.pl line 486.
    46         (Maybe you should just omit the defined()?)
    47 [New Thread 0x7fffebfff700 (LWP 17023)]
    48 2010-12-10 17:05:59.672 New DB scheduler connection
    49 2010-12-10 17:05:59.672 Connected to database 'mythconverg' at host: localhost
    50 [New Thread 0x7fffeb7fe700 (LWP 17025)]
    51 [New Thread 0x7fffeaffd700 (LWP 17026)]
    52 [New Thread 0x7fffea7fc700 (LWP 17027)]
    53 [New Thread 0x7fffe9ffb700 (LWP 17028)]
    54 2010-12-10 17:05:59.684 Main::Registering HttpStatus Extension
    55 2010-12-10 17:05:59.684 Enabled verbose msgs:  important general
    56 [New Thread 0x7fffe97fa700 (LWP 17029)]
    57 [New Thread 0x7fffe8ff9700 (LWP 17030)]
    58 [New Thread 0x7fffcffff700 (LWP 17031)]
    59 [New Thread 0x7fffcf7fe700 (LWP 17032)]
    60 [New Thread 0x7fffceffd700 (LWP 17033)]
    61 [New Thread 0x7fffce7fc700 (LWP 17034)]
    62 2010-12-10 17:05:59.710 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
    63 2010-12-10 17:06:02.687 Reschedule requested for id -1.
    64 2010-12-10 17:06:02.852 Scheduled 94 items in 0.2 = 0.01 match + 0.16 place
    65 2010-12-10 17:06:02.854 Seem to be woken up by USER
    66 2010-12-10 17:06:19.710 Expiring 0 MB for 1246 at 2010-12-10T16:02:48 => "Street Patrol"
    67 2010-12-10 17:06:19.713 Expiring 0 MB for 1246 at 2010-12-10T16:02:49 => "Street Patrol"
    68 2010-12-10 17:06:19.713 Expiring 0 MB for 1246 at 2010-12-10T16:02:57 => "Street Patrol"
    69 2010-12-10 17:06:19.713 Expiring 0 MB for 1246 at 2010-12-10T16:03:13 => "Street Patrol"
    70 2010-12-10 17:06:19.713 Expiring 3 MB for 1246 at 2010-12-10T16:03:16 => "Street Patrol"
    71 2010-12-10 17:06:19.713 Expiring 0 MB for 1247 at 2010-12-10T16:03:33 => "The Office":"Koi Pond"
    72 2010-12-10 17:06:19.713 Expiring 0 MB for 1247 at 2010-12-10T16:03:35 => "The Office":"Koi Pond"
    73 2010-12-10 17:06:19.713 Expiring 0 MB for 1246 at 2010-12-10T16:59:29 => "Street Patrol"
    74 2010-12-10 17:06:19.713 Expiring 0 MB for 1246 at 2010-12-10T16:59:30 => "Street Patrol"
    75 [New Thread 0x7fffcdffb700 (LWP 17035)]
    76 [New Thread 0x7fffcd7fa700 (LWP 17036)]
    77 [New Thread 0x7fffccff9700 (LWP 17037)]
    78 [New Thread 0x7fffc7fff700 (LWP 17038)]
    79 [New Thread 0x7fffc77fe700 (LWP 17039)]
    80 [New Thread 0x7fffc6ffd700 (LWP 17040)]
    81 [New Thread 0x7fffc67fc700 (LWP 17041)]
    82 [New Thread 0x7fffc5ffb700 (LWP 17042)]
    83 [New Thread 0x7fffc57fa700 (LWP 17043)]
    84 [New Thread 0x7fffc4ff9700 (LWP 17044)]
    85 [Thread 0x7fffcd7fa700 (LWP 17036) exited]
    86 [New Thread 0x7fffcd7fa700 (LWP 17129)]
    87 2010-12-10 17:06:33.639 MainServer::ANN Monitor
    88 2010-12-10 17:06:33.639 adding: myth1.vtscrew.com as a client (events: 0)
    89 2010-12-10 17:06:33.641 MainServer::ANN Monitor
    90 2010-12-10 17:06:33.641 adding: myth1.vtscrew.com as a client (events: 1)
    91 [Thread 0x7fffccff9700 (LWP 17037) exited]
    92 2010-12-10 17:06:40.128 MainServer::ANN Playback
    93 2010-12-10 17:06:40.128 adding: myth1.vtscrew.com as a client (events: 0)
    94 2010-12-10 17:06:40.140 TVRec(3): Changing from None to WatchingLiveTV
    95 2010-12-10 17:06:40.142 TVRec(3): HW Tuner: 3->3
    96 2010-12-10 17:06:40.155 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    97 2010-12-10 17:06:40.156 LoadFromScheduler(): Error, called from backend.
    98 [New Thread 0x7fffccff9700 (LWP 17134)]
    99 [New Thread 0x7fffc47f8700 (LWP 17135)]
    100 [New Thread 0x7fffc3ff7700 (LWP 17136)]
    101 [New Thread 0x7fffc37f6700 (LWP 17137)]
    102 Detaching after fork from child process 17138.
    103 defined(@array) is deprecated at /usr/local/bin/d10control.pl line 486.
    104         (Maybe you should just omit the defined()?)
    105 [Thread 0x7fffc3ff7700 (LWP 17136) exited]
    106 [Thread 0x7fffc4ff9700 (LWP 17044) exited]
    107 [Thread 0x7fffc37f6700 (LWP 17137) exited]
    108 2010-12-10 17:06:43.444 Finished recording Street Patrol: channel 1246
    109 2010-12-10 17:06:43.446 New DB connection, total: 4
    110 2010-12-10 17:06:43.447 Connected to database 'mythconverg' at host: localhost
    111 2010-12-10 17:06:43.465 LoadFromScheduler(): Error, called from backend.
    112 2010-12-10 17:06:43.475 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    113 [New Thread 0x7fffc37f6700 (LWP 17144)]
    114 [New Thread 0x7fffc4ff9700 (LWP 17145)]
    115 2010-12-10 17:06:43.500 Finished recording Street Patrol: channel 1246
    116 [Thread 0x7fffc47f8700 (LWP 17135) exited]
    117 [Thread 0x7fffccff9700 (LWP 17134) exited]
    118 [New Thread 0x7fffccff9700 (LWP 17146)]
    119 [New Thread 0x7fffc47f8700 (LWP 17147)]
    120 2010-12-10 17:06:45.332 RecBase(3:/dev/video0): GetKeyframePositions(1,9223372036854775807,#0) out of 1
    121 2010-12-10 17:06:45.547 RecBase(3:/dev/video0): GetKeyframePositions(1,9223372036854775807,#0) out of 1
    122 [Thread 0x7fffc57fa700 (LWP 17043) exited]
    123 [Thread 0x7fffc5ffb700 (LWP 17042) exited]
    124 2010-12-10 17:06:57.571 TVRec(3): HW Tuner: 3->3
    125 2010-12-10 17:06:58.041 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    126 2010-12-10 17:06:58.041 LoadFromScheduler(): Error, called from backend.
    127 [New Thread 0x7fffc5ffb700 (LWP 17160)]
    128 [New Thread 0x7fffc57fa700 (LWP 17161)]
    129 2010-12-10 17:06:58.127 Finished recording Street Patrol: channel 1246
    130 [New Thread 0x7fffc3ff7700 (LWP 17162)]
    131 Detaching after fork from child process 17163.
    132 [Thread 0x7fffc4ff9700 (LWP 17145) exited]
    133 [Thread 0x7fffc37f6700 (LWP 17144) exited]
    134 [New Thread 0x7fffc37f6700 (LWP 17165)]
    135 [New Thread 0x7fffc4ff9700 (LWP 17166)]
    136 Detaching after fork from child process 17167.
    137 defined(@array) is deprecated at /usr/local/bin/d10control.pl line 486.
    138         (Maybe you should just omit the defined()?)
    139 [Thread 0x7fffc37f6700 (LWP 17165) exited]
    140 2010-12-10 17:06:58.804 MainServer::ANN Monitor
    141 2010-12-10 17:06:58.804 adding: myth1.vtscrew.com as a client (events: 0)
    142 2010-12-10 17:06:58.804 MainServer::ANN Monitor
    143 2010-12-10 17:06:58.804 adding: myth1.vtscrew.com as a client (events: 1)
    144 [Thread 0x7fffc67fc700 (LWP 17041) exited]
    145 2010-12-10 17:06:59.493 Finished recording Everybody Loves Raymond "Meeting the Parents": channel 1247
    146 2010-12-10 17:06:59.499 LoadFromScheduler(): Error, called from backend.
    147 [Thread 0x7fffc4ff9700 (LWP 17166) exited]
    148 2010-12-10 17:06:59.502 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    149 [New Thread 0x7fffc4ff9700 (LWP 17173)]
    150 [New Thread 0x7fffc67fc700 (LWP 17174)]
    151 2010-12-10 17:06:59.536 Finished recording Everybody Loves Raymond "Meeting the Parents": channel 1247
    152 [Thread 0x7fffc57fa700 (LWP 17161) exited]
    153 [Thread 0x7fffc5ffb700 (LWP 17160) exited]
    154 [Thread 0x7fffc3ff7700 (LWP 17162) exited]
    155 2010-12-10 17:07:01.974 TVRec(3): Changing from WatchingLiveTV to None
    156 2010-12-10 17:07:03.930 DevRdB(/dev/video0) Error: Poll giving up
    157 [Thread 0x7fffc47f8700 (LWP 17147) exited]
    158 2010-12-10 17:07:03.936 MPEGRec(/dev/video0) Error: Device error detected
    159 2010-12-10 17:07:03.936 DevRdB(/dev/video0): Stop(): Not running.
    160 [New Thread 0x7fffc3ff7700 (LWP 17179)]
    161 2010-12-10 17:07:04.345 DevRdB(
    162 [Thread 0x7fffc3ff7700 (LWP 17179) exited]
    163 [Thread 0x7fffc6ffd700 (LWP 17040) exited]
    164 2010-12-10 17:07:06.882 Finished recording Everybody Loves Raymond "Meeting the Parents": channel 1247
    165 [Thread 0x7fffccff9700 (LWP 17146) exited]
    166 [Thread 0x7fffc67fc700 (LWP 17174) exited]
    167 [Thread 0x7fffc4ff9700 (LWP 17173) exited]
    168 2010-12-10 17:07:06.920 MainServer::ANN Playback
    169 2010-12-10 17:07:06.920 adding: myth1.vtscrew.com as a client (events: 0)
    170 2010-12-10 17:07:06.927 TVRec(3): Changing from None to WatchingLiveTV
    171 2010-12-10 17:07:06.934 TVRec(3): HW Tuner: 3->3
    172 2010-12-10 17:07:06.956 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    173 2010-12-10 17:07:06.957 LoadFromScheduler(): Error, called from backend.
    174 [New Thread 0x7fffc4ff9700 (LWP 17180)]
    175 [New Thread 0x7fffc67fc700 (LWP 17181)]
    176 [New Thread 0x7fffccff9700 (LWP 17182)]
    177 [New Thread 0x7fffc6ffd700 (LWP 17183)]
    178 Detaching after fork from child process 17184.
    179 2010-12-10 17:07:07.027 TVRec(3): Changing from WatchingLiveTV to None
    180 2010-12-10 17:07:07.077 Finished recording Street Patrol: channel 1246
    181 [Thread 0x7fffc6ffd700 (LWP 17183) exited]
    182 [Thread 0x7fffc67fc700 (LWP 17181) exited]
    183 [Thread 0x7fffc4ff9700 (LWP 17180) exited]
    184 defined(@array) is deprecated at /usr/local/bin/d10control.pl line 486.
    185         (Maybe you should just omit the defined()?)
    186 2010-12-10 17:07:07.224 Channel(/dev/video0) Error: InitPictureAttribute(brightness): failed to query controls.
    187                         eno: Bad file descriptor (9)
    188 [Thread 0x7fffccff9700 (LWP 17182) exited]
    189 [Thread 0x7fffc77fe700 (LWP 17039) exited]
    190 2010-12-10 17:07:18.054 MainServer::ANN Playback
    191 2010-12-10 17:07:18.054 adding: myth1.vtscrew.com as a client (events: 0)
    192 2010-12-10 17:07:18.059 TVRec(3): Changing from None to WatchingLiveTV
    193 2010-12-10 17:07:18.062 TVRec(3): HW Tuner: 3->3
    194 2010-12-10 17:07:18.075 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    195 2010-12-10 17:07:18.076 LoadFromScheduler(): Error, called from backend.
    196 [New Thread 0x7fffc77fe700 (LWP 17188)]
    197 [New Thread 0x7fffccff9700 (LWP 17189)]
    198 [New Thread 0x7fffc4ff9700 (LWP 17190)]
    199 [New Thread 0x7fffc67fc700 (LWP 17191)]
    200 Detaching after fork from child process 17192.
    201 defined(@array) is deprecated at /usr/local/bin/d10control.pl line 486.
    202         (Maybe you should just omit the defined()?)
    203 [Thread 0x7fffc4ff9700 (LWP 17190) exited]
    204 [Thread 0x7fffc7fff700 (LWP 17038) exited]
    205 2010-12-10 17:07:21.250 Finished recording Street Patrol: channel 1246
    206 [Thread 0x7fffc67fc700 (LWP 17191) exited]
    207 2010-12-10 17:07:21.274 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    208 2010-12-10 17:07:21.275 LoadFromScheduler(): Error, called from backend.
    209 [New Thread 0x7fffc67fc700 (LWP 17197)]
    210 [New Thread 0x7fffc7fff700 (LWP 17198)]
    211 2010-12-10 17:07:21.293 Finished recording Street Patrol: channel 1246
    212 [Thread 0x7fffccff9700 (LWP 17189) exited]
    213 [Thread 0x7fffc77fe700 (LWP 17188) exited]
    214 [New Thread 0x7fffc77fe700 (LWP 17199)]
    215 2010-12-10 17:07:21.820 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    216 [New Thread 0x7fffccff9700 (LWP 17200)]
    217 2010-12-10 17:07:22.923 RecBase(3:/dev/video0): GetKeyframePositions(1,9223372036854775807,#0) out of 1
    218 2010-12-10 17:07:23.216 RecBase(3:/dev/video0): GetKeyframePositions(1,9223372036854775807,#0) out of 1
    219 2010-12-10 17:07:32.447 TVRec(3): HW Tuner: 3->3
    220 2010-12-10 17:07:32.924 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    221 2010-12-10 17:07:32.925 LoadFromScheduler(): Error, called from backend.
    222 [New Thread 0x7fffc4ff9700 (LWP 17209)]
    223 [New Thread 0x7fffc6ffd700 (LWP 17210)]
    224 2010-12-10 17:07:32.967 Finished recording Street Patrol: channel 1246
    225 [New Thread 0x7fffc5ffb700 (LWP 17211)]
    226 Detaching after fork from child process 17212.
    227 [Thread 0x7fffc7fff700 (LWP 17198) exited]
    228 [Thread 0x7fffc67fc700 (LWP 17197) exited]
    229 [New Thread 0x7fffc67fc700 (LWP 17214)]
    230 [New Thread 0x7fffc7fff700 (LWP 17215)]
    231 Detaching after fork from child process 17217.
    232 defined(@array) is deprecated at /usr/local/bin/d10control.pl line 486.
    233         (Maybe you should just omit the defined()?)
    234 [Thread 0x7fffc67fc700 (LWP 17214) exited]
    235 2010-12-10 17:07:33.495 MainServer::ANN Monitor
    236 2010-12-10 17:07:33.495 adding: myth1.vtscrew.com as a client (events: 0)
    237 2010-12-10 17:07:33.496 MainServer::ANN Monitor
    238 2010-12-10 17:07:33.496 adding: myth1.vtscrew.com as a client (events: 1)
    239 [Thread 0x7fffc7fff700 (LWP 17215) exited]
    240 2010-12-10 17:07:34.262 Finished recording Fox 5 News at 5:00: channel 1005
    241 2010-12-10 17:07:34.266 LoadFromScheduler(): Error, called from backend.
    242 2010-12-10 17:07:34.268 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
    243 [New Thread 0x7fffc7fff700 (LWP 17223)]
    244 [New Thread 0x7fffc67fc700 (LWP 17224)]
    245 2010-12-10 17:07:34.297 Finished recording Fox 5 News at 5:00: channel 1005
    246 [Thread 0x7fffc6ffd700 (LWP 17210) exited]
    247 [Thread 0x7fffc4ff9700 (LWP 17209) exited]
    248 [Thread 0x7fffc5ffb700 (LWP 17211) exited]
    249 2010-12-10 17:07:36.901 TVRec(3): Changing from WatchingLiveTV to None
    250 2010-12-10 17:07:38.636 DevRdB(/dev/video0) Error: Poll giving up
    251 [Thread 0x7fffccff9700 (LWP 17200) exited]
    252 2010-12-10 17:07:38.640 MPEGRec(/dev/video0) Error: Device error detected
    253 2010-12-10 17:07:38.640 DevRdB(/dev/video0): Stop(): Not running.
    254 [New Thread 0x7fffc5ffb700 (LWP 17229)]
    255 2010-12-10 17:07:41.601 Finished recording Fox 5 News at 5:00: channel 1005
    256 [Thread 0x7fffc77fe700 (LWP 17199) exited]
    257 
    258 Program received signal SIGSEGV, Segmentation fault.
    259 [Switching to Thread 0x7fffc5ffb700 (LWP 17229)]
    260 0x000000307d06e17c in QMutex::lock (this=0x7fffec004080)
    261     at thread/qmutex.cpp:151
    262 151         if (d->recursive) {
    263 (gdb) backtrace
    264 #0  0x000000307d06e17c in QMutex::lock (this=0x7fffec004080)
    265     at thread/qmutex.cpp:151
    266 #1  0x0000003552ae3b32 in QMutexLocker (this=<value optimized out>)
    267     at /usr/include/QtCore/qmutex.h:102
    268 #2  DeviceReadBuffer::IsPauseRequested (this=<value optimized out>)
    269     at DeviceReadBuffer.cpp:198
    270 #3  0x0000003552ae3e0d in DeviceReadBuffer::HandlePausing (this=0x7fffec004060)
    271     at DeviceReadBuffer.cpp:311
    272 #4  0x0000003552ae5f02 in DeviceReadBuffer::fill_ringbuffer (this=
    273     0x7fffec004060) at DeviceReadBuffer.cpp:263
    274 #5  0x0000003552ae6479 in DeviceReadBuffer::boot_ringbuffer (
    275     arg=<value optimized out>) at DeviceReadBuffer.cpp:248
    276 #6  0x0000003456806d5b in start_thread () from /lib64/libpthread.so.0
    277 #7  0x00000034564e4aad in clone () from /lib64/libc.so.6
    278 (gdb) quit
     1Almost every other time I change channels in live TV, I get a segfault.  I'm running Fedora 14 x85_64, and a HD-PVR to record. [[BR]]
     2Backtrace attached.