[Openmcl-devel] Error Running Currency Converter

Chris Van Dusen cavandusen at gmail.com
Wed Jul 30 17:26:21 UTC 2008


Mikel,

Running CurrencyConverter, I get this:

Error during early application initialization:

value #<A Dead Mac Pointer> is not of the expected type MACPTR.
? for help
[747] OpenMCL kernel debugger: ?
(G)  Set specified GPR to new value
(R)  Show raw GPR/SPR register values
(L)  Show Lisp values of tagged registers
(F)  Show FPU registers
(S)  Find and describe symbol matching specified name
(B)  Show backtrace
(T)  Show info about current thread
(X)  Exit from this debugger, asserting that any exception was handled
(P)  Propagate the exception to another handler (debugger or OS)
(K)  Kill OpenMCL process
(?)  Show this help
[747] OpenMCL kernel debugger:

Let me know if I can supply any more info.

Thanks,
Chris.

On Jul 29, 2008, at 2:18 AM, mikel evins wrote:

>
> On Jul 28, 2008, at 9:40 PM, Chris Van Dusen wrote:
>
>> Hi,
>>
>> I'm going through the currency converter example, and got to the
>> point of building the application.  After hitting Enter, the Clozure
>> IDE disappears (which, even though the tutorial says, "If all goes
>> well, BUILD-APPLICATION constructs an application bundle, copies
>> 'CurrencyConverter.nib' into it, writes the application executable,
>> and quits.", I don't know that this is what was meant).
>>
>> Anyway, the CurrencyConverter.app shows up, but when I double-click
>> it "nothing happens".  I looked in Console and found the following:
>>
>> 7/28/08 8:51:14 PM [0x0-0x8a08a].com.clozure.Clozure CL[9130] Error
>> during early application initialization:
>> 7/28/08 8:51:14 PM [0x0-0x8a08a].com.clozure.Clozure CL[9130] value
>> #<A Dead Mac Pointer> is not of the expected type MACPTR.
>> 7/28/08 8:51:14 PM [0x0-0x8a08a].com.clozure.Clozure CL[9130] ? for
>> help
>> 7/28/08 8:51:14 PM [0x0-0x8a08a].com.clozure.Clozure CL[9130] [9130]
>> OpenMCL kernel debugger:
>> 7/28/08 8:51:14 PM com.apple.launchd[73]
>> ([0x0-0x8a08a].com.clozure.Clozure CL[9130]) Exited: Killed
>>
>> Googling for the error seemed to indicate that this tends to be a
>> user error.
>>
>> Is this correct?  If so, I'll go back to triple check the code and
>> the Application Builder.  If not, would anyone know where to look
>> for possible clues?
>
> It's also possible that recent changes broke the app builder somehow.
>
> Try running the built application from the terminal. (open a terminal
> and run the executable that is in Currency Converter,app/Contents/
> MacOS/). If it enters the kernel debugger as the log seems to
> indicate, then you should be able to use kernel debugger command to
> generate some useful debugging information. Use the "?" command to get
> a printout of the available commands. A stack backtrace is often
> useful for figuring out how the lisp crashed into the kernel debugger.
>
> With any luck we can figure out why it happened and fix it, whether
> it's at your end or ours.
>
> --me
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list