<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>939</bug_id>
          
          <creation_ts>2011-03-30 01:33:44 +0000</creation_ts>
          <short_desc>[LTP] case mq_timedsend01 runing failed</short_desc>
          <delta_ts>2011-04-18 01:21:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kunwei Tian">kunwei.tian</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>sgw</cc>
    
    <cc>xudong.hao</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13049</commentid>
    <comment_count>0</comment_count>
    <who name="Kunwei Tian">kunwei.tian</who>
    <bug_when>2011-03-30 01:33:44 +0000</bug_when>
    <thetext>=&gt;Testing Environment:    

  Qemux86 Sato-sdk
  Image from http://autobuilder03.jf.intel.com/nightly/20110318-2/machines/qemu/qemu86/
   poky commit information: 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45


=&gt;Bug Descript

  In Ltp test,case mq_timedsend01 of syscalls is failed.
  Host:x86
  Target:x86
  

=&gt;Reproduce Steps:

1.download ltp test suite from  http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20101031/ltp-full-20101031.bz2/download  to your host PC;
2.# cd to ltp-full-20101031;
3.# ./configure;
4.# make &amp;&amp; make install;
5.# then you find a folder named ltp in /opt;
6.# run qemux86 with &quot;&lt;-m 512&gt;&quot;;
7.# mkdir /opt;
8.# cp ltp folder to qemux86;
9.# cd ltp/testcases/bin;
10.# ./mq_timedsend01  

the following you can find on screen:

mq_timedsend01    0  TINFO  :  (case00) START
EXPECT: return value(ret)=(N &gt;= 0) errno=0 (Success)
RESULT: return value(ret)=       0 errno=0 (Success)
mq_timedsend01    0  TINFO  :  (case00) END =&gt; OK
mq_timedsend01    0  TINFO  :  (case01) START
EXPECT: return value(ret)=(N &gt;= 0) errno=0 (Success)
RESULT: return value(ret)=       0 errno=0 (Success)
mq_timedsend01    0  TINFO  :  (case01) END =&gt; OK
mq_timedsend01    0  TINFO  :  (case02) START
EXPECT: return value(ret)=(N &gt;= 0) errno=0 (Success)
RESULT: return value(ret)=       0 errno=0 (Success)
mq_timedsend01    0  TINFO  :  (case02) END =&gt; OK
mq_timedsend01    0  TINFO  :  (case03) START
EXPECT: return value(ret)=(N &gt;= 0) errno=0 (Success)
RESULT: return value(ret)=       0 errno=0 (Success)
mq_timedsend01    0  TINFO  :  (case03) END =&gt; OK
mq_timedsend01    0  TINFO  :  (case04) START
EXPECT: return value(ret)=-1 errno=90 (Message too long)
RESULT: return value(ret)=-1 errno=90 (Message too long)
*** stack smashing detected ***: ./mq_timedsend01 terminated
Aborted</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13057</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-30 07:52:47 +0000</bug_when>
    <thetext>Who&apos;s our LTP test suite maintainer ? This doesn&apos;t look like
a kernel issue, but more than likely a test case problem (the
stack smashing almost always indicates that).

A few questions:
  
  - has the version of LTP changes recently.
  - does this happen on other x86 targets
  - can we disable stack smashing detection and re-run ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13314</commentid>
    <comment_count>2</comment_count>
    <who name="Kunwei Tian">kunwei.tian</who>
    <bug_when>2011-04-18 01:14:00 +0000</bug_when>
    <thetext>  I found the ltp compiled without toolchain in that test. Tester compiled the ltp of target directly on host.
  If use toolchain to compile ltp of target, then every case running well.
  So mark this bug resolved as invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13315</commentid>
    <comment_count>3</comment_count>
    <who name="Kunwei Tian">kunwei.tian</who>
    <bug_when>2011-04-18 01:15:42 +0000</bug_when>
    <thetext>Verified it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13316</commentid>
    <comment_count>4</comment_count>
    <who name="Kunwei Tian">kunwei.tian</who>
    <bug_when>2011-04-18 01:21:02 +0000</bug_when>
    <thetext>Ltp download from
http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20101031/ltp-full-20101031.bz2/download

Ltp version:ltp-full-20101031</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>