Custom Query (13436 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 13436)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#393 wontfix Memory leak in mythtranscode Isaac Richards kc0abd@…
Description

mythtranscode memory usage continue to grow untill it reaches 2 gbytes when the following commands are used:

mythtranscode --chanid 1007 --starttime 2005-09-21T20:00:00 --profile autodetect --fifodir . --showprogress --verbose all > transcode.log &

ffmpeg -f u16le -ar 2 -i audout -f rawvideo -s 640x480 -r 29.97 -i vidout -vcodec mpeg4 -b 2000 -acodec mp3 -ab 128 out.avi

the transcode.log file contains the following:

2005-09-28 09:13:23.203 allocating additonal buffer for : audio(23126) 2005-09-28 09:13:23.208 allocating additonal buffer for : audio(23127) 2005-09-28 09:13:23.228 allocating additonal buffer for : audio(23128) 2005-09-28 09:13:23.378 allocating additonal buffer for : audio(23129) 2005-09-28 09:13:23.524 allocating additonal buffer for : audio(23130) 2005-09-28 09:13:23.530 allocating additonal buffer for : audio(23131) 2005-09-28 09:13:23.549 allocating additonal buffer for : audio(23132) 2005-09-28 09:13:23.592 Processed: 103563 of 107790 frames(3455 seconds) 2005-09-28 09:13:23.593 Video timecode = 103560 2005-09-28 09:13:23.712 allocating additonal buffer for : audio(23133) 2005-09-28 09:13:23.730 allocating additonal buffer for : audio(23134) 2005-09-28 09:13:23.736 allocating additonal buffer for : audio(23135) 2005-09-28 09:13:23.911 allocating additonal buffer for : audio(23136) 2005-09-28 09:13:24.066 allocating additonal buffer for : audio(23137) 2005-09-28 09:13:24.072 allocating additonal buffer for : audio(23138) 2005-09-28 09:13:24.090 Video timecode = 103590 2005-09-28 09:13:24.095 allocating additonal buffer for : audio(23139) 2005-09-28 09:13:24.227 allocating additonal buffer for : audio(23140) 2005-09-28 09:13:24.250 allocating additonal buffer for : audio(23141) 2005-09-28 09:13:24.397 allocating additonal buffer for : audio(23142) 2005-09-28 09:13:24.403 allocating additonal buffer for : audio(23143) 2005-09-28 09:13:24.422 allocating additonal buffer for : audio(23144) 2005-09-28 09:13:24.571 allocating additonal buffer for : audio(23145) 2005-09-28 09:13:24.589 Video timecode = 103620 2005-09-28 09:13:24.702 allocating additonal buffer for : audio(23146) 2005-09-28 09:13:24.723 allocating additonal buffer for : audio(23147) 2005-09-28 09:13:24.729 allocating additonal buffer for : audio(23148) 2005-09-28 09:13:24.883 allocating additonal buffer for : audio(23149) 2005-09-28 09:13:25.077 allocating additonal buffer for : audio(23150) 2005-09-28 09:13:25.083 allocating additonal buffer for : audio(23151) 2005-09-28 09:13:25.103 Video timecode = 103650 2005-09-28 09:13:25.109 allocating additonal buffer for : audio(23152) 2005-09-28 09:13:25.282 allocating additonal buffer for : audio(23153) 2005-09-28 09:13:25.303 allocating additonal buffer for : audio(23154) abort

I have traced the memory leak to the following:

fifowrite.cpp

FIFOWrite::FIFOWrite

allocate memory in the following and is not being released

if (blocking) {

struct fifo_buf *tmpfifo; tmpfifo = fb_inptr[id]->next; fb_inptr[id]->next = new struct fifo_buf; fb_inptr[id]->next->data = new unsigned char[maxblksize[id]]; fb_inptr[id]->next->next = tmpfifo; QString msg = QString("allocating additonal buffer for : %1(%2)")

.arg(fbdesc[id]).arg(++fbcount[id]);

VERBOSE(VB_FILE, msg);

}

#13048 Invalid !!NoTrans: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002] buisson_eric@…
Description

I can't access to mythweb interface


    datetime:  2017-05-29 10:02:16 (CEST)
    errornum:  256
  error type:  User Error
error string:  !!NoTrans: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]

Backtrace
Array
(
    [0] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
            [line] => 65
            [function] => error
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]
                    [err] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array ( )
        )

    [1] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 263
            [function] => execute
            [class] => Database_Query_mysqlicompat
            [object] => Database_Query_mysqlicompat Object
                (
                    [dbh] => 
                    [query] => Array
                        (
                            [0] => SET SESSION sql_mode = "";
                        )

                    [last_query] => SET SESSION sql_mode = "";
                    [warnings] => Array ( )
                    [num_args_needed] => 0
                    [num_rows] => 
                    [affected_rows] => 
                    [insert_id] => 
                    [db] => Database_mysqlicompat Object
                        (
                            [dbh] => 
                            [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]
                            [err] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                            [errno] => 2002
                            [last_sh] => Database_Query_mysqlicompat Object
 *RECURSION*
                            [fatal_errors] => 1
                            [query_count] => 0
                            [query_time] => 0
                            [global_name] => 
                            [destruct_handlers] => Array ( )
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array ( )
                )

        )

    [2] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 124
            [function] => query
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]
                    [err] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SET SESSION sql_mode = "";
                )

        )

    [3] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/database.php
            [line] => 44
            [function] => connect
            [class] => Database
            [type] => ::
            [args] => Array
                (
                    [0] => mythconverg
                    [1] => mythtv
                    [2] => mythtv
                    [3] => localhost
                    [4] => 
                    [5] => mysqlicompat
                )

        )

    [4] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/init.php
            [line] => 43
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/database.php
                )

            [function] => require_once
        )

    [5] => Array
        (
            [file] => /usr/share/mythtv/mythweb/mythweb.php
            [line] => 20
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/init.php
                )

            [function] => require_once
        )

)
!!
    filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
  error line:  66

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

Backtrace: 

    file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
    line:  66
   class:  
function:  trigger_error
    type:  
    args:  Array
(
    [0] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]

Backtrace
Array
(
    [0] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
            [line] => 65
            [function] => error
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]
                    [err] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array ( )
        )

    [1] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 263
            [function] => execute
            [class] => Database_Query_mysqlicompat
            [object] => Database_Query_mysqlicompat Object
                (
                    [dbh] => 
                    [query] => Array
                        (
                            [0] => SET SESSION sql_mode = "";
                        )

                    [last_query] => SET SESSION sql_mode = "";
                    [warnings] => Array ( )
                    [num_args_needed] => 0
                    [num_rows] => 
                    [affected_rows] => 
                    [insert_id] => 
                    [db] => Database_mysqlicompat Object
                        (
                            [dbh] => 
                            [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]
                            [err] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                            [errno] => 2002
                            [last_sh] => Database_Query_mysqlicompat Object
 *RECURSION*
                            [fatal_errors] => 1
                            [query_count] => 0
                            [query_time] => 0
                            [global_name] => 
                            [destruct_handlers] => Array ( )
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array ( )
                )

        )

    [2] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 124
            [function] => query
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [#2002]
                    [err] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                    [errno] => 2002
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SET SESSION sql_mode = "";
                )

        )

    [3] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/database.php
            [line] => 44
            [function] => connect
            [class] => Database
            [type] => ::
            [args] => Array
                (
                    [0] => mythconverg
                    [1] => mythtv
                    [2] => mythtv
                    [3] => localhost
                    [4] => 
                    [5] => mysqlicompat
                )

        )

    [4] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/init.php
            [line] => 43
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/database.php
                )

            [function] => require_once
        )

    [5] => Array
        (
            [file] => /usr/share/mythtv/mythweb/mythweb.php
            [line] => 20
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/init.php
                )

            [function] => require_once
        )

)

    [1] => 256
)

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

    file:  /usr/share/mythtv/mythweb/classes/Database.php
    line:  124
   class:  Database
function:  query
    type:  ->
    args:  Array
(
    [0] => SET SESSION sql_mode = "";
)

    file:  /usr/share/mythtv/mythweb/includes/database.php
    line:  44
   class:  Database
function:  connect
    type:  ::
    args:  Array
(
    [0] => mythconverg
    [1] => mythtv
    [2] => mythtv
    [3] => localhost
    [4] => 
    [5] => mysqlicompat
)

    file:  /usr/share/mythtv/mythweb/includes/init.php
    line:  43
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/includes/database.php
)

    file:  /usr/share/mythtv/mythweb/mythweb.php
    line:  20
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/includes/init.php
)


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

$_SESSION: Array
(
    [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
)

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

$_SERVER: Array
(
    [REDIRECT_STATUS] => 200
    [db_server] => localhost
    [db_name] => mythconverg
    [db_login] => mythtv
    [db_password] => mythtv
    [HTTP_HOST] => 192.168.1.200
    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_COOKIE] => mythweb_id=e7lmapsqk41v02mqotrmervr13; treemediatombUI=d0%7Copen%3Bf0%7Copen%3Bf2f6d65646961%7Copen%3Bf2f6d656469612f6d757369717565%7Copen%3Bd9%7Copen%3Bd12%7Copen%3Bd122731%7Cclosed%3B; lastNodeDb=d197377; TYPE=db; lastNodeFs=f2f6d656469612f6d757369717565; SID=be1b1c0c182f10600082e6165e0bbd83; viewItems=100
    [HTTP_CONNECTION] => keep-alive
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.4.10 (Raspbian) Server at 192.168.1.200 Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.4.10 (Raspbian)
    [SERVER_NAME] => 192.168.1.200
    [SERVER_ADDR] => 192.168.1.200
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 192.168.1.15
    [DOCUMENT_ROOT] => /var/www/html
    [REQUEST_SCHEME] => http
    [CONTEXT_PREFIX] => /mythweb
    [CONTEXT_DOCUMENT_ROOT] => /usr/share/mythtv/mythweb
    [SERVER_ADMIN] => webmaster@localhost
    [SCRIPT_FILENAME] => /usr/share/mythtv/mythweb/mythweb.php
    [REMOTE_PORT] => 49632
    [REDIRECT_URL] => /mythweb/tv/list
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /tv/list
    [SCRIPT_NAME] => /mythweb/mythweb.php
    [PATH_INFO] => /tv/list
    [PATH_TRANSLATED] => /var/www/html/tv/list
    [PHP_SELF] => /mythweb/mythweb.php/tv/list
    [REQUEST_TIME_FLOAT] => 1496044936.676
    [REQUEST_TIME] => 1496044936
    [STATUS] => 200
    [URL] => /mythweb/tv/list
    [HTTP_X_FORWARDED_PROTO] => 
    [HTTPS] => 
    [HTTP_PORT] => 80
)

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

$constant_list["user"]: Array
(
    [ERROR] => 512
    [E_ASSERT_ERROR] => 4096
    [FATAL] => 256
    [PHP_MIN_VERSION] => 5.3
    [WARNING] => 1024
    [error_email] => 
    [gb] => 1073741824
    [hostname] => raspberrypi
    [http_host] => 192.168.1.200
    [kb] => 1024
    [mb] => 1048576
    [module] => tv
    [modules_path] => /usr/share/mythtv/mythweb/modules
    [root] => /mythweb/
    [root_auth_url] => http://192.168.1.200/mythweb/
    [root_url] => http://192.168.1.200/mythweb/
    [stream_url] => http://192.168.1.200:80//mythweb/
    [tb] => 1099511627776
)



#10421 Invalid !!NoTrans: Current database version of 3 is newer than the code base version 2!! Rob Smith themadwizard@…
Description

I recently updated both my MythTV and my MythWeb installations. Now MythWeb is completely hosed. Initially I had the issue reported in #9399, but I made a workaround for that. Now, when I go to I mythweb, I get this error:

'!NoTrans: Current database version of 3 is newer than the code base version 2!!'

I have no idea what this error means. I have attached the backtrace to this report. The tail of my apache error log returns:

[Thu Mar 08 22:38:06 2012] [error] [client 172.16.0.3] PHP Warning:  require(modules/_shared/tmpl/tmpl/footer.php): failed to open stream: No such file or directory in /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 47
[Thu Mar 08 22:38:06 2012] [error] [client 172.16.0.3] PHP Fatal error:  require(): Failed opening required 'modules/_shared/tmpl/tmpl/footer.php' (include_path='/usr/share/mythtv/mythweb/includes:.:/usr/share/php:/usr/share/pear') in /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 47

I am running:

Debian - Squeeze (AMD64)
mythtv (0.24.2-0.0squeeze1)
mythweb (0.24+fixes20111029-0.0squeeze1)
mysql> SHOW VARIABLES LIKE "%version%";
+-------------------------+-------------------+
| Variable_name           | Value             |
+-------------------------+-------------------+
| protocol_version        | 10                |
| version                 | 5.1.61-0+squeeze1 |
| version_comment         | (Debian)          |
| version_compile_machine | x86_64            |
| version_compile_os      | debian-linux-gnu  |
+-------------------------+-------------------+

I have attached the phpinfo report.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.