<div><br></div><div dir="auto">Looking at it</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, 6 Jul 2021 at 13:35 Martin Sandsmark <<a href="mailto:bugzilla_noreply@kde.org">bugzilla_noreply@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><a href="https://bugs.kde.org/show_bug.cgi?id=439555" rel="noreferrer" target="_blank">https://bugs.kde.org/show_bug.cgi?id=439555</a><br>
<br>
            Bug ID: 439555<br>
           Summary: Memory leak in SSH manager.<br>
           Product: konsole<br>
           Version: master<br>
          Platform: Other<br>
                OS: Linux<br>
            Status: REPORTED<br>
          Severity: normal<br>
          Priority: NOR<br>
         Component: general<br>
          Assignee: <a href="mailto:konsole-devel@kde.org" target="_blank">konsole-devel@kde.org</a><br>
          Reporter: <a href="mailto:martin.sandsmark@kde.org" target="_blank">martin.sandsmark@kde.org</a><br>
  Target Milestone: ---<br>
<br>
Just build Konsole with -DECM_ENABLE_SANITIZERS=address, and then run and exit<br>
Konsole to reproduce.<br>
<br>
<br>
Indirect leak of 112 byte(s) in 1 object(s) allocated from:<br>
    #0 0x7f516ac71ca1 in operator new(unsigned long)<br>
/build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99<br>
    #1 0x7f5168713f64 in<br>
QRegularExpressionValidator::QRegularExpressionValidator(QObject*)<br>
(/usr/lib/libQt5Gui.so.5+0x4a3f64)<br>
    #2 0x7ffc806d906f  ([stack]+0x1e06f)<br>
<br>
Indirect leak of 96 byte(s) in 1 object(s) allocated from:<br>
    #0 0x7f516ac71ca1 in operator new(unsigned long)<br>
/build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99<br>
    #1 0x7f5168713525 in QValidator::QValidator(QObject*)<br>
(/usr/lib/libQt5Gui.so.5+0x4a3525)<br>
    #2 0x7f516009c8ec in<br>
SSHManagerPlugin::createWidgetsForMainWindow(Konsole::MainWindow*)<br>
../src/plugins/SSHManager/sshmanagerplugin.cpp:47<br>
    #3 0x7f516ab17629 in<br>
Konsole::IKonsolePlugin::addMainWindow(Konsole::MainWindow*)<br>
../src/pluginsystem/IKonsolePlugin.cpp:40<br>
    #4 0x7f516ab19ab7 in<br>
Konsole::PluginManager::registerMainWindow(Konsole::MainWindow*)<br>
../src/pluginsystem/PluginManager.cpp:57<br>
    #5 0x7f516aaa8208 in Konsole::Application::newMainWindow()<br>
../src/Application.cpp:170<br>
    #6 0x7f516aaae2c5 in Konsole::Application::processWindowArgs(bool&)<br>
../src/Application.cpp:428<br>
    #7 0x7f516aaa91e4 in Konsole::Application::newInstance()<br>
../src/Application.cpp:214<br>
    #8 0x564b716a75d2 in main ../src/main.cpp:204<br>
    #9 0x7f5167752b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)<br>
<br>
Indirect leak of 48 byte(s) in 1 object(s) allocated from:<br>
    #0 0x7f516ac71ca1 in operator new(unsigned long)<br>
/build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99<br>
    #1 0x7f5167dd8dc6 in QRegularExpression::QRegularExpression(QString const&,<br>
QFlags<QRegularExpression::PatternOption>) (/usr/lib/libQt5Core.so.5+0x16cdc6)<br>
<br>
Indirect leak of 48 byte(s) in 1 object(s) allocated from:<br>
    #0 0x7f516ac71ca1 in operator new(unsigned long)<br>
/build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99<br>
    #1 0x7f5167ddd157  (/usr/lib/libQt5Core.so.5+0x171157)<br>
<br>
Indirect leak of 24 byte(s) in 1 object(s) allocated from:<br>
    #0 0x7f516ac71ca1 in operator new(unsigned long)<br>
/build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99<br>
    #1 0x7f51600a4da3 in SSHManagerTreeWidget::SSHManagerTreeWidget(QWidget*)<br>
../src/plugins/SSHManager/sshmanagerpluginwidget.cpp:57<br>
    #2 0x7f516009c8ec in<br>
SSHManagerPlugin::createWidgetsForMainWindow(Konsole::MainWindow*)<br>
../src/plugins/SSHManager/sshmanagerplugin.cpp:47<br>
    #3 0x7f516ab17629 in<br>
Konsole::IKonsolePlugin::addMainWindow(Konsole::MainWindow*)<br>
../src/pluginsystem/IKonsolePlugin.cpp:40<br>
    #4 0x7f516ab19ab7 in<br>
Konsole::PluginManager::registerMainWindow(Konsole::MainWindow*)<br>
../src/pluginsystem/PluginManager.cpp:57<br>
    #5 0x7f516aaa8208 in Konsole::Application::newMainWindow()<br>
../src/Application.cpp:170<br>
    #6 0x7f516aaae2c5 in Konsole::Application::processWindowArgs(bool&)<br>
../src/Application.cpp:428<br>
    #7 0x7f516aaa91e4 in Konsole::Application::newInstance()<br>
../src/Application.cpp:214<br>
    #8 0x564b716a75d2 in main ../src/main.cpp:204<br>
    #9 0x7f5167752b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)<br>
<br>
Indirect leak of 16 byte(s) in 1 object(s) allocated from:<br>
    #0 0x7f516ac71ca1 in operator new(unsigned long)<br>
/build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99<br>
    #1 0x7f51600a4d29 in SSHManagerTreeWidget::SSHManagerTreeWidget(QWidget*)<br>
../src/plugins/SSHManager/sshmanagerpluginwidget.cpp:54<br>
    #2 0x7f516009c8ec in<br>
SSHManagerPlugin::createWidgetsForMainWindow(Konsole::MainWindow*)<br>
../src/plugins/SSHManager/sshmanagerplugin.cpp:47<br>
    #3 0x7f516ab17629 in<br>
Konsole::IKonsolePlugin::addMainWindow(Konsole::MainWindow*)<br>
../src/pluginsystem/IKonsolePlugin.cpp:40<br>
    #4 0x7f516ab19ab7 in<br>
Konsole::PluginManager::registerMainWindow(Konsole::MainWindow*)<br>
../src/pluginsystem/PluginManager.cpp:57<br>
    #5 0x7f516aaa8208 in Konsole::Application::newMainWindow()<br>
../src/Application.cpp:170<br>
    #6 0x7f516aaae2c5 in Konsole::Application::processWindowArgs(bool&)<br>
../src/Application.cpp:428<br>
    #7 0x7f516aaa91e4 in Konsole::Application::newInstance()<br>
../src/Application.cpp:214<br>
    #8 0x564b716a75d2 in main ../src/main.cpp:204<br>
    #9 0x7f5167752b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)<br>
<br>
-- <br>
You are receiving this mail because:<br>
You are the assignee for the bug.</blockquote></div></div>