Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 02:00:54 +0200
From:      =?ISO-8859-1?Q?Marcus_M=FCller?= <znek@mulle-kybernetik.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        znek@FreeBSD.ORG
Subject:   Pointer please
Message-ID:  <27DDB356-F790-11D7-9174-003065838A88@mulle-kybernetik.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm currently facing a non-trivial problem with the current Objective-C 
runtime on FreeBSD 5.1-CURRENT. The problem popped up when trying to 
create a native port of OGo (http://www.opengroupware.org) to FreeBSD. 
Specifically, certain returned memory should be nil (0), but in fact is 
0xd0d0d0d0.

I don't know what this pattern stands for, could that be some memory 
marked as being freed previously? I grepped the FreeBSD 5.1-CURRENT 
sources but the only valid code reference I came across that seems to 
deal with the same kind of problem is in 
/usr/src/sys/geom/geom_subr.c:514:

KASSERT(cp != (void*)0xd0d0d0d0, ("ARGH!"));

I have no idea what this is all about, I can only guess that it has to 
do with previously freed memory. Any hint (or pointer to a better 
suited mailing list) is appreciated.

TIA,

   Marcus

-- 
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27DDB356-F790-11D7-9174-003065838A88>