[mythtv-commits] Ticket #11688: Rapid memory consumption with running myth commands with --help

MythTV noreply at mythtv.org
Wed Jul 17 02:03:13 UTC 2013


#11688: Rapid memory consumption with running myth commands with --help
--------------------------------------+--------------------------
 Reporter:  dancy@…                   |          Owner:  wagnerrp
     Type:  Bug Report - Memory Leak  |         Status:  assigned
 Priority:  minor                     |      Milestone:  unknown
Component:  MythTV - General          |        Version:  0.26
 Severity:  medium                    |     Resolution:
 Keywords:                            |  Ticket locked:  0
--------------------------------------+--------------------------
Description changed by wagnerrp:

Old description:

> For example, running "mythutil --help" results in no output but free
> memory on the system rapidly drops until I kill the process.  If I run
> under gdb and control-c after a while, the backtrace is:
>
> (gdb) bt
> #0  0x000000303b6c19ee in QString::mid(int, int) const () from
> /lib64/libQtCore.so.4
> #1  0x0000003046ef9b51 in wrapList(QStringList&, int) () from
> /lib64/libmythbase-0.26.so.0
> #2  0x0000003046f28c75 in CommandLineArg::GetHelpString(int, QString,
> bool) const () from /lib64/libmythbase-0.26.so.0
> #3  0x0000003046f34712 in MythCommandLineParser::GetHelpString() const ()
> from /lib64/libmythbase-0.26.so.0
> #4  0x0000003046f34d80 in MythCommandLineParser::PrintHelp() const ()
> from /lib64/libmythbase-0.26.so.0
> #5  0x0000000000405ca5 in main (argc=2, argv=<optimized out>) at
> main.cpp:124

New description:

 For example, running "mythutil --help" results in no output but free
 memory on the system rapidly drops until I kill the process.  If I run
 under gdb and control-c after a while, the backtrace is:

 {{{
 (gdb) bt
 #0  0x000000303b6c19ee in QString::mid(int, int) const () from
 /lib64/libQtCore.so.4
 #1  0x0000003046ef9b51 in wrapList(QStringList&, int) () from
 /lib64/libmythbase-0.26.so.0
 #2  0x0000003046f28c75 in CommandLineArg::GetHelpString(int, QString,
 bool) const () from /lib64/libmythbase-0.26.so.0
 #3  0x0000003046f34712 in MythCommandLineParser::GetHelpString() const ()
 from /lib64/libmythbase-0.26.so.0
 #4  0x0000003046f34d80 in MythCommandLineParser::PrintHelp() const () from
 /lib64/libmythbase-0.26.so.0
 #5  0x0000000000405ca5 in main (argc=2, argv=<optimized out>) at
 main.cpp:124
 }}}

--

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


More information about the mythtv-commits mailing list