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: Stephen Compall
Subject: [Pnet-developers] [bugs #11627] Crash during Garbage collection of StreamWriter based on HttpStream
Date: Wed, 19 Jan 2005 13:50:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 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: Stephen Compall <S11001001>
               Posted on: 2005-01-19 13:50 (America/Chicago)
    _______________________________________________________

Follow-up Comment:
Erich Kitzmüller: since you mentioned the platform, I am curious: did you use
the RPMs I built for Mandrake 10.1?  If so, could you see if the problem is
duplicable in an installation from source with default options?

==============================================================================
 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: Tue 01/18/2005 at 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: Wed 01/19/2005 at 13:50       By: Stephen Compall <S11001001>
Erich Kitzmüller: since you mentioned the platform, I am curious: did you use
the RPMs I built for Mandrake 10.1?  If so, could you see if the problem is
duplicable in an installation from source with default options?

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