Re: [Mono-dev] Fatal Error In GC: Too Many Threads

2005-08-23 Thread Paul F. Johnson
Hi, > I get this error message box in Mono under Windows running some of the > more interesting tests that I have. At the time it shows up there are > 200 and some odd threads in mono.exe (which, I found this pretty funny, > is less than an iexplore.exe process I have). Basically all of the > th

[Mono-dev] Fatal Error In GC: Too Many Threads

2005-08-23 Thread JD Conley
I get this error message box in Mono under Windows running some of the more interesting tests that I have. At the time it shows up there are 200 and some odd threads in mono.exe (which, I found this pretty funny, is less than an iexplore.exe process I have). Basically all of the threads are in Sl

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Atsushi Eno
Hello, I attached revised one based on your suggestions ... I think /codepage:restore should be named /codepage:default and /codepage:utf8 should be /codepage:utf-8. csc.exe does not support named code pages but this may cause incompatiblity with older mcs version. ... while I left them as is

RE: [Mono-dev] Targets file to aid in Mono development on Visual Studio 2005 Beta 2

2005-08-23 Thread JD Conley
My favorite part of this targets file is that it lets you build projects targeted at Mono class libraries (even mscorlib) and run them under the MS runtime through the VS.NET IDE. This gives you some debugging capabilities of your projects in Windows. However, as far as I know you still need to bui

[Mono-dev] Targets file to aid in Mono development on Visual Studio 2005 Beta 2

2005-08-23 Thread Mike Hull
Hello, Attached is a file that we use for our cross platform development.  It allows us to build a Linux or Mono release from Visual Studio .NET 2005 that targets the Mono class libraries including mscorlib in the same solution as our .NET 1.1 and .NET 2.0 targets. For those of you who are dev

Re: [Mono-dev] [Patch] AssemblyName ctor

2005-08-23 Thread Carlos Alberto Cortez
Hey, I didn't take the choice of using the internal call (unamnaged code) since I thought it was not optimal (Paolo's told me that was not true). About the other point, I hadn't thought about it (using the same function to provide the same behavior for all the possible uses). So I will be using t

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Kornél Pál
I support your latest patch. It does the same as csc.exe except UTF-8 detection using parsing the entire file. Using BOM regardless of /codepage argument is a good decission and csc.exe does this as well. I think /codepage:restore should be named /codepage:default and /codepage:utf8 should be /co

Re: [Mono-dev] Problem compiling gtk-sharp

2005-08-23 Thread Mike Kestner
On Tue, 2005-08-23 at 17:13 +0100, Paul wrote: > By the looks of it though, the problem is not in gtk-sharp, but mcs. > I'll put into bugzilla anyway. That exception is occurring during the code generation target, so I seriously doubt it's mcs. -- Mike Kestner <[EMAIL PROTECTED]> _

Re: [Mono-dev] Problem compiling gtk-sharp

2005-08-23 Thread Paul
Hi, > > Is this a mcs problem and if it is, has it been reported yet? > > You may be the first person to attempt compiling it. I haven't because > I haven't taken the time to get a Gtk+ 2.8 installation up. Install FC rawhide and yay, thou shalt have a gtk2 2.8 box happy and jolly. By the lo

Re: [Mono-dev] Problem compiling gtk-sharp

2005-08-23 Thread Mike Kestner
On Tue, 2005-08-23 at 15:53 +0100, Paul wrote: > Hi, > > I'm trying to compile gtk-sharp with the -for-the-insane bootstrap. It > will compile so far and then gives the following > Is this a mcs problem and if it is, has it been reported yet? You may be the first person to attempt compiling it.

[Mono-dev] Novell.Directory.Ldap in the Mono tree

2005-08-23 Thread JD Conley
I was wondering if there was any synchronization between Novell.Directory.Ldap on Novell forge and Mono. I have noticed that the trees are currently fairly different. I'm trying to make a decision on which to patch, but I don't really know. I am leaning toward patching the one on Novell forge since

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Atsushi Eno
Hi, I still personally don't like such almost-extraneous solution. I actually made similar fix when I was trying to fix bug #75679 ( http://bugzilla.ximian.com/show_bug.cgi?id=75679 ) but the code ran pretty slower than as it is now. So, the matters to solve are: 1) Should we read entir

Re: [Mono-dev] Make install on Solaris 8

2005-08-23 Thread Gary M. Smithrud
The issue is that the install-sh paths are wrong in some of the generated make file (they are ./install-sh and when solaris version of gmake gets there the working directory is at that location, so the file is not found.) I do not know how this even works under Linux (anyone try performing make in

[Mono-dev] Problem compiling gtk-sharp

2005-08-23 Thread Paul
Hi, I'm trying to compile gtk-sharp with the -for-the-insane bootstrap. It will compile so far and then gives the following Unhandled Exception: System.Exception: Gtk.FileChooserConfirmation in <0x00123> GtkSharp.Generation.Signal:get_ReturnGType () in <0x00268> GtkSharp.Generation.Signal:GenVir

[Mono-dev] XSP crash

2005-08-23 Thread Johann BLAIS
Hi all, I've downloaded and installed the latest daily test tarball. When navigating on my web application, my XSP server dies screaming this : 36 4 139 69 20 137 68 36 8 139 199 139 64 20 255 208 ** ERROR **: file tramp-x86.c: line 155 (mono_arch_patch_delegate_trampoline): should not be re

[Mono-dev] Problem with AlternatingRowStyle in GridView

2005-08-23 Thread Johann BLAIS
Hi all, I'm using the GridView control to display some data. When i set the RowStyle->CssClass and AlternatingRowStyle->CssClass property, a problem occurs in the generated code. The lines contains two class tags with the value specified in the 2 properties. For example : AutoGenerateColumns=

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread David Carr
Feelite et at, Thanks for the help with my problem. Looks like I have a bit more learning to do... Should I file a bug report indicating that a StackOverflowException should be thrown in this situation? Thanks for your time, David Carr feelite qiu wrote: > hi David > > the code snippet > >

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread Lluis Sanchez
El dt 23 de 08 del 2005 a les 08:33 -0500, en/na David Carr va escriure: > Feelite et at, > > Thanks for the help with my problem. Looks like I have a bit more > learning to do... > Should I file a bug report indicating that a StackOverflowException > should be thrown in this situation? Please d

Re: [Mono-dev] [Patch] AssemblyName ctor

2005-08-23 Thread Paolo Molaro
On 08/22/05 Carlos Alberto Cortez wrote: > We have mono_assembly_name_parse, which receives a MonoString* and a > MonoAssemblyName*. The problem I find is that every time a > System.Reflection.AssemblyName were created using the described ctor, we > should also create a MonoAssemblyName (not needed

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread Kornél Pál
Yes. Infinite recursion allways has to cause stack overflow thus StackOverflowException should be thrown. Please include the code that causes stack overflow without a StackOverflowException as well. Kornél - Original Message - From: "David Carr" <[EMAIL PROTECTED]> To: Sent: Tuesday, A

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread Michal Moskal
On 8/23/05, Marek Safar <[EMAIL PROTECTED]> wrote: > You can, but the mono runtime should throw StackOverflowException in > this case which is a bug. I've never seen mono throwing this exception (I run into it quite often, for example when some datastructure in the compiler is cyclic). I always g

Re: [Mono-dev] The Bleeding Edge of SuSE is not Mono-friendly

2005-08-23 Thread Steven T. Hatton
On Monday 22 August 2005 17:52, Miguel de Icaza wrote: > Hello, > > > I've discovered that many of my problems with building and running Mono > > were related to having the SuSE bleeding edge bits for Gnome installed. > > After the lattest rpms were uploaded to the ftp server (and installed > > he

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Kornél Pál
There is no other solution to detect UTF-8 without BOM so csc.exe has to do the same.:) But this test could be done only on the first n bytes of a stream then it could be assumed that the rest of the stream has the same encoding. Kornél - Original Message - From: "Atsushi Eno" <[EMAIL PR

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Atsushi Eno
I don't think this is acceptable because of its significant performance loss (reading the entire stream)... Atsushi Eno Kornél Pál wrote: Hi, Character set detection. This code uses a UTF8Encoding with throwOnInvalidBytes. StreamReader detects BOM (UTF-8, Unicode, Unicode (Big-Endian)). UTF

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Kornél Pál
Hi, Character set detection. This code uses a UTF8Encoding with throwOnInvalidBytes. StreamReader detects BOM (UTF-8, Unicode, Unicode (Big-Endian)). UTF-8 is easy to validate as it has strict rules regarding the byte representation of character. So it's safe to assume that a text is UTF-8 if it

Re: [Mono-dev] Make install on Solaris 8

2005-08-23 Thread Paul F. Johnson
Hi Nit, > I am running make install after a successful compile, but the problem > is it keeps failing, and saying install-sh not found. install-sh should be in the root of the directory of each module (i.e. root of mono, root of gtk-sharp etc). A small favour. As you know, I have a page which d

Re: [Mono-dev] mcs patch for default encoding

2005-08-23 Thread Atsushi Eno
Oh, actually I have. I even have a case that does not work with mcs but works with csc - i.e. the case that csc detects utf-8 regardless of BOM. I forgot one thing - with regard to that remaining problem, we need to fix WinForms build (because KeyboardLayout.cs seems to have raw non-ASCII chara

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread Kornél Pál
The code that David created is called recursion as property accessors are methods. Furthermore you cannot have a field and a property with the same name so you have to declare a filed with a different name if you want to store property value. Recursion is coding technique that has a lot of usages

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread Marek Safar
Hello, On 8/23/05, David Carr <[EMAIL PROTECTED]> wrote: I'm getting an unexpected segfault running the code below: Forgive me if its a silly mistake on my part. Thanks for any help, David Carr [EMAIL PROTECTED] ~/Prog/c#/gcross $ mono Crash.exe Segmentation fault Listing for Crash.c

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread knocte
> On 8/23/05, David Carr <[EMAIL PROTECTED]> wrote: > > I'm getting an unexpected segfault running the code below: Forgive me > > if its a silly mistake on my part. > > > > Thanks for any help, > > David Carr > > > > [EMAIL PROTECTED] ~/Prog/c#/gcross $ mono Crash.exe > > Segmentation fault > >

Re: [Mono-dev] Re: [Mono-devel-list] mcs patch for default encoding

2005-08-23 Thread Marek Safar
Hello Eno, Could you write some tests to cover this functionality. I mean e.g. simple test file with UTF header. Thanks, Marek Hi again, Agreed. In fact, I was also fixing bug #75065, maybe duplicate. I have a fix for UTF8Encoding, but it uncovered another mcs bug which does not handle fil

Re: [Mono-dev] Mono runtime segfault

2005-08-23 Thread feelite qiu
hi David the code snippet    int var    {    get { return var; }    set { var = value; }    } creates an infinite loop as properties are internally implemented as methods. So when you instantiate the object,  Crash c = new Crash(10); This chain of action is what I understand new Cras