bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Incorrect checksum for freed object - object was probably modified afte


From: Fredrik Noring
Subject: "Incorrect checksum for freed object - object was probably modified after being freed"
Date: Tue, 3 Mar 2009 09:31:41 +0100

Hi all,

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: darwin9.0
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' - DCONF_OSTYPE='dar\ win9.0' -DCONF_MACHTYPE='i386-apple-darwin9.0' -DCONF_VENDOR='apple' - DLOCALEDI\ R='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H - DMACOSX -I. \ -I/SourceCache/bash/bash-76.2/bash -I/SourceCache/bash/bash-76.2/bash/ include -\ I/SourceCache/bash/bash-76.2/bash/lib -I/SourceCache/bash/bash-76.2/ bash/lib/in\ tl -I/var/tmp/bash/bash-76.2~4/lib/intl -arch i386 -arch ppc -g -Os - pipe -no-\
cpp-precomp -mdynamic-no-pic -DM_UNIX -arch i386 -arch ppc -pipe
uname output: Darwin castafiore.roxen.com 9.6.0 Darwin Kernel Version 9.6.0: Mo\
n Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
Machine Type: i386-apple-darwin9.0

Bash Version: 3.2
Patch Level: 17
Release Status: release

Description:

I fiddled with the escape key and the arrow keys in some weird combination and bash simply crashed:

bash(8349) malloc: *** error for object 0x11c340: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug

Bash has never crashed on me like this so it's a one in a million thing, really. I've been unable to repeat it, unfortunately. Here's a GDB backtrace:

(gdb) bt
#0  0x96c4c445 in tiny_malloc_from_free_list ()
#1  0x96c4510d in szone_malloc ()
#2  0x96c45018 in malloc_zone_malloc ()
#3  0x96c44fac in malloc ()
#4  0x0003c4cf in ?? ()
#5  0x0002d53a in ?? ()
#6  0x0002d8dc in ?? ()
#7  0x00012af0 in ?? ()
#8  0x00003e95 in ?? ()
#9  0x00003ac7 in ?? ()
#10 0x00001aca in ?? ()

I also have a very old .inputrc file with some legacy things. I've been running with it for years without problems:

# do not bell on tab-completion
#set bell-style none

set meta-flag on
set input-meta on
set convert-meta off
set output-meta on

# Completed names which are symbolic links to
# directories have a slash appended.
set mark-symlinked-directories on

$if mode=emacs

# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word

# for rxvt
"\e[8~": end-of-line

# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif

All the best,
Fredrik

--
Fredrik Noring, Roxen Internet Software







reply via email to

[Prev in Thread] Current Thread [Next in Thread]