zsh-workers
 help / color / mirror / code / Atom feed
* Re: More make check failure
@ 2000-05-30 10:36 Sven Wischnowsky
  2000-05-30 11:07 ` Andrej Borsenkow
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2000-05-30 10:36 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> This is different from reported recently. With current CVS:
> 
> *** /tmp/zsh.ztst.out.6420      Tue May 30 14:01:20 2000
> --- /tmp/zsh.ztst.tout.6420     Tue May 30 14:01:22 2000
> ***************
> *** 1,6 ****
>   line: {tst build.out}{}
>   COMPADD:{}
> ! line: {tst build.out}{}
>   COMPADD:{}
>   NO:{build.out}
>   NO:{build.out1}
> --- 1,6 ----
>   line: {tst build.out}{}
>   COMPADD:{}
> ! line: {tst build}{.out}
>   COMPADD:{}
>   NO:{build.out}
>   NO:{build.out1}

I tried 54 and it didn't fail for me and having just tried it again,
it still doesn't fail. Felix reported that he sometimes got the
misplaced cursor as in your output above. Damn.

How do you have configured the shell? With zsh's allocator? Secure
free? Memory debugging? Other debugging options?

And do you always get that failure? Do you get it with:

  compdef foo foo
  foo() {
    compadd -M 'm:{a-zA-Z}={A-Za-z} 
                r:|[.,_-]=* r:[^A-Z0-9]||[A-Z0-9]=*
                r:[A-Z0-9]||[^A-Z0-9]=*
                r:[^0-9]||[0-9]=* r:|=*' \
        build.out build.out1 build.out2
  }

and trying `foo bui<TAB><TAB><TAB>'? It should do the same as the
test, I'm just getting paranoid.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: More make check failure
  2000-05-30 10:36 More make check failure Sven Wischnowsky
@ 2000-05-30 11:07 ` Andrej Borsenkow
  0 siblings, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 2000-05-30 11:07 UTC (permalink / raw)
  To: Sven Wischnowsky, zsh-workers

> How do you have configured the shell? With zsh's allocator? Secure
> free? Memory debugging? Other debugging options?
>

bor@itsrm2% cat =zshconf
#!/tools/bin/zsh
LIBS=-lg

/tools/src/zsh/configure --prefix=/tools --enable-zsh-debug --enable-fun
ction-subdirs

Large integers and LFS are enabled and supported.

> And do you always get that failure?

Two times already at least.

Do you get it with:
>
>   compdef foo foo
>   foo() {
>     compadd -M 'm:{a-zA-Z}={A-Za-z}
>                 r:|[.,_-]=* r:[^A-Z0-9]||[A-Z0-9]=*
>                 r:[A-Z0-9]||[^A-Z0-9]=*
>                 r:[^0-9]||[0-9]=* r:|=*' \
>         build.out build.out1 build.out2
>   }
>
> and trying `foo bui<TAB><TAB><TAB>'? It should do the same as the
> test, I'm just getting paranoid.
>

I am not sure, what should I get:

bor@itsrm2% zsh -f
itsrm2% autoload compinit; compinit -D
itsrm2% {
cursh>   compdef foo foo
cursh>   foo() {
cursh function>     compadd -M 'm:{a-zA-Z}={A-Za-z}
cursh function quote>                 r:|[.,_-]=*
r:[^A-Z0-9]||[A-Z0-9]=*
cursh function quote>                 r:[A-Z0-9]||[^A-Z0-9]=*
cursh function quote>                 r:[^0-9]||[0-9]=* r:|=*' \
cursh function>         build.out build.out1 build.out2
cursh function>   }
cursh> }
itsrm2% foo build.out<CURSOR HERE>
build.out    build.out1   build.out2


-andrej


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: More make check failure
@ 2000-05-30 11:21 Sven Wischnowsky
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 2000-05-30 11:21 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> ...
> 
> I am not sure, what should I get:
> 
> bor@itsrm2% zsh -f
> itsrm2% autoload compinit; compinit -D
> itsrm2% {
> cursh>   compdef foo foo
> cursh>   foo() {
> cursh function>     compadd -M 'm:{a-zA-Z}={A-Za-z}
> cursh function quote>                 r:|[.,_-]=*
> r:[^A-Z0-9]||[A-Z0-9]=*
> cursh function quote>                 r:[A-Z0-9]||[^A-Z0-9]=*
> cursh function quote>                 r:[^0-9]||[0-9]=* r:|=*' \
> cursh function>         build.out build.out1 build.out2
> cursh function>   }
> cursh> }
> itsrm2% foo build.out<CURSOR HERE>
> build.out    build.out1   build.out2

You should get exactly that. In the test the cursor was placed after
the `build'.

Damn. I'm still pretty sure this has to do with some uninitialised
memory. But where?

But this should probably not keep us from releasing 3.1.7. If we don't 
want users to see this we could comment the test out. I'll keep it on
my list, although I fear I will never be able to reproduce it.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

* More make check failure
@ 2000-05-30 10:03 Andrej Borsenkow
  0 siblings, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 2000-05-30 10:03 UTC (permalink / raw)
  To: ZSH workers mailing list

This is different from reported recently. With current CVS:

*** /tmp/zsh.ztst.out.6420      Tue May 30 14:01:20 2000
--- /tmp/zsh.ztst.tout.6420     Tue May 30 14:01:22 2000
***************
*** 1,6 ****
  line: {tst build.out}{}
  COMPADD:{}
! line: {tst build.out}{}
  COMPADD:{}
  NO:{build.out}
  NO:{build.out1}
--- 1,6 ----
  line: {tst build.out}{}
  COMPADD:{}
! line: {tst build}{.out}
  COMPADD:{}
  NO:{build.out}
  NO:{build.out1}
Test /tools/src/zsh/Test/54compmatch.ztst failed: output differs from
expected as shown above for:
 workers_11081_matcher='m:{a-zA-Z}={A-Za-z} r:|[.,_-]=*
r:[^A-Z0-9]||[A-Z0-9]=* r:[A-Z0-9]||[^A-Z0-9]=* r:[^0-9]||[0-9]=* r:|=*'
 workers_11081_list=(build.out build.out1 build.out2)
 test_code $workers_11081_matcher workers_11081_list
 comptest $'tst bui\t\t\t'
Was testing: Bug from workers 11081
/tools/src/zsh/Test/54compmatch.ztst: test failed.
gmake[1]: *** [check] Error 1
gmake[1]: Leaving directory `/tools/src/zsh-build/Test'
gmake: *** [check] Error 2
bor@itsrm2%

-andrej

Have a nice DOS!
B >>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-30 11:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-30 10:36 More make check failure Sven Wischnowsky
2000-05-30 11:07 ` Andrej Borsenkow
  -- strict thread matches above, loose matches on Subject: below --
2000-05-30 11:21 Sven Wischnowsky
2000-05-30 10:03 Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).