[Mono-bugs] [Bug 338977] New: Crash with sample program

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 4 00:58:09 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=338977#c1

           Summary: Crash with sample program
           Product: Moonlight
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: plugin
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=181938)
 --> (https://bugzilla.novell.com/attachment.cgi?id=181938)
Sample Silverlight application that crashes the plugin

I have a attached a small Silverlight program, run it with the browser:

firefox sample.html

This produces the following crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb70b76d0 (LWP 25689)]
NameScope::GetNameScope (obj=0x0) at namescope.cpp:79
79              Value *v = obj->GetValue (NameScope::NameScopeProperty);
(gdb) up
#1  0xb1b9888f in DependencyObject::FindName (this=0x0, name=0x9c35fe8
"myRoot") at dependencyobject.cpp:592
592             NameScope *scope = NameScope::GetNameScope (this);
(gdb) 
#2  0xb2202c8c in moonlight_content_invoke (npobj=0x9c36d44, name=0x9c0ecdc,
args=0xbfc1fd10, argCount=1, result=0xbfc1fd70)
    at plugin-class.cpp:1553
1553                    DependencyObject *element =
plugin->surface->GetToplevel()->FindName (name);
(gdb) p plugin->surface->toplevel
$1 = (UIElement *) 0x0

This is caused because the plugin->surface->toplevel does not have any canvases
attached (likely a bug in my example)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list