[Magic-dev] Re: Magic problem with MacOSX 10.5

David Fang fang at csl.cornell.edu
Thu Jan 24 12:54:56 EST 2008


>> Program received signal EXC_BAD_ACCESS, Could not access memory.
>> Reason: KERN_INVALID_ADDRESS at address: 0x732e2050
>> 0x0059a49c in XDefaultColormap ()
>
> This is, I think, the third email I've gotten about this problem, two
> related to Magic and one to XCircuit.  The problem seems not to be
> the Magic or XCircuit code itself, but the calls to X11 colormap
> functions.  This problem seems to have started cropping up with
> OS-X 10.5 as people attempt to compile directly.  Previously, I
> think everyone compiled using "fink", although with my lack of
> knowledge about Mac OS-X, I don't know any of the details.

Hi,

I last packaged up magic 7.1 and 7.4 for fink about a year ago, but only 
tested 7.1 more against various Mac architectures and OS releases, while 
7.4 only got minimal packaging testing.  (I don't know how many out there 
have actually tested the 7.4 packaging in the unstable tree, so there may 
be issues, though I've receive no reports, positive or negative.)  I don't 
have a 10.5 machine handy, so I might not get around to it until I get one 
(and have some time on my hands).  I do know that X11's code base has 
shifted to Xorg's 7.2 from xfree86's R6.8, and has had a bit of a rough 
start.  Perhaps check the archives or ask around on the 
"x11-users at lists.apple.com" mailing list for X11 issues.

> What I understand about this particular problem is that OS-X
> crashes immediately on calls such as XDefaultColormap(),
> XInstallColormap(), and XAllocNamedColor().  In the last
> function listed, used in XCircuit, the colormap is retrieved from
> Tk_Colormap(), which returns a low-integer value (like, say, 4).
> This is very unlike colormap values used by X11, which tend to
> be addresses in upper memory spaced converted to an integer.
> That is not necessarily wrong, but it's really the only thing I
> can find that is remotely unusual in the stack traces.

Fang

David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
 	-- (2400 baud? Netscape 3.0?? lynx??? No problem!)



More information about the magic-dev mailing list