Chet Ramey schrieb:
Bernd Eggink wrote:
Version: GNU bash, Version 4.0.17(1)-release (i686-pc-linux-gnu)
(plus newline-shellmeta patch).

A script which uses, among other things, 3 associative arrays and a
coprocess, crashes reproducibly with an allocation error:

   malloc: hashlib.c:306: assertion botched
   free: called with unallocated block argument
   Abbruch...
   Program received signal SIGABRT, Aborted.
   0xffffe424 in __kernel_vsyscall ()

Appended is a stack trace. Hope it helps.

Unfortunately not much.  If you could post a portion of the script that
reproduces the error, that would be better.

Well, (un)fortunately after a reboot the crash no longer happens. Maybe the memory had been corrupted by some other program (possibly lftp, which I used as a co-process).

Bernd

--
Bernd Eggink
http://sudrala.de


Reply via email to