Lazycoder

30Apr/070

My first Silverlight experience on Safari

Open Safari after installing the plug in.

Drag the “default.html” from the Chess/Run folder in the 1.1 SDK into Safari.

Wait while the beach ball spins.

Boom.

Exception: EXC_BAD_ACCESS (0×0001)
Codes: KERN_PROTECTION_FAILURE (0×0002) at 0×00000000

Thread 0 Crashed:
0 <<00000000>> 0×00000000 0 + 0
1 slr.dll 0x07b32dd0 CreateManagedRuntime + 656 (SLRuntime.cpp:52)
2 com.microsoft.WPFePlugin 0x05987e94 CMacServices::CLR_Startup(CRuntimeHost*) + 212
3 com.microsoft.WPFePlugin 0x058fe058 CCoreServices::CLR_Startup() + 320
4 com.microsoft.WPFePlugin 0x058fbfc0 CCoreServices::DownloadCustomAssembly(unsigned long, wchar_t*) + 72
5 com.microsoft.WPFePlugin 0x059b9734 CParser::StartElement(unsigned long, wchar_t*, unsigned long, wchar_t*, unsigned long, wchar_t*, unsigned long, wchar_t*, unsigned long, unsigned long) + 520
6 com.microsoft.WPFePlugin 0x059bae14 CParser::LoadXaml(CCoreServices*, unsigned long, unsigned char*, IDependencyObject*, IDependencyObject**, long) + 1252
7 com.microsoft.WPFePlugin 0x058fe974 CCoreServices::LoadXaml(unsigned long, unsigned char*, IDependencyObject**) + 388
8 com.microsoft.WPFePlugin 0x0597ba44 CMacBrowserHost::put_Source(unsigned long, unsigned char*, void*, void (*)(void*, unsigned long, IDependencyObject*, IDependencyObject*, wchar_t*, long, IScriptObject*)) + 316
9 com.microsoft.WPFePlugin 0x0597be1c CMacBrowserHost::GotResponse(IPALDownloadResponse*, long) + 228
10 com.microsoft.WPFePlugin 0x0597a574 CMacBrowserHost::CallResponseCallbacks(RequestInfo*, unsigned long, wchar_t*, unsigned long, wchar_t*) + 536
11 com.microsoft.WPFePlugin 0x0596b438 PluginObject::Write(_NPStream*, long, long, void*) + 364

(sigh)

Futzed around some more. Now I get a Javascript error from Silverlight when I load the page, if I reload the page it bombs out and Safari crashes. Who says Macs don’t crash, they do if they are running Microsoft code! My guess is that the 1.1 version of Silverlight is Intel OS X only.(sigh again). Is it even worth it to try playing around with it at this stage? I may try on my Windows PC (after I create a Virtual machine and install the alpha there). Just when you think Microsoft has changed, same crap different platform.