Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 4.3.13 released
On Sat, Dec 03, 2011 at 07:44:42PM +0000, Peter Stephenson wrote:
> On Sat, 3 Dec 2011 20:19:25 +0100
> ports@xxxxxxxxxxxx wrote:
> > Running test: Check that loading a nonexistent module fails
> > **************************************
> > 0 successful test scripts, 1 failure, 0 skipped
> > **************************************
> >
> > The last test fails silently.
>
> So what does running "zmodload -i bogus/notamodule" by hand do?
zsh crashes..
% zmodload -i bogus/notamodule
Segmentation fault (core dumped)
$ gdb /usr/local/bin/zsh zsh.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.0"...
Core was generated by `zsh'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libpcre.so.2.5...done.
Loaded symbols for /usr/local/lib/libpcre.so.2.5
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/lib/libncursesw.so.12.1...done.
Loaded symbols for /usr/lib/libncursesw.so.12.1
Reading symbols from /usr/lib/libm.so.7.0...done.
Loaded symbols for /usr/lib/libm.so.7.0
Reading symbols from /usr/lib/libc.so.61.0...done.
Loaded symbols for /usr/lib/libc.so.61.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/zsh/4.3.13/zsh/zle.so...done.
Loaded symbols for /usr/local/lib/zsh/4.3.13/zsh/zle.so
Reading symbols from /usr/local/lib/zsh/4.3.13/zsh/complete.so...done.
Loaded symbols for /usr/local/lib/zsh/4.3.13/zsh/complete.so
Reading symbols from /usr/local/lib/zsh/4.3.13/zsh/zutil.so...done.
Loaded symbols for /usr/local/lib/zsh/4.3.13/zsh/zutil.so
Reading symbols from /usr/local/lib/zsh/4.3.13/zsh/parameter.so...done.
Loaded symbols for /usr/local/lib/zsh/4.3.13/zsh/parameter.so
Reading symbols from /usr/local/lib/zsh/4.3.13/zsh/computil.so...done.
Loaded symbols for /usr/local/lib/zsh/4.3.13/zsh/computil.so
#0 0x000000000048f5bc in metafy (buf=0x207a096d7 "File not found", len=14, heap=1) at utils.c:4006
4006 *e = '\0';
(gdb) bt
#0 0x000000000048f5bc in metafy (buf=0x207a096d7 "File not found", len=14, heap=1) at utils.c:4006
#1 0x0000000000456c53 in do_load_module (name=0x995240 "bogus/notamodule", silent=0) at module.c:1600
#2 0x000000000045786d in load_module (name=0x995240 "bogus/notamodule", enablesarr=0x0, silent=0) at module.c:2202
#3 0x000000000045821d in require_module (module=0x995240 "bogus/notamodule", features=0x0) at module.c:2335
#4 0x0000000000459acd in bin_zmodload_load (nam=0x995228 "zmodload", args=0x7f7ffffd3ff8, ops=0x7f7ffffd40d0) at module.c:2971
#5 0x0000000000458914 in bin_zmodload (nam=0x995228 "zmodload", args=0x7f7ffffd3ff8, ops=0x7f7ffffd40d0, func=0) at module.c:2486
#6 0x000000000040edb8 in execbuiltin (args=0x9951c8, bn=0x6a42e0) at builtin.c:450
#7 0x0000000000429a60 in execcmd (state=0x7f7ffffd46e0, input=0, output=0, how=18, last1=2) at exec.c:3208
#8 0x000000000042535e in execpline2 (state=0x7f7ffffd46e0, pcode=259, how=18, input=0, output=0, last1=0) at exec.c:1640
#9 0x00000000004248d1 in execpline (state=0x7f7ffffd46e0, slcode=5122, how=18, last1=0) at exec.c:1424
#10 0x0000000000424119 in execlist (state=0x7f7ffffd46e0, dont_change_job=0, exiting=0) at exec.c:1207
#11 0x0000000000423b6c in execode (p=0x995100, dont_change_job=0, exiting=0, context=0x597eb7 "toplevel") at exec.c:1028
#12 0x000000000043f587 in loop (toplevel=1, justonce=0) at init.c:185
#13 0x00000000004423d9 in zsh_main (argc=1, argv=0x7f7ffffd4830) at init.c:1528
#14 0x000000000040e19b in main (argc=1, argv=0x7f7ffffd4830) at ./main.c:93
(gdb)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author