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

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

    <bug>
          <bug_id>14067</bug_id>
          
          <creation_ts>2008-01-17 20:51:52 +0300</creation_ts>
          <short_desc>relative crashed with segfault</short_desc>
          <delta_ts>2008-02-28 15:27:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir V. Kamarzin">vvk</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>evg</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61323</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2008-01-17 20:51:52 +0300</bug_when>
    <thetext>% rpm -q rpm-build
rpm-build-4.0.4-alt81

% uname -a
Linux home.vvk.pp.ru 2.6.18-ovz-smp-alt18 #1 SMP Mon Nov 5 18:41:36 MSK 2007
i686 GNU/Linux

% rpm -q glibc
glibc-2.5-alt5

Steps to Reproduce:
% relative
zsh: segmentation fault  relative</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61324</commentid>
    <comment_count>1</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2008-01-17 20:57:31 +0300</bug_when>
    <thetext>~$ rpm -q rpm-build                                                            
                                          
rpm-build-4.0.4-alt81
~$ uname -a                                                                    
                                          
Linux evg.krastel.ru 2.6.18-std-smp-alt10 #1 SMP Wed Dec 12 23:42:05 MSK 2007
i686 GNU/Linux
~$ rpm -q glibc                                                                
                                          
glibc-2.5.1-alt2
~$ strace relative                                                             
                                          
execve(&quot;/usr/bin/relative&quot;, [&quot;relative&quot;], [/* 88 vars */]) = 0
brk(0)                                  = 0x804a000
access(&quot;/etc/ld.so.preload&quot;, R_OK)      = -1 ENOENT (No such file or directory)
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61402, ...}) = 0
mmap2(NULL, 61402, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f37000
close(3)                                = 0
open(&quot;/lib/libc.so.6&quot;, O_RDONLY)        = 3
read(3, &quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000b\1\0004\0\0\0&quot;...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1208640, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f36000
mmap2(NULL, 1214724, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e0d000
mmap2(0xb7f30000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x123) = 0xb7f30000
mmap2(0xb7f33000, 10500, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f33000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e0c000
set_thread_area({entry_number:-1 -&gt; 6, base_addr:0xb7e0c6c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
mprotect(0xb7f30000, 4096, PROT_READ)   = 0
munmap(0xb7f37000, 61402)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 14395 detached
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61371</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-01-18 18:19:07 +0300</bug_when>
    <thetext>Fixed in
4.0.4-alt77.M40.1-18-gd534994
4.0.4-alt83-5-gf48ba77</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>