[Mono-bugs] [Bug 609285] App crashes randomly and also creates threads that seemed to be in wait state

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609285

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


Geoff Norton  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #2 from Geoff Norton  2010-05-27 05:10:18 UTC 
---
The threads are threadpool threads, which the runtime is keeping around for
rapid reuse.

The crash is because you are allowing one of your views which hold a
UIBarButtonItem handler to get garbage collected when you shouldn't a common
pattern which causes this is something like this

void FinishedLaunching () {
  MyViewController mvc = new MyViewController ();

  window.AddSubview (mvc.View);
}

The next alpha release will have tools to aid in debugging these types of
issues, but this is the cause of your crash.

-- 
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 609285] App crashes randomly and also creates threads that seemed to be in wait state

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609285

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


--- Comment #1 from Ash Sketch  2010-05-27 03:51:12 UTC ---
BTW, these threads are being created when I call web service calls. Not sure
why they are not getting cleaned up.

-- 
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 609285] New: App crashes randomly and also creates threads that seemed to be in wait state

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609285

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


   Summary: App crashes randomly and also creates threads that
seemed to be in wait state
Classification: Mono
   Product: MonoTouch
   Version: SVN
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Critical
  Priority: P5 - None
 Component: Runtime
AssignedTo: gnor...@novell.com
ReportedBy: i...@sketchmd.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

iPad App using the latest version of MT

The threads seem to be created in response to InvokeOnMainThread

The app crashes on a button click on a toolbar inside a modal FormSheet dialog
on the iPad randomly. 

Here is the output
Stacktrace:

  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
<0x4>
  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
<0x4>
  at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00038] in
/Users/plasma/Source/iphone/monotouch/UIKit/UIApplication.cs:26
  at MonoTouch.UIKit.UIApplication.Main (string[]) [0x0] in
/Users/plasma/Source/iphone/monotouch/UIKit/UIApplication.cs:31
  at Reports.Application.Main (string[]) [0x0] in
/Users/macuser/Projects/Reports/Reports/Main.cs:22
  at (wrapper runtime-invoke) .runtime_invoke_void_object
(object,intptr,intptr,intptr) 

Native stacktrace:

0   Reports 0x000c1abc
mono_handle_native_sigsegv + 376
1   Reports 0xdcc6
mono_sigsegv_signal_handler + 313
2   libSystem.B.dylib   0x91b9642b _sigtramp + 43
3   ??? 0x 0x0 + 4294967295
4   UIKit   0x0181df70
-[UIBarButtonItem(Internal) _sendAction:withEvent:] + 156
5   UIKit   0x015fecee -[UIApplication
sendAction:to:from:forEvent:] + 119
6   UIKit   0x0167843e -[UIControl
sendAction:to:forEvent:] + 67
7   UIKit   0x0167a8c0 -[UIControl(Internal)
_sendActionsForEvents:withEvent:] + 527
8   UIKit   0x0167946d -[UIControl
touchesEnded:withEvent:] + 458
9   UIKit   0x0161dde8 -[UIWindow
_sendTouchesForEvent:] + 513
10  UIKit   0x01603643 -[UIApplication
sendEvent:] + 403
11  UIKit   0x0160b1d8
_UIApplicationHandleEvent + 7102
12  GraphicsServices0x03ef517c PurpleEventCallback +
1578
13  CoreFoundation  0x009f989c CFRunLoopRunSpecific +
4076
14  CoreFoundation  0x009f88a8 CFRunLoopRunInMode + 88
15  GraphicsServices0x03ef389d GSEventRunModal + 217
16  GraphicsServices0x03ef3962 GSEventRun + 115
17  UIKit   0x01609372 UIApplicationMain + 1134
18  ??? 0x067fa2d2 0x0 + 109028050
19  ??? 0x067fa0a2 0x0 + 109027490
20  ??? 0x067f9612 0x0 + 109024786
21  ??? 0x067f93f3 0x0 + 109024243
22  ??? 0x067f9519 0x0 + 109024537
23  Reports 0xda8a mono_jit_runtime_invoke
+ 1360
24  Reports 0x001c7f81 mono_runtime_invoke +
137
25  Reports 0x001c9cd8 mono_runtime_exec_main +
714
26  Reports 0x001c9599 mono_runtime_run_main +
812
27  Reports 0x000970bf mono_jit_exec + 200
28  Reports 0x0027d5f5 main + 3286
29  Reports 0x27da start + 54

Debug info from gdb:

warning: Trying to remove a section from the ordered section list that did not
exist at 0x364000.
warning: Could not find object file
"/var/folders/i7/i7qGCU12EJyERd6E5iKVTTI/-Tmp-//ccHJ2dsC.o" - no debug
information available for "template.m".

warning: .o file
"/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(zlib-helper.x86.o)"
more recent than executable timestamp in "/Users/macuser/Library/Application
Support/iPhone
Simulator/3.2/Applications/CF7BD42A-D407-4E93-AD86-4C181677082E/Reports.app/Reports"
warning: Could not open OSO file
/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator10.5.sdk/usr/lib/libmonotouch.a(zlib-helper.x86.o)
to scan for pubtypes for objfile /Users/macuser/Library/Application
Support/iP

[Mono-bugs] [Bug 603541] Server control fails to load

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603541

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


Juan Urroa  changed:

   What|Removed |Added

 Status|CLOSED  |REOPENED
 Resolution|WORKSFORME  |

--- Comment #5 from Juan Urroa  2010-05-27 01:03:50 UTC 
---
Found it this happens when the control is inside an asp:Content tag that
corresponds to a ContentPlaceHolder in the head of the master. The site is
attached in the previous post.

-- 
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 603541] Server control fails to load

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603541

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


--- Comment #4 from Juan Urroa  2010-05-27 01:01:06 UTC 
---
Created an attachment (id=365040)
 --> (http://bugzilla.novell.com/attachment.cgi?id=365040)
Test web site for this bug

-- 
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 457120] System.Net.Security.SslStream's AuthenticateAsServer hangs

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=457120

http://bugzilla.novell.com/show_bug.cgi?id=457120#c10


Stuart Ross  changed:

   What|Removed |Added

 CC||s...@stu.org.uk
   Severity|Normal  |Major

--- Comment #10 from Stuart Ross  2010-05-27 00:16:29 UTC ---
The suggested patch on this bug targets the same line of code on the suggested
patch on this page.
https://bugzilla.novell.com/show_bug.cgi?id=430504

-- 
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 582162] XSP2 crashes serving static images

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=582162

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


Marek Habersack  changed:

   What|Removed |Added

  Component|System  |io-layer
 AssignedTo|mhabers...@novell.com   |rkump...@novell.com
Product|Mono: Class Libraries   |Mono: Runtime

-- 
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 582162] XSP2 crashes serving static images

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=582162

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


--- Comment #6 from Marek Habersack  2010-05-27 01:13:09 
CEST ---
Created an attachment (id=365036)
 --> (http://bugzilla.novell.com/attachment.cgi?id=365036)
xsp-test.tar.bz2

This is the binary I used to obtain the above two traces. Compiled with vs2010
for .NET 3.5, ran with mono 2.6.4. Works fine with .NET. To reproduce the issue
you need to reload the test site several times. XSP also may lock up on exit.

-- 
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 582162] XSP2 crashes serving static images

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=582162

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


Marek Habersack  changed:

   What|Removed |Added

 Blocks||582827

-- 
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 582162] XSP2 crashes serving static images

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=582162

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


--- Comment #5 from Marek Habersack  2010-05-27 01:08:15 
CEST ---
And another one:

C:\temp\xsp\test>mono ..\xsp.exe --port 8081
xsp
Listening on address: 0.0.0.0
Root directory: C:\temp\xsp\test
Listening on port: 8081 (non-secure)
Hit Return to stop the server.
Peer unexpectedly closed the connection on write. Closing our end.
System.IO.IOException: Write failure ---> System.Net.Sockets.SocketException:
An
 operation was attempted on something that is not a socket.

  at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32
size
, SocketFlags flags) [0x0] in :0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32
offset,
 Int32 size) [0x0] in :0
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32
offset,
 Int32 size) [0x0] in :0
  at Mono.WebServer.XSPWorker.Write (System.Byte[] buffer, Int32 position,
Int32
 size) [0x0] in :0

-- 
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 582162] XSP2 crashes serving static images

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=582162

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


--- Comment #4 from Marek Habersack  2010-05-27 01:05:27 
CEST ---
Another stack trace (xsp/trunk with mono 2.6.4 on Windows 7):

C:\temp\xsp\test>mono ..\xsp.exe --port 8081
xsp
Listening on address: 0.0.0.0
Root directory: C:\temp\xsp\test
Listening on port: 8081 (non-secure)
Hit Return to stop the server.
Handling exception type SynchronizationLockException
Message is Failed to regain lock
IsTerminating is set to True
System.Threading.SynchronizationLockException: Failed to regain lock
  at (wrapper managed-to-native) System.Threading.Monitor:Monitor_wait
(object,i
nt)
  at System.Threading.Monitor.Wait (System.Object obj, Int32
millisecondsTimeout
) [0x0] in :0
  at System.Threading.Timer+Scheduler.SchedulerThread () [0x0] in :0

-- 
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 608950] "Parse error" in cpu-x86.md during build of mono

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608950

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


Ole Hyldahl Tolshave  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #1 from Ole Hyldahl Tolshave  2010-05-26 20:40:39 
UTC ---
Works now after a complete checkout and build from scratch.

-- 
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 608758] Blogengine on Mono/Win fails to run properly

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608758

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


Marc LeGendre  changed:

   What|Removed |Added

 CC||mlegen...@novell.com

--- Comment #3 from Marc LeGendre  2010-05-26 19:10:00 
UTC ---
I have seen the same result on my platform

Win 7 ultimate x86
mono-2.6.5-gtksharp-2.12.10-win32-0.exe
monotools-2.0.6586
Blogengine 1.5

SLES 11 i586

-- 
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 608778] Expanding local variable in local's pad kills debugging session.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608778

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


Martin Baulig  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #2 from Martin Baulig  2010-05-26 17:31:17 UTC 
---
Well, that's really bad luck.

*** This bug has been marked as a duplicate of bug 605698 *** 
http://bugzilla.novell.com/show_bug.cgi?id=605698

-- 
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 605698] Error on server side when debugging BlogEngine remotely

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605698

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


Martin Baulig  changed:

   What|Removed |Added

 CC||mchristen...@novell.com

--- Comment #4 from Martin Baulig  2010-05-26 17:31:17 UTC 
---
*** Bug 608778 has been marked as a duplicate of this bug. *** 
http://bugzilla.novell.com/show_bug.cgi?id=608778

-- 
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 605698] Error on server side when debugging BlogEngine remotely

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605698

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


--- Comment #3 from Martin Baulig  2010-05-26 17:30:08 UTC 
---
Try to disable shadow-copying - I've no idea why this is broken.

-- 
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 605698] Error on server side when debugging BlogEngine remotely

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605698

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


Martin Baulig  changed:

   What|Removed |Added

 Attachment #364958|application/octet-stream|text/plain
  mime type||

-- 
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 605698] Error on server side when debugging BlogEngine remotely

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605698

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


--- Comment #2 from Martin Baulig  2010-05-26 17:28:34 UTC 
---
Created an attachment (id=364958)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364958)
logfile

-- 
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 609097] InternalsVisibleTo() assemblyinfo reference not used corectly

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609097

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


Marek Safar  changed:

   What|Removed |Added

 CC||msa...@novell.com
  Component|misc|C#
Product|Mono: Runtime   |Mono: Compilers

-- 
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 609109] Incoming tablular data stream (TDS) remote procedure call (RPC) protocal stream is incorrect.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609109

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


Marek Safar  changed:

   What|Removed |Added

 CC||msa...@novell.com
  Component|misc|Sys.Data.SqlClient
Product|Mono: Runtime   |Mono: Class Libraries

-- 
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 609023] Interlocked.Exchange(ref int, int) raises a "System.ExecutionEngineException: SIGILL" exception on a S390X platform

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609023

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


Aurelien Minvielle  changed:

   What|Removed |Added

 Attachment #364865|0   |1
is obsolete||

--- Comment #2 from Aurelien Minvielle  
2010-05-26 16:51:23 UTC ---
Created an attachment (id=364948)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364948)
A corrected patch for this bug, "svn diff" format.

-- 
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 609023] Interlocked.Exchange(ref int, int) raises a "System.ExecutionEngineException: SIGILL" exception on a S390X platform

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609023

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


--- Comment #1 from Aurelien Minvielle  
2010-05-26 16:48:06 UTC ---
Sorry, I got it wrong and not tested my patch well enough. The SIGILL is no
longer raised, but the value is not exchanged correctly.

There is no such "64 bits context". The "int foo" variable is correctly stored
as a 32bits variable by the STY instruction (I though it was STG).

So the problem is not in the CS instruction. It is just before, in the LG
instruction : LG loads  in %R0 the foo variable in 0(%R2) as if it were a
64bits variable. This is the mistake.

%R0 is therefore incorrect, and the CS equallity check fails.

The correction is to replace the LG instruction by a L instruction. By doing
so, the offset of the JNE becomes correct. I think that's what the programmer
who wrote this had in mind.

I do not know if the "len" of the OP_ATOMIC_EXCHANGE_I4 opcode should be
changed in mono/mini/cpu-s390x.md:58. It is now 16 instead of 18. But this
seems to be a "maximum_lenght", not the actual length.

I will attach a new patch as "InterlockedEchange.corrected.patch"
This time I properly tested it : the exception is no longer raised, the value
is correctly exchanged, and the return value of Interlocked.Exchanged is also
the one expected.

Hope this helps.

-- 
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 609097] InternalsVisibleTo() assemblyinfo reference not used corectly

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609097

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


scott fluto  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 609057] mono_type_size: type 0x00 unknown

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609057

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


scott fluto  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 609109] Incoming tablular data stream (TDS) remote procedure call (RPC) protocal stream is incorrect.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609109

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


scott fluto  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 609109] New: Incoming tablular data stream (TDS) remote procedure call (RPC) protocal stream is incorrect.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609109

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


   Summary: Incoming tablular data stream (TDS) remote procedure
call (RPC) protocal stream is incorrect.
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)

We are getting an sql server client error trying to insert a record into the
database. The strange thing is that its says Parameter 15("@Pnul")  , note the
null instide the parameter, its actually using the special nul character so Im
not sure if its just that something is getting corrupt in the stream.When I run
the sqlserver trace, I can see some of the inserts going to the database so Im
not sure if this is an issue returning back information. Note that this works
on windows and mono 2.4 so it looks like something broken after mono 2.4 . This
is the error:

could not insert:
[Drms.Server.EntityModel.EntityWorkflow#38d3d5d2-e4ce-4f0d-85e2-9d8203757665][SQL:
INSERT INTO [EWORKFLOW] ([COMMITCOUNT], [LABEL], [PERSISTABLEBACKREFERENCES],
[PERSISTABLECASECONTEXTID], [PERSISTABLECASECONTEXTREFERENC], [NAME],
[PERSISTABLECOLLECTIONMETADATA], [DOCUMENT], [DEPLOYMENTCATEGORY],
[ISSCRIPTACTIVITY], [MODIFIED], [M_ORIGINAL_CLASS], [M_ORIGINAL_ID],
[ORIGINALOBJTYPE], [ORIGINALOBJID], [ISBACKREFERENCETRACKINGENABLED],
[CASECONTEXTBEHAVIOR], [CREATED], [DESCRIPTION], [ID]) VALUES (?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
Source: NHibernate
Target Site: Void Insert(System.Object, System.Object[], System.Boolean[],
Int32, NHibernate.SqlCommand.SqlCommandInfo, System.Object,
ISessionImplementor)
Stack Trace:   at NHibernate.Persister.Entity.AbstractEntityPersister.Insert
(System.Object id, System.Object[] fields, System.Boolean[] notNull, Int32 j,
NHibernate.SqlCommand.SqlCommandInfo sql, System.Object obj,
ISessionImplementor session) [0x0] in :0
  at NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object
id, System.Object[] fields, System.Object obj, ISessionImplementor session)
[0x0] in :0
  at NHibernate.Action.EntityInsertAction.Execute () [0x0] in :0
  at NHibernate.Engine.ActionQueue.Execute (IExecutable executable) [0x0]
in :0
  at NHibernate.Engine.ActionQueue.ExecuteActions (IList list) [0x0] in
:0
  at NHibernate.Engine.ActionQueue.ExecuteActions () [0x0] in :0
  at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions
(IEventSource session) [0x0] in :0
Custom Data:
Inner Exception: System.Data.SqlClient.SqlException: The incoming tabular data
stream (TDS) remote procedure call (RPC) protocol stream is incorrect.
Parameter 15 ("@p␀"): Data type 0x40 is unknown.
Source: Mono SqlClient Data Provider
Target Site: Void ErrorHandler(System.Object,
Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs)
Stack Trace:   at System.Data.SqlClient.SqlConnection.ErrorHandler
(System.Object sender, Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs
e) [0x0] in :0
  at Mono.Data.Tds.Protocol.Tds.OnTdsErrorMessage
(Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs e) [0x0] in
:0
  at Mono.Data.Tds.Protocol.Tds.ProcessMessage (TdsPacketSubType subType)
[0x0] in :0
  at Mono.Data.Tds.Protocol.Tds.ProcessSubPacket () [0x0] in :0
  at Mono.Data.Tds.Protocol.Tds.NextResult () [0x0] in :0
  at Mono.Data.Tds.Protocol.Tds.SkipToEnd () [0x0] in :0
  at Mono.Data.Tds.Protocol.Tds70.ExecRPC (TdsRpcProcId rpcId, System.String
sql, Mono.Data.Tds.TdsMetaParameterCollection parameters, Int32 timeout,
Boolean wantResults) [0x0] in :0
  at Mono.Data.Tds.Protocol.Tds70.Execute (System.String commandText,
Mono.Data.Tds.TdsMetaParameterCollection parameters, Int32 timeout, Boolean
wantResults) [0x0] in :0
  at System.Data.SqlClient.SqlCommand.Execute (Boolean wantResults) [0x0]
in :0
  at System.Data.SqlClient.SqlCommand.ExecuteNonQuery () [0x0] in :0
  at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery (IDbCommand cmd)
[0x0] in :0
Custom Data:
   Key #1: actual-sql-query
   Value #1: INSERT INTO [EWORKFLOW] ([COMMITCOUNT], [LABEL],
[PERSISTABLEBACKREFERENCES], [PERSISTABLECASECONTEXTID],
[PERSISTABLECASECONTEXTREFERENC], [NAME], [PERSISTABLECOLLECTIONMETADATA],
[DOCUMENT], [DEPLOYMENTCATEGORY], [ISSCRIPTACTIVITY], [MODIFIED],
[M_ORIGINAL_CLASS], [M_ORIGINAL_ID], [ORIGINALOBJTYPE], [ORIGINALOBJID],
[ISBACKREFERENCETRACKINGENABLED], [CASECONTEXTBEHAVIOR], [CREATED],
[DESCRIPTION], [ID]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9,
@p10, @p11, @p12, @

[Mono-bugs] [Bug 609097] New: InternalsVisibleTo() assemblyinfo reference not used corectly

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609097

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


   Summary: InternalsVisibleTo() assemblyinfo reference not used
corectly
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)

The following compiler error gets generated trying to compile a test project
that references internal structs in another project where the other project has
the following definition in its AssembyInfo.cs:
  [assembly: InternalsVisibleTo("Drms.Server.Shared.Tests")]
If I change the struct from internal to public then the error goes away so it
seems like its not applying the InternalsVisibleTo attribute in the
assemblyInfo.cs.  
This is the error generated if PostProcessingStruct is defined as internal. If
its defined as public then the error goes away. Under windows, everything works
fine and in mono2.4 everything works fine so it looks like as of 2.6 it stoped
working with the InternalsVisibleTo attribute property:

Server/Shared/Shared.Tests/CloneContextTest.cs(87,89): error CS0584: Internal
compiler error: Object reference not set to an instance of an object
Server/Shared/Shared.Tests/CloneContextTest.cs(87,37): error CS1502: The best
overloaded method match for
`System.Collections.Generic.List.Add(Drms.Server.Shared.Domain.PostProcessingStruct)'
has some invalid arguments
/usr/local/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous error)
Server/Shared/Shared.Tests/CloneContextTest.cs(87,37): error CS1503: Argument
`#1' cannot convert `object' expression to type
`Drms.Server.Shared.Domain.PostProcessingStruct'


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 609088] Assembly friends using InternalsVisibleTo are not friend anymore.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609088

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


Michael Gorse  changed:

   What|Removed |Added

 CC||mgo...@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 590967] application freeze during AppDomain.Unload

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=590967

http://bugzilla.novell.com/show_bug.cgi?id=590967#c23


Armando Basile  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #23 from Armando Basile  2010-05-26 15:53:31 
UTC ---
Problem was generated by gcc 4.4.1 cflags settings.

-- 
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 609088] Assembly friends using InternalsVisibleTo are not friend anymore.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609088

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


Sanford Armstrong  changed:

   What|Removed |Added

 CC||saarmstr...@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 609088] Assembly friends using InternalsVisibleTo are not friend anymore.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609088

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


Stephen Shaw  changed:

   What|Removed |Added

 CC|sts...@novell.com   |ss...@decriptor.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 609088] Assembly friends using InternalsVisibleTo are not friend anymore.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609088

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


Stephen Shaw  changed:

   What|Removed |Added

 CC||sts...@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 609088] Assembly friends using InternalsVisibleTo are not friend anymore.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609088

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


--- Comment #1 from Mario Carrion  2010-05-26 15:37:03 UTC 
---
Created an attachment (id=364926)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364926)
Example

-- 
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 609088] New: Assembly friends using InternalsVisibleTo are not friend anymore.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609088

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


   Summary: Assembly friends using InternalsVisibleTo are not
friend anymore.
Classification: Mono
   Product: Mono: Compilers
   Version: SVN
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: C#
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: mcarr...@novell.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: Beta-Customer
   Blocker: ---


It seems that changes in mcs (r156161) broke our stuff[1], making it unable to
build. 

When building moon both corlib (mcs/corlib/) and System.Windows.dll
(moon/class/System.Windows/) are friend of MoonAtkBridge.

Steps to reproduce
- Checkout moon 156794
- Checkout mcs/mono/mono-basic 155983
- In moon run "./autogen.sh"
- Install moon in your prefix using "make install"
- Download the key[2] to sign the attached example
- Compile attached example, use: "smcs -v -keyfile:mono-uia.snk -r:System
-out:MoonAtkBridge.exe file.cs"
- It will build.

- Now, update mcs/mono/mono-basic to revision 156161 (notice this revision
WON'T compile because of missing ctr in
class/corlib/System.Collections/IHashCodeProvider.cs  and
class/corlib/System.Collections/CaseInsensitiveHashCodeProvider.cs, removing
the Obsolete attribute would fix the building)
- In moon run "./autogen.sh" again
- Install moon in your prefix using "make install"
- Compile attached example
- It should build, but you get the following error:

error CS1501: No overload for method `GetReferencedAssemblies' takes `0'
arguments

[1] http://anonsvn.mono-project.com/viewvc/trunk/uia2atk/MoonAtkBridge/
[2]
http://anonsvn.mono-project.com/viewvc/trunk/uia2atk/MoonAtkBridge/mono-uia.snk?view=co

-- 
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 606047] NullReferenceException at Mono.CSharp.Expression.IsMemberAccessible

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=606047

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


scott fluto  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   InfoProvider|srfcan...@hotmail.com   |

--- Comment #2 from scott fluto  2010-05-26 14:35:41 UTC 
---
This error is gone now but Im now getting another compiler error compiling some
the the classes in this project but Ill raise a seperate bug for those.

-- 
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 609057] New: mono_type_size: type 0x00 unknown

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609057

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


   Summary: mono_type_size: type 0x00 unknown
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)

I cant yet identify where this is coming from since its not giving me any
information but it seems to have something to do with reflection related to
nunit trying to execute a test.Its seems to run a few tests ok before segment
faulting.  This is the error Im getting:

mono_type_size: type 0x00 unknown
Stacktrace:
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke
(System.Reflection.MonoMethod*,object,object[],System.Exception&) 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke
(System.Reflection.MonoMethod*,object,object[],System.Exception&) 
  at System.Reflection.MonoMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
[0x000d0] in
/disk2/mono-20100526/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x0] in
/disk2/mono-20100526/mcs/class/corlib/System.Reflection/MethodBase.cs:96
  at NUnit.Core.Reflect.InvokeMethod
(System.Reflection.MethodInfo,object,object[]) 
  at NUnit.Core.Reflect.InvokeMethod (System.Reflection.MethodInfo,object) 
  at NUnit.Core.TestMethod.RunTestMethod (NUnit.Core.TestCaseResult) 
  at NUnit.Core.TestMethod.doTestCase (NUnit.Core.TestCaseResult) 
  at NUnit.Core.TestMethod.doRun (NUnit.Core.TestCaseResult) 
  at NUnit.Core.TestMethod.Run (NUnit.Core.TestCaseResult) 
  at NUnit.Core.NUnitTestMethod.Run (NUnit.Core.TestCaseResult) 
  at NUnit.Core.TestCase.Run (NUnit.Core.EventListener) 
  at NUnit.Core.TestCase.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter)

  at NUnit.Core.TestSuite.RunAllTests
(NUnit.Core.TestSuiteResult,NUnit.Core.EventListener,NUnit.Core.ITestFilter)

  at NUnit.Core.TestSuite.Run (NUnit.Core.EventListener,NUnit.Core.ITestFilter)

  at NUnit.Core.TestFixture.Run (NUnit.Core.Event

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 608684] [SDB] Client app calling a webservice reports a timeout when debugger is attached, fine when running Mono

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608684

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


--- Comment #3 from Zoltan Varga  2010-05-26 14:16:41 UTC ---
The soft debugger is a bit flaky in mono 2.6.4, it should behave better in the
next release.

-- 
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 608271] Windows: Mono/SDB crash on exit

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608271

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


Martin Baulig  changed:

   What|Removed |Added

 CC||scam...@novell.com

--- Comment #2 from Martin Baulig  2010-05-26 13:54:56 UTC 
---
*** Bug 608733 has been marked as a duplicate of this bug. *** 
http://bugzilla.novell.com/show_bug.cgi?id=608733

-- 
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 608733] Error message after debugging a winform locally in mono.

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608733

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


Martin Baulig  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE
   Severity|Normal  |Major

--- Comment #2 from Martin Baulig  2010-05-26 13:54:56 UTC 
---
Duplicate.

*** This bug has been marked as a duplicate of bug 608271 *** 
http://bugzilla.novell.com/show_bug.cgi?id=608271

-- 
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 609049] Overriden virtual methods not called correctly

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609049

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


--- Comment #1 from Alan McGovern  2010-05-26 13:54:04 
UTC ---
Created an attachment (id=364883)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364883)
The compiled assembly containing the broken code.

-- 
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 605595] Not able to debug a console application locally in mono

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=605595

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


--- Comment #6 from Martin Baulig  2010-05-26 13:53:26 UTC 
---
Just checked, and it's working fine for me with the latest Mono 2.6.5 on
Windows.

-- 
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 609049] New: Overriden virtual methods not called correctly

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609049

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


   Summary: Overriden virtual methods not called correctly
Classification: Mono
   Product: Mono: Compilers
   Version: SVN
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: C#
AssignedTo: mono-bugs@lists.ximian.com
ReportedBy: amcgov...@novell.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


Steps to reproduce:

1) Check out and install mono/mcs r157698
2) Check out monodevelop r157939 and compile it against mono r157698
3) Start up monodevelop and exit it, you'll see a null ref exception being
thrown which starts with:

System.NullReferenceException: Object reference not set to an instance of an
object
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.Clear () [0x00062] in
/data/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:557

This is caused by us calling the wrong method when ClassBrowserPad calls
base.Initialize (container). The class hierarchy is:

ClassBrowserPad : SolutionPad : TreeViewPad : AbstractPadContent

ClassBrowserPad and TreeViewpad override the "Initialize (IPadWindow
container)" method defined on AbstractPadContent. If the IL in ClassBrowserPad
is dissassembled, it has the following call:

L_000c: call instance void
MonoDevelop.Ide.Gui.AbstractPadContent::Initialize(class
MonoDevelop.Ide.Gui.IPadWindow)

As you can see, it directly calls the method in AbstractPadContent as opposed
to calling the one in TreeViewPad. This is the bug. We are choosing the wrong
method to invoke.

-- 
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 609023] New: Interlocked.Exchange(ref int, int) raises a "System.ExecutionEngineException: SIGILL" exception on a S390X platform

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=609023

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


   Summary: Interlocked.Exchange(ref int, int) raises a
"System.ExecutionEngineException: SIGILL" exception on
a S390X platform
Classification: Mono
   Product: Mono: Runtime
   Version: SVN
  Platform: S/390-64
OS/Version: SLES 10
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: JIT
AssignedTo: lu...@novell.com
ReportedBy: aurelien.minvielle+m...@gmail.com
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


Created an attachment (id=364865)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364865)
Suggested patch, result from the "svn diff" command

User-Agent:   Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.3)
Gecko/20100423 Ubuntu/10.04 (CK-IBM) (CK-IBM) Firefox/3.6.3

Using the Interlocked.Exchange(ref int, int) method on a S390X hadware platfrom
raises a SIGILL exception.

The bug only appears with the Exchange(ref int, int) overload. For instance,
Exchange(ref long, long) works fine.

The following instructions trigger the bug :

int foo = 10;
Interlocked.Exchange(ref foo, 5); // raise the SIGILL exception

Reproducible: Always

Steps to Reproduce:
Here is a trivial test case that triggers the bug :

using System;
using System.Threading;

namespace Test
{
class MainClass
{   
public static void Main (string[] args)
{
int foo = 10;
Interlocked.Exchange(ref foo, 5);
}
}
}
Actual Results:  
Unhandled Exception: System.ExecutionEngineException: SIGILL
at Test.MainClass.Main (System.String[] args) [0x2] in
/root/InterlockedTest.cs:11 

Expected Results:  
foo should equal 5 at the terminaison and no exception should be raised.

The problem is in the JIT compiler. The Interlocked.Exchange method has been
inlined. Here is the interesting part of the S390x assembly code generated at
runtime (from "mono -v -v") :

 :
..
24:a7 09 00 0a   lghi%r0,10
28:e3 00 f0 a8 00 50 sty%r0,168(%r15) // initialize foo to 10
2e:b9 04 00 2f   lgr%r2,%r15// copy frame base address
32:a7 2b 00 a8   aghi%r2,168 // calculate address of foo
36:a7 39 00 05   lghi%r3,5   // load new value (5)
3a:e3 00 20 00 00 04 lg%r0,0(%r2)  // load current value of foo
40:ba 03 20 00   cs%r0,%r3,0(%r2)// compare r0 with foo and
store 5 if equal
44:a7 74 ff fc   jne3c 


First remark : the variable foo is stored as a 64bit integer. That's a bit
strange, 32bits would be enough, and according to the .NET specification, "int"
should be mapped to "Int32". But let's assume this is wanted (perhaps 64bits
instructions are faster ?)

There are at least two mistakes in this generated assembly code.
The 32bits CS instruction is used instead of the 64bits CSG instruction, thus
comparing the high-order of the storage operand with the low-order of the
register r0. So the comparison with any non-zero value will fail.
The "JNE" jump is then performed. But its offset is obviously wrong : it lands
right in the middle of the LG instruction. It should jump at
t_MainClass_Main+0x3a instead of t_MainClass_Main+0x3c.

This assembly is generated by the following piece of code in
mono/mini/mini-s390x.c: :

case OP_ATOMIC_EXCHANGE_I4: {
s390_lg  (code, s390_r0, 0, ins->inst_basereg, ins->inst_offset);
s390_cs  (code, s390_r0, ins->sreg2, ins->inst_basereg, ins->inst_offset);
s390_jnz(code,-4);
s390_lgfr(code, ins->dreg, s390_r0);
}

I suggest to replace the s390_cs call by s390_csg, and correct the s390_jnz
offset.
With a CS instruction, the JNZ offset should have been -5, not -4. With a CSG
instruction, It should now be -6.

This would add two half-words to the generated assembly for the
OP_ATOMIC_EXCHANGE_I4 opcode. The "len" specified for this opcode in
cpu-s390x:58 must be extended from 18 to 20.

These corrections seemed to do the trick for me. But perhaps the problem is
deeper : is this 64bits context correct ? Shouldn't the variable "int foo" be
stored as a 32bits integer ?

-- 
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 499637] SerialPort.BytesToRead throws NullReferenceException

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=499637

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


Armando Basile  changed:

   What|Removed |Added

   Priority|P5 - None   |P3 - Medium
 Status|RESOLVED|REOPENED
 CC||hmandevt...@gmail.com
Version|2.4.x   |2.6.x
 Resolution|DUPLICATE   |
   Severity|Major   |Critical

--- Comment #2 from Armando Basile  2010-05-26 10:39:37 
UTC ---
i had same problems on Win XP sp3 with
Mono 2.6.4

-- 
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 608313] Changing visibility of controls in Repeater's ItemTemplate does not work

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608313

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


Marek Habersack  changed:

   What|Removed |Added

   Severity|Major   |Normal

-- 
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 567333] Crash on default ASP.NET MVC 2 Logon Page

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=567333

http://bugzilla.novell.com/show_bug.cgi?id=567333#c16


Marek Habersack  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #16 from Marek Habersack  2010-05-26 
11:45:51 CEST ---
It's fixed in bug #603060

*** This bug has been marked as a duplicate of bug 603060 *** 
http://bugzilla.novell.com/show_bug.cgi?id=603060

-- 
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 603060] TypeDescriptorProvider fails to return correct custom type descriptor

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603060

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


Marek Habersack  changed:

   What|Removed |Added

 CC||xu...@ya.ru

--- Comment #4 from Marek Habersack  2010-05-26 11:45:51 
CEST ---
*** Bug 567333 has been marked as a duplicate of this bug. *** 
http://bugzilla.novell.com/show_bug.cgi?id=567333

-- 
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 603541] Server control fails to load

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=603541

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


Marek Habersack  changed:

   What|Removed |Added

 Status|REOPENED|CLOSED
 Resolution||WORKSFORME

--- Comment #3 from Marek Habersack  2010-05-26 11:42:23 
CEST ---
Alas, the trace is useless as the exception is thrown from your code. But, make
sure to update your Mono from the latest trunk (I assume you're running trunk)
since there have been a few gmcs bugs fixed recently which might affect you.
I'm closing the bug again - reopen it when it is possible to present a test
case which triggers the issue on latest trunk or 2.6/branch, thanks!

-- 
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 608684] [SDB] Client app calling a webservice reports a timeout when debugger is attached, fine when running Mono

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608684

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


Lluis Sanchez  changed:

   What|Removed |Added

   Severity|Critical|Normal

-- 
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 608684] [SDB] Client app calling a webservice reports a timeout when debugger is attached, fine when running Mono

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608684

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


Lluis Sanchez  changed:

   What|Removed |Added

Version|2.2 |unspecified
  Component|debugger|backend
 AssignedTo|ll...@novell.com|var...@gmail.com
Product|MonoDevelop |Mono: Debugger
  QAContact|monodevelop-b...@lists.ximi |mono-bugs@lists.ximian.com
   |an.com  |
Summary|Client app calling a|[SDB] Client app calling a
   |webservice reports a|webservice reports a
   |timeout when debugger is|timeout when debugger is
   |attached, fine when running |attached, fine when running
   |Mono|Mono
   Severity|Major   |Critical

--- Comment #2 from Lluis Sanchez  2010-05-26 08:45:54 UTC ---
--> Debugger.

-- 
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 608950] New: "Parse error" in cpu-x86.md during build of mono

2010-05-26 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=608950

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


   Summary: "Parse error" in cpu-x86.md during build of mono
Classification: Mono
   Product: Mono: Runtime
   Version: SVN
  Platform: i386
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: JIT
AssignedTo: lu...@novell.com
ReportedBy: o...@scisoft.dk
 QAContact: mono-bugs@lists.ximian.com
  Found By: ---
   Blocker: ---


User-Agent:   Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)

The current trunk (r157926) fails to build with following error:
Making all in mini
make[3]: Entering directory `/home/servers/xsp/src/trunk/mono/mono/mini'
..
CC  genmdesc-genmdesc.o
CC  genmdesc-helpers.o
LD  genmdesc
/genmdesc cpu-x86.h x86_desc ./cpu-x86.md
Parse error at '28
' at line 71 in ./cpu-x86.md

make[3]: *** [cpu-x86.h] Aborted
make[3]: Leaving directory `/home/servers/xsp/src/trunk/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
..

Is it my setup that is bad or is trunk currently broken?

Reproducible: Always

Steps to Reproduce:
1. Checkout the latest mono source.
2. Build with:
/autogen.sh --enable-maintainer-mode --enable-compile-warnings
--prefix=$INSTALLPATH --with-profile4 && make 
Actual Results:  
I get the above mentioned "Parse error at '28".

Expected Results:  
The build should run succeed.

-- 
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