On 10/16/06, Philip Ganchev <[EMAIL PROTECTED]> wrote:
> On 10/15/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
> > On 10/14/06, Philip Ganchev <[EMAIL PROTECTED]> wrote:
> [...]
> > > Rename all config files.
> > > Start an xterm running Bash ``xterm -e bash &``.
> > > Install released version 1.21.12.
> > > Kill all fish and fishd instances.
> > > Change to the darcs directory.
> > > Start any version of fish.
> > > You get an endlss loop and the output:
> > > connection reset by peer
> > > connection reset by peer
> >
> > Can't reproduce.
>
> It seems to be caused by fishd (darcs version) having trouble reading
> file ~/.fishd-* .  If the file is removed or a daemon is already
> running, Fish (either version) starts normally.  If the file exists,
> fishd goes into a loop, regardless whether the file is completely
> empty (crated by ``touch''), or contains just header comments (created
> when ``fishd'' exits having no universal variables at all), or
> contains all the usual ``set'' commands.

Can the darcs version of fishd read it's own .fishd-* file? (I.e. if
you start darcs-fishd with no .fishd-* file, can it be restarted
without hanging?)

What access rights does the .fishd-* file have?

What files is the fishd-process reading? (This can be seen using 'll
/proc/(echo %fishd)/fd')

If you replace the line

#define FISHD_CMD L"if which fishd 2>/dev/null >/dev/null; fishd
^/tmp/fishd.log.%s; end"

with

#define FISHD_CMD L"if which fishd 2>/dev/null >/dev/null; strace
fishd ^/tmp/fishd.log.%s; end"

in env.c, and then recomplie fish and install the new fish version,
exit _all_ old fish shells (this is important), and restart fishd,
what does the /tmp/fishd.log.HOSTNAME look like? (This may cause fish
to enter an infinite loop with output, so be careful to avoid filling
your disk)

>
> It happens on clean install from a freshly pulled darcs directory.
> /usr/local/share/fish, /usr/local/etc/fish*  and ~/.fish* had been
> removed.
>
> Maybe you can't reproduce it because you are doing something different
> with .fishd.* ?  The only other explanation that I can find is that
> the version you have in the darcs is different than what Martin and I
> have.  Puzzling...

I've created a copy of the darcs repo using 'darcs get', that should
give me exactly the same code you and Martin use, as far as I can see.

>
>
> > > From anywhere else, you get the following printed
> > >
> > > fish: Warning: The directory ./bin has been removed from your PATH
> > > because it does not exist
> > > fish: Warning: The directory /tools has been removed from your PATH
> > > because it does not exist
> > > Welcome to fish, the friendly interactive shell
> > > Type help for instructions on how to use fish
> > > [EMAIL PROTECTED] ~/s/fish>
> >
> > Can't reproduce.
>
> This is not a bug.  The "fish" config file tries to set the path,
> because we removed the file ~/.fishd.* which records the value of the
> universal variable "PATH".
>

Oh, ok.

>
> > > Now install the darcs version.
> > > From the directory of the old version, you get the warning messages above.
> > > From anywhere else, you get an endless loop.
> > >
> > > Once it printed the following lines endlessly, but now I can't reproduce 
> > > this.
> > >
> > > mbrtowc: Invalid or incomplete multibyte or wide character
> > > �AAl4A0[4AܚAA�ؚ�<[EMAIL PROTECTED]' variable afterܚAjd0A8<W0A,AA8
> > >
> >
> > Can't reproduce.
> >
> > >
> > > The endless loop while trying to delete a word occurs while running
> > > the darcs version (and the released config files).
> > >
> > > fish> echo hello.bye<Alt+Backslace>
> > >
> > > endless loop
> >
> > Can't reproduce.
> >
> [...]
>
> Oops, I meant
>
> fish> echo hello.bye<Alt+Backspace><Alt+Backspace>
>
> It only happens if these are the first two invocations of
> "backward-kill-word".  In other words, start fish and type the above.

The fix for this and for the '.<Alt-backspace><space>' crash are in
the darcs tree. Hopefully, this also takes care of one of Martins
bugs.

-- 
Axel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to