[Mono-bugs] [Bug 619542] webHttpBinging is generating wrong responses for methods that return a Stream

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619542

http://bugzilla.novell.com/show_bug.cgi?id=619542#c2


--- Comment #2 from Atsushi Enomoto aenom...@novell.com 2010-07-08 06:36:19 
UTC ---
None of those attempts show the expected results so far (switch #ifs around):

using System;
using System.IO;
using System.Runtime.Serialization;
using System.ServiceModel.Channels;
using System.Text;
using System.Xml;

public class Tset
{
public static void Main ()
{
var ms = new MemoryStream ();
ms.Write (Encoding.UTF8.GetBytes (TEST), 0, 4);
#if false
var ds = new DataContractSerializer (typeof (MemoryStream));
using (var xw = XmlWriter.Create (Console.Out))
ds.WriteObject (xw, ms);
#else
var msg = Message.CreateMessage (
//MessageVersion.Default,
MessageVersion.None,
urn:foo, ms);
#if false
Console.WriteLine (msg);
#else
var wmebe = new WebMessageEncodingBindingElement ();
var wme = wmebe.CreateMessageEncoderFactory ().Encoder;
var ms2 = new MemoryStream ();
wme.WriteMessage (msg, ms2);
Console.WriteLine (Encoding.UTF8.GetString (
ms2.GetBuffer (), 0, (int) ms2.Length));
#endif
#endif
}
}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 618539] Using if (expression) when expression overloads the true and false operators causes internal compiler error

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=618539

http://bugzilla.novell.com/show_bug.cgi?id=618539#c5


Marek Safar msa...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #5 from Marek Safar msa...@novell.com 2010-07-08 07:03:07 UTC ---
Thanks for testing it.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619919] Capturing of base scope

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619919

http://bugzilla.novell.com/show_bug.cgi?id=619919#c1


--- Comment #1 from Marek Safar msa...@novell.com 2010-07-08 07:37:32 UTC ---
Test #2

using System;

class A
{
public virtual void FooT (T a, params string[] b) where T : struct
{
}
}

class B : A
{
public void Test (int v)
{
Action a = () = base.Fooint (b: n, a: v);
a ();
}

public void Test2T (T b) where T : struct
{
Action a2 = () = base.FooT (b, as, asdfa);
}
}

class Test
{
public static void Main ()
{
new B ().Test (1);
}
}

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620411

http://bugzilla.novell.com/show_bug.cgi?id=620411#c4


Stefan Winkler s.wink...@studdex.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   InfoProvider|s.wink...@studdex.com   |

--- Comment #4 from Stefan Winkler s.wink...@studdex.com 2010-07-08 09:22:29 
UTC ---
Oh yeah, sorry about that. Debugging was enabled in web.config but apparently
the mod_mono configuration option for debugging wasn't enabled on our test
server. I contacted the server administrator and he enabled it. Unfortunately,
the first part of the stack trace still refuses to give away a line number, but
rest looks better now. So here is the complete error information:

Server Error in '/' Application
Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Web.Handlers.ScriptModule.PostAcquireRequestState (System.Object
sender, System.EventArgs e) [0x0] in filename unknown:0 
  at System.Web.HttpApplication+RunHooksc__Iterator1.MoveNext () [0x001aa] in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/System.Web/System.Web/HttpApplication.cs:1040
 
  at System.Web.HttpApplication+Pipelinec__Iterator2.MoveNext () [0x00b1e] in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/System.Web/System.Web/HttpApplication.cs:1316
 
  at System.Web.HttpApplication.Tick () [0x0] in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/System.Web/System.Web/HttpApplication.cs:928
 

Version information: Mono Runtime Version: 2.6.4 (tarball Thu Apr 22 16:09:50
UTC 2010); ASP.NET Version: 2.0.50727.1433

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620411

http://bugzilla.novell.com/show_bug.cgi?id=620411#c5


--- Comment #5 from Marek Habersack mhabers...@novell.com 2010-07-08 11:30:32 
CEST ---
Unfortunately, the most important information is missing... :) The
PostAcquireRequestState line number was what I was interested in. Do you
perhaps have System.Web.Extensions.dll in your bin/ directory? If yes, make
sure that it's in the mono GAC and remove it from bin/ - it shouldn't be there.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 616029] Cleaning up domain with async socket crashes mono

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=616029

http://bugzilla.novell.com/show_bug.cgi?id=616029#c3


Massimiliano Mantione massimiliano.manti...@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|CLOSED
 CC||massimiliano.manti...@gmail
   ||.com
 Resolution||FIXED

--- Comment #3 from Massimiliano Mantione massimiliano.manti...@gmail.com 
2010-07-08 09:56:11 UTC ---
We cannot reproduce this anymore...

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620411

http://bugzilla.novell.com/show_bug.cgi?id=620411#c6


--- Comment #6 from Stefan Winkler s.wink...@studdex.com 2010-07-08 09:57:48 
UTC ---
You were right, it was in the bin folder. If I remember correctly, we put it in
there because the solution refused to run on the development machines if it was
missing. I used gacutil to confirm it is in there (it is) and then removed it
from bin. Now the first line of the stack trace reveals the line information:

at System.Web.Handlers.ScriptModule.PostAcquireRequestState (System.Object
sender, System.EventArgs e) [0x0001c] in
/usr/src/packages/BUILD/mono-2.6.4/mcs/class/System.Web.Extensions/System.Web.Handlers/ScriptModule.cs:70

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620411

http://bugzilla.novell.com/show_bug.cgi?id=620411#c7


--- Comment #7 from Marek Habersack mhabers...@novell.com 2010-07-08 13:01:09 
CEST ---
Created an attachment (id=374548)
 -- (http://bugzilla.novell.com/attachment.cgi?id=374548)
proposed_fix.diff

OK, that sheds more light on the issue. The thing being null is
HttpContext.Current.CurrentHandler which caused the script module in
System.Web.Extensions to throw the NREX. The above attachment contains a
proposed fix which checks for null as it should. I've committed it to
mono/trunk in r160044, but I will not commit it to 2.6 until you will have
confirmed that it does fix the issue for you and that it does not break
anything for you. HttpContext.CurrentHandler shouldn't be null at this point,
so this fix is just a workaround, but in the absence of a test case I cannot
offer the real fix at this point.
Please let me know if it worked for you.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620860] New: Number Overflow inserting into sqlserver

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620860

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


   Summary: Number Overflow inserting into sqlserver
Classification: Mono
   Product: Mono: Runtime
   Version: SVN
  Platform: 64bit
OS/Version: RHEL 5
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: misc
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: srfcan...@hotmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; MS-RTC LM 8)

the following insert works on windows but fails on mono. the field is
numeric(20) so it should work. Its trying to insert a ulong.MaxValue into a
decimal(20) field which should work and does on windows but doesnt on mono. It
could be a rounding issue since just doing a ToString or format on a maxvalue
could cause it to round up so you might want to check that the actual value
inserted is ulong.Maxvalue which I suspect it isnt since that number should
work. you might want to also double check double.MaxValue and decimal.Maxvalue
to make sure they dont have rounding issues also. I think we reported and have
it fixed for Double.Maxvalue sometime in the past though.

1. create the following table:
CREATE TABLE [dbo].[EROOTTESTOBJECT1](
[ID] [uniqueidentifier] NOT NULL,
[TESTINT64] [numeric](20, 0) NULL,
PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, FILLFACTOR = 50) ON [PRIMARY]
) ON [PRIMARY]

GO

2. compile the following test program:
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;

public class TestProject
{



   static void Main(string[] args)
   {

  Console.WriteLine(Inserting);

  IDbCommand command = new SqlCommand();
  command.Connection = new SqlConnection(Data
Source=yourmachine;Database=yourdb;Integrated Security=False;Connection
timeout=200;User Id=sa;Password=yourpassword);
  command.CommandType = CommandType.Text; command.CommandText =
command.CommandText = INSERT INTO [EROOTTESTOBJECT1] ( [TESTINT64],  [ID])
VALUES (@p0, @p1);

  command.Connection.Open();


  IDbDataParameter dbParam = new SqlParameter();
  dbParam = new SqlParameter();
  dbParam.ParameterName = @p0;
  dbParam.DbType = DbType.Decimal;
  dbParam.Value = ulong.MaxValue;
  command.Parameters.Add(dbParam);


  dbParam = new SqlParameter();
  dbParam.ParameterName = @p1;
  dbParam.DbType = DbType.Guid;
  dbParam.Value = Guid.NewGuid();
  command.Parameters.Add(dbParam);

  command.ExecuteNonQuery();


  Console.WriteLine(Finished Inserting);
   }

}

3. running the test on windows works but on mono it fails

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620860] Number Overflow inserting into sqlserver

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620860

http://bugzilla.novell.com/show_bug.cgi?id=620860#c


scott fluto srfcan...@hotmail.com changed:

   What|Removed |Added

 CC||srfcan...@hotmail.com

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620411

http://bugzilla.novell.com/show_bug.cgi?id=620411#c8


--- Comment #8 from Stefan Winkler s.wink...@studdex.com 2010-07-08 12:55:26 
UTC ---
That hint was very helpful. I did some research based on that and I found out
that HttpContext.Current.CurrentHandler is actually always null in
Application_BeginRequest (the EventListener defined in global.asax where the
rewriting happens), because it is not initialized at that stage of the request
cycle. I made some tests with the old svn revision that still works and even
there it is null, yet nothing crashes. The exception is only thrown after that
totally unrelated @ Import-change was made to the mentioned aspx page that
uses a runat=server-script block instead of a codebehind file and it remained
broken even after we undid that change.

Of course that makes the issue even more mysterious, I mean, how can it not
crash with the old version when CurrentHandler is null and the null-check is
missing in ScriptModule? Apparently by not even attempting to access it, but
then why did this change after such a small change was made?

I will try and check if it works with the attachment you provided, but I'm not
quite sure how to use it. At our company we're using mod_mono on our web
servers (while developing our web application on Windows using Visual Studio),
but we've always used the current stable version and never compiled one
ourselves. Could you email me some tutorial links?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620864] New: NullReferenceException serializing a dictionary

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620864

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


   Summary: NullReferenceException serializing a dictionary
Classification: Mono
   Product: Mono: Runtime
   Version: SVN
  Platform: 64bit
OS/Version: RHEL 5
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: misc
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: srfcan...@hotmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; MS-RTC LM 8)

In the following sample, serializing some basic dictionaries will generate
NullReferenceExceptions on mono but work ok on windows. Its seems to be just
dictionaries but it could be others.

1. compile the following test:
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;

public class TestProject
{



   static void Main(string[] args)
   {
  //fails on mono
  IDictionarystring, Type myDataA = new Dictionarystring, Type();
  myDataA.Add(test1, typeof(String));
  MemoryStream memoryStream = new MemoryStream();
  BinaryFormatter binaryFormatter = new BinaryFormatter();
  binaryFormatter.Serialize(memoryStream, myDataA);

  //fails on mono too
  IDictionarystring, object myData = new Dictionarystring, object();
  myData.Add(test1, 1234);
  myData.Add(test2, myString);
  memoryStream = new MemoryStream();
  binaryFormatter = new BinaryFormatter();
  binaryFormatter.Serialize(memoryStream, myData);
   }

}


2. running it on mono will generate this error but works on windows:
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at System.ValueType.GetHashCode () [0x0] in filename unknown:0
  at System.Collections.Hashtable.GetHash (System.Object key) [0x0] in
filename unknown:0
  at System.Collections.Hashtable.Find (System.Object key) [0x0] in
filename unknown:0
  at System.Collections.Hashtable.Contains (System.Object key) [0x0] in
filename unknown:0
  at System.Runtime.Serialization.SerializationObjectManager.RegisterObject
(System.Object obj) [0x0] in filename unknown:0
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata metadata,
System.Object data) [0x0] in filename unknown:0
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x0] in
filename unknown:0
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance
(System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject)
[0x0] in filename unknown:0
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteValue
(System.IO.BinaryWriter writer, System.Type valueType, System.Object val)
[0x0] in filename unknown:0
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteGenericArray
(System.IO.BinaryWriter writer, Int64 id, System.Array array) [0x0] in
filename unknown:0
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray
(System.IO.BinaryWriter writer, Int64 id, System.Array array) [0x0] in
filename unknown:0
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance
(System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject)
[0x0] in filename unknown:0
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects
(System.IO.BinaryWriter writer) [0x0] in filename unknown:0
  at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers) [0x0] in filename
unknown:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers) [0x0] in filename
unknown:0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph) [0x0] in
filename unknown:0
  at TestProject.Main (System.String[] args) [0x0] in filename unknown:0


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com

[Mono-bugs] [Bug 620864] NullReferenceException serializing a dictionary

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620864

http://bugzilla.novell.com/show_bug.cgi?id=620864#c


scott fluto srfcan...@hotmail.com changed:

   What|Removed |Added

 CC||srfcan...@hotmail.com

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619929] System.InvalidCastException

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619929

http://bugzilla.novell.com/show_bug.cgi?id=619929#c3


--- Comment #3 from scott fluto srfcan...@hotmail.com 2010-07-08 13:39:23 UTC 
---
this is actually related to Bug 620154 and puting in the GetENumerator()
overrids which seems to remove the problem of picking the correct GetEnumerator
 As noted in that issue, windows gave a warning about the abiguity but mono
doesnt and ends up getting confused when doing a foreach and trying to pick the
correct GetEnumerator. The strange thing is, even though windows gives the
warning , it still ends up picking the correct GetEnumerator method. At any
rate we put in the override which should be done anyhow so this isnt an issue
anymore. Ill leave it up to you if you want to mimic what windows does when it
runs into these ambiguous situations.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 601431] Assembly::GetType is loading very aggressively

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=601431

http://bugzilla.novell.com/show_bug.cgi?id=601431#c20


--- Comment #20 from scott fluto srfcan...@hotmail.com 2010-07-08 14:35:09 
UTC ---
retested and looks good now.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620860] Number Overflow inserting into sqlserver

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620860

http://bugzilla.novell.com/show_bug.cgi?id=620860#c1


Zoltan Varga var...@gmail.com changed:

   What|Removed |Added

  Component|misc|Sys.Data
Product|Mono: Runtime   |Mono: Class Libraries

--- Comment #1 from Zoltan Varga var...@gmail.com 2010-07-08 15:03:34 UTC ---
- sys.data

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620864] NullReferenceException serializing a dictionary

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620864

http://bugzilla.novell.com/show_bug.cgi?id=620864#c1


Zoltan Varga var...@gmail.com changed:

   What|Removed |Added

  Component|misc|CORLIB
Product|Mono: Runtime   |Mono: Class Libraries

--- Comment #1 from Zoltan Varga var...@gmail.com 2010-07-08 15:04:13 UTC ---
- class libs.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620916] New: libgluezilla is not being installed for UsingWebBrowser in MacOSX

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620916

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


   Summary: libgluezilla is not being installed for
UsingWebBrowser in MacOSX
Classification: Mono
   Product: Mono: Class Libraries
   Version: 2.6.x
  Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: mlegen...@novell.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: Component Test
   Blocker: ---


Description of Problem:
The error below is occurring during runtime in MacOSX

MacOSX 10.6
mono 2.6.6

Steps to reproduce the problem:
1. Run UsingWebBrowser at the command line with mono


Actual Results:
libgluezilla not found. To have webbrowser support, you need libgluezilla
installed
libgluezilla not found. To have webbrowser support, you need libgluezilla
installed
libgluezilla not found. To have webbrowser support, you need libgluezilla
installed
System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Windows.Forms.WebBrowser.Navigate (System.Uri url) [0x0] in :0 
  at System.Windows.Forms.WebBrowser.set_Url (System.Uri value) [0x0] in :0 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.WebBrowser:set_Url (System.Uri)
  at UsingWebBrowser.Form1.DisplayHTMLDoc (System.String path) [0x0] in :0 
  at UsingWebBrowser.Form1.setupBrowser2 () [0x0] in :0 
  at UsingWebBrowser.Form1.Form1_Load (System.Object sender, System.EventArgs
e) [0x0] in :0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0] in :0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x0] in
:0 
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] :
kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] : kCGErrorFailure:
Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] :
kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] :
kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] :
kCGErrorCannotComplete: CGSDeviceGetGeometry: Invalid device window
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] :
kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
Wed Jul  7 11:32:35 snow.dnsdhcp.provo.novell.com mono[2204] :
kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window



Expected Results:
Should run normally

How often does this happen? 
Every time

Additional Information:
this looks a lot like the following bug just in a different OS

https://bugzilla.novell.com/show_bug.cgi?id=511998

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620916] libgluezilla is not being installed for UsingWebBrowser in MacOSX

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620916

http://bugzilla.novell.com/show_bug.cgi?id=620916#c


Marc LeGendre mlegen...@novell.com changed:

   What|Removed |Added

  Status Whiteboard||mono-2.6.6 rc1

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620860] Number Overflow inserting into sqlserver

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620860

http://bugzilla.novell.com/show_bug.cgi?id=620860#c2


--- Comment #2 from scott fluto srfcan...@hotmail.com 2010-07-08 16:39:27 UTC 
---
we actually had this problem with Double.Maxvalue and submitted a patch but it
was never implemented. THis was the patch that was previously submitted.

/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs
   private string FormatParameter (TdsMetaParameter parameter)
{
.
.
.
.
.

case float:
object paramV = parameter.Value;
value = ((double)paramV).ToString (r);
break;
.
.
.
.
}

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620960] New: SSL cert issue when sending email from system account.

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620960

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


   Summary: SSL cert issue when sending email from system account.
Classification: Mono
   Product: Mono: Runtime
   Version: 2.6.x
  Platform: All
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: misc
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: abe.gilles...@gmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

Put this in a webform and run it under Apache (do not run XSP from the command
line):

public partial class TestEmail : System.Web.UI.Page
{
protected void Send(object sender, EventArgs args)
{
var from = new MailAddress(sen...@gmail.com, Sender);
var to = new MailAddress(recei...@gmail.com);
var mail = new MailMessage(from, to)
{
Subject = Test Mail,
IsBodyHtml = true,
Body = Please let this work!
};

var smtp = new SmtpClient(smtp.gmail.com, 587)
{
EnableSsl = true,
Credentials = new NetworkCredential(sen...@gmail.com,
p4ssw0rd)
};

smtp.Send(mail);
}
}

You'll get this exception:

System.InvalidOperationException: SSL authentication error:
RemoteCertificateNotAvailable
  at System.Net.Mail.SmtpClient.callbackm__4 (System.Object sender,
System.Security.Cryptography.X509Certificates.X509Certificate certificate,
System.Security.Cryptography.X509Certificates.X509Chain chain, SslPolicyErrors
sslPolicyErrors) [0x0] in filename unknown:0 
  at
System.Net.Security.SslStream+BeginAuthenticateAsClientc__AnonStorey7.m__A
(System.Security.Cryptography.X509Certificates.X509Certificate cert,
System.Int32[] certErrors) [0x0] in filename unknown:0 
  at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation
(System.Security.Cryptography.X509Certificates.X509Certificate certificate,
System.Int32[] errors) [0x0] in filename unknown:0 
  at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation
(System.Security.Cryptography.X509Certificates.X509Certificate certificate,
System.Int32[] errors) [0x0] in filename unknown:0 
  at
Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation
(System.Security.Cryptography.X509Certificates.X509Certificate certificate,
System.Int32[] certificateErrors) [0x0] in filename unknown:0 
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates
(Mono.Security.X509.X509CertificateCollection certificates) [0x0] in
filename unknown:0 
  at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1
() [0x0] in filename unknown:0 
  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x0]
in filename unknown:0 
  at (wrapper remoting-invoke-with-check)
Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage
(Mono.Security.Protocol.Tls.TlsStream handMsg) [0x0] in filename
unknown:0 
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
(IAsyncResult asyncResult) [0x0] in filename unknown:0 

Note that mozroots and certmgr have been run with the -m flag and should be
OK to the best of my knowledge.  Sending mail running a console app from the
command line works fine.  It's something with the system account / SSL store.

Reproducible: Always

Steps to Reproduce:
See description.
Actual Results:  
Boom!

Expected Results:  
Successfully sent email.

I like elephants.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620960] SSL cert issue when sending email from system account.

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620960

http://bugzilla.novell.com/show_bug.cgi?id=620960#c


Abe Gillespie abe.gilles...@gmail.com changed:

   What|Removed |Added

 CC||abe.gilles...@gmail.com

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 594559] DateTime.TryParse fails to parse 0009-05-02 20:00:00.00 because of the .00 for ms

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=594559

http://bugzilla.novell.com/show_bug.cgi?id=594559#c1


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-08 
19:09:41 UTC ---
Fixed in mono-2-6 (r160077) and trunk (r160078).

Note that for some reason linux/mono does not produce the same time for years
like '0009'. I guess the GMT timezone and DST were not defined back then so
different OSs produce different results.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619929] System.InvalidCastException

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619929

http://bugzilla.novell.com/show_bug.cgi?id=619929#c4


--- Comment #4 from Zoltan Varga var...@gmail.com 2010-07-08 19:36:32 UTC ---
That is a testcase for a compiler issue, not the runtime issue you described.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 603482] Package1.pkgxml does not open when created and when it is, it's opened as xml doc rather than form

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603482

http://bugzilla.novell.com/show_bug.cgi?id=603482#c3


Marc LeGendre mlegen...@novell.com changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED
 CC||mlegen...@novell.com

--- Comment #3 from Marc LeGendre mlegen...@novell.com 2010-07-08 19:43:09 
UTC ---
Verified, this bug has been fixed 

mono-2.6.7
Win 7 ultimate x86

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 619929] System.InvalidCastException

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=619929

http://bugzilla.novell.com/show_bug.cgi?id=619929#c5


--- Comment #5 from scott fluto srfcan...@hotmail.com 2010-07-08 19:55:42 UTC 
---
ya , the problem is I would have to give you more of our full implementation of
our dictionary class to give the runtime error but its probably this ambiguity
regarding the GetEnumerator for IDicationary and IDictionary, thats causing
the runtime issue but for us we removed the confusion by supplying an overload
for the correct GetEnumerator which got rid of the runtime issue. If you try
implementing your own dictionary that implements these 2 interfaces you would
run into the same issue. You might want to try it and see how it compares to
running on windows. For us, we are ok with it the way it is now.

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 581956] Mono prints NOT IMPLEMENTED: ResetToDefault()

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=581956

http://bugzilla.novell.com/show_bug.cgi?id=581956#c1


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-08 
21:26:04 UTC ---
Fixed in trunk (r160085) and mono-2-6 (r160086).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620326] ComboBox Format event does not have the right EventArgs value type (always String)

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620326

http://bugzilla.novell.com/show_bug.cgi?id=620326#c1


--- Comment #1 from Thomas Goldstein st...@free.fr 2010-07-08 21:26:53 UTC ---
Created an attachment (id=374702)
 -- (http://bugzilla.novell.com/attachment.cgi?id=374702)
Patch

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620558] gacutil fails to list, install and uninstall assemblies on Windows

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620558

http://bugzilla.novell.com/show_bug.cgi?id=620558#c


Gonzalo Paniagua Javier gonz...@novell.com changed:

   What|Removed |Added

 CC||gonz...@novell.com
 AssignedTo|mono-bugs@lists.ximian.com  |gonz...@novell.com

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 620558] gacutil fails to list, install and uninstall assemblies on Windows

2010-07-08 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=620558

http://bugzilla.novell.com/show_bug.cgi?id=620558#c2


--- Comment #2 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-08 
22:30:13 UTC ---
Eno, I'm going to need your help debugging this. Ping me in IRC when you're
around.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs