Skip to main content
Microsoft Silverlight
Home Forums Silverlight Programming Report a Silverlight Bug RC0 preloader crashes browser
4 replies. Latest Post by metal on October 14, 2008.
(0)
metal
Participant
1243 points
262 Posts
09-30-2008 6:26 AM |
this will crash the browser(IE7+FF3) if it is the preloader xaml even with no code only since install RC0 Unhandled exception at 0x00000000 in iexplore.exe: 0xC0000005: Access violation. FF3 gives me a 'report error' dialogue with no further information.<Canvas xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="700" Height="400"> <Canvas.Resources> <Style x:Key="LTop" TargetType="Canvas"> <Setter Property="Canvas.Top" Value="180" /> </Style> </Canvas.Resources></Canvas> Removing all resourced styles and references to them and the XAML works.
more details at http://silverlight.net/forums/t/31337.aspx
pamtaro
Member
3 points
4 Posts
09-30-2008 12:16 PM |
Hi,
I'm getting this same problem where silverlight rc0 will crash my browsers immediatly with 0xC0000005: Access violation. I tried removing all references to resourced styles but that didn't fix the project i was working on. Then i created a dummy project to test whether it crashes with resourced styles and it worked fine! There must be another problem with my application, but I can't figure it out more information as to where this Access violation is coming from.
Any ideas?
-Pam
Sergey V...
788 points
98 Posts
09-30-2008 9:47 PM |
I think this has been recently fixed. I've been able to repro on RC0 bits, but latest internal post-RC0 bits do not crash on this anymore. But thanks for reporting this anyway!
10-01-2008 9:24 AM |
I can live with that, thanks
10-14-2008 6:21 AM |
RTW allows the above sample to run without crashing the browser but the original still does (http://silverlight.net/forums/t/31337.aspx), so I have simply removed all my styling code and the XAML preloader now works correctly and does not crash the browser.