Re: [BUG] Segmentation fault when copy symlink with checked "Stable Symlinks"



On Tue, 2005-09-13 at 10:44 +0300, Pavel Tsekov wrote:
> Hello,
> 
> On Tue, 13 Sep 2005, Jindrich Novy wrote:
> 
> > > 1. Create "mc" directory
> > > 2. Change directory to "mc"
> > > 3. Create ".eDonkey2000" directory
> > > 4. Create ".overnet" symlink pointing to ".eDonkey2000"
> > > 5. Copy ".overnet" symlink to "/tmp" BUT check "Stable Symlinks" in copy
> > > dialog.
> > > 6. Watch mc crash
> > >
> > > If you want more info, just write :)
> >
> > I cannot reproduce it either on i386 or x86_64 box. My mc doesn't crash
> > even if I have "Stable Symlinks" checked or not.
> >
> > rpm -q mc
> > mc-4.6.1a-0.11.FC4
> >
> > Some special setup is needed? Do you see this only on your machine or
> > have you reproduced it on some other machine as well?
> 
> Doesn't seem so - see below:
> 
> My setup: FC3 + MC from latest cvs
> 
> [ptsekov baba-meca mc]$ ls -la
> total 52
> drwxrwxr-x   3 ptsekov ptsekov  4096 Sep 13 10:38 .
> drwxr-xrwt  16 ptsekov ptsekov 40960 Sep 13 10:38 ..
> drwxrwxr-x   2 ptsekov ptsekov  4096 Sep 13 10:36 .eDonkey2000
> lrwxrwxrwx   1 ptsekov ptsekov    12 Sep 13 10:38 .overnet -> .eDonkey2000

Yes, it crashes only with relative symlinks. When the symlink is created
from within mc, the symlink is absolute so mc won't crash. Now I see the
segfault.

Marcin, could you please file a bug in bugzilla.redhat.com? The patch is
comming soon.

Thanks,
Jindrich

-- 
Jindrich Novy <jnovy redhat com>, http://people.redhat.com/jnovy/
(o_                                                           _o)
//\      The worst evil in the world is refusal to think.     //\
V_/_                                                         _\_V





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