<table><tr><td style="">gregormi added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16341">View Revision</a></tr></table><br /><div><div><p>One thing about the memleak. I tried to find it just be running valgrind</p>
<p>valgrind --leak-check=yes kate</p>
<p>I got something like this:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">==6196== 2,018 (192 direct, 1,826 indirect) bytes in 4 blocks are definitely lost in loss record 7,067 of 7,126
==6196== at 0x4C2E04F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6196== by 0x720EF97: ??? (in /usr/lib64/libstdc++.so.6.0.25)
==6196== by 0x1ED10EA1: ??? (in /home/gregor/kde/usr/lib64/plugins/ktexteditor/tabswitcherplugin.so)
==6196== by 0x1ED1038A: ??? (in /home/gregor/kde/usr/lib64/plugins/ktexteditor/tabswitcherplugin.so)
==6196== by 0x1ED100DC: ??? (in /home/gregor/kde/usr/lib64/plugins/ktexteditor/tabswitcherplugin.so)
==6196== by 0x452322: ??? (in /home/gregor/kde/usr/bin/kate)
==6196== by 0x451FA9: ??? (in /home/gregor/kde/usr/bin/kate)</pre></div>
<p>I wonder why symbol names and line numbers are missing. I checked if debug_info is present:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="console" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span style="color: #000080">$ file /home/gregor/kde/usr/lib64/plugins/ktexteditor/tabswitcherplugin.so</span>
<span style="color: #808080">/home/gregor/kde/usr/lib64/plugins/ktexteditor/tabswitcherplugin.so: ELF 64-bit LSB pie executable x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=1797b5bed64b6cd245c08c927af421438b646d0c, with debug_info, not stripped</span>
<span style="color: #808080"></span>
<span style="color: #000080">$ file kate</span>
<span style="color: #808080">kate: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=0b925b6b1beed50b776eac581b7cb018e99063ae, with debug_info, not stripped</span></pre></div>
<p>Is there something else I can check to find out why symbols are not found?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16341">https://phabricator.kde.org/D16341</a></div></div><br /><div><strong>To: </strong>dhaumann, gregormi<br /><strong>Cc: </strong>kwrite-devel, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>