[Mono-aspnet-list] Problem consuming web services in labview

2013-01-29 Thread raistmaj
I have developed a web service in mono. I can consume it in my network and with other programs. The webservice is running on an xsp2 server: Now I import the wsdl to Labview, everything goes well but when I call the webservice I get the following error. Error calling method

[Mono-dev] Possible bug in System.Net.Sockets.Socket?

2013-01-29 Thread Esben Laursen
Hi Guys, This my first post to the develop list, so I have that I have found the correct place for my questions. I have a problem with the sharpsnmplib (http://sharpsnmplib.codeplex.com/) that when I run mono-3.0.3 it halts my program even tough I have set a time-out of 3000ms on the

Re: [Mono-dev] Marshal.GetFunctionPointerForDelegate and non-mono threads

2013-01-29 Thread Rodrigo Kumpera
GetFunctionPointerForDelegate does produce a wrapper that checks if the thread is attached before entering managed. On Mon, Jan 28, 2013 at 10:00 PM, sebast...@palladiumconsulting.com wrote: We are not using the debugger. We're not sure how the library in question creates its threads. We

Re: [Mono-dev] Marshal.GetFunctionPointerForDelegate and non-mono threads

2013-01-29 Thread Alan
A simple way to diagnose if you're delegates have been GC'ed is to export MONO_DEBUG=keep-delegates. This instructs the GC to not collect delegates and instead rewrite them so that if they're invoked after they would normally have been GC'ed you get a nice diagnostic error message and then the

Re: [Mono-dev] Marshal.GetFunctionPointerForDelegate and non-mono threads

2013-01-29 Thread Sebastian Good
Thanks. We are indeed keeping a reference around to the delegate to ensure it's not being collected. We use two such delegates, and the only one we see problems with is the one that's launched from these other worker threads. It's possible that there's something about these threads that is not

Re: [Mono-dev] Marshal.GetFunctionPointerForDelegate and non-mono threads

2013-01-29 Thread Sebastian Good
Thanks for confirming Rodrigo. On Jan 29, 2013, at 6:43 AM, Rodrigo Kumpera kump...@gmail.com wrote: GetFunctionPointerForDelegate does produce a wrapper that checks if the thread is attached before entering managed. On Mon, Jan 28, 2013 at 10:00 PM, sebast...@palladiumconsulting.com

Re: [Mono-dev] Possible bug in System.Net.Sockets.Socket?

2013-01-29 Thread Rodrigo Kumpera
Please file a bug with a minimal test case that shows the problem. On Tue, Jan 29, 2013 at 6:47 AM, Esben Laursen hy...@hyber.dk wrote: Hi Guys, This my first post to the develop list, so I have that I have found the correct place for my questions. I have a problem with the sharpsnmplib

[Mono-dev] Fwd: Possible bug in System.Net.Sockets.Socket?

2013-01-29 Thread Yuriy Solodkyy
Hi, we have a problem with mono sometimes not invoking a callback when completing an operation. We use a patch from gonzalo.m...@gmail.com which fixes the problem for us. You can try building mono with this patch and check if it helps.

[Mono-dev] issue during compile libmono in visual studio c++ 2010

2013-01-29 Thread
dear: I want to compile libmono in vs2010. I follow the instuction on http://www.mono-project.com/Compiling_Mono_VSNET,and I know I only need to build eglib,libgc ,genmdesc and libmono. I faced the issue that semaphore.h can't be found, and I search and find there is semaphore.h in

Re: [Mono-dev] SWIG Corrupt Strings - Delegate/System.String inner working changed from mono-2.8 to mono-2.10?

2013-01-29 Thread Sen
I'm afraid not, I've since given up on mono and use C++ scripting (via DLL's) instead for my project, mainly due to the fact I didn't want to spend precious cycles for garbage collection, which is a killer in game projects. Still wonder what the problem was though, and I have no idea if they've

[Mono-dev] An Error occurs durring compiled...

2013-01-29 Thread dsKim
Sorry. I don't speak English.. i undestand me. my ubuntu server using mono version - Mono JIT compiler version 2.10.8 (on the Ubuntu) i used to Paralle.ForEach in my code. I know if c#4.0 supporte Parallel and Task I think that mono compiler low version.. The following error ocurr T_T

Re: [Mono-dev] Marshal.GetFunctionPointerForDelegate and non-mono threads

2013-01-29 Thread Yuriy Solodkyy
Do you keep a reference to your delegate while using the pointer? I suspect GC just collect your delegate and function pointer becomes invalid. -yuriy On Tuesday, January 29, 2013, wrote: We are not using the debugger. We're not sure how the library in question creates its threads. We don't

[Mono-dev] Error during cross compilation of mono to arm

2013-01-29 Thread dileep m
Hi all, I m trying to cross compile mono to arm architecture with help of scratchbox2 but I couldn't successfully complete the task. The whole process I did is given below *A. Setting Up scratchbox2* 1. Clone the scratchbox 2 repository: $ git clone

Re: [Mono-dev] Fwd: Possible bug in System.Net.Sockets.Socket?

2013-01-29 Thread Esben Laursen
Den 29-01-2013 14:26, Yuriy Solodkyy skrev: Hi, we have a problem with mono sometimes not invoking a callback when completing an operation. We use a patch from gonzalo.m...@gmail.com mailto:gonzalo.m...@gmail.com which fixes the problem for us. You can try building mono with this patch and

Re: [Mono-dev] Possible bug in System.Net.Sockets.Socket?

2013-01-29 Thread Esben Laursen
Den 29-01-2013 14:27, Rodrigo Kumpera skrev: Please file a bug with a minimal test case that shows the problem. Hi Rodrigo, Thanks for the clarification, it might be a silly question, but should I file the bug under Class Libraries or Runtime? Cheers Esben

Re: [Mono-dev] Error during cross compilation of mono to arm

2013-01-29 Thread Rodrigo Kumpera
the eglib build needs binutils installed. On Tue, Jan 29, 2013 at 6:24 AM, dileep m mdileep1...@gmail.com wrote: Hi all, I m trying to cross compile mono to arm architecture with help of scratchbox2 but I couldn't successfully complete the task. The whole process I did is given below

Re: [Mono-dev] Possible bug in System.Net.Sockets.Socket?

2013-01-29 Thread Rodrigo Kumpera
File under class libraries. In doubt, just file it and someone will fix the classification. On Tue, Jan 29, 2013 at 9:46 AM, Esben Laursen hy...@hyber.dk wrote: Den 29-01-2013 14:27, Rodrigo Kumpera skrev: Please file a bug with a minimal test case that shows the problem. Hi Rodrigo,

[Mono-dev] trouble with 1st gen ipad after latest MonoTouch update..

2013-01-29 Thread David Jeske
We're having trouble with a 1st gen iPad not working correctly as of the last couple MonoTouch releases. Our MonoTouch application is crashing, acting funny, tossing unknown selector errors into the console, and debugging under MonoTouch fails to connect to the application. Other app-store apps

Re: [Mono-dev] trouble with 1st gen ipad after latest MonoTouch update..

2013-01-29 Thread David Jeske
My apologies for accidentally posting to the wrong list... I'll repost on monotouch.. On Tue, Jan 29, 2013 at 11:05 AM, David Jeske dav...@gmail.com wrote: We're having trouble with a 1st gen iPad not working correctly as of the last couple MonoTouch releases. Our MonoTouch application is

[Mono-dev] PowerShell 3.0 on Mono

2013-01-29 Thread Bruno Lauzé
Hi, I want to share with you the complete PowerShell 3.0 recompiled for Mono. Code base: https://github.com/brunolauze/pash Screenshots : http://sdrv.ms/WYQaPX Here's what the project includes so far: PowerShell console driven by a modified getline.csPowerShell Language, DLR

Re: [Mono-dev] issue during compile libmono in visual studio c++ 2010

2013-01-29 Thread Jean-Michel.Perraud
Hi, The compilation instructions (on the web site and in the msvc README) are a bit outdated, but this is relatively easy to figure out. I can compile libmono and its dependencies with minimal changes to a recent git clone. I used VS2012 but I don't think VS2010 would be a very different story.

[Mono-list] Unable to get block device size in UnixStream

2013-01-29 Thread Dragony
Hi I want to get the device size of /dev/sda. I have an open fd and a UnixStream, but .Length always returns 0. Is there a POSIX call or something else to get the device size? Mono JIT compiler version 3.0.1 (Debian 3.0.1+dfsg-1~exp1~pre1) -- View this message in context:

Re: [Mono-list] Unable to get block device size in UnixStream

2013-01-29 Thread Jonathan Pryor
On Jan 29, 2013, at 3:46 AM, Dragony csch...@rapidshare.com wrote: I want to get the device size of /dev/sda. I have an open fd and a UnixStream Don't use UnixStream.Length here; UnixStream.Length uses the stat(2) system call, which states: http://linux.die.net/man/2/stat The st_size field