zsh-workers
 help / color / mirror / code / Atom feed
From: ports@raveland.org
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: Zsh Hackers' List <zsh-workers@zsh.org>
Subject: Re: zsh 4.3.13 released
Date: Sat, 3 Dec 2011 23:19:54 +0100	[thread overview]
Message-ID: <20111203221953.GA18173@coredump.raveland.priv> (raw)
In-Reply-To: <20111203194442.29d2f2a7@pws-pc.ntlworld.com>

On Sat, Dec 03, 2011 at 07:44:42PM +0000, Peter Stephenson wrote:
> On Sat, 3 Dec 2011 20:19:25 +0100
> ports@raveland.org 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)


  reply	other threads:[~2011-12-03 22:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <15488.1322689558@pws-pc.ntlworld.com>
2011-12-01 12:27 ` Oliver Kiddle
2011-12-01 12:52   ` Peter Stephenson
2011-12-01 21:27     ` PATCH: test output pattern matching Peter Stephenson
2011-12-02 17:03       ` ports
2011-12-02 17:23         ` Peter Stephenson
2011-12-03 19:17           ` ports
2011-12-01 23:48     ` zsh 4.3.13 released Baptiste Daroussin
2011-12-02 13:34       ` Peter Stephenson
2011-12-02 23:06         ` Baptiste Daroussin
     [not found] ` <20111203191925.GB1294@coredump.raveland.priv>
2011-12-03 19:44   ` Peter Stephenson
2011-12-03 22:19     ` ports [this message]
2011-12-03 22:56       ` Peter Stephenson
2011-12-04 12:42         ` ports

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111203221953.GA18173@coredump.raveland.priv \
    --to=ports@raveland.org \
    --cc=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).