bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#98071: marked as done (symlink to itself hangs)


From: Debian Bug Tracking System
Subject: Bug#98071: marked as done (symlink to itself hangs)
Date: Thu, 02 Aug 2001 13:15:05 -0500

Your message dated Thu, 2 Aug 2001 18:49:30 +0200
with message-id <20010802184930.D895@212.23.136.22>
and subject line old bug closed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 May 2001 00:38:08 +0000
>From marcus.brinkmann@ruhr-uni-bochum.de Sat May 19 19:38:08 2001
Return-path: <marcus.brinkmann@ruhr-uni-bochum.de>
Received: from (ulysses.g10code.de) [212.23.136.22] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 151HEV-0004xT-00; Sat, 19 May 2001 19:38:07 -0500
Received: from marcus by ulysses.g10code.de with local (Exim 3.16 #3 (Debian))
        id 151HCW-000529-00
        for <submit@bugs.debian.org>; Sun, 20 May 2001 02:36:04 +0200
Date: Sun, 20 May 2001 02:36:04 +0200
From: Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
To: submit@bugs.debian.org
Subject: symlink to itself hangs
Message-ID: <20010520023604.A215@212.23.136.22>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
User-Agent: Mutt/1.2i
Sender: Marcus Brinkmann <marcus@212.23.136.22>
X-BadReturnPath: marcus@212.23.136.22 rewritten as 
marcus.brinkmann@ruhr-uni-bochum.de
  using "From" header
Delivered-To: submit@bugs.debian.org

Package: hurd

Hi,

the following doesn't return:

$ cd /tmp
$ ln -s /tmp/x x
$ ls x

The variant "ln -s x x" does not show such errornous behaviour.
Filesystem is ext2fs. It is sufficient to do "ls".

Here is a backtrace:

Script started on Sun May 20 02:23:35 2001
marcus@ulysses:/tmp$ gdb /b=08 =08bin/ls 17841=0D
GNU gdb 5.0=0D
Copyright 2000 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-unknown-gnu0.2"...=0D
(no debugging symbols found)...=0D
/tmp/17841: No such file or directory.=0D
Attaching to program `/bin/ls', pid 17841=0D
Reading symbols from /lib/debug/libc.so.0.2...done.=0D
Loaded symbols for /lib/debug/libc.so.0.2=0D
Reading symbols from /lib/ld.so...done.=0D
Loaded symbols for /lib/ld.so=0D
Reading symbols from /lib/debug/libmachuser.so.1...done.=0D
Loaded symbols for /lib/debug/libmachuser.so.1=0D
Reading symbols from /lib/debug/libhurduser.so.0.0...done.=0D
Loaded symbols for /lib/debug/libhurduser.so.0.0=0D
[Switching to thread 17841.1]=0D
(gdb) bt full=0D
#0  0x105af11 in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:118=0D
        err =3D 0=0D
        ss =3D (struct hurd_sigstate *) 0x11aa808=0D
        user_option =3D 3=0D
        user_timeout =3D 0=0D
        m =3D (union msg *) 0x1020c28=0D
        msgh_bits =3D 5395=0D
        remote_port =3D 22=0D
        msgid =3D 20018=0D
        save_data =3D {i =3D {335546380, 795897204}}=0D
#1  0x119bfbb in __dir_lookup (start_dir=3D22, file_name=3D0x102165d "tmp/x=
", =0D
    flags=3D0, mode=3D0, do_retry=3D0x1021610, retry_name=3D0x102165c "/tmp=
/x", =0D
    result=3D0x1021a98)=0D
    at /mnt/marcus/gnu/hurd/glibc/glibc-2.2.2/i386-gnu/obj/hurd/RPC_dir_loo=
kup.c:183=0D
        flags =3D 0=0D
        do_retry =3D (retry_type *) 0x11aa808=0D
        result =3D (mach_port_t *) 0x0=0D
        Mess =3D {In =3D {Head =3D {msgh_bits =3D 2147488256, msgh_size =3D=
 1076, =0D
      msgh_remote_port =3D 0, msgh_local_port =3D 43, msgh_seqno =3D 241946=
, =0D
      msgh_id =3D 20118}, file_nameType =3D {msgt_name =3D 2, msgt_size =3D=
 32, =0D
      msgt_number =3D 1, msgt_inline =3D 1, msgt_longform =3D 0, =0D
      msgt_deallocate =3D 0, msgt_unused =3D 0}, =0D
    file_name =3D "\000\000\000\000\002 \001\020\003\000\000\000\f\b\000\02=
4/tmp/x---Type <return> to continue, or q <return> to quit---=0D
", '\000' <repeats 1001 times>, flagsType =3D {msgt_name =3D 2, msgt_size =
=3D 32, =0D
      msgt_number =3D 1, msgt_inline =3D 1, msgt_longform =3D 0, =0D
      msgt_deallocate =3D 0, msgt_unused =3D 0}, flags =3D 0, modeType =3D =
{=0D
      msgt_name =3D 2, msgt_size =3D 32, msgt_number =3D 1, msgt_inline =3D=
 1, =0D
      msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unused =3D 0}, mode =
=3D 0}, =0D
  Out =3D {Head =3D {msgh_bits =3D 2147488256, msgh_size =3D 1076, =0D
      msgh_remote_port =3D 0, msgh_local_port =3D 43, msgh_seqno =3D 241946=
, =0D
      msgh_id =3D 20118}, RetCodeType =3D {msgt_name =3D 2, msgt_size =3D 3=
2, =0D
      msgt_number =3D 1, msgt_inline =3D 1, msgt_longform =3D 0, =0D
      msgt_deallocate =3D 0, msgt_unused =3D 0}, RetCode =3D 0, do_retryTyp=
e =3D {=0D
      msgt_name =3D 2, msgt_size =3D 32, msgt_number =3D 1, msgt_inline =3D=
 1, =0D
      msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unused =3D 0}, =0D
    do_retry =3D FS_RETRY_MAGICAL, retry_nameType =3D {msgt_name =3D 12, =0D
      msgt_size =3D 8, msgt_number =3D 1024, msgt_inline =3D 1, msgt_longfo=
rm =3D 0, =0D
      msgt_deallocate =3D 0, msgt_unused =3D 0}, =0D
    retry_name =3D "/tmp/x", '\000' <repeats 1002 times>, "\002 \001\020\00=
0\000\000\000\002 \001\020\000\000\000", resultType =3D {msgt_name =3D 17, =
=0D
      msgt_size =3D 32, msgt_number =3D 1, msgt_inline =3D 1, msgt_longform=
 =3D 0, =0D
      msgt_deallocate =3D 0, msgt_unused =3D 0}, result =3D 0}}=0D
        OutP =3D (Reply *) 0x1020c28=0D
        msg_result =3D 0=0D
        msgh_simple =3D 0=0D
        msgh_size =3D 18524168=0D
        file_nameType =3D {msgt_name =3D 12, msgt_size =3D 8, msgt_number =
=3D 1024, =0D
---Type <return> to continue, or q <return> to quit---=0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
        flagsType =3D {msgt_name =3D 2, msgt_size =3D 32, msgt_number =3D 1=
, =0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
        modeType =3D {msgt_name =3D 2, msgt_size =3D 32, msgt_number =3D 1,=
 =0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
        RetCodeCheck =3D {msgt_name =3D 2, msgt_size =3D 32, msgt_number =
=3D 1, =0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
        do_retryCheck =3D {msgt_name =3D 2, msgt_size =3D 32, msgt_number =
=3D 1, =0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
        retry_nameCheck =3D {msgt_name =3D 12, msgt_size =3D 8, msgt_number=
 =3D 1024, =0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
        resultCheck =3D {msgt_name =3D 17, msgt_size =3D 32, msgt_number =
=3D 1, =0D
  msgt_inline =3D 1, msgt_longform =3D 0, msgt_deallocate =3D 0, msgt_unuse=
d =3D 0}=0D
#2  0x1047b18 in lookup_op (startdir=3D22) at hurdlookup.c:128=0D
        error =3D 0=0D
#3  0x1046b74 in _hurd_ports_use (which=3D1, operate=3D0x1021150) at hurdin=
it.c:42=0D
        port =3D (struct hurd_port *) 0x11a9f94=0D
        __p =3D (struct hurd_port *) 0x11a9f94=0D
        __link =3D {resource =3D {next =3D 0x0, prevp =3D 0x11a9f98}, threa=
d =3D {=0D
    next =3D 0x0, prevp =3D 0x11aac5c}, cleanup =3D 0x1065f3c <_hurd_port_c=
leanup>, =0D
  cleanup_data =3D 0x16}=0D
        __result =3D 0=0D
        which =3D 0=0D
#4  0x104830f in __hurd_file_name_lookup_retry (=0D
---Type <return> to continue, or q <return> to quit---=0D
    use_init_port=3D0x10469a0 <_hurd_ports_use>, =0D
    get_dtable_port=3D0x105e1e0 <__getdport>, lookup=3D0x119bf10 <__dir_loo=
kup>, =0D
    doretry=3DFS_RETRY_MAGICAL, retryname=3D0x102165c "/tmp/x", flags=3D0, =
mode=3D0, =0D
    result=3D0x1021a98) at hurdlookup.c:376=0D
        startdir =3D 0=0D
        dirport =3D 1=0D
        err =3D 0=0D
        file_name =3D 0x102165d "tmp/x"=0D
        nloops =3D 0=0D
#5  0x1047ab6 in __hurd_file_name_lookup (=0D
    use_init_port=3D0x10469a0 <_hurd_ports_use>, =0D
    get_dtable_port=3D0x105e1e0 <__getdport>, lookup=3D0x119bf10 <__dir_loo=
kup>, =0D
    file_name=3D0x80578e1 "tmp/x", flags=3D0, mode=3D0, result=3D0x1021a98)=
=0D
    at hurdlookup.c:97=0D
        err =3D 0=0D
        doretry =3D FS_RETRY_MAGICAL=0D
        retryname =3D "/tmp/x", '\000' <repeats 1017 times>=0D
        startport =3D 1=0D
#6  0x10485e9 in __file_name_lookup (file_name=3D0x80578e0 "/tmp/x", flags=
=3D0, =0D
    mode=3D0) at hurdlookup.c:514=0D
        err =3D 0=0D
        result =3D 0=0D
#7  0x1105be0 in __xstat (vers=3D0, file=3D0x80578e0 "/tmp/x", buf=3D0x1021=
b1c)=0D
    at ../sysdeps/mach/hurd/xstat.c:34=0D
---Type <return> to continue, or q <return> to quit---=0D
        err =3D EKERN_PROTECTION_FAILURE=0D
        port =3D 16915228=0D
#8  0x804b0e2 in strcpy () at ../sysdeps/generic/strcpy.c:31=0D
No symbol table info available.=0D
#9  0x8049822 in strcpy () at ../sysdeps/generic/strcpy.c:31=0D
No symbol table info available.=0D
#10 0x1067720 in __libc_start_main (main=3D0x8049658 <strcpy+480>, argc=3D2=
, =0D
    ubp_av=3D0x1021c30, =0D
    init=3D0x8049020 <_hurdsig_fault_exc_server_routines+116003704>, =0D
    fini=3D0x804f83c <__umoddi3+460>, rtld_fini=3D0xe6a0 <_dl_fini>, =0D
    stack_end=3D0x1021c2c) at ../sysdeps/generic/libc-start.c:129=0D
        fini =3D (void (*)()) 0x1021b1c=0D
        rtld_fini =3D (void (*)()) 0x1020b94=0D
        ubp_ev =3D (char **) 0x0=0D
(gdb) quit=0D
The program is running.  Quit anyway (and detach it)? (y or n) y=0D
Detaching from program `/bin/ls' pid 17841=0D
marcus@ulysses:/tmp$ exit=0D

Script done on Sun May 20 02:24:02 2001


---------------------------------------
Received: (at 98071-done) by bugs.debian.org; 2 Aug 2001 16:49:41 +0000
>From Marcus.Brinkmann@ruhr-uni-bochum.de Thu Aug 02 11:49:41 2001
Return-path: <Marcus.Brinkmann@ruhr-uni-bochum.de>
Received: from porta.u64.de [::ffff:194.77.88.106] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15SLfJ-00065D-00; Thu, 02 Aug 2001 11:49:41 -0500
Received: from (localhost) [212.23.136.22] (mail)
        by porta.u64.de with asmtp (Exim 3.12 #1 (Debian))
        id 15SM9W-0005ke-00; Thu, 02 Aug 2001 19:20:55 +0200
Received: from marcus by localhost with local (Exim 3.31 #1 (Debian))
        id 15SLf8-0000KT-00
        for <98071-done@bugs.debian.org>; Thu, 02 Aug 2001 18:49:30 +0200
Date: Thu, 2 Aug 2001 18:49:30 +0200
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: 98071-done@bugs.debian.org
Subject: old bug closed
Message-ID: <20010802184930.D895@212.23.136.22>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
Sender: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Delivered-To: 98071-done@bugs.debian.org

Hi,

symlink to itself doesn't crash anymore.

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]