dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #11627] Crash during Garbage collection of Strea


From: Erich Kitzmüller
Subject: [Pnet-developers] [bugs #11627] Crash during Garbage collection of StreamWriter based on HttpStream
Date: Tue, 18 Jan 2005 09:30:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0

This is an automated notification sent by Savannah.
It relates to:
                bugs #11627, project DotGNU Portable.NET

==============================================================================
 LATEST MODIFICATIONS of bugs #11627:
==============================================================================

               Posted by: Erich Kitzmüller <ammoq>
               Posted on: 2005-01-18 09:30 (GMT)
    _______________________________________________________

Follow-up Comment:
It seems that (at least in my configuration: MandrakeLinux 10.1, kernel
2.6.8.1, glibc-2.3.3, gcc 3.4.1) Nullpointer references are not caught for
virtual method calls. The attached short program is enough to cause a crash.
    _______________________________________________________

Additional Item Attachment:
File name: Test.cs                        Size:0 KB

<http://savannah.gnu.org/bugs/download.php?item_id=11627&amp;item_file_id=2074>

==============================================================================
 OVERVIEW of bugs #11627:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11627>

                 Summary: Crash during Garbage collection of StreamWriter
based on HttpStream
                 Project: DotGNU Portable.NET
            Submitted by: ammoq
            Submitted on: Die 18.01.2005 um 01:37
                Category: None
                Severity: 5 - Average
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________


In StreamWriter.Dispose(bool disposing), stream.Flush() is called.
Unfortunately, HttpStream is already disposed, so "underlying" is already
null. HttpStream.Flush() simply calls underlying.Flush(), so this should IMO
throw a NullReferenceException. But, even more unfortunately, the virtual
machine crashes with a segmentation violation, in cvm_call.c line 934, since
tempptr is a null pointer.

    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Die 18.01.2005 um 09:30       By: Erich Kitzmüller <ammoq>
It seems that (at least in my configuration: MandrakeLinux 10.1, kernel
2.6.8.1, glibc-2.3.3, gcc 3.4.1) Nullpointer references are not caught for
virtual method calls. The attached short program is enough to cause a crash.







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Die 18.01.2005 um 09:30  Name: Test.cs  Size: 138B   By: ammoq

<http://savannah.gnu.org/bugs/download.php?item_id=11627&item_file_id=2074>

==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11627>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]