Re: What could cause this to fail under MallocScribble?
Re: What could cause this to fail under MallocScribble?
- Subject: Re: What could cause this to fail under MallocScribble?
- From: Jens Alfke <email@hidden>
- Date: Tue, 17 Jun 2008 14:37:22 -0700
On 17 Jun '08, at 1:23 PM, Sean McBride wrote:
It does? I thought that was the distinction between MallocScribble
and MallocPreScribble.
I did too, until yesterday. I normally run with both on, but in
tracking down this problem I first turned off MallocPreScribble, and
it continued to happen until after I turned off MallocScribble too.
(I've just filed rdar://6016065 on this.)
Here's proof:
^C
Program received signal SIGINT, Interrupt.
0x964ac4a6 in mach_msg_trap ()
(gdb) show env
MANPATH=/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/
X11/man
TERM_PROGRAM=Apple_Terminal
HOST=jens.local
TERM=xterm-color
SHELL=/bin/csh
TMPDIR=/var/folders/eQ/eQy-pw4fFaaNhZnnR45KOE+++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-U19BzG/Render
TERM_PROGRAM_VERSION=240
EMAIL_ADDRESS=email@hidden
GROUP=staff
USER=snej
COMMAND_MODE=unix2003
HOSTTYPE=intel-pc
SSH_AUTH_SOCK=/tmp/launch-DvXX1D/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
LSCOLORS=xafxcxdxhxegedabagacad
PATH=/opt/local/bin:/bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/
Users/snej/bin:/sbin:/bin:/usr/sbin:/usr/bin
PWD=/Hack/Cloudy
EDITOR=/usr/bin/pico
LANG=en_US.UTF-8
SHLVL=1
HOME=/Users/snej
OSTYPE=darwin
VENDOR=apple
PYTHONPATH=/Users/snej/lib/python
MACHTYPE=i386
LOGNAME=snej
CVS_RSH=ssh
DISPLAY=/tmp/launch-gvaBPa/:0
RUBYOPT=rubygems
SECURITYSESSIONID=d2fa20
LINES=45
COLUMNS=97
MallocScribble=1
(gdb) print (void*)malloc(20)
$1 = (void *) 0xd940f70
(gdb) x/8x $1
0xd940f70: 0xaaaaaaaa 0xaaaaaaaa 0xaaaaaaaa 0xaaaaaaaa
0xd940f80: 0xaaaaaaaa 0x55555555 0x55555555 0x00025555
(gdb)
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden