zsh-workers
 help / color / mirror / code / Atom feed
* zsh on IRIX 6.1
@ 1996-03-20 21:33 Jan Martin
  1996-03-21 21:41 ` Zoltan Hidvegi
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Martin @ 1996-03-20 21:33 UTC (permalink / raw)
  To: zsh-workers

Zsh experts:

We have an SGI Power Challenge running IRIX 6.1 and I've built zsh
for it.  It seems to run fine, and I've been using it right along,
but it does have one quirk:

auroch% ./zsh
~/zsh-2.6-beta13-hzoli13/Src
auroch% print $ZSH_VERSION
2.6-beta13-hzoli13
auroch% set
zsh: bus error (core dumped)  ./zsh

This error also occurs in version 2.6-beta10, but not on our other
SGIs running IRIX 5.3.  I have a feeling the problem could be related
to the fact that 6.1 is a 64-bit operating system with 64-bit pointers
while 5.3 is still 32-bit, but the compiler doesn't seem to complain
about any mismatch of pointers to ints, as happened with an earlier
version of zsh.

I compiled zsh with -g in order to at least do a trace from the core
file, and this is what I got:
auroch% dbx zsh core
dbx version 6.1 Jun 28 1995 19:55:35
Core from signal SIGBUS: Bus error
(dbx) where
>  0 intvargetfn(pm = 0x100b6d10)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/params.c":1197, 0x10056bfc]
   1 printparamnode(hn = 0x100b6d10, printflags = 0)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/hashtable.c":977,
0x1003aee4]
   2 scanhashtable(ht = 0x100cc4a8, sorted = 1, flags1 = 0, flags2 = 0,
scanfunc = 0x1003ac08, scanflags = 0)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/hashtable.c":265,
0x10038bb8]
   3 bin_set(name = 0x100cd668 = "set", argv = 0x100cd830, ops =
0xffffffa930 = "", func = 0)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/builtin.c":320, 0x10013478]
   4 execbuiltin(args = 0x100cd7b8, bn = 0x100b90f0)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/builtin.c":227, 0x100130a4]
   5 execcmd(cmd = 0x100cd788, input = 0, output = 0, how = 2, last1 =
0) ["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/exec.c":1563,
0x1002d3e0]
   6 execpline2(pline = 0x100cd800, how = 2, input = 0, output = 0,
last1 = 0) ["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/exec.c":804,
0x1002a1a0]
   7 execpline(l = 0x100cd768, how = 2, last1 = 0)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/exec.c":653, 0x10029784]
   8 execlist(list = 0x100cd818, exiting = 0)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/exec.c":551, 0x10029274]
   9 loop(toplevel = 1)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/init.c":122, 0x1004133c]
   10 main(argc = 1, argv = 0xffffffae98)
["/usr/users/jmm/zsh-2.6-beta13-hzoli13/Src/init.c":73, 0x100410f4]
   11 __start()
["/maui/6.1-jun28/work/irix/lib/libc/libc_64_M4/csu/crt1text.s":155,
0x1001259c]

I really don't know anything about how zsh works, so I'm hoping that
one of the gurus here can either see the problem, or suggest
some things to try to resolve this.  Thanks.

-jmm


-- 
**********************************************************
 Jan M. Martin                  Jet Propulsion Laboratory
 jmm@herakles.jpl.nasa.gov      M/S 300-235
**********************************************************



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

* Re: zsh on IRIX 6.1
  1996-03-20 21:33 zsh on IRIX 6.1 Jan Martin
@ 1996-03-21 21:41 ` Zoltan Hidvegi
  1996-03-21 23:22   ` Jan Martin
  0 siblings, 1 reply; 3+ messages in thread
From: Zoltan Hidvegi @ 1996-03-21 21:41 UTC (permalink / raw)
  To: Jan Martin; +Cc: zsh-workers

[-- Attachment #1: Type: application/pgp, Size: 3042 bytes --]

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

* Re: zsh on IRIX 6.1
  1996-03-21 21:41 ` Zoltan Hidvegi
@ 1996-03-21 23:22   ` Jan Martin
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Martin @ 1996-03-21 23:22 UTC (permalink / raw)
  To: Zoltan Hidvegi, zsh-workers

Zoltan,

The patch fixes the problem - "set" no longer crashes zsh!
I am one happy camper, thank you very much.

You know, this is another really good reason to go with zsh:  the
community is so helpful when you run into a problem.

-jmm

-- 
**********************************************************
 Jan M. Martin                  Jet Propulsion Laboratory
 jmm@herakles.jpl.nasa.gov      M/S 300-235
**********************************************************



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

end of thread, other threads:[~1996-03-21 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-20 21:33 zsh on IRIX 6.1 Jan Martin
1996-03-21 21:41 ` Zoltan Hidvegi
1996-03-21 23:22   ` Jan Martin

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).