<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:38 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-5918] (lcommon_misc.c:194:cl_put_grouplock()) ASSERTION( cg-&gt;cg_gid ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-5918</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Taking and releasing a group lock with group id 0 will crash the client. Works for any user.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-comment&quot;&gt;/* gcc -Wall grplock.c -o grplock -Ilustre/include -Ilibcfs/include */&lt;/span&gt;

#include &amp;lt;sys/types.h&amp;gt;
#include &amp;lt;sys/stat.h&amp;gt;
#include &amp;lt;fcntl.h&amp;gt;
#include &amp;lt;sys/ioctl.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;

#include &amp;lt;lustre/lustreapi.h&amp;gt;

&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; main(void)
{
	&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; fd;
	&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;char&lt;/span&gt; *dname = &lt;span class=&quot;code-quote&quot;&gt;&quot;/mnt/lustre/testfile&quot;&lt;/span&gt;;
	&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; rc;

	fd = open(dname, O_CREAT | O_RDWR, 0600);
	printf(&lt;span class=&quot;code-quote&quot;&gt;&quot;fd=%d\n&quot;&lt;/span&gt;, fd);

	rc = ioctl(fd, LL_IOC_GROUP_LOCK, 0);
	printf(&lt;span class=&quot;code-quote&quot;&gt;&quot;rc=%d %d\n&quot;&lt;/span&gt;, rc, errno);

	rc = ioctl(fd, LL_IOC_GROUP_UNLOCK, 0);
	printf(&lt;span class=&quot;code-quote&quot;&gt;&quot;rc=%d %d\n&quot;&lt;/span&gt;, rc, errno);

	&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;2 ways to fix, depending on whether group id 0 is special. Either reject the lock when group id is 0, or remove that assert.&lt;/p&gt;</description>
                <environment></environment>
        <key id="27587">LU-5918</key>
            <summary>(lcommon_misc.c:194:cl_put_grouplock()) ASSERTION( cg-&gt;cg_gid ) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Nov 2014 19:51:14 +0000</created>
                <updated>Fri, 14 Nov 2014 01:31:57 +0000</updated>
                            <resolved>Thu, 13 Nov 2014 20:07:59 +0000</resolved>
                                    <version>Lustre 2.5.1</version>
                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="99090" author="paf" created="Thu, 13 Nov 2014 19:55:05 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-5817&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-5817&lt;/a&gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="27347">LU-5817</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hzx0wf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16523</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>