[Openmcl-devel] Webkit issue

Raffael Cavallaro raffaelcavallaro at mac.com
Wed Sep 2 10:51:24 PDT 2009


On Sep 2, 2009, at 1:19 PM, Alexander Repenning wrote:

> I noticed, but have not spent any time really exploring it, that  
> Webkit in CCL64 does have problems with plugins. For instance, Flash  
> does not render. This is with Leopard.

Well this is only to be expected on Leopard since Safari on Leopard,  
even on a 64-bit machine, is a 32-bit app running 32-bit plug-ins (for  
example, there is no 64-bit Quicktime plug-in on either Leopard or  
Snow Leopard), while CCL is a 64-bit app attempting (unsuccessfully of  
course, since Mac OS X doesn't have a mixed mode) to load 32-bit plug- 
ins. On Snow Leopard, Safari is a 64-bit app that can load 32-bit plug- 
ins but it's not clear (to me at least) how CCL should do the same, as  
Apple have seen fit not to provide 64-bit plug-ins for their  
(nominally) 64-bit OS upgrade. So my question is this: have Apple  
upgraded WebKit so that 64-bit apps using WebKit can load 32-bit plug- 
ins as Safari does, or is what I'm seeing with CCL a CCL bug since,  
for example, LWM 64-bit intel can load the 32-bit QuickTime plug-in.

It occurred to me while writing this that it might be an issue with  
the .cdb files, so I created the webkit interfaces after modifying  
populate.sh to use the 10.6 sdk (I'm already using 10.6 cocoa  
interfaces). No luck. Here's the alt console output when doing  
(require 'webkit) against the 10.6 version of the interfaces. Maybe I  
need to build other frameworks' interfaces with the 10.6 sdk as well?

Unhandled exception 4 at 0x43ce8e828ca4, context->regs at #x7fff5fbfd410
Exception occurred while executing foreign code
? for help
[9925] Clozure CL 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 Clozure CL process
(?)  Show this help
[9925] Clozure CL kernel debugger: b
current thread: tcr = 0x100700, native thread ID = 0x207, interrupts  
enabled


(#x0000000000442F28) #x0000300041389D3C : #<Anonymous Function  
#x0000300041389C8F> + 173
(#x0000000000442F48) #x00003000410BBBF4 : #<Function (:INTERNAL SEND- 
UNAMBIGUOUS-MESSAGE (SHARED-INITIALIZE :AFTER (OBJC-DISPATCH-FUNCTION  
T))) #x00003000410BBA0F> + 485
(#x0000000000442F88) #x00003000414F3D04 : #<Function EVENT-LOOP  
#x00003000414F3B5F> + 421
[9925] Clozure CL kernel debugger: t
Current Thread Context Record (tcr) = 0x100700
Control (C) stack area:  low = 0x7fff5f99c000, high = 0x7fff5fbffad0
Value (lisp) stack area: low = 0x200000, high = 0x443000
Exception stack pointer = 0x7fff5fbfd8e0
[9925] Clozure CL kernel debugger: r
%rax = 0x00000000007d9f00      %r8  = 0x000000000000003f
%rcx = 0x0000000015a40969      %r9  = 0x00000000152ac6a0
%rdx = 0x0000000000000000      %r10 = 0x00000000007da140
%rbx = 0x0000000015a445a0      %r11 = 0x000000001556bf60
%rsp = 0x00007fff5fbfd8e0      %r12 = 0x00000000000001e8
%rbp = 0x00007fff5fbfd950      %r13 = 0x0000000015610148
%rsi = 0x0000000015610148      %r14 = 0xffff000000000000
%rdi = 0x000000001534b400      %r15 = 0xffff000000000002
%rip = 0x000043ce8e828ca4   %rflags = 0x00010246
[9925] Clozure CL kernel debugger: l
[9925] Clozure CL kernel debugger: f
f00: 0x007da4c0 (1.153854e-38), 0x00000000007da4c0 (4.068223e-317)
f01: 0x007da540 (1.153872e-38), 0x00000000007da540 (4.068287e-317)
f02: 0x007da5c0 (1.153890e-38), 0x00000000007da5c0 (4.068350e-317)
f03: 0x007da640 (1.153908e-38), 0x00000000007da640 (4.068413e-317)
f04: 0x007da280 (1.153773e-38), 0x00000000007da280 (4.067939e-317)
f05: 0x74616369 (7.142841e+31), 0x416e6f6974616369 (1.595681e+07)
f06: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f07: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00)
f08: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00)
f09: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00)
f10: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00)
f11: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00)
f12: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f13: 0x00000000 (0.000000e+00), 0x4030000000000000 (1.600000e+01)
f14: 0x3b808081 (3.921569e-03), 0x3b8080813b808081 (4.368036e-22)
f15: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
mxcsr = 0x00001fa1
[9925] Clozure CL kernel debugger:

warmest regards,

Ralph


Raffael Cavallaro
raffaelcavallaro at me.com








More information about the Openmcl-devel mailing list