Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

new completion and dynamic loading weirdness



I have been using dynamic modules on ReliantUNIX for quite a bit without any
problems. Suddenly, whent trying to test new competion, I got absolutely
weird behaviour:

bor@itsrm2:/tools/src/zsh-3.1.5-pws-9/Functions/Completion%> zsh -f
itsrm2% setopt extendedglob
itsrm2% fpath=( $PWD )
itsrm2% source init
itsrm2% cd <TAB>zsh: illegal hardware instruction (core dumped)  zsh -f
bor@itsrm2:/tools/src/zsh-3.1.5-pws-9/Functions/Completion%> dbx =zsh
dbx V2.4A00 SINIX (Oct 12 1998)
Copyright (C) Siemens AG 1998
Base:   BSD, Copyright (C) The Regents of the University of California
All rights reserved
No Key Diskette found: running as `dbx-lite'.
reading symbolic information ...
warning: debuggee has no source information
64bit dbx - 64bit program
warning: libg.a is missing
Type 'help' for help
(dbx64) where
_r_debug_state() at 0x802d380
_rtld() at 0x802ed04
_rt_setup() at 0x80316b0
_rt_boot() at 0x80282ac
(dbx64)

It happens on both 5.43 and 5.44 in 32 or 64 bit mode.The error differs (bus
error, seg fault etc). Statically linked zsh is fine.

The stack is of no use. It suggests, that zsh tries to run startup code
(_rt_boot & co are part of /usr/lib/libc.so.1) - but why? And what has it to
do with new completion?

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author