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: anonymous
Subject: [Pnet-developers] [bugs #11627] Crash during Garbage collection of StreamWriter based on HttpStream
Date: Wed, 19 Jan 2005 09:38:34 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.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: an anonymous user
               Posted on: 2005-01-19 04:38 ()
    _______________________________________________________

Follow-up Comment:
I just checked a simple example which throws an NullRef exception normally
but segfaults inside gdb ?.

==============================================================================
 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: Mon 01/17/2005 at 20: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: Wed 01/19/2005 at 04:38       By: Anonymous
I just checked a simple example which throws an NullRef exception normally
but segfaults inside gdb ?.

-------------------------------------------------------
Date: Tue 01/18/2005 at 04: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: Tue 01/18/2005 at 04: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]