[mythtv-commits] Ticket #11318: Segfault in mythbackend (mainserver/autoexpire?)

MythTV noreply at mythtv.org
Thu Jan 3 10:06:22 UTC 2013


#11318: Segfault in mythbackend (mainserver/autoexpire?)
--------------------------------+-----------------------------
 Reporter:  verycoldpenguin@…   |          Owner:  stuartm
     Type:  Bug Report - Crash  |         Status:  accepted
 Priority:  minor               |      Milestone:  0.26.1
Component:  MythTV - General    |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:                      |  Ticket locked:  0
--------------------------------+-----------------------------

Comment (by verycoldpenguin@…):

 Here is output (with patch2 incorporated). The information displayed is
 the number of lines entered into the strlist array, which is used to
 determine the filesystem info. The filesystem info is ordered information
 (directory, hostname, etc. etc.) one item per line. This means that 8
 lines should complete 1 record. For my system, the correct response for a
 running slave backend should be 48 items. 32 items occur if the backend
 was not contactable. The 81 demonstrates 11316 I believe.

 {{{
 [root at mythbackend mythtv]# grep CP ~/myth.output11 |grep Receiv |grep -v
 32 |grep -v 48 |grep -v 40
 2013-01-02 23:54:00.081976 I  CP2 Received 81
 2013-01-02 23:54:00.659425 I  CP2 Received 33
 2013-01-02 23:54:00.712997 I  CP2 Received 33
 2013-01-02 23:56:14.811641 I  CP2 Received 33
 2013-01-03 00:12:14.862054 I  CP2 Received 33
 2013-01-03 00:27:14.924176 I  CP2 Received 33
 2013-01-03 00:42:14.978151 I  CP2 Received 33
 2013-01-03 06:25:18.865077 I  CP2 Received 35
 2013-01-03 06:25:18.906438 I  CP2 Received 33
 2013-01-03 06:46:59.630590 I  CP2 Received 35
 2013-01-03 06:56:27.575800 I  CP2 Received 35
 2013-01-03 06:56:27.630194 I  CP2 Received 33
 2013-01-03 07:11:27.677304 I  CP2 Received 33

 }}}

 {{{
 2013-01-02 23:54:00.076160 I  AutoExpire: Cardid 2: is starting a
 recording on an unknown fsID soon.
 2013-01-02 23:54:00.076167 I  AutoExpire: CalcParams()
 2013-01-02 23:54:00.077625 I  Processing request for sock 79
 2013-01-02 23:54:00.077725 I  MythSocket(8be090:79): read  <- 79 82
 BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE ADD 13992 2013-01-02T23...
 2013-01-02 23:54:00.077755 I  PRW: command='BACKEND_MESSAGE'
 2013-01-02 23:54:00.077770 I  MythEvent: RECORDING_LIST_CHANGE ADD 13992
 2013-01-02T23:54:00Z
 2013-01-02 23:54:00.078130 I  CP Checking Storage group directories
 2013-01-02 23:54:00.078148 I  CP Start Query
 2013-01-02 23:54:00.078157 I  CP Query start size 0
 2013-01-02 23:54:00.078171 I  CP Directory /MythTV/LiveTV/
 2013-01-02 23:54:00.078210 I  CP Directory exists
 2013-01-02 23:54:00.078236 I  CP Leaving Query
 2013-01-02 23:54:00.078243 I  CP Start Query
 2013-01-02 23:54:00.078249 I  CP Query start size 8
 2013-01-02 23:54:00.078260 I  CP Directory /MythTV/fileserver/recordings/
 2013-01-02 23:54:00.078283 I  CP Directory exists
 2013-01-02 23:54:00.079002 I  CP Leaving Query
 2013-01-02 23:54:00.079016 I  CP Start Query
 2013-01-02 23:54:00.079024 I  CP Query start size 16
 2013-01-02 23:54:00.079037 I  CP Directory /MythTV/mythfe3/recordings/
 2013-01-02 23:54:00.079053 I  CP Directory doesn't exist
 2013-01-02 23:54:00.079059 I  CP Leaving Query
 2013-01-02 23:54:00.079064 I  CP Start Query
 2013-01-02 23:54:00.079069 I  CP Query start size 16
 2013-01-02 23:54:00.079078 I  CP Directory /MythTV/other/
 2013-01-02 23:54:00.079089 I  CP Directory exists
 2013-01-02 23:54:00.079107 I  CP Leaving Query
 2013-01-02 23:54:00.079113 I  CP Start Query
 2013-01-02 23:54:00.079119 I  CP Query start size 24
 2013-01-02 23:54:00.079127 I  CP Directory /MythTV/satelite/recordings/
 2013-01-02 23:54:00.079144 I  CP Directory exists
 2013-01-02 23:54:00.079613 I  CP Leaving Query
 2013-01-02 23:54:00.079642 I  CP start size 32
 2013-01-02 23:54:00.079704 I  MythSocket(8be090:79): write -> 79 16
 QUERY_FREE_SPACE
 2013-01-02 23:54:00.081823 I  MythSocket(8be090:79): read  <- 79 686
 BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE UPDATE[]:[]CSI: Crime S...
 2013-01-02 23:54:00.081884 E  MythSocket(8be090:79): Got MythEvent on non-
 event socket
 2013-01-02 23:54:00.081891 E  PlaybackSock::SendReceiveStringList(): No
 response.
 2013-01-02 23:54:00.081903 I  CP end size 81
 2013-01-02 23:54:00.081976 I  CP2 Received 81
 2013-01-02 23:54:00.081990 I  CP2Filesystem /MythTV/LiveTV
 2013-01-02 23:54:00.082001 I  CP2Hostname mythbackend.mydomain.com
 2013-01-02 23:54:00.082012 I  CP2Local 1
 2013-01-02 23:54:00.082022 I  CP2Filesystem /MythTV/fileserver/recordings
 2013-01-02 23:54:00.082027 I  CP2Hostname mythbackend.mydomain.com
 2013-01-02 23:54:00.082033 I  CP2Local 0
 2013-01-02 23:54:00.082040 I  CP2Filesystem /MythTV/other
 2013-01-02 23:54:00.082045 I  CP2Hostname mythbackend.mydomain.com
 2013-01-02 23:54:00.082050 I  CP2Local 1
 2013-01-02 23:54:00.082058 I  CP2Filesystem /MythTV/satelite/recordings
 2013-01-02 23:54:00.082068 I  CP2Hostname mythbackend.mydomain.com
 2013-01-02 23:54:00.082081 I  CP2Local 0
 2013-01-02 23:54:00.082097 I  CP2Filesystem RECORDING_LIST_CHANGE UPDATE
 2013-01-02 23:54:00.082107 I  CP2Hostname BACKEND_MESSAGE
 2013-01-02 23:54:00.082118 I  CP2Local 0
 2013-01-02 23:54:00.082128 I  CP2Filesystem 13992
 2013-01-02 23:54:00.082133 I  CP2Hostname Drama
 2013-01-02 23:54:00.082138 I  CP2Local 1
 2013-01-02 23:54:00.082146 I  CP2Filesystem 0
 2013-01-02 23:54:00.082150 I  CP2Hostname 1357174500
 2013-01-02 23:54:00.082156 I  CP2Local 0
 2013-01-02 23:54:00.082163 I  CP2Filesystem 0
 2013-01-02 23:54:00.082167 I  CP2Hostname 451
 2013-01-02 23:54:00.082173 I  CP2Local 1
 2013-01-02 23:54:00.082213 I  CP2Filesystem www.five.tv/r8is
 2013-01-02 23:54:00.082219 I  CP2Hostname
 2013-01-02 23:54:00.082226 I  CP2Local 0
 2013-01-02 23:54:00.082234 I  CP2Filesystem 0
 2013-01-02 23:54:00.082238 I  CP2Hostname 0
 2013-01-02 23:54:00.082244 I  CP2Local 0
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11318#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list