RE: [Mono-dev] UrlEncode difference in dotnet and mono
Hi Ben, Sorry for late answer. I have problems with Mono System.Web at my cygwin, so if there is anyone still interested in solving the problem, I attach the unittest and the fix here, please check they are correct. The unittest is based on the test I made successfully on dotnet and Grasshopper after applying the patch. Regards, Andrew. Index: System.Web/HttpUtility.cs === --- System.Web/HttpUtility.cs (revision 55002) +++ System.Web/HttpUtility.cs (working copy) @@ -650,7 +650,7 @@ int end = offset + count; for (int i = offset; i end; i++) { char c = (char) bytes [i]; - if ((c == ' ') || (c '0' c != '-' c != '.') || + if ((c == ' ') || (c '0' c != '-' c != '.' c != '*') || (c 'A' c '9') || (c 'Z' c 'a' c != '_') || (c 'z')) { Index: Test/System.Web/HttpUtilityTest.cs === --- Test/System.Web/HttpUtilityTest.cs (revision 55002) +++ Test/System.Web/HttpUtilityTest.cs (working copy) @@ -131,6 +131,21 @@ Assert.AreEqual (%7f, HttpUtility.UrlEncodeUnicode ( + (char) 127), #4); Assert.AreEqual (%u0080, HttpUtility.UrlEncodeUnicode ( + (char) 128), #5); } + + [Test] + public void UrlEncode () + { + string expected = %00%01%02%03%04%05%06%07%08%09%0a%0b%0c%0d%0e%0f%10%11%12%13%14%15%16%1 7%18%19%1a%1b%1c%1d%1e%1f+!%22%23%24%25%26'()*%2b%2c-.%2f0123456789%3a%3 b%3c%3d%3e%3f%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5b%5c%5d%5e_%60abcdefghijklmn opqrstuvwxyz%7b%7c%7d%7e%7f; + StringBuilder sb = new StringBuilder (); + for (char c=Char.MinValue; c128; c++) + sb.Append (System.Web.HttpUtility.UrlEncode(c.ToString())); + Assert.AreEqual (expected, sb.ToString ()); + for (char c=(char)128; c Char.MaxValue; c++) { + string s = c.ToString(); + Assert.IsTrue (s != System.Web.HttpUtility.UrlEncode(s), + UrlEncode must escape character '+s+'); + } + } } } -Original Message- From: Ben Maurer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 01:14 To: Andrew Skiba Cc: [EMAIL PROTECTED]; Mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] UrlEncode difference in dotnet and mono Hi Gonzalo, I found that UrlEncode behaves differently in dotnet and Mono, namely Mono encodes the asterisk (*) symbol into %2a. The following code prints different values, for example: public static void Main () { Console.Out.WriteLine (System.Web.HttpUtility.UrlEncode(aaa*bbb)); } A naive fix might be like this, but may be there are similar problems with other characters. What do you think? This should really come with a unit test. In fact, what really should be done is to generaate a table of UrlEncode (c) for c in [0...char.MaxValue] on msft and check that we give the same results. This would make sure we have no other issues. -- Ben ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Educational collaboration
I'm a student of Computer Science in Tarragona (Spain), and I'm interested in doing my graduate project by contributing mono. I'm interested in the interpreter, and I'm an enthusiast of the parallel programing. There is any possible contribution in this area ? Thanks for all. -- Lluís Pàmies i Juárez ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RE: Glade Custom Widget in mono
Hi! I needed this functionality myself and wrote a class that does the work of dispatching the widget creation calls to the right methods. See the two attached files for the class and how to use it. What should i write in the Creation function field? A method name like create_dgUseri that returns the type of my class or what?I tried to do a function : The string in the widget creation function field is for you to use in your application. You can use this string and the widget name to distinguish between multiple creation functions and widgets in your app. What does String1, String2, Int1 Int2 mean ? And how do I implement this in my mono application? Those are additional parameters you can pass to your creation function. Hope that helps, wolfgang MainWindow.cs Description: Binary data CustomWidgetCreator.cs Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Fwd: Creating an sms-tool - libcurl.mono
Hi there... I've found a little PHP-Script that does that, it uses the PHP curl-implementation [1] for connecting to the online service Natelskyline [2]. As I've seen there's a mono binding for libcurl [3]. That would probably be what I need. The latest Version is from April 2005. Is this binding now already included in the normal Mono package or do I have to download it from the Novell website and compile it myself? Thanks for help! Aaron [1] http://php.benscom.com/manual/en/ref.curl.php [2] http://www.natelskyline.ch [3] http://forge.novell.com/modules/xfmod/project/?libcurl-mono -- Forwarded message -- From: Aaron Meder [EMAIL PROTECTED] Date: Dec 31, 2005 11:44 AM Subject: Creating an sms-tool To: Mono-Devel-Mailinglist mono-devel-list@lists.ximian.com Hi everyone Maybe one of you knows this nice little tool http://www.sms-star.ch.vu/ . This tool can send sms using online services of the mobile-phone providers here in switzerland. So I've you have got an account in such an online service (e.g. www.natelskyline.ch), you can send sms from the sms-star tool. It's great and very comfortable, you don't need to login every time you want to send an sms. You've got an adressbook and everything you need :-p The point is that I would like to have something similiar for my linux workstations! But I don't know how to start at all. How are they doing that? I don't think that there's a public API for the online services. Thanks for help Aaron -- Meder, Aaron - www.telltec.ch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.Reflection.Assemby:LoadFrom question
Hi, I try to compile runtime the VB code below: Option Strict On Imports WFObj Imports NCore Imports NPartner Imports NFilter Imports System.Windows.Forms Imports Microsoft.VisualBasic Public Module WFProcedure_225737 Public Function WFExpression_226217(CurrentApp As WFApp, CurrentConnection As DB.Connection, CurrentOccurence As WF Occurence, CurrentCase As WFCase, CurrentElement As WFElement, CurrentAddressee As Person, Optional ByRef CurrentFieldValue As Object = Nothing) As Object Dim ALAIRO1 As Integer = CInt(WFFieldValue. CalculateValue(CurrentApp, CurrentConnection, ALAIRO1, Current Occurence, CurrentCase, CurrentElement)) Return ALAIRO10 End Function End Module With this code: . . . lobjCParams = New CompilerParameters() lobjCProvider = New Microsoft.VisualBasic.VBCodeProvider() With lobjCParams .GenerateExecutable = False .GenerateInMemory = True .IncludeDebugInformation = False If Not tstraReferences Is Nothing AndAlso tstraReferences.Length 0 Then For I = 0 To tstraReferences.Length - 1 If Not IsES(tstraReferences(I)) Then .ReferencedAssemblies.Add(tstraReferences(I)) End If Next End If .TempFiles = New TempFileCollection(IO.Path.Combine(/tmp, compile), True) .TreatWarningsAsErrors = False End With Try tobjResults = lobjCProvider.CreateCompiler.CompileAssemblyFromSource(lobjCParams, tstrSource) Catch ex As Exception End Try . . . There is an error and I get this stack trace: ERROR: Could not find file /tmp/compile/69597.dll. () 1/3/2006 3:29: 59 PM in 0x0 unknown method in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool) in 0xc System.Reflection.Assembly:LoadFrom (System.String assemblyFile) in 0x00388 Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) in 0x00171 Microsoft.VisualBasic.VBCodeCompiler:CompileFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) in 0x00022 Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromSourceBatch (System.CodeDom.Compiler. CompilerParameter s options, System.String[] sources) in 0x0003c Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromSource (System.CodeDom.Compiler. CompilerParameters opt ions, System.String source) When I use .GenerateInMemory = False VB files are generated under /tmp/compile/ but dlls not again. What is wrong here? Thanks Károly ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] problem while compile svn from mac os x
I get mono and mcs svn versions (r55007), it's compile fine on my debian box, but at mac os x not. I install automake 1.8.5 with fink because with automake version built-in mac os x break autogen.sh When run ./autogen.sh --prefix=/usr/local at mono directory end ok but show this warning messages: /sw/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal Running autoheader... autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. When run make finally out [more out] gcc -dynamiclib -o .libs/libMonoPosixHelper.dylib .libs/errno.o .libs/map.o .libs/signal.o .libs/stdio.o .libs/string.o .libs/stdlib.o .libs/dirent.o .libs/fcntl.o .libs/fstab.o .libs/grp.o .libs/macros.o .libs/old-map.o .libs/pwd.o .libs/serial.o .libs/sys-mman.o .libs/sys-sendfile.o .libs/sys-stat.o .libs/sys-statvfs.o .libs/sys-time.o .libs/sys-wait.o .libs/sys-xattr.o .libs/syslog.o .libs/time.o .libs/unistd.o .libs/utime.o .libs/x-struct-str.o .libs/zlib_macros.o -pthread -L/sw/lib /sw/lib/libgthread-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lz -lpthread -lm -install_name /usr/local/lib/libMonoPosixHelper.dylib powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread' ld: warning multiple definitions of symbol _locale_charset /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset ld: Undefined symbols: _lutimes /usr/bin/libtool: internal link edit command failed make[2]: *** [libMonoPosixHelper.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Does anyone know how to fix this? Thanks in advance. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
RE: [Mono-dev] UrlEncode difference in dotnet and mono
+ for (char c=Char.MinValue; c128; c++) chars are from 0 to 2^16-1 -- Ben ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] UrlEncode difference in dotnet and mono
Just use Char.MaxValue instead of 128 - Original Message - From: Ben Maurer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Mono-devel-list@lists.ximian.com; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 6:41 PM Subject: RE: [Mono-dev] UrlEncode difference in dotnet and mono + for (char c=Char.MinValue; c128; c++) chars are from 0 to 2^16-1 -- Ben ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] UrlEncode difference in dotnet and mono
There are two for loops in the test case you are talking about: + for (char c=Char.MinValue; c128; c++) + for (char c=(char)128; c Char.MaxValue; c++) { But I think this check is too lame: + string s = c.ToString(); + Assert.IsTrue (s != System.Web.HttpUtility.UrlEncode(s), I think it's better to do equality test with expected value if we need this at all. Kornél - Original Message - From: Matthijs ter Woord [EMAIL PROTECTED] To: Ben Maurer [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Mono-devel-list@lists.ximian.com Sent: Tuesday, January 03, 2006 6:51 PM Subject: Re: [Mono-dev] UrlEncode difference in dotnet and mono Just use Char.MaxValue instead of 128 - Original Message - From: Ben Maurer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Mono-devel-list@lists.ximian.com; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 6:41 PM Subject: RE: [Mono-dev] UrlEncode difference in dotnet and mono + for (char c=Char.MinValue; c128; c++) chars are from 0 to 2^16-1 -- Ben ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Monodoc
Hi there guys, 1) Is there a way to extend monodoc without changing the monodoc.xml file? I wanted to add documentation but without having to change it. 2) Is there a way to create nodes inside my documentation or only on the monodoc.xml file? Cheers, SpigaZ out... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Getting Ready for 1.1.13 Release
Hey all, We're getting ready for the 1.1.13 release. Tarballs will be created Thursday evening MST. This will probably be our last drop into the upcoming SuSE products. Wade signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Validator controls expected results?
Per the documentation.. If I have display=None and a asp:ValidationSummary / control then the validator control should not display results inline, but the JS still executes. I found a work-around by EnableClientScript=false.. bug? This is in Firefox latest version.. (Haven't tested in Safari, IE, Opera.. etc..) This works as expected.. Example : asp:requiredfieldvalidator id=valPhone runat=server Controltovalidate=txtPhone Display=None EnableClientScript=false Errormessage=Please enter a phone number. / asp:ValidationSummary id=vsResults runat=server DisplayMode=List EnableClientScript=false ShowSummary=true ShowMessageBox=true HeaderText=Results / If possible can someone send me the actual html output that MS .Net produces and I'll see if I can make a patch.. I'd also like to see the actual html produced in the summary control with DisplayMode= being changed to each option.. List, BulletList, SingleParagraph In my patch should I not change the elements to xhtml compliant? example : br to br / Thanks C. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] FileStream Exception
Hi, i was trying implement something for System.IO.Ports on windows, but i have found a issue. The following code compiles on mcs and works fine in ms.net runtime: StreamReader sr; StreamWriter sw; Console.WriteLine(1); MSystem.IO.Ports.SerialPort.WindowsPortManager.Open(COM1, 9600, 8, 0, 1, out sr, out sw); Console.WriteLine(2); sw.WriteLine(hi); Console.WriteLine(3); sw.Flush(); Console.WriteLine(4); Console.WriteLine(sr.ReadLine()); Console.WriteLine(5); Console.ReadLine(); Compiled by MCS: ms.net runtime: 1 2 3 4 hi 5 but using mono runtime... 1 2 3 Invalid parameter in 0x0009d System.IO.FileStream:WriteInternal (System.Byte[] src, Int32 src_offset, Int32 count) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_byte[]_int_int (byte[],int,int) Extra information: both streamreader and streamwriter has been created with a filestream whose handle has been got using the system call CreateFile in kernel32.dll -- No hay viento favorable para el que no sabe donde va.Pablo Iñigo Blasco - GeuS- www.geus.es.vg ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] FileStream Exception
Hi, i was trying implement something for System.IO.Ports on windows, but i have found a issue. The following code compiles on mcs and works fine in ms.net runtime: StreamReader sr; StreamWriter sw; Console.WriteLine(1); MSystem.IO.Ports.SerialPort.WindowsPortManager.Open(COM1, 9600, 8, 0, 1, out sr, out sw); Console.WriteLine(2); sw.WriteLine(hi); Console.WriteLine(3); sw.Flush(); Console.WriteLine(4); Console.WriteLine(sr.ReadLine()); Console.WriteLine(5); Console.ReadLine(); Compiled by MCS: ms.net runtime: 1 2 3 4 hi 5 but using mono runtime... 1 2 3 Invalid parameter in 0x0009d System.IO.FileStream:WriteInternal (System.Byte[] src, Int32 src_offset, Int32 count) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_byte[]_int_int (byte[],int,int) Extra information: both streamreader and streamwriter has been created with a filestream whose handle has been got using the system call CreateFile in kernel32.dll -- No hay viento favorable para el que no sabe donde va. Pablo Iñigo Blasco - GeuS- www.geus.es.vg ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Need testers for Mono's C# generics compiler.
Hello, I need developers that have generics code to try a new version of the C# compiler. I fixed bugs #72908 and #59289, but am afraid that my changes could have introduced regressions. This compiler can compile our SVN tree, and passes all of our C# tests, but I would like to get more testing. A binary is available here: http://primates.ximian.com/~miguel/tmp/gmcs.exe To install, copy this gmcs.exe into your $prefix/lib/mono/2.0 directory and try building your generics code with it. If you rather use the source, I have attached the current patch. Miguel Index: cs-tokenizer.cs === --- cs-tokenizer.cs (revision 55012) +++ cs-tokenizer.cs (working copy) @@ -44,6 +44,7 @@ bool handle_assembly = false; bool handle_constraints = false; bool handle_typeof = false; + bool simple_name_deambiguation = false; Location current_location; Location current_comment_location = Location.Null; ArrayList escapedIdentifiers = new ArrayList (); @@ -172,6 +173,29 @@ } } + Stack state = new Stack (); + + // + // Sets the new state for the simple-name-deambiguation. + // + public void PushSND (bool value) + { + state.Push (simple_name_deambiguation); + simple_name_deambiguation = value; + if (debug) +Console.WriteLine (PUSH: ambiguation IS: {0}, simple_name_deambiguation); + } + + // + // Restores the previous state for the simple-name-deambiguation. + // + public void PopSND () + { + simple_name_deambiguation = (bool) state.Pop (); + if (debug) +Console.WriteLine (POP: ambiguation is: {0}, simple_name_deambiguation); + } + public XmlCommentState doc_state { get { return xmlDocState; } set { @@ -255,6 +279,59 @@ } } + // + // This is used when the tokenizer needs to save + // the current position as it needs to do some parsing + // on its own to deamiguate a token in behalf of the + // parser. + // + Stack position_stack = new Stack (); + class Position { + public int position; + public int ref_line; + public int col; + public int putback_char; + public int previous_col; + public int parsing_generic_less_than; + + public Position (Tokenizer t) + { +position = t.reader.Position; +ref_line = t.ref_line; +col = t.col; +putback_char = t.putback_char; +previous_col = t.previous_col; +parsing_generic_less_than = t.parsing_generic_less_than; + } + } + + public void PushPosition () + { + position_stack.Push (new Position (this)); + } + + public void PopPosition (bool restore_glt) + { + Position p = (Position) position_stack.Pop (); + + reader.Position = p.position; + ref_line = p.ref_line; + col = p.col; + putback_char = p.putback_char; + previous_col = p.previous_col; + + if (debug) +Console.WriteLine ({3} PopPopsition with {0} {1}-{2}, restore_glt, parsing_generic_less_than, p.parsing_generic_less_than,Location); + if (restore_glt) +parsing_generic_less_than = p.parsing_generic_less_than; + } + + // Do not reset the position, ignore it. + public void DiscardPosition () + { + position_stack.Pop (); + } + static void AddKeyword (string kw, int token) { keywordStrings.Add (kw, kw); if (keywords [kw.Length] == null) { @@ -354,6 +431,8 @@ AddKeyword (partial, Token.PARTIAL); } + static bool debug = false; + // // Class initializer // @@ -364,6 +443,9 @@ styles = NumberStyles.Float; string_builder = new System.Text.StringBuilder (); + + if (Environment.GetEnvironmentVariable (D) != null) +debug = true; } int GetKeyword (char[] id, int id_len) @@ -478,7 +560,12 @@ return false; } - bool parse_less_than () + // + // The level indicates the nestedness level. This is required + // to perform the extra check in case that simple_name_deambiguation + // is set to true + // + bool parse_less_than (int level) { start: int the_token = token (); @@ -514,14 +601,27 @@ again: the_token = token (); - if (the_token == Token.OP_GENERICS_GT) + if (the_token == Token.OP_GENERICS_GT){ +// +// Check for the 9.2.3 special cases +// +if (debug) + Console.WriteLine (__GT {0} + Environment.StackTrace, simple_name_deambiguation); +if (level == 0 simple_name_deambiguation){ + PushPosition (); + bool v = next_token_is_allowed_after_generic_closing (); + PopPosition (true); + return v; +} return true; + } + else if ((the_token == Token.COMMA) || (the_token == Token.DOT)) goto start; else if (the_token == Token.INTERR) goto again; else if (the_token == Token.OP_GENERICS_LT) { -if (!parse_less_than ()) +if (!parse_less_than (level+1)) return false; goto again; } else if (the_token == Token.OPEN_BRACKET) { @@ -537,8 +637,52 @@ return false; } - int parsing_generic_less_than = 0; + // + // This
[Mono-dev] windows.forms crash under osX using darwinports
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just tried this simple example: using System; using System.Windows.Forms; public class test { public static void Main() { MessageBox.Show(Hello World); } } I got mono with all libs from darwinports. After fixing the dllmap in /opt/local/etc/mono/config I got it to run, but it crashes somewhere in memory management :(. I append a fairly detailed Crashreport from the osX CrashReporter below. Daniel 0 libSystem.B.dylib 0x90009280 szone_calloc + 936 1 libSystem.B.dylib 0x90008e74 calloc + 660 2 libglib-2.0.0.dylib 0x00633d34 g_malloc0 + 72 (icplusplus.c:28) 3 mono 0x00016e64 calculate_sizes + 60 (mini-ppc.c: 423) 4 mono 0x0001847c mono_arch_call_opcode + 76 (mini- ppc.c:851) 5 mono 0x0008be5c mono_emit_method_call_full + 140 (mini.c:2182) 6 mono 0x00093b50 mono_method_to_ir + 25932 (mini.c: 2112) 7 mono 0x000a2208 mini_method_compile + 660 (mini.c: 9201) 8 mono 0x000a3768 mono_jit_compile_method_with_opt + 848 (mini.c:9565) 9 mono 0x000b7004 ppc_magic_trampoline + 40 (tramp- ppc.c:94) 10 0x01801314 0 + 25170708 11 0x03148b04 0 + 51677956 12 0x03147318 0 + 51671832 13 0x03146908 0 + 51669256 14 0x007d48b8 0 + 8210616 15 mono 0x0004ebe0 mono_runtime_class_init + 464 (object.c:261) 16 mono 0x000a3950 mono_jit_compile_method_with_opt + 1336 (mini.c:9616) 17 mono 0x000b7004 ppc_magic_trampoline + 40 (tramp- ppc.c:94) 18 0x01801314 0 + 25170708 19 0x028e7158 0 + 42889560 20 0x007d48b8 0 + 8210616 21 mono 0x0004ebe0 mono_runtime_class_init + 464 (object.c:261) 22 mono 0x000a3950 mono_jit_compile_method_with_opt + 1336 (mini.c:9616) 23 mono 0x000b7004 ppc_magic_trampoline + 40 (tramp- ppc.c:94) 24 0x01801314 0 + 25170708 25 0x028c1650 0 + 42735184 26 0x028c146c 0 + 42734700 27 0x028186e8 0 + 42043112 28 0x007d48b8 0 + 8210616 29 mono 0x0004ebe0 mono_runtime_class_init + 464 (object.c:261) 30 mono 0x000a3950 mono_jit_compile_method_with_opt + 1336 (mini.c:9616) 31 mono 0x000b7004 ppc_magic_trampoline + 40 (tramp- ppc.c:94) 32 0x01801314 0 + 25170708 33 0x02817bac 0 + 42040236 34 0x02817678 0 + 42038904 35 0x02816f8c 0 + 42037132 36 0x02816874 0 + 42035316 37 0x028166c0 0 + 42034880 38 0x028162b8 0 + 42033848 39 0x028159b0 0 + 42031536 40 0x007d47dc 0 + 8210396 41 0x007d46c0 0 + 8210112 42 0x007d1ce0 0 + 8199392 43 0x007d1c08 0 + 8199176 44 mono 0x0004f864 mono_runtime_exec_main + 300 (object.c:2040) 45 mono 0x00052598 mono_runtime_run_main + 544 (object.c:1897) 46 mono0x46c8 mono_main + 4656 (driver.c:941) 47 mono0x27fc _start + 344 (crt.c:272) 48 mono0x26a0 start + 60 Thread 1: 0 libSystem.B.dylib 0x90040258 mach_wait_until + 8 1 libSystem.B.dylib 0x90040020 nanosleep + 384 2 mono 0x000dc8a4 collection_thread + 48 (collection.c:43) 3 libSystem.B.dylib 0x9002b200 _pthread_body + 96 Thread 2: 0 libSystem.B.dylib 0x90053f68 semaphore_timedwait_signal_trap + 8 1 libSystem.B.dylib 0x90053dc8 pthread_cond_timedwait + 672 2 mono 0x00072b34 timedwait_signal_poll_cond + 120 (handles.c:1185) 3 mono 0x000745d4 _wapi_handle_timedwait_signal_handle + 296 (handles.c:1249) 4 mono 0x000804cc WaitForSingleObjectEx + 428 (wait.c:179) 5 mono0x0002bc0c finalizer_thread + 100 (gc.c:752) 6 mono0x0006f804 start_wrapper + 192 (threads.c:305) 7 mono 0x0007fc64 timed_thread_start_routine + 208 (timed-thread.c:134) 8 libSystem.B.dylib 0x9002b200 _pthread_body + 96 Thread 0 crashed with PPC Thread State 64: srr0: 0x90009280 srr1: 0x0200f930vrsave: 0x cr: 0x8402 xer: 0x2004 lr: 0x90008f94 ctr: 0x90008ed8 r0: 0x002c r1: 0xbfffde70 r2: 0x0331b3e0 r3: 0x01800038 r4: 0x r5: 0x002c r6: 0x r7: 0x0001 r8: 0xfffd r9: 0x002c r10: 0x0368 r11: 0x03302004 r12: 0x90008ed8
RE: [Mono-dev] Need testers for Mono's C# generics compiler.
Hi Miguel, I just tried it on our code base and everything compiles fine. Running unit tests now (on the code it produced), and haven't seen any issues yet. We have a good bit of generics in our code base and have submitted several gmcs bugs. All have been promptly addressed except 76440 for some reason. We have a workaround for it now, but it's a bit painful. FYI: I work for the Fanfare Group (Silicon Valley software startup) and we just released our flagship product FanfareSVT. A command line version that runs on Mono is due out very soon. This test case automation software targeted (for the moment) at testing products with a command line oriented interface (i.e. network boxes, etc) and we've been building all but the GUI components in both Mono and .NET. Keep up the good work! --andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza Sent: Tuesday, January 03, 2006 2:54 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; mono-devel-list@lists.ximian.com Subject: [Mono-dev] Need testers for Mono's C# generics compiler. Hello, I need developers that have generics code to try a new version of the C# compiler. I fixed bugs #72908 and #59289, but am afraid that my changes could have introduced regressions. This compiler can compile our SVN tree, and passes all of our C# tests, but I would like to get more testing. A binary is available here: http://primates.ximian.com/~miguel/tmp/gmcs.exe To install, copy this gmcs.exe into your $prefix/lib/mono/2.0 directory and try building your generics code with it. If you rather use the source, I have attached the current patch. Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list