<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54:23 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-12641] Memory leak of check_if_lustre_mounted() of e2fsprogs</title>
                <link>https://jira.whamcloud.com/browse/LU-12641</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;check_if_lustre_mounted() doesn&apos;t free the allocated memory if failure:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@server17 e2fsprogs_whamcloud.git]# valgrind --leak-check=full /root/lixi/e2fsck/e2fsprogs_whamcloud.git/e2fsck/e2fsck -v -f -tt -n /dev/sdl1 
==25501== Memcheck, a memory error detector
==25501== Copyright (C) 2002-2017, and GNU GPL&apos;d, by Julian Seward et al.
==25501== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==25501== Command: /root/lixi/e2fsck/e2fsprogs_whamcloud.git/e2fsck/e2fsck -v -f -tt -n /dev/sdl1
==25501== 
e2fsck 1.45.2.wc1 (27-May-2019)
Cannot resolve path /dev/sdl1
/root/lixi/e2fsck/e2fsprogs_whamcloud.git/e2fsck/e2fsck: No such file or directory while trying to open /dev/sdl1
Possibly non-existent device?
==25501== 
==25501== HEAP SUMMARY:
==25501==     in use at exit: 6,565 bytes in 39 blocks
==25501==   total heap usage: 155 allocs, 116 frees, 28,085 bytes allocated
==25501== 
==25501== 4,096 bytes in 1 blocks are definitely lost in loss record 26 of 26
==25501==    at 0x4C29BC3: malloc (vg_replace_malloc.c:299)
==25501==    by 0x452116: check_if_lustre_mounted (ismounted.c:520)
==25501==    by 0x452116: ext2fs_check_mount_point (ismounted.c:609)
==25501==    by 0x40FC12: check_mount (unix.c:235)
==25501==    by 0x40FC12: main (unix.c:1577)
==25501== 
==25501== LEAK SUMMARY:
==25501==    definitely lost: 4,096 bytes in 1 blocks
==25501==    indirectly lost: 0 bytes in 0 blocks
==25501==      possibly lost: 0 bytes in 0 blocks
==25501==    still reachable: 2,469 bytes in 38 blocks
==25501==         suppressed: 0 bytes in 0 blocks
==25501== Reachable blocks (those to which a pointer was found) are not shown.
==25501== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==25501== 
==25501== For counts of detected and suppressed errors, rerun with: -v
==25501== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[root@server17 e2fsprogs_whamcloud.git]# valgrind --leak-check=full /root/lixi/e2fsck/e2fsprogs_whamcloud.git/e2fsck/e2fsck -v -f -tt -n /dev/sdl1 ^C
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="56606">LU-12641</key>
            <summary>Memory leak of check_if_lustre_mounted() of e2fsprogs</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="lixi_wc">Li Xi</assignee>
                                    <reporter username="lixi_wc">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Aug 2019 08:59:48 +0000</created>
                <updated>Thu, 24 Sep 2020 07:33:05 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="252729" author="gerrit" created="Thu, 8 Aug 2019 09:13:14 +0000"  >&lt;p&gt;Li Xi (lixi@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35729&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35729&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12641&quot; title=&quot;Memory leak of check_if_lustre_mounted() of e2fsprogs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12641&quot;&gt;LU-12641&lt;/a&gt; libext2fs: memory leak of check_if_lustre_mounted&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f693e2ec0780d7f84797ca833b70f0d2144146a7&lt;/p&gt;</comment>
                            <comment id="280488" author="gerrit" created="Thu, 24 Sep 2020 07:33:05 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35729/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35729/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12641&quot; title=&quot;Memory leak of check_if_lustre_mounted() of e2fsprogs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12641&quot;&gt;LU-12641&lt;/a&gt; libext2fs: memory leak of check_if_lustre_mounted&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b31bf039cb8d54a6e39e8d1308e8418c7c6413a2&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00kvr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>