[Mono-dev] Form Authentication

2016-07-01 Thread Neale Ferguson
I have been trying to get a good looking demo to show off Mono to some folks new to the technology. I used the NerdDinner app as it exercised a number of interesting things. However, there is one problem that is causing some grief. I am able to register an account and sign on. However, it does not

[Mono-dev] DateTime.Now

2016-06-16 Thread Neale Ferguson
When DateTime.Now looks to adjust its value based on timezone (and daylight saving requirements), it fetches a value UtcNow. This value is obtained by a call to unmanaged code GetSystemTimeAsFileTime() which the JIT maps to mono_100ns_datetime(). This routine uses gettimeofday() to fetch the

[Mono-dev] Setting and Getting Thread Priority

2016-06-07 Thread Neale Ferguson
After adding support for setting and getting thread priorities I’ve found there’s one piece missing. Before a thread is started you can set its priority such that when it’s started it will start with this priority instead of the priority of the thread creating it. At the moment the code lets this

[Mono-dev] Build failure

2016-05-31 Thread Neale Ferguson
Anyone seen this: ReferenceSources/SettingsSectionInternal.cs(24,17): error CS8051: Auto-implemented property `System.Net.Configuration.SettingsSectionInternal.CheckCertificateName' must have set accessor or initializer ReferenceSources/SettingsSectionInternal.cs(28,29): error CS8051:

[Mono-dev] Build error

2016-05-10 Thread Neale Ferguson
Over the last couple of days days I have been encountering an error building from master. I did a make clean but it persists: System.Net.Sockets/SocketAsyncEventArgs.cs(203,34): warning CS0420: `System.Net.Sockets.SocketAsyncEventArgs.in_progress': A volatile field references will not be treated

[Mono-dev] System.SR

2016-03-28 Thread Neale Ferguson
I am looking at incorporating the CoreFx System.Data.SqlClient into mono and in examining the code have come across references to the System.SR namespace. I am not familiar with this and it seems not to exist elsewhere in either the reference sources or mono sources. Neale

[Mono-dev] profiling

2016-02-25 Thread Neale Ferguson
Sometimes when we run the profiler and then run mprof-report we get instances of “unresolved classes” in the report. How does this happen and is it a concern? Neale ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-dev] Data protection failed exception

2016-01-21 Thread Neale Ferguson
Does this problem description ring any bells before I go too much further problem shooting (done a couple of hours already, so should have sent this first!): 1. Application Version: Mono 4.3 2. redhat 5.1-5.3 3. intel x86 4. Priority: 20 5. Description: Data protection failed.: at

Re: [Mono-dev] Data protection failed exception

2016-01-21 Thread Neale Ferguson
Further to the problem, tt seems to be a threading issue since if a lock is put around this method call: return ProtectedData.Protect(data, extraEntropy, dataProtectionScope); then it would work. This seems to try an access some file in .mono/keypair and it seems to be some concurrency issue

[Mono-dev] Strange build problem

2016-01-19 Thread Neale Ferguson
Re: bugzilla 37781 On the same virtual machine in which the Jenkins bot successfully builds mono, I am encountering failures of an unusual type. Thinking it might be a hangover to something in the account’s home directory, I created a completely new account, cloned from master, configured and

[Mono-dev] certmgr - #35064

2015-11-09 Thread Neale Ferguson
Hi, I still haven’t found a solution to the problem #35064 (see below). Is there another way on Linux to achieve the same result - i.e. Import a private key into the right place required? Neale MONO_PATH=$MCS/class/lib/net_4_x:$HOME/Mono/xsp/src/lib $MONO/mono/mini/mono-sgen

Re: [Mono-dev] certmgr problem

2015-10-19 Thread Neale Ferguson
orted the resulting files back to windows so I could run the pvk2pfx and then attempted to import that key back on mono. Neale On 10/16/15, 12:35 PM, "Neale Ferguson" <ne...@sinenomine.net> wrote: >When running certmgr to import a key I am getting the following error: >

[Mono-dev] certmgr problem

2015-10-16 Thread Neale Ferguson
When running certmgr to import a key I am getting the following error: System.Security.Cryptography.CryptographicException: Invalid MAC - file may have been tampered! I have verified that the key is ok: [neale@lneale3 - mono] openssl pkcs12 -info -in /tmp/MonoTestCert.pfx Enter Import

Re: [Mono-dev] Registry

2015-10-08 Thread Neale Ferguson
Client wants to move from Windows to mono on Linux. Hi there, Are you trying to run "on mono" or do you mean on mono linux or mac? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] Registry

2015-10-08 Thread Neale Ferguson
While this wouldn’t protect against “rogue” apps who want to trash things, would using the existing mechanism but using the Linux locking primitives (which are co-operative and not proscriptive) to serialize access to the underlying files/directories be an option? One option would be to

[Mono-dev] Registry

2015-10-06 Thread Neale Ferguson
We have a client who is testing the waters with porting some .NET based applications to mono. However, a couple of these critical applications rely on the windows registry. The implementation of registry-support in mono is quite crude and not process-safe and this is holding them back. I am

[Mono-dev] Registry question

2015-08-27 Thread Neale Ferguson
Is registry multi-process safe? How are registry transactions maintained by Mono? Also, I assume the EventLog is just syslog on Linux. Neale ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-dev] WCF

2015-08-26 Thread Neale Ferguson
Does the doc at http://www.mono-project.com/docs/web/wcf/ reflect the current state of WCF support? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] MonoJitInfo question

2015-08-19 Thread Neale Ferguson
In MonoJitInfo there is a union: union { MonoMethod *method; MonoImage *image; gpointer aot_info; gpointer tramp_info; } d; How do I know which thing to dereference against? There is a field is_trampoline which

[Mono-dev] s390x - delegate-async-exit

2015-08-05 Thread Neale Ferguson
Hi, The above test appears to have started failing after https://github.com/mono/mono/commit/8f7b98b9b23dd5cc42011cff5c5c31b32ae1b55 6 (at least according to the jenkins log). What I’m seeing is that the obj pointer being passed to major_copy_or_mark_object_no_evacuation is 0x1:

Re: [Mono-dev] s390x - delegate-async-exit

2015-08-05 Thread Neale Ferguson
Further investigation shows the value being set here: 0x80200bb2 is in mono_gc_wbarrier_set_arrayref (sgen-mono.c:171). 166 void 167 mono_gc_wbarrier_set_arrayref (MonoArray *arr, gpointer slot_ptr, MonoObject* value) 168 { 169 HEAVY_STAT (++stat_wbarrier_set_arrayref);

[Mono-dev] Update strangeness

2015-07-30 Thread Neale Ferguson
9ffebc9d4e13bebe456b05fad1fd85e4f3c7f0d2 (May 12) introduced this piece of code: - else - start = get_delegate_invoke_impl (TRUE, 0, NULL, FALSE); + } else + MonoTrampInfo *info; + start =

Re: [Mono-dev] Update strangeness

2015-07-30 Thread Neale Ferguson
Ah, that explains it. I will push my fix shortly. Please note that even though that commit was authored on May 12, it only went into master with https://github.com/mono/mono/pull/1929 about 9 hours ago. ___ Mono-devel-list mailing list

[Mono-dev] nunit-console

2015-07-05 Thread Neale Ferguson
I have a series of tests for the c# mongodb driver of the form: [Test] public async Task QueryAll() { I had successfully run nunit-console4 against the dll that xbuild created but just suddenly the tests started to be not run with nunit-console complaining: Method

[Mono-dev] do_rehash race

2015-05-28 Thread Neale Ferguson
Hi, When a hash table exceeds a threshold a rehash operation is triggered. At the moment the new table is allocated and its address placed in the table field of the structure. The do_rehash also then copies the entries from the old table to the new. However, if there is another thread active that

[Mono-dev] Timing/race conditions

2015-05-21 Thread Neale Ferguson
Hi, I have been experiencing some failures with the tests in mono/tests, particularly in a single core configuration. Firstly, the sleep test: when the delegated thread is started, the main thread goes to call the StopWatch start method which requires JITting. This involves gc interaction as

[Mono-dev] Token not found

2015-05-19 Thread Neale Ferguson
I am trying to determine why I am getting the following abort with the following message and stack trace. I am after a strategy for shooting the problem rather than a definitive answer... Could not find required dynamic token 0x0a05 #7 0x003979832925 in raise () from /lib64/libc.so.6

[Mono-dev] Not building on s390x

2015-05-08 Thread Neale Ferguson
Hi, I cloned from master and now my s390x build fails on the corlib build (the second one after basic). It is crashing in get of CurrentThread. The sequence of code that is now being produced is odd: 1 tls_get R17 - 2 load_membase R18 - [R17 + 0x60] 3 load_membase R19 - [R18 +

[Mono-dev] Endian Question

2015-04-28 Thread Neale Ferguson
The following test fails on s390x as the string that is encoded from the decrypted block ends is in little endian order: public void FullRoundtripRead () { byte[] encrypted; using (DebugStream mem1 = new DebugStream

[Mono-dev] mono-core.spec.in

2015-04-21 Thread Neale Ferguson
Why was mono-core.spec.in dropped from the source? What is/will be used to generate RPMS? Neale ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] LoadWIthPartialNameInternal

2015-04-08 Thread Neale Ferguson
I am running the test suite on s390x and am getting a lot of failures in the System.Windows.Forms tests. A trace shows that LoadWithPartialNameInternal is generating a not-implemented exception. This method is being called by methods in the referencesource tree which also has its own

[Mono-dev] Strange enum issue

2015-03-12 Thread Neale Ferguson
I really need some advice or direction on this… If I make the following change to external/ikvm/reflect/Projection.cs: --- a/reflect/Projection.cs +++ b/reflect/Projection.cs @@ -71,11 +71,17 @@ namespace IKVM.Reflection static WindowsRuntimeProjection() {

[Mono-dev] Proposed endian optimization - s390x

2015-03-11 Thread Neale Ferguson
Hi, I am proposing the following changes to mono-endian.h to optimize little-endian to big-endian processing for s390x. The architecture defines instructions for just this purpose so instead of doing shifts etc. we can just do this: --- a/mono/metadata/mono-endian.h +++

Re: [Mono-dev] Strange enum issue

2015-03-10 Thread Neale Ferguson
Definitely the problem: ves_icall_System_Enum_GetEnumValuesAndNames.3229: 0. field=System_Runtime value=0 ves_icall_System_Enum_GetEnumValuesAndNames.3229: 1. field=System_Runtime_InteropServices_WindowsRuntime value=16777216 ves_icall_System_Enum_GetEnumValuesAndNames.3229: 2.

Re: [Mono-dev] Strange enum issue

2015-03-10 Thread Neale Ferguson
Thanks! This is a good starting point. On 3/10/15, 3:01 PM, Robert Jordan robe...@gmx.net wrote: There was a recent commit which added MS' reference source Enum support to Mono: https://github.com/mono/mono/commit/65dba595eaea2c871d1f72fbdc04f6440350af 96 Maybe it's an endian-related issue.

Re: [Mono-dev] Strange enum issue

2015-03-10 Thread Neale Ferguson
PM To: Neale Ferguson ne...@sinenomine.netmailto:ne...@sinenomine.net Cc: Mono-Devel mono-devel-list@lists.ximian.commailto:mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Strange enum issue Hi Neale, ves_icall_System_Enum_GetEnumValuesAndNames.3229: 0. field=System_Runtime value=0

Re: [Mono-dev] Strange enum issue

2015-03-10 Thread Neale Ferguson
I changed the read_enum_value function to do the swaps and rebuilt. Now the Console.Error.WriteLine() in WindowsRuntimeProjection() produces: WindowsRuntimeProjection - System_Runtime System_Runtime_InteropServices_WindowsRuntime Count Which is what is expected. However, I’m still crashing

Re: [Mono-dev] NRE building from head

2015-03-09 Thread Neale Ferguson
].Add (TypeName key, IKVM.Reflection.Mapping value) [0x0] in filename unknown:0 at IKVM.Reflection.WindowsRuntimeProjection..cctor () [0x0] in filename unknown:0 On 3/5/15, 10:28 AM, Neale Ferguson ne...@sinenomine.net wrote: I cloned from head yesterday and am now crashing

[Mono-dev] NRE building from head

2015-03-05 Thread Neale Ferguson
I cloned from head yesterday and am now crashing in IKVM.Reflection.TypeName.GetHashCode with a NRE. Does this look familiar? Before the clone, the copy I was using was up to date as of Monday and it was working. I recloned just to have a clean slate after Atushi committed my endian fixes for the

[Mono-dev] Endian problem - #27258

2015-02-27 Thread Neale Ferguson
This appears to solve the problem I reported that was causing build problems on s390x (big-endian). I get a clean build at least, and the tests in mono/mini mono/tests pass. I'm sure it is suboptimal (it seems that a generic method might be an option) but it illustrates what needs doing: ---

[Mono-dev] Build problems

2015-02-18 Thread Neale Ferguson
Over the last couple of days I’ve had problems building from head on s390x. (1) When I use 3.6.1 I get: MCS [basic] mscorlib.dll warning CS2002: Source file `../../../external/referencesource/mscorlib/system/globalization/bidicatego ry.cs' specified multiple times warning CS2002: Source

[Mono-dev] gc

2014-10-17 Thread Neale Ferguson
Hi, We were helping someone who was having performance problems with a large streaming application that they run under .NET and mono. On .NET the app takes around 7-10 seconds to do its stuff. On Mono on Linux it was taking 47 seconds or so to do the same thing. The mono system had 256G RAM and

[Mono-dev] spec file changes to enable RH builds

2014-09-29 Thread Neale Ferguson
A couple of changes needed in order to enable building on RHEL and CentOS 6/7 - libgdiplus0: --- a/libgdiplus0.spec.in +++ b/libgdiplus0.spec.in @@ -16,14 +16,19 @@ Provides: libgdiplus BuildRequires: cairo-devel = 1.6.4 BuildRequires: fontconfig-devel -BuildRequires:

Re: [Mono-dev] OracleClient.Oci and GC

2014-08-26 Thread Neale Ferguson
, at 2:05 PM, Neale Ferguson nealefergu...@verizon.net wrote: Do you mean mine not having protected virtual? Dispose(bool) doesn't need to be `protected virtual` unless you plan on supporting inheritance. Rephrased: if your type is sealed, it doesn't need to be `protected virtual`. If your

Re: [Mono-dev] OracleClient.Oci and GC

2014-08-25 Thread Neale Ferguson
); indicator = IntPtr.Zero; } } However, when I run the test program I see 1251 constructors being run but only 572 destructors/disposals. How do I reconcile this disparity? Neale On Aug 22, 2014, at 11:40 AM, Neale Ferguson

Re: [Mono-dev] OracleClient.Oci and GC

2014-08-25 Thread Neale Ferguson
Do you mean mine not having protected virtual? On Aug 25, 2014, at 2:00 PM, Jonathan Pryor jonpr...@vt.edu wrote: Idiomatic IDisposable implementation is slightly different from what you have: http://msdn.microsoft.com/en-us/library/system.idisposable(v=vs.110).aspx

Re: [Mono-dev] OracleClient.Oci and GC

2014-08-22 Thread Neale Ferguson
I am also wondering about the parameters in some of the OCIBind methods and the OCIDefineByPosPtr that are ref IntPtr. There's a small window when GC could suspend the thread where the IntPtr object is also moved before the OCI call has completed and set the underlying IntPtr field. On Aug

Re: [Mono-dev] OracleClient.Oci and GC

2014-08-22 Thread Neale Ferguson
Is that just a comment on my ref IntPtr question or the use of ref with the OCI stuff in general? On Aug 22, 2014, at 10:45 AM, Rodrigo Kumpera kump...@gmail.com wrote: Mono does conservative scanning of the native stack, so once the pointer has crossed over to native, the containing

Re: [Mono-dev] OracleClient.Oci and GC

2014-08-22 Thread Neale Ferguson
Thanks. I've made changes to OciDefineHandle and have cured nearly all the failures I had been experiencing. I have started on OracleParameter as it has an object called indicator that is used by the OCIBindxxx calls and appears to suffer from the same problem. I was allocating the object in

[Mono-dev] OracleClient.Oci and GC

2014-08-21 Thread Neale Ferguson
I've been looking at OciDefineHandle and the OciDefineByPos call it uses in particular. Currently two of the parameters passed to this call are short variables. They are passed as ref fields as Oracle uses their address to put size and indicator data once the data is fetched. However, being

Re: [Mono-dev] RPM build

2014-08-19 Thread Neale Ferguson
Not personally, but as part of your build process to make a download of the s390x RPM available publicly. On Aug 19, 2014, at 2:29 AM, Timotheus Pokorra timotheus.poko...@solidcharity.com wrote: Hello Neale, Are you interested in packages for Linux on System z (aka s390x)? I can only

Re: [Mono-dev] RPM build

2014-08-19 Thread Neale Ferguson
I can provide a buildbot environment or whatever you use to create packages at the same time the x86[_64] ones are built. On Aug 19, 2014, at 10:45 AM, Timotheus Pokorra timotheus.poko...@solidcharity.com wrote: On 19 August 2014 15:01, Neale Ferguson nealefergu...@verizon.net wrote

[Mono-dev] thread6 test

2014-08-19 Thread Neale Ferguson
What should the output of thread6 test look like (apart from caught instead of cought)? Here's what I'm getting at the moment - Thread 1 started Count: 0 cought exception level 3 cought exception level 2 STATETEST System.Threading.ThreadAbortException: Thread was being aborted at

Re: [Mono-dev] thread6 test

2014-08-19 Thread Neale Ferguson
Thanks, my test times out but the output looks like it should. On Aug 19, 2014, at 4:17 PM, Rodrigo Kumpera kump...@gmail.com wrote: Thread 1 started Count: 0 cought exception level 3 cought exception level 2 STATETEST System.Threading.ThreadAbortException: Thread was being

[Mono-dev] RPM Build Error

2014-08-18 Thread Neale Ferguson
Using the source RPM for openSUSE 12.3 I get the following error: usr/src/packages/BUILD/mono-3.6.0 + cp ../../SOURCES/env.sh /usr/src/packages/BUILDROOT/mono-opt-3.6.0-1.1.x86_64//opt/mono cp: cannot stat `../../SOURCES/env.sh': No such file or directory error: Bad exit status from

[Mono-dev] RPM build

2014-08-18 Thread Neale Ferguson
I copied env.sh from monodevelop and adapted for openSUSE and the build went cleanly. However, why does the RPM believe it has these Requires: rpm -q --requires -p ../RPMS/x86_64/mono-opt-3.6.0-1.1.x86_64.rpm : mono() = 0.0.736.133 mono() = 0.0.738.133 mono() = 0.0.741.133 mono() = 0.0.743.133 :

Re: [Mono-dev] RPM build

2014-08-18 Thread Neale Ferguson
Are you interested in packages for Linux on System z (aka s390x)? On Aug 18, 2014, at 5:09 PM, Timotheus Pokorra timotheus.poko...@solidcharity.com wrote: Hello Neale, I copied env.sh from monodevelop and adapted for openSUSE and the build went cleanly. However, why does the RPM believe

Re: [Mono-dev] Large object size limits

2014-06-13 Thread Neale Ferguson
If we include limits.h it includes posix1_lim.h which defines SSIZE_MAX Neale On Jun 14, 2014, at 4:07 AM, Rodrigo Kumpera kump...@gmail.com wrote: Hi Neale, We should change from SIZE_MAX to the max value a ssize_t can hold. -- Rodrigo On Thu, Jun 12, 2014 at 4:38 PM, Neale

Re: [Mono-dev] Large object size limits

2014-06-13 Thread Neale Ferguson
to the max value a ssize_t can hold. -- Rodrigo On Thu, Jun 12, 2014 at 4:38 PM, Neale Ferguson nealefergu...@verizon.net wrote: The following program runs fine on .NET - using System; using System.Collections.Generic; using System.Runtime; using System.Text; namespace

[Mono-dev] Large object size limits

2014-06-12 Thread Neale Ferguson
The following program runs fine on .NET - using System; using System.Collections.Generic; using System.Runtime; using System.Text; namespace LargeObjectTest { class Program { static void Main(string[] args) { IListdouble

[Mono-dev] Problem building with big arrays

2014-06-10 Thread Neale Ferguson
Building from head and using --trace=E [0x228a030:] EXCEPTION handling: System.IndexOutOfRangeException: Array index is out of range. [0x228a030:] EXCEPTION handling: System.TypeInitializationException: An exception was thrown by the type initializer for System.TermInfoDriver

Re: [Mono-dev] Some test failures for s390x

2014-05-29 Thread Neale Ferguson
On May 28, 2014, at 2:17 PM, Neale Ferguson nealefergu...@verizon.net wrote: After adding support for handler block trampoline, I ran through the test suite and found that I'm failing in these tests (I tested without the handler changes as well). All these timeout: bug-10127.exe finalizer

[Mono-dev] Some test failures for s390x

2014-05-28 Thread Neale Ferguson
After adding support for handler block trampoline, I ran through the test suite and found that I'm failing in these tests (I tested without the handler changes as well). All these timeout: bug-10127.exe finalizer-exception.exe monitor.exe sleep.exe It doesn't appear to matter whether its

[Mono-dev] AssemblyFileVersion

2014-05-22 Thread Neale Ferguson
Hi, When compiling an assembly , the File version info of the file is set by reading the AssemblyInfo.AssemblyFileVersion attribute. On mono it seems to be reading the AssemblyVersion attribute. As a test, set these 2 attributes into an assembly: [assembly: AssemblyVersion(2011.04.0.0)]

[Mono-dev] MS Sans Serif

2014-05-16 Thread Neale Ferguson
I'm running the test suite for mono on System z using my Mac as the X-server. When it gets to the forms tests etc. it calls gdi+ to return a generic sans serif font. It returns MS Sans Serif which doesn't exist on the Mac. Am I able to influence gdi+ so that it returns Microsoft Sans Serif or

Re: [Mono-dev] MS Sans Serif

2014-05-16 Thread Neale Ferguson
: This is the method: font.c:GdipGetGenericFontFamilySansSerif (GpFontFamily **nativeFamily) On Fri, May 16, 2014 at 5:49 PM, Neale Ferguson nealefergu...@verizon.net wrote: I'm running the test suite for mono on System z using my Mac as the X-server. When it gets to the forms tests etc. it calls gdi

[Mono-dev] Update SqlParameter.cs to support DateTime2

2014-05-01 Thread Neale Ferguson
Proposing the following. Comments? --- a/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs +++ b/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs @@ -594,6 +594,10 @@ namespace System.Data.SqlClient { MetaParameter.TypeName =3D datetime;

[Mono-dev] WCF compilation

2013-10-02 Thread Neale Ferguson
Hi, I am writing a WCF-based service which I¹m making available via xsp. When I go to access it, the compilation starts as expected. However, the parameters used by the mcs.exe process that is kicked off doesn¹t include a ­r:System.Web that my service needs to build cleanly. I added the following

Re: [Mono-dev] Help with xsp

2013-09-20 Thread Neale Ferguson
Reported as bug 14877 On 9/19/13 11:16 PM, Daniel Lo Nigro li...@dan.cx wrote: I can confirm that I get the same error using Mono 3.0.7. I'd suggest raising it as a bug in the Mono bug tracker. ___ Mono-devel-list mailing list

Re: [Mono-dev] Help with xsp

2013-09-19 Thread Neale Ferguson
:08 AM, Robert Jordan robe...@gmx.net wrote: Neale, On 18.09.2013 00:19, Neale Ferguson wrote: I had a webservice that was working fine. I duplicated a routine - same name but with different parameters which requires the MessageName attribute. So for the duplicated routine which originally

Re: [Mono-dev] Help with xsp

2013-09-18 Thread Neale Ferguson
...@gmx.net wrote: Neale, On 18.09.2013 00:19, Neale Ferguson wrote: I had a webservice that was working fine. I duplicated a routine - same name but with different parameters which requires the MessageName attribute. So for the duplicated routine which originally just had

[Mono-dev] Help with xsp

2013-09-17 Thread Neale Ferguson
I had a webservice that was working fine. I duplicated a routine - same name but with different parameters which requires the MessageName attribute. So for the duplicated routine which originally just had: [WebMethod (Description=Process VMARCH QUERY TAPES ALL command)] I changed

[Mono-dev] Build problem

2013-04-19 Thread Neale Ferguson
Before I go on a bisect adventure, I was wondering if anyone had any ideas why this has started happening into last couple of weeks: Creating the per profile list ../../build/deps/basic_System.Core.dll.sources ... MCS [basic] System.Core.dll MCS [build] mscorlib.dll Stacktrace: at

Re: [Mono-dev] TypeForwardedFrom

2013-04-16 Thread Neale Ferguson
Crap! I managed to stuff up the request-pull procedure. I thought I had committed and pushed to my fork but apparently I pushed to master. Not sure how I can recover from this stupidity. On 4/16/13 9:12 AM, Robert Jordan robe...@gmx.net wrote: Would you please create separate github pull

Re: [Mono-dev] TypeForwardedFrom

2013-04-15 Thread Neale Ferguson
Using the patches attached to this email I am now able to serialize on Mono and deserialize on Windows using ObservableCollections. The only differences I see between the serializations on each platform is as follows: --- mono.decode2013-04-15 14:44:18.952996746 -0400 +++ win.decode

Re: [Mono-dev] TypeForwardedFrom

2013-04-12 Thread Neale Ferguson
good. Maybe the error is somewhere else, so try to disable the IL serializer with MONO_REFLECTION_SERIALIZER=yes mono yourtest.exe If it still breaks, the bug is in WriteTypeAssembly. Robert On 11.04.2013 20:58, Neale Ferguson wrote: This, in my naivety, looks like what I want. However

Re: [Mono-dev] TypeForwardedFrom

2013-04-12 Thread Neale Ferguson
, GetForwardedAttribute.GetAssemblyName(aType)); However, while the aType.Assembly.FullName returns the expected string into asmName, the subsequent call to GetAssemblyId(aType.Assembly) ends up with a segv. Neale On 4/12/13 10:46 AM, Neale Ferguson nealefergu...@verizon.net wrote: In both

Re: [Mono-dev] TypeForwardedFrom

2013-04-12 Thread Neale Ferguson
change. Robert On 12.04.2013 16:46, Neale Ferguson wrote: In both the MONO_REFLECTION_SERIALIZER=yes no cases we die in GetAssemblyId when called from WriteTypeSpec: case TypeTag.GenericType: writer.Write (type.FullName); writer.Write ((int)GetAssemblyId (type.Assembly

Re: [Mono-dev] TypeForwardedFrom

2013-04-11 Thread Neale Ferguson
? Neale On 4/11/13 6:47 AM, Robert Jordan robe...@gmx.net wrote: Hi Neale, On 11.04.2013 01:45, Neale Ferguson wrote: [MethodImplAttribute (MethodImplOptions.InternalCall)] private extern string get_fullname (); Where is get_fullname? I can't find it anywhere. In any event just

Re: [Mono-dev] TypeForwardedFrom

2013-04-11 Thread Neale Ferguson
Thanks again and apologies for peppering you with questions. In WriteAssemblyName() it retrieves the AssemblyFullName so I'm not sure how I can get the forwarded name without the associated Type value. Neale On 4/11/13 10:04 AM, Robert Jordan robe...@gmx.net wrote: Neale, The icall's

Re: [Mono-dev] TypeForwardedFrom

2013-04-11 Thread Neale Ferguson
the type directly instead type.Assembly to WriteTypeAssembly. Don't forget CodeGenerator.cs, where things get nastier due to IL code generation ;) Robert On 11.04.2013 17:48, Neale Ferguson wrote: Thanks again and apologies for peppering you with questions. In WriteAssemblyName() it retrieves

Re: [Mono-dev] TypeForwardedFrom

2013-04-10 Thread Neale Ferguson
and pass it a Type in place of the type's Assembly object. Whatever you do, don't forget that there is another fast serializer implemented in CodeGenerator.cs which must be kept in sync with ObjectWriter.cs Robert On 09.04.2013 00:18, Neale Ferguson wrote: Hi, I've taken your code

Re: [Mono-dev] TypeForwardedFrom

2013-04-09 Thread Neale Ferguson
in place of the type's Assembly object. Whatever you do, don't forget that there is another fast serializer implemented in CodeGenerator.cs which must be kept in sync with ObjectWriter.cs Robert On 09.04.2013 00:18, Neale Ferguson wrote: Hi, I've taken your code as a base for creating

Re: [Mono-dev] TypeForwardedFrom

2013-04-08 Thread Neale Ferguson
Hi, I've taken your code as a base for creating a test fix. It works nicely but .NET appears to be doing something a little strange (in my eyes, not theirs of course). A program (such as shown in bugzilla 11294) when run creates a serialized object but the header contents are different: Mono -

[Mono-dev] TypeForwardedFrom

2013-04-04 Thread Neale Ferguson
Hi, I¹m looking at fixing an incompatibility between .NET and Mono when it comes to Serialization. Bugzilla 11294 describes the situation but in brief it is a case that when .NET serializes something that has a TypeForwardedFrom attribute that information gets put into the serialized object, but

[Mono-dev] ObservableCollection and BindingList Serialization

2013-03-11 Thread Neale Ferguson
Hi, ObservableCollection was moved from Windows.Base to System and TypeForwardedTo and TypeForwardedFrom tags were added to the relevant source code. ObservableCollection is serializable but when done on a Windows system using .NET = 3 the serialized object will still contain the WindowsBase,

Re: [Mono-dev] Mono Maintainers list

2012-04-16 Thread Neale Ferguson
s390x architecture maintainer ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] SQL Server question

2011-12-20 Thread Neale Ferguson
After fixing bug 609109, we're encountering an interesting situation. It appears that the performance improvement is working too well. Running an internal test suite, we're finding that things work well but then suddenly we get the server side closing the connection (a RST packet is being sent)

Re: [Mono-dev] Candidate Fix for 699643

2011-12-05 Thread Neale Ferguson
to be having a senior moment trying to work out the simplest method of performing the test. Neale On 11/23/11 2:14 PM, Veerapuram Varadhan vvarad...@novell.com wrote: Yes, certainly On Wed, 2011-11-23 at 14:05 -0500, Neale Ferguson wrote: Understood. Will something like this help

[Mono-dev] Suggested fix for dropped SQL connection

2011-12-02 Thread Neale Ferguson
While executing SQL Transactions it's possible that the connection may be lost and a read or write operation will fail. For example, at the moment Tds.ExecuteQuery will catch the I/O exception (resulting from TdsComm.SendPhysicalPacket getting an error doing a write) and set connected = false. The

[Mono-dev] Candidate Fix for 699643

2011-11-23 Thread Neale Ferguson
I am looking to commit the following fix http://pastebin.com/qw2WdzPr to resolve bug 699643 (https://bugzilla.novell.com/show_bug.cgi?id=699643). Would someone be willing to review it? Neale ___ Mono-devel-list mailing list

[Mono-dev] Crash in delegate-invoke test

2011-06-19 Thread Neale Ferguson
Since Friday I¹ve been getting the following failure in running the delegate-invoke test after building from Head: Unhandled Exception: System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke) Module:invoke_int__this___EmptyStruct (EmptyStruct): IL_004d: castclass 0x0007

[Mono-dev] Problem building mscorlib.dll

2011-04-28 Thread Neale ferguson
I am adding softdebugger support to s390x and tried a build this morning. It's clean through my changes but I am getting the following when it starts on MCS: make[8]: Entering directory `/home/neale/Mono/mono/mcs/class/corlib' MCS [build] mscorlib.dll error CS2011: Unable to open

[Mono-dev] Error compiling WebConnection.cs

2010-04-07 Thread Neale Ferguson
Just updated to head, did get-monolite-latest and getting this during the build: System.Net/WebConnection.cs(361,82): error CS0246: The type or namespace name `CertificateValidationCallback2' could not be found. Are you missing a using directive or an assembly reference?

[Mono-dev] Problem with regression test of exceptions.exe

2009-07-27 Thread Neale Ferguson
I¹m having problems with Pastebin at the moment so I was unable to place the following there and use IRC: Strange situation running regression test for exceptions.exe. I am crashing as the following call returns NULL: case OP_START_HANDLER: { MonoInst

[Mono-dev] s390x test failures

2009-06-29 Thread Neale Ferguson
I¹ve fixed some LCONV/ICONV stuff for s390x and now pass the basic/basic-long/exceptions tests that used to fail. However, it is failing in the more complex tests in ./tests: synchronized: - Unhandled Exception: System.Threading.SynchronizationLockException: Object is not synchronized

Re: [Mono-dev] [Ximian-mono-list] Call for feedback, release notes Mono 1.1.16

2006-06-27 Thread Neale Ferguson
Fixed bug with atomic exchange operations (s390/s390x). ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] Printer profile

2006-05-22 Thread Neale Ferguson
Hi, I have created a few different printer profiles for a printer that I want to invoke under certain conditions. Is there something I can use that will cause a specific profile to be used for a given job? I cannot find anything under PrintDocument.PrinterSettings. Neale

[Mono-dev] Possible Bug in BigInteger.Multiply

2005-12-30 Thread Neale Ferguson
I've been having build problems with my 64-bit s390 system. I've tracked it down to what I believe is a bug in BigInteger.Multiply that is overwriting a BigInteger field and corrupting the .data.Length field of the object. Multiply is being called from OddPow. The error manifests itself in

RE: [Mono-dev] Possible Bug in BigInteger.Multiply

2005-12-30 Thread Neale Ferguson
I now believe it's my implementation of long_div_un that is the underlying problem. The bounds are only being exceeded because the size of the BigInteger is twice the size it should be. I'm investigating this and will report when done. Neale -Original Message- Hello Neale, I'll look

  1   2   >