<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>1326</bug_id>
          
          <creation_ts>2002-09-29 13:54:26 +0400</creation_ts>
          <short_desc>strace hangs while tracing some programs</short_desc>
          <delta_ts>2003-08-25 15:18:33 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>strace</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="imz">vanyaz</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>ldv</cc>
    
    <cc>placeholder</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1249</commentid>
    <comment_count>0</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-09-29 13:54:26 +0400</bug_when>
    <thetext>For example, mozilla or some emacs packages build.
This applies to strace-4.4-alt3, strace-4.4-alt1 doesn\&apos;t hang.

---
strace -fF mozilla

The tail of the output is:

[pid 10083] read(11, \&amp;quot;\\0skin/modern/communicator/help.c\&amp;quot;..., 4038) = 571
[pid 10083] read(11, \&amp;quot;\&amp;quot;, 594)           = 0
[pid 10083] lseek(11, 230743, SEEK_SET) = 230743
[pid 10083] read(11, \&amp;quot;PK\\3\\4\\24\\0\\0\\0\\10\\0%\\241\\261,\\10nY\\365\\322\\6\\0\\0\\4\\33\&amp;quot;..., 30) = 30
[pid 10083] lseek(11, 230827, SEEK_SET) = 230827
[pid 10083] gettimeofday({1033292436, 684441}, NULL) = 0
[pid 10083] kill(10119, SIGRTMIN &amp;lt;unfinished ...&amp;gt;
[pid 10119] &amp;lt;... nanosleep resumed&amp;gt; 0)  = -1 EINTR (Interrupted system call)
[pid 10083] &amp;lt;... kill resumed&amp;gt; )        = 0
[pid 10119] --- SIGRTMIN (Real-time signal 0) @ 0 (0) ---


---
&lt;a href=&quot;http://www.altlinux.ru/pipermail/devel/2002-July/008599.html&quot;&gt;http://www.altlinux.ru/pipermail/devel/2002-July/008599.html&lt;/a&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4172</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-10-26 20:00:22 +0400</bug_when>
    <thetext>Uploaded testcase (for gcj):

class HelloWorld {
    public static void main (String args[]) {}
}

$ gcj test.java --main=HelloWorld -o test
$ strace -fF ./test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7537</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-10-26 20:00:22 +0400</bug_when>
    <thetext>Uploaded testcase (for gcj):

class HelloWorld {
    public static void main (String args[]) {}
}

$ gcj test.java --main=HelloWorld -o test
$ strace -fF ./test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4173</commentid>
    <comment_count>3</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-10-29 01:52:35 +0300</bug_when>
    <thetext>Rebuilding the following pkgs (buildreq x.spec &amp;amp;&amp;gt;err) hangs:

emacs-mode-auctex-11.11-alt4
apt-0.5-0.5.4cnc9-alt0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7538</commentid>
    <comment_count>4</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-10-29 01:52:35 +0300</bug_when>
    <thetext>Rebuilding the following pkgs (buildreq x.spec &amp;amp;&amp;gt;err) hangs:

emacs-mode-auctex-11.11-alt4
apt-0.5-0.5.4cnc9-alt0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4174</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-11-01 19:52:54 +0300</bug_when>
    <thetext>Fixed in strace-4.4-alt4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7539</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-11-01 19:52:54 +0300</bug_when>
    <thetext>Fixed in strace-4.4-alt4</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>126</attachid>
            <date>2002-10-26 19:56:11 +0400</date>
            <delta_ts>2002-10-26 19:56:11 +0400</delta_ts>
            <desc>0001326-void.java</desc>
            <filename>0001326-void.java</filename>
            <type>application/octet-stream</type>
            <size>148</size>
            <attacher name="imz">vanyaz</attacher>
            
              <data encoding="base64">LyoKCkhvdyB0byB1c2U6CgokIGdjaiB2b2lkLmphdmEgLS1tYWluPUhlbGxvV29ybGQgLW8gdm9p
ZAokIHN0cmFjZSAtZkYgLi92b2lkCgoqLwpjbGFzcyBIZWxsb1dvcmxkIHsKCXB1YmxpYyBzdGF0
aWMgdm9pZCBtYWluIChTdHJpbmcgYXJnc1tdKSB7fQp9Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>