<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:22 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-1294] Segmentation fault running lfsck</title>
                <link>https://jira.whamcloud.com/browse/LU-1294</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/59343d1e-8207-11e1-9c84-525400d2bfa6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/59343d1e-8207-11e1-9c84-525400d2bfa6&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;lfsck hit a segmentation fault after printing an invalid argument message.  It appears that the &quot;ostdb-7&quot; file is cut off, but that may just be due to the way the output is logged.&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;lfsck -c -l --mdsdb /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/mdsdb --ostdb /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-0 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-1 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-2 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-3 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-4 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-5 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-6 /mnt/lustre
06:03:09:lfsck 1.41.90.wc4 (01-Sep-2011)
06:03:10:/home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/mdsdb:mdshdr
06:03:10:: Invalid argument
06:03:10:/usr/lib64/lustre/tests/test-framework.sh: line 2772:  8975 Segmentation fault      lfsck -c -l --mdsdb /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/mdsdb --ostdb /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-0 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-1 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-2 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-3 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-4 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-5 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-6 /mnt/lustre
06:03:10: lfsck : @@@@@@ FAIL: lfsck -c -l --mdsdb /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/mdsdb --ostdb  /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-0 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-1 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-2 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-3 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-4 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-5 /home/autotest/shared_dir/2012-04-07/230543-7f46bd3a7040/ostdb-6 /mnt/lustre returned 139, should be &amp;lt;= 1 
06:03:11:Dumping lctl log to /logdir/test_logs/2012-04-07/lustre-master-el6-x86_64-el5-x86_64__479__-7f46bd3a7040/lfsck..*.1333879390.log
06:03:15:lfsck returned 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* jenkins-arch=x86_64,build_type=server,distro=el6,ib_stack=inkern (x86_64)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* jenkins-arch=x86_64,build_type=client,distro=el5,ib_stack=inkern (x86_64)</environment>
        <key id="13918">LU-1294</key>
            <summary>Segmentation fault running lfsck</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="sarah">Sarah Liu</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Apr 2012 16:14:01 +0000</created>
                <updated>Tue, 10 Apr 2012 12:35:31 +0000</updated>
                            <resolved>Mon, 9 Apr 2012 23:55:28 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="34302" author="adilger" created="Mon, 9 Apr 2012 16:15:45 +0000"  >&lt;p&gt;TT-487 is to track automated collection of core dumps, but until that is finished this test needs to be run by hand and a core file attached to this bug and/or run lfsck under gdb and collect the stack trace.&lt;/p&gt;</comment>
                            <comment id="34303" author="adilger" created="Mon, 9 Apr 2012 16:19:31 +0000"  >&lt;p&gt;The client and server are running different versions - RHEL5 on the client and RHEL6 on the server.  This may be the root cause of the problem, since db4 is not a very portable database format.  Typically this is not a problem for lfsck, since the databases are only useful for a very short time.&lt;/p&gt;</comment>
                            <comment id="34304" author="pjones" created="Mon, 9 Apr 2012 16:22:40 +0000"  >&lt;p&gt;Sarah&lt;/p&gt;

&lt;p&gt;Could you please try and reproduce this failure and gather fuller data?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="34349" author="pjones" created="Mon, 9 Apr 2012 23:55:28 +0000"  >&lt;p&gt;duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1096&quot; title=&quot;Test failure on test suite lfsck,Segmentation fault&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1096&quot;&gt;&lt;del&gt;LU-1096&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="34417" author="sarah" created="Tue, 10 Apr 2012 12:35:31 +0000"  >&lt;p&gt;(gdb) run -c -l --mdsdb /scratch/mdsdb --ostdb /scratch/ostdb-0 /mnt/lustre&lt;br/&gt;
Starting program: /usr/sbin/lfsck -c -l --mdsdb /scratch/mdsdb --ostdb /scratch/ostdb-0 /mnt/lustre&lt;br/&gt;
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Thread debugging using libthread_db enabled&amp;#93;&lt;/span&gt;&lt;br/&gt;
lfsck 1.41.90.wc4 (01-Sep-2011)&lt;br/&gt;
/scratch/mdsdb:mdshdr&lt;br/&gt;
: Invalid argument&lt;/p&gt;

&lt;p&gt;Program received signal SIGSEGV, Segmentation fault.&lt;br/&gt;
0x0000003d9e478480 in strlen () from /lib64/libc.so.6&lt;br/&gt;
(gdb) bt&lt;br/&gt;
#0  0x0000003d9e478480 in strlen () from /lib64/libc.so.6&lt;br/&gt;
#1  0x0000003d9e446aae in vfprintf () from /lib64/libc.so.6&lt;br/&gt;
#2  0x0000003d9e4e6ae7 in __vfprintf_chk () from /lib64/libc.so.6&lt;br/&gt;
#3  0x0000000000403dd9 in log_write (fmt=0x40f950 &quot;%s: error opening mds_hdr in %s: rc %d\n&quot;) at lfsck.c:231&lt;br/&gt;
#4  0x0000000000406038 in lfsck_run_checks () at lfsck.c:1849&lt;br/&gt;
#5  0x00000000004061d7 in main (argc=8, argv=0x7fffffffe918) at lfsck.c:2077&lt;br/&gt;
(gdb) &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzvh3r:</customfieldvalue>

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