<?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>2664</bug_id>
          
          <creation_ts>2012-06-27 02:30:59 +0000</creation_ts>
          <short_desc>icu 3.6: do_install failed: Segmentation fault (tmpdir length)</short_desc>
          <delta_ts>2012-07-06 03:33:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(QA testing completed) Done</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          <blocked>2434</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>zhenfeng.zhao</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>22613</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-06-27 02:30:59 +0000</bug_when>
    <thetext>There is a &quot;Segmentation fault&quot; error when the tmpdir is longer than 470 (or less), this is because it used &quot;char cmd[1024]&quot; which is not enough for the command line. Allocate a larger memory size should fix this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22769</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-07-04 01:22:00 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6d96686ddd29831e6b320c9f494123d32e462163
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7449260c75c9d67ac501cf6a8c5311a13c22ac78</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22862</commentid>
    <comment_count>2</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-06 03:33:42 +0000</bug_when>
    <thetext>in builddir &quot;/home/yocto/test_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yoco/test_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto_yocto&quot;(path length of dir equals 470 characters),run &quot;bitbake icu&quot;,no error happened during build:

...
NOTE: Running task 910 of 963 (ID: 2, /buildarea/poky.ubuntu.new/meta/recipes-support/icu/icu_3.6.bb, do_install)
NOTE: package icu-3.6-r9: task do_install: Started
NOTE: package db-5.3.15-r7: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 911 of 963 (ID: 561, /buildarea/poky.ubuntu.new/meta/recipes-support/db/db_5.3.15.bb, do_package_write)
NOTE: package icu-3.6-r9: task do_install: Succeeded
NOTE: Running task 912 of 963 (ID: 8, /buildarea/poky.ubuntu.new/meta/recipes-support/icu/icu_3.6.bb, do_package)
...
NOTE: Running noexec task 961 of 963 (ID: 176, /buildarea/poky.ubuntu.new/meta/recipes-core/eglibc/eglibc_2.15.bb, do_package_write)
NOTE: package perl-5.14.2-r8: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 962 of 963 (ID: 230, /buildarea/poky.ubuntu.new/meta/recipes-devtools/perl/perl_5.14.2.bb, do_package_write)
NOTE: Running noexec task 963 of 963 (ID: 9, /buildarea/poky.ubuntu.new/meta/recipes-support/icu/icu_3.6.bb, do_build)
NOTE: Tasks Summary: Attempted 963 tasks of which 603 didn&apos;t need to be rerun and all succeeded.

Summary: There were 2 WARNING messages shown.

verified on :
git info:3051f3644496ab570f3c6fb8f5def9d5843b1508
git branch:poky/master

test env : 
host :Fedora 17 x86_64
linux kernel: 3.4.3-1.fc17.x86_64 #1 SMP</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>