zsh-workers
 help / color / mirror / code / Atom feed
From: Andreas Pistoor <andreas.pistoor@db.com>
To: zsh-workers@sunsite.dk
Subject: Wrong build on SunOS 5.8 or bug in zsh?
Date: Wed, 27 Jul 2005 13:58:16 +0200	[thread overview]
Message-ID: <42E776D8.80906@db.com> (raw)

Hello,
we switched from ksh to zsh, when our main application was ported from
AIX on ppc to Linux/Gnu on ia32. Later we introduced zsh-only-code into
our scripts and ported our application for a new customer to SunOS 5.8
on sparc.
On Linux, AIX and our develop-SunOS the zsh works fine, but on our
SunOS-production-machines some long running scripts, which starts many
subjobs and waits for them, get from time to time a signal SIGBUS (or
maybe SIGILL or SIGSEGV, I am not sure about older events). Sometimes
this signal was resent while the zsh was in the code to buffer a
previous signal in its internal list, resulting in overflowing this list
and locking the shell. At other times, the signal was traped and resent
while trying to exit the shell in that trap, also locking the shell. The
last time, now without the traps on that signals, a subshell called by
$( ... ) exited.
In production, at most nights 5 such longrunning scripts are running and
around once in a month such a signal is recieved.
As we can not reproduce the problem on our development machine, I ask,
whether you have some knowledge about problems of the zsh on SunOS and
Sparc. We are now using zsh-4.2.5 which were compiled with gcc-3.3.2 and
configure-options --enable-libs=/usr/local/lib/libiconv.so
--prefix=$PWD//usr.
To check for heap-problems, I tried bcheck (a script on top of RTC, a
runtimechecker of the heap, of the Sun-compiler and -debugger), which
told, it would disable the errorchecking, as there was an internal RTC
error in memmap.c and some lock was broken in malloc.c, and own
testroutines as malloc, realloc, calloc and free, which did not found
problems.

Thank you for your time
Andreas Pistoor
Softwaredeveloper in Germany



             reply	other threads:[~2005-07-27 11:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27 11:58 Andreas Pistoor [this message]
2005-07-27 12:45 ` Peter Stephenson

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=42E776D8.80906@db.com \
    --to=andreas.pistoor@db.com \
    --cc=zsh-workers@sunsite.dk \
    /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).