Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#11688 closed Bug Report - Memory Leak (fixed)
Rapid memory consumption with running myth commands with --help
Reported by: | Owned by: | Raymond Wagner | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - General | Version: | 0.26 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
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
Change History (5)
Note: See
TracTickets for help on using
tickets.
Could you describe the circumstances a bit more? The only scenario I can find that might produce this issue is when your console is too narrow to actually display the command line arguments without wrapping, much less the help text.