[mythtv-commits] Ticket #12299: Mysql error stoping listing view or show detail view

MythTV noreply at mythtv.org
Mon Aug 31 16:55:47 UTC 2015


#12299: Mysql error stoping listing view or show detail view
-----------------------------------+-----------------------------
 Reporter:  Christopher.holcomb@…  |          Owner:
     Type:  Bug Report - General   |         Status:  new
 Priority:  minor                  |      Milestone:  unknown
Component:  MythTV - General       |        Version:  Unspecified
 Severity:  medium                 |     Resolution:
 Keywords:                         |  Ticket locked:  0
-----------------------------------+-----------------------------

Comment (by swan_1_@…):

 I get the same crash:

     datetime:  2015-08-31 09:40:33 (PDT)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: SQL Error: Table './mythconverg/credits' is
 marked as crashed and last (automatic?) repair failed [#144]!!
     filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
   error line:  79

 ==========================================================================

 Backtrace:

     file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
     line:  79
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => SQL Error: Table './mythconverg/credits' is marked as crashed
 and last (automatic?) repair failed [#144]
     [1] => 256
 )

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  261
    class:  Database_Query_mysql
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array ( )
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/includes/programs.php
     line:  140
    class:  Database
 function:  query
     type:  ->
     args:  Array
 (
     [0] => SELECT program.*,
                          UNIX_TIMESTAMP(program.starttime) AS
 starttime_unix,
                          UNIX_TIMESTAMP(program.endtime) AS endtime_unix,
                          IFNULL(programrating.system, "") AS rater,
                          IFNULL(programrating.rating, "") AS rating,
                          channel.callsign,
                          channel.channum
                   FROM program USE INDEX (id_start_end)
                        LEFT JOIN programrating USING (chanid, starttime)
                        LEFT JOIN channel ON program.chanid =
 channel.chanid
                        LEFT JOIN credits ON (program.chanid =
 credits.chanid AND program.starttime = credits.starttime)
                        LEFT JOIN people ON (credits.person =
 people.person)
                  WHERE program.chanid='1002' AND (program.endtime >
 FROM_UNIXTIME('1441036800') AND program.starttime <
 FROM_UNIXTIME('1441047600') AND program.starttime != program.endtime)
 GROUP BY channel.callsign, program.chanid, program.starttime ORDER BY
 program.starttime
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/classes/Channel.php
     line:  154
    class:
 function:  load_all_program_data
     type:
     args:  Array
 (
     [0] => 1441036800
     [1] => 1441047600
     [2] => 1002
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php
     line:  101
    class:  Channel
 function:  display_programs
     type:  ->
     args:  Array
 (
     [0] => 1441036800
     [1] => 1441047600
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/list.php
     line:  43
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/handler.php
     line:  82
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/list.php
 )

     file:  /usr/share/mythtv/mythweb/mythweb.php
     line:  35
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/handler.php
 )


 ==========================================================================

 $_POST: Array
 (
     [ajax] => true
     [time] => 1441036800
 )

 ==========================================================================

 $_SESSION: Array
 (
     [cache_engine] => Cache_Null
     [stream] => Array
         (
             [include_user_and_password] =>
         )

     [prefer_channum] => 1
     [recorded_pixmaps] => 1
     [guide_favonly] =>
     [timeslot_size] => 300
     [num_time_slots] => 36
     [timeslot_blocks] => 3
     [timeslotbar_skip] => 20
     [max_stars] => 4
     [star_character] => ★
     [show_popup_info] => 1
     [show_channel_icons] => 1
     [sortby_channum] => 1
     [recorded_paging] =>
     [genre_colors] => 1
     [show_video_covers] => 1
     [settings] => Array
         (
             [screens] => Array
                 (
                     [tv] => Array
                         (
                             [upcoming recordings] => Array
                                 (
                                     [title] => on
                                     [channel] => on
                                     [record date] => on
                                     [length] => on
                                 )

                         )

                 )

         )

     [backend] => Array
         (
             [192.168.10.12] => Array
                 (
                     [proto_version] => Array
                         (
                             [last_check_version] => 77
                             [last_check_time] => 1441039232
                         )

                 )

             [timezone] => Array
                 (
                     [value] => America/Los_Angeles
                     [last_check_time] => 1441039232
                 )

         )

     [language] => English
     [date_statusbar] => %a %b %e, %Y, %I:%M %p
     [date_scheduled] => %a %b %e, %Y (%I:%M %p)
     [date_scheduled_popup] => %a %b %e, %Y
     [date_recorded] => %a %b %e, %Y (%I:%M %p)
     [date_search] => %a %b %e, %Y, %I:%M %p
     [date_listing_key] => %a %b %e, %Y, %I:%M %p
     [date_listing_jump] => %a %b %e, %Y
     [date_channel_jump] => %a %b %e, %Y
     [date_job_status] => %a %b %e, %Y, %I:%M %p
     [time_format] => %I:%M %p
     [tv] => Array
         (
             [last] => Array
                 (
                     [0] => list
                 )

         )

     [list_time] => 1441036800
 )

 ==========================================================================

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [HTTP_HOST] => 192.168.10.12
     [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64; rv:26.0)
 Gecko/20100101 Firefox/26.0
     [HTTP_ACCEPT] => text/javascript, text/html, application/xml,
 text/xml, */*
     [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
     [HTTP_ACCEPT_ENCODING] => gzip, deflate
     [HTTP_DNT] => 1
     [HTTP_X_REQUESTED_WITH] => XMLHttpRequest
     [HTTP_X_PROTOTYPE_VERSION] => 1.6.0.3
     [CONTENT_TYPE] => application/x-www-form-urlencoded; charset=UTF-8
     [HTTP_REFERER] => http://192.168.10.12/mythweb/tv/list
     [CONTENT_LENGTH] => 25
     [HTTP_COOKIE] => mythweb_id=km80fvr6gavqb4u36flctamvn1
     [HTTP_CONNECTION] => keep-alive
     [HTTP_PRAGMA] => no-cache
     [HTTP_CACHE_CONTROL] => no-cache
     [PATH] => /usr/local/bin:/usr/bin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.2.22 (Ubuntu) Server at
 192.168.10.12 Port 80</address>

     [SERVER_SOFTWARE] => Apache/2.2.22 (Ubuntu)
     [SERVER_NAME] => 192.168.10.12
     [SERVER_ADDR] => 192.168.10.12
     [SERVER_PORT] => 80
     [REMOTE_ADDR] => 192.168.10.14
     [DOCUMENT_ROOT] => /var/www
     [SERVER_ADMIN] => webmaster at localhost
     [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
     [REMOTE_PORT] => 54392
     [REDIRECT_URL] => /mythweb/tv/list
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_PROTOCOL] => HTTP/1.1
     [REQUEST_METHOD] => POST
     [QUERY_STRING] =>
     [REQUEST_URI] => /tv/list
     [SCRIPT_NAME] => /mythweb/mythweb.php
     [PATH_INFO] => /tv/list
     [PATH_TRANSLATED] => /var/www/tv/list
     [PHP_SELF] => /mythweb/mythweb.php/tv/list
     [REQUEST_TIME] => 1441039233
     [STATUS] => 200
     [URL] => /mythweb/tv/list
     [HTTP_PORT] => 80
 )

 ==========================================================================

 $constant_list["user"]: Array
 (
     [ERROR] => 512
     [E_ASSERT_ERROR] => 4096
     [FATAL] => 256
     [PHP_MIN_VERSION] => 5.3
     [WARNING] => 1024
     [WebDBSchemaVer] => 4
     [dupsin_all] => 15
     [dupsin_newepisodes] => 16
     [dupsin_oldrecorded] => 2
     [dupsin_recorded] => 1
     [error_email] =>
     [gb] => 1073741824
     [hostname] => mythBackend
     [http_host] => 192.168.10.12
     [kb] => 1024
     [max_stars] => 4
     [mb] => 1048576
     [module] => tv
     [modules_path] => /usr/share/mythtv/mythweb/modules
     [num_time_slots] => 36
     [prefer_channum] => 1
     [rectype_always] => 4
     [rectype_daily] => 2
     [rectype_dontrec] => 8
     [rectype_findone] => 6
     [rectype_once] => 1
     [rectype_override] => 7
     [rectype_template] => 11
     [rectype_weekly] => 5
     [root] => /mythweb/
     [root_auth_url] => http://192.168.10.12/mythweb/
     [root_url] => http://192.168.10.12/mythweb/
     [searchtype_keyword] => 3
     [searchtype_manual] => 5
     [searchtype_people] => 4
     [searchtype_power] => 1
     [searchtype_title] => 2
     [skin] => default
     [skin_img_url] => http://192.168.10.12/mythweb/skins/default/img/
     [skin_url] => http://192.168.10.12/mythweb/skins/default/
     [star_character] => ★
     [stream_url] => http://192.168.10.12:80//mythweb/
     [tb] => 1099511627776
     [timeslot_blocks] => 3
     [timeslot_size] => 300
     [timeslotbar_skip] => 20
     [tmpl] => default
     [tmpl_dir] => modules/tv/tmpl/default/
 )

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12299#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list