[Mono-bugs] [Bug 589474] New: calling WebBrowser.Dispose() Seg faults

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 18 14:40:31 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=589474

http://bugzilla.novell.com/show_bug.cgi?id=589474#c0


           Summary: calling WebBrowser.Dispose() Seg faults
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=349287)
 --> (http://bugzilla.novell.com/attachment.cgi?id=349287)
Test case showing WebBrowser.Dispose seg fault

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8)
Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8

var wb = new WebBrowser();
wb.Dispose();    

Reproducible: Always

Steps to Reproduce:
1. Compile and run attached test case

Actual Results:  
 at System.Windows.Forms.WebBrowserBase.Dispose (bool) [0x00012] in
/home/hindlet/src/custom-mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowserBase.cs:230
  at System.Windows.Forms.WebBrowserBase.Dispose (bool) [0x00012] in
/home/hindlet/src/custom-mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowserBase.cs:230
  at System.Windows.Forms.WebBrowser.Dispose (bool) [0x00000] in
/home/hindlet/src/custom-mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:461
  at System.ComponentModel.Component.Dispose () [0x00000] in
/home/hindlet/src/custom-mono/mcs/class/System/System.ComponentModel/Component.cs:115
  at (wrapper remoting-invoke-with-check)
System.ComponentModel.Component.Dispose () <IL 0x00032, 0x00053>
  at WebBrowserDisposeTest.MainClass.Main (string[]) [0x00006] in
/home/hindlet/Projects/WebBrowserTest/WebBrowserTest/WebBrowserDisposeTest.cs:13
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x0001d, 0x00054>

Native stacktrace:

    /usr/local/bin/mono [0x48aa6b]
    /usr/local/bin/mono [0x4d7c6f]
    /lib/libpthread.so.0 [0x7f69fb239190]
    /lib/libc.so.6(getenv+0x90) [0x7f69fac6f1e0]
    /usr/local/bin/mono [0x41d450]
    /usr/local/bin/mono [0x41f1c2]
    /usr/local/bin/mono [0x41fb5d]
    /usr/local/bin/mono [0x48e1e3]
    /usr/local/bin/mono [0x48ee70]
    [0x41a2d168]

Expected Results:  
no seg fault.

-- 
Configure bugmail: http://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