From kobruleht2 at hot.ee Sat Dec 1 13:04:55 2007 From: kobruleht2 at hot.ee (Andrus) Date: Sat, 1 Dec 2007 20:04:55 +0200 Subject: [Mono-list] Incompatibility in MONO SelectNodes method Message-ID: <001301c8346b$4950db80$f4787ec2@acer> In bug #343960 https://bugzilla.novell.com/show_bug.cgi?id=343960 I presented code which works OK in .NET but crashes in MONO 1.2.6 pvw2. Probably SelectNodes() in .NET creates new list but in MONO it does not. Atsushi refuses to fix this and marks it INVALID several times. This is fundamental incompatibility between .NET and MONO XML DOM implementation. Is it really reasonable not to fix this ? How to change this code so it works in MONO also ? Andrus. From kobruleht2 at hot.ee Sat Dec 1 18:00:11 2007 From: kobruleht2 at hot.ee (Andrus) Date: Sun, 2 Dec 2007 01:00:11 +0200 Subject: [Mono-list] file threads.c: line 386 (mono_hazard_pointer_get): assertion failed: Message-ID: <00aa01c8346f$444dc220$f4787ec2@acer> There are frequent messages show below when I exit application. Message box remain in screen some seconds and then vanishes without pressing OK button. I havent noticed such messages in previous MONO versions. How to fix ? Andrus. 1.2.6.1 preview 2 in Windows XP .NET 2 profile. --------------------------- ** ERROR **: file threads.c: line 386 (mono_hazard_pointer_get): assertion failed: (current_thread && current_thread->small_id >= 0) aborting... --------------------------- OK --------------------------- From robertj at gmx.net Sat Dec 1 21:29:12 2007 From: robertj at gmx.net (Robert Jordan) Date: Sun, 02 Dec 2007 03:29:12 +0100 Subject: [Mono-list] Incompatibility in MONO SelectNodes method In-Reply-To: <001301c8346b$4950db80$f4787ec2@acer> References: <001301c8346b$4950db80$f4787ec2@acer> Message-ID: Andrus wrote: > In bug #343960 > > https://bugzilla.novell.com/show_bug.cgi?id=343960 > > I presented code which works OK in .NET but crashes in MONO 1.2.6 pvw2. > Probably SelectNodes() in .NET creates new list but in MONO it does not. > Atsushi refuses to fix this and marks it INVALID several times. He explained pretty well why he refused to fix it. > This is fundamental incompatibility between .NET and MONO XML DOM > implementation. Come on! > Is it really reasonable not to fix this ? > > How to change this code so it works in MONO also ? XmlNodeList list = xDoc.SelectNodes("//comment()"); ArrayList temp = new ArrayList (); foreach (XmlNode node in list) temp.Add (node); foreach (XmlNode node in temp) node.ParentNode.RemoveChild(node); Robert From lluis at ximian.com Sat Dec 1 22:14:15 2007 From: lluis at ximian.com (Lluis Sanchez) Date: Sun, 02 Dec 2007 04:14:15 +0100 Subject: [Mono-list] Incompatibility in MONO SelectNodes method In-Reply-To: References: <001301c8346b$4950db80$f4787ec2@acer> Message-ID: <1196565255.4319.15.camel@portador.site> El dg 02 de 12 del 2007 a les 03:29 +0100, en/na Robert Jordan va escriure: > Andrus wrote: > > In bug #343960 > > > > https://bugzilla.novell.com/show_bug.cgi?id=343960 > > > > I presented code which works OK in .NET but crashes in MONO 1.2.6 pvw2. > > Probably SelectNodes() in .NET creates new list but in MONO it does not. > > Atsushi refuses to fix this and marks it INVALID several times. > > He explained pretty well why he refused to fix it. > > > This is fundamental incompatibility between .NET and MONO XML DOM > > implementation. MSDN documentation on XmlNodeList: "The XmlNodeList collection is "live"; that is, changes to the children of the node object that it was created from are immediately reflected in the nodes returned by the XmlNodeList properties and methods" Which means that if you start iterating on an XmlNodeList and a node included in the list is removed from the parent, the XmlNodeList you are iterating on will change, so you will get an exception if you continue iterating. That's how iterators work. MSDN documentation on SelectNodes(): "The XmlNodeList should not be expected to be connected "live" to the XML document" So while an XmlNodeList returned by ChildNodes will always be "live", one returned by SelectNodes *may* or *may not* be live. For your specific test case, in Mono the collection is live, in .NET it is not, and both behaviors are correct according to the documentation. So it is not a bug on .NET or Mono, it is a bug in your code. Lluis. From marek.wyborski at arcor.de Sun Dec 2 03:29:14 2007 From: marek.wyborski at arcor.de (Marek Wyborski) Date: Sun, 02 Dec 2007 09:29:14 +0100 Subject: [Mono-list] Dual-Core Cpu-Usage In-Reply-To: <39c74bb90711240838r481875bbs910a2448383f6ea7@mail.gmail.com> References: <4747F710.8050000@arcor.de> <39c74bb90711240838r481875bbs910a2448383f6ea7@mail.gmail.com> Message-ID: <47526CDA.1020909@arcor.de> So nobody here can tell why Mono is not using the full power of my processor?? Or more better give me a hint how to make it run at full speed? Mono uses both Processors, but the usage of the second one is only about 50 %. From alan.mcgovern at gmail.com Sun Dec 2 08:06:50 2007 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Sun, 2 Dec 2007 13:06:50 +0000 Subject: [Mono-list] Dual-Core Cpu-Usage In-Reply-To: <47526CDA.1020909@arcor.de> References: <4747F710.8050000@arcor.de> <39c74bb90711240838r481875bbs910a2448383f6ea7@mail.gmail.com> <47526CDA.1020909@arcor.de> Message-ID: <117799f00712020506h15217b8fqb77c9a9668668d77@mail.gmail.com> Without a testcase, it's impossible to tell. The difference could be anything really. If you suspect a bug in mono, then there needs to be some testcase that can be run so we can pinpoint the issue. One thing you could try would be to run your program under mono on windows and see if you get the same performance as it does under .NET on windows. Alan. On Dec 2, 2007 8:29 AM, Marek Wyborski wrote: > So nobody here can tell why Mono is not using the full power of my > processor?? Or more better give me a hint how to make it run at full > speed? Mono uses both Processors, but the usage of the second one is > only about 50 %. > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071202/c62f9c0e/attachment.html From miguel at novell.com Sun Dec 2 12:32:08 2007 From: miguel at novell.com (Miguel de Icaza) Date: Sun, 02 Dec 2007 12:32:08 -0500 Subject: [Mono-list] MONO_GAC_PREFIX not working In-Reply-To: <6938f5390711292112j631beef7h46ad34b418a15365@mail.gmail.com> References: <6938f5390711292112j631beef7h46ad34b418a15365@mail.gmail.com> Message-ID: <1196616728.4327.71.camel@erandi.boston.ximian.com> > but before the script I had 195 packages in gacutil -l, 135 after it. Bug in gacutil, it is only the runtime that uses MONO_GAC_PREFIX at load time; Please file a bug report. From list at Cofundos.org Sun Dec 2 18:30:58 2007 From: list at Cofundos.org (Cofundos.org) Date: Mon, 3 Dec 2007 00:30:58 +0100 (CET) Subject: [Mono-list] mono-runtime and gtk-sharp2 (and required) packages for OpenWrt Message-ID: <20071202233058.2BD25DB10CA@akswprod0.informatik.uni-leipzig.de> Hi all, The following Mono related project was created on Cofundos.org (a platform for describing open-source project ideas and pooling resources for their implementation): *mono-runtime and gtk-sharp2 (and required) packages for OpenWrt* by fabiand Tags: GTK+ Mono C# OpenWrt Embedded http://Cofundos.org/project.php?id=75 Project description: It would be nice to have a clean mono-runtime package including gtk-sharp2 (and libgdiplus) for OpenWrt kamikaze, to run c#/gtk2 bytecode. X11 and most required libraries are already part of OpenWrts package repository. The package should at least be available for the x86-2.6 target. Links: OpenWrt: http://www.openwrt.org OpenWrt dev: http://dev.openwrt.org/ mono: http://www.mono-project.com/Main_Page cross compile hints: http://www.openembedded.org/repo/org.openembedded.dev/packages/mono/README More info at: http://Cofundos.org/project.php?id=75 You can support this project by commenting it or bidding for its impementation! -- 240 Cofundos users were placing 133 bids (amounting Euro 6175) on 67 projects. *Please help making open-source even more successful* Spread the word about http://Cofundos.org From billowdragon at gmail.com Sun Dec 2 21:40:38 2007 From: billowdragon at gmail.com (billow dragon) Date: Mon, 3 Dec 2007 10:40:38 +0800 Subject: [Mono-list] problem about "like" Message-ID: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com> hi,guys: Now i am in this situation:I want to use the cause "like",i wrote: string commd = "select * from buyerinfo where BuyerName like '%?blurName%'"; MySqlParameter para = new MySqlParameter("?blurName", MySqlDbType.VarChar, 45, "BuyerName"); para.Value = blurName; It didn't work. I changed that like this: string commd = "select * from buyerinfo where BuyerName like '%"+"?blurName"+"%'"; MySqlParameter para = new MySqlParameter("?blurName", MySqlDbType.VarChar, 45, "BuyerName"); para.Value = blurName; or: blurName="'%"+"blurName"+"%'"; string commd = "select * from buyerinfo where BuyerName like ?blurName"; MySqlParameter para = new MySqlParameter("?blurName", MySqlDbType.VarChar, 45, "BuyerName"); para.Value = blurName; or: string commd = "select * from buyerinfo where BuyerName like '%?blurName%'"; MySqlParameter para = new MySqlParameter("?blurName", MySqlDbType.VarChar, 45, "BuyerName"); para.Value = blurName; It also didn't work, when executed ,It returned nothing ,which definitely wrong. Any advise will be appreciated,thx! -- Best regards?? haitao -- Best regards! ???? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071203/5ac2e3eb/attachment-0001.html From kbrannigan at vitruviansolutions.com Sun Dec 2 22:36:41 2007 From: kbrannigan at vitruviansolutions.com (Kenneth H. Brannigan) Date: Sun, 02 Dec 2007 22:36:41 -0500 Subject: [Mono-list] Exception When Using System.Net.Mail Message-ID: <5CEDA9CC-796A-43FD-8CFD-C84B8D37E694@vitruviansolutions.com> I am getting the following exception when using System.Net.Mail in mono 1.2.4_4: Unhandled Exception: System.Net.Mail.SmtpException: 500 5.5.1 Command unrecognized: "AUTH LOGIN" at System.Net.Mail.SmtpClient.Authenticate (System.String Username, System.String Password) [0x00000] at System.Net.Mail.SmtpClient.PerformAuthentication () [0x00000] at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00000] at MonoTestConsoleApplication.Program.Main (System.String[] args) [0x00000] Here is the code: System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage("admin at test.com", "sent at test.com"); message.Subject = "Test From Mono"; message.Body = "THIS IS COOL"; message.IsBodyHtml = true; System.Net.Mail.SmtpClient server = new System.Net.Mail.SmtpClient("localhost"); server.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network; server.Send(message); When I run the following code using the old System.Web.Mail namespace it works perfectly: System.Web.Mail.MailMessage oldMessage = new System.Web.Mail.MailMessage(); oldMessage.To = "sent at test.com"; oldMessage.From = "admin at test.com"; oldMessage.Subject = "OLD MONO"; oldMessage.BodyFormat = System.Web.Mail.MailFormat.Html; oldMessage.Body = "THIS IS COOL"; System.Web.Mail.SmtpMail.SmtpServer = "localhost"; System.Web.Mail.SmtpMail.Send(oldMessage); Any help will be very much appreciated. Thanks, Ken Kenneth H. Brannigan CTO Vitruvian Solutions?, LLC Mobile: 201.602.6542 E-mail: kbrannigan at vitruviansolutions.com Web: www.vitruviansolutions.com The contents of this e-mail are privileged and confidential. This e- mail is intended to be read only by the individual(s) or entity to whom it is addressed. If you are not the intended recipient of this e- mail, please notify the sender and delete the e-mail. Any review, retransmission, dissemination, copying or other use of this e-mail or its contents is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071202/ef300918/attachment.html From robertj at gmx.net Mon Dec 3 04:10:44 2007 From: robertj at gmx.net (Robert Jordan) Date: Mon, 03 Dec 2007 10:10:44 +0100 Subject: [Mono-list] problem about "like" In-Reply-To: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com> References: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com> Message-ID: billow dragon wrote: > hi,guys: > > Now i am in this situation:I want to use the cause "like",i wrote: > string commd = "select * from buyerinfo where BuyerName like '%?blurName%'"; string commd = "select * from buyerinfo where BuyerName like ?blurName"; > MySqlParameter para = new MySqlParameter("?blurName", MySqlDbType.VarChar, > 45, "BuyerName"); > para.Value = blurName; MySqlParameter para = new MySqlParameter("?blurName", MySqlDbType.VarChar, 45, "%BuyerName%"); Robert From grendello at gmail.com Mon Dec 3 04:59:42 2007 From: grendello at gmail.com (Marek Habersack) Date: Mon, 3 Dec 2007 10:59:42 +0100 Subject: [Mono-list] ASP.NET Button with no OnClick event handler problem...? In-Reply-To: <101a13480711260618s4fc4006yccc9c4d8a3025ae@mail.gmail.com> References: <101a13480711260618s4fc4006yccc9c4d8a3025ae@mail.gmail.com> Message-ID: <20071203105942.076850ba@gmail.com> On Mon, 26 Nov 2007 15:18:49 +0100, "Thomas Hansen" scribbled: Hey Thomas, > Howdy, I'm one of the developers behind Gaia Ajax Widgets ( > http://ajaxwidgets.com) and we just had a weird problem which didn't exist > in previous versions of Mono in regards to a custom Button class inherited > from System.Web.UI.WebControls.Button class... [snip] > System.IndexOutOfRangeException: Array index is out of range. > at System.Web.UI.ClientScriptManager.RegisterForEventValidation > (System.String uniqueId, System.String argument) [0x00000] > at System.Web.UI.ClientScriptManager.RegisterForEventValidation > (System.Web.UI.PostBackOptions options) [0x00000] > at System.Web.UI.ClientScriptManager.GetPostBackEventReference > (System.Web.UI.PostBackOptions options, Boolean > registerForEventValidation) [0x00000] > at System.Web.UI.WebControls.Button.GetClientScriptEventReference () > [0x00000] > at System.Web.UI.WebControls.Button.AddAttributesToRender > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.WebControls.WebControl.RenderBeginTag > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.WebControls.WebControl.Render > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at Gaia.WebWidgets.AjaxControl.RenderNonCallback > (Gaia.WebWidgets.RenderControlHtml htmlControlToRender, > System.Web.UI.HtmlTextWriter writer) [0x00000] > at Gaia.WebWidgets.AjaxControl.RenderControl > (Gaia.WebWidgets.RenderControlHtml htmlControlToRender, > System.Web.UI.HtmlTextWriter writer) [0x00000] > at Gaia.WebWidgets.Button.RenderControl > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at Gaia.WebWidgets.MultiView.RenderChildrenOnForceAnUpdate () [0x00000] > at Gaia.WebWidgets.MultiView.RenderCallback > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at Gaia.WebWidgets.MultiView.RenderControl > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at Gaia.WebWidgets.Panel.RenderCallback > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at Gaia.WebWidgets.Panel.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.HtmlControls.HtmlForm.RenderChildren > (System.Web.UI.HtmlTextWriter w) [0x00000] > at System.Web.UI.HtmlControls.HtmlContainerControl.Render > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.HtmlControls.HtmlForm.Render > (System.Web.UI.HtmlTextWriter w) [0x00000] > at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.HtmlControls.HtmlForm.RenderControl > (System.Web.UI.HtmlTextWriter w) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Control.RenderChildren > (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Page.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] > at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter > writer) [0x00000] > at System.Web.UI.Page.InternalProcessRequest () [0x00000] > at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext > context) [0x00000] It looks like a regression. Please file a bug with an attached test case, thanks! best regards, marek -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20071203/c471fa7e/attachment.bin From grendello at gmail.com Mon Dec 3 05:17:00 2007 From: grendello at gmail.com (Marek Habersack) Date: Mon, 3 Dec 2007 11:17:00 +0100 Subject: [Mono-list] When Code-Behind pages get recompiled? In-Reply-To: <1196337754.12062.11.camel@whisper.dnsalias.net> References: <1196337754.12062.11.camel@whisper.dnsalias.net> Message-ID: <20071203111700.5ad02238@gmail.com> On Thu, 29 Nov 2007 13:02:34 +0100, L?szl? Monda scribbled: > Hi List, Hello, > > I'm using mod-mono-server with Mono 1.2.4 installed in Ubuntu Gutsy and > I've noticed that if I modify a .cs file, it doesn't get recompiled. > A .cs file only gets recompiled if their accompanying .aspx file gets > modified. This issue had been fixed after 1.2.4 release > I was told on #mono that sole .cs files get recompiled too upon > modifications using Mono 1.2.6 preview. That's true > > So, to sum things up, I'm curious when Code-Behind pages get recompiled. > From which Mono version does mod-mono-server automatically recompile a > standalone .cs file without touching its accompanying .aspx page and > without restarting the server? Both the .aspx and its associated code-behind file are recompiled when either of those is modified. There is no way to recompile just the .aspx or just the code-behind file - they are strongrly dependent on each other. And once any .as?x or code-behind file is changed throughout the application, the entire application domain has to be unloaded and reinitialized on the next request. best regards, marek -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20071203/7f624b28/attachment.bin From Scott.Fluto at cmgl.ca Mon Dec 3 10:24:49 2007 From: Scott.Fluto at cmgl.ca (Scott Fluto) Date: Mon, 3 Dec 2007 08:24:49 -0700 Subject: [Mono-list] random reflection crashes In-Reply-To: <20071203111700.5ad02238@gmail.com> References: <1196337754.12062.11.camel@whisper.dnsalias.net> <20071203111700.5ad02238@gmail.com> Message-ID: <38B19FF06367EB40B888564C56667616019E7697@emailsrv.cgy.cmgl.ca> We randomly get the flowing system crash runing our unit test under mono and Im not sure if anyhow has run across it. IT doesnt happen all the time but something like once in 10 times, something like that. This is the error we get: ** ERROR **: file reflection.c: line 9694 (mono_reflection_lookup_dynamic_token): assertion failed: (obj) aborting... Stacktrace: at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject (System.IO.BinaryWriter,long,object) [0x0012a] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:361 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject (System.IO.BinaryWriter,long,object) [0x0012a] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:361 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance (System.IO.BinaryWriter,object,bool) [0x00062] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:293 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects (System.IO.BinaryWriter) [0x00005] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:271 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph (System.IO.BinaryWriter,object,System.Runtime.Remoting.Messaging.Header[]) [0x0001f] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:256 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream,object,System.Runtime.Remoting.Messaging.Header[]) [0x000a4] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:230 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream,object) [0x00000] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:209 at System.Runtime.Remoting.RemotingServices.SerializeCallData (object) [0x00032] in /home/scott/monosrc/mono-1.2.6/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:782 at (wrapper xdomain-invoke) NUnit.Core.EventListener.TestFinished (NUnit.Core.TestCaseResult) <0xffffffff> at NUnit.Core.TestFinishedEvent.Send (NUnit.Core.EventListener) <0x00028> at NUnit.Core.EventPump.PumpThreadProc () <0x00067> at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () <0xffffffff> at (wrapper runtime-invoke) System.OutOfMemoryException.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono [0x524871] /lib64/libpthread.so.0 [0x3e9ee0dd20] /lib64/libc.so.6(gsignal+0x35) [0x3e9e2305b5] /lib64/libc.so.6(abort+0x110) [0x3e9e232060] /lib64/libglib-2.0.so.0(g_log+0) [0x3ea4a35050] /lib64/libglib-2.0.so.0(g_log+0x83) [0x3ea4a350d3] /lib64/libglib-2.0.so.0(g_assert_warning+0x76) [0x3ea4a35156] mono [0x45f05e] mono [0x4532a2] mono(mono_field_from_token+0x3b) [0x484f9b] mono [0x500dbc] mono [0x5104b7] mono [0x511c39] mono [0x43e0c2] [0x4000015b] Debug info from gdb: can anyone shed some light on this? thanks scott From Scott.Fluto at cmgl.ca Mon Dec 3 10:07:14 2007 From: Scott.Fluto at cmgl.ca (Scott Fluto) Date: Mon, 3 Dec 2007 08:07:14 -0700 Subject: [Mono-list] mono_hazard_pointer?? In-Reply-To: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com> References: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com> Message-ID: <38B19FF06367EB40B888564C56667616019E768D@emailsrv.cgy.cmgl.ca> When we run our unit tests under mono every once and a while all the unit tests will start failing with this error: ** (process:10045): ERROR (recursed) **: file threads.c: line 386 (mono_hazard_pointer_get): assertion failed: (current_thread && current_thread->small_id >= 0) Since we started using the source code from October to now , we started getting more of these hazard point errors. I cant really pinpoint how or why since its so random, its like something snaps and everything after that just starts failing with the mono_hazard_pointer. Can anyone shed any like on this. I would raise a bug issue but I cant really give any examples yet. thanks scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071203/bb8d0963/attachment.html From kobruleht2 at hot.ee Mon Dec 3 10:40:44 2007 From: kobruleht2 at hot.ee (Andrus) Date: Mon, 3 Dec 2007 17:40:44 +0200 Subject: [Mono-list] mono_hazard_pointer?? References: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com> <38B19FF06367EB40B888564C56667616019E768D@emailsrv.cgy.cmgl.ca> Message-ID: <048d01c835c2$df57f430$7b01a8c0@acer> I reported the same issue yesterday in this list. Havent got any response. For me it seems to occurs randomly but only when I exit my application. I havent found exact steps to reproduce this. Andrus. ----- Original Message ----- From: Scott Fluto To: mono-list at lists.ximian.com Sent: Monday, December 03, 2007 5:07 PM Subject: [Mono-list] mono_hazard_pointer?? When we run our unit tests under mono every once and a while all the unit tests will start failing with this error: ** (process:10045): ERROR (recursed) **: file threads.c: line 386 (mono_hazard_pointer_get): assertion failed: (current_thread && current_thread->small_id >= 0) Since we started using the source code from October to now , we started getting more of these hazard point errors. I cant really pinpoint how or why since its so random, its like something snaps and everything after that just starts failing with the mono_hazard_pointer. Can anyone shed any like on this. I would raise a bug issue but I cant really give any examples yet. thanks scott ------------------------------------------------------------------------------ _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071203/32fa23fa/attachment.html From Scott.Fluto at cmgl.ca Mon Dec 3 11:07:30 2007 From: Scott.Fluto at cmgl.ca (Scott Fluto) Date: Mon, 3 Dec 2007 09:07:30 -0700 Subject: [Mono-list] mono_hazard_pointer?? In-Reply-To: <048d01c835c2$df57f430$7b01a8c0@acer> References: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com><38B19FF06367EB40B888564C56667616019E768D@emailsrv.cgy.cmgl.ca> <048d01c835c2$df57f430$7b01a8c0@acer> Message-ID: <38B19FF06367EB40B888564C56667616019E76D5@emailsrv.cgy.cmgl.ca> ya, for me , its running in the nunit_console test runner and it seems to happen after its finished running the tests. I put the tests in a batch to continuously run and after a few interations it will crash with these errors. For us, we run complex simulations that take hours to run so even 1 failure randomly can cause us many problems so we really need a stable mono environment. The 1.2.5 seems to be pretty stable but the 1.2.6 and the current svn source seems to have some stability problems. Given its not released yet i can understand it but the 1.2.6 prerelease is still rough around the edges. scott From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Andrus Sent: December-03-07 8:41 AM To: mono-list at lists.ximian.com Subject: Re: [Mono-list] mono_hazard_pointer?? I reported the same issue yesterday in this list. Havent got any response. For me it seems to occurs randomly but only when I exit my application. I havent found exact steps to reproduce this. Andrus. ----- Original Message ----- From: Scott Fluto To: mono-list at lists.ximian.com Sent: Monday, December 03, 2007 5:07 PM Subject: [Mono-list] mono_hazard_pointer?? When we run our unit tests under mono every once and a while all the unit tests will start failing with this error: ** (process:10045): ERROR (recursed) **: file threads.c: line 386 (mono_hazard_pointer_get): assertion failed: (current_thread && current_thread->small_id >= 0) Since we started using the source code from October to now , we started getting more of these hazard point errors. I cant really pinpoint how or why since its so random, its like something snaps and everything after that just starts failing with the mono_hazard_pointer. Can anyone shed any like on this. I would raise a bug issue but I cant really give any examples yet. thanks scott ________________________________ _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071203/45f9ecff/attachment-0001.html From jonathan.gagnon at croesus.com Mon Dec 3 11:08:16 2007 From: jonathan.gagnon at croesus.com (Jonathan Gagnon) Date: Mon, 3 Dec 2007 11:08:16 -0500 Subject: [Mono-list] DLLNotFoundException In-Reply-To: <2159.132.203.134.15.1196456387.squirrel@pro.SoftHome.net> References: <012b01c8338e$bb20f110$1b36a8c0@PROG159> <2159.132.203.134.15.1196456387.squirrel@pro.SoftHome.net> Message-ID: <01ee01c835c6$bb446e80$1b36a8c0@PROG159> Indeed, that is very helpful. Thanks, Jonathan -----Message d'origine----- De : Adrien Dessemond [mailto:adrien.dessemond at softhome.net] Envoy? : Friday, November 30, 2007 4:00 PM ? : Jonathan Gagnon Cc : mono-list at lists.ximian.com Objet : Re: [Mono-list] DLLNotFoundException Hi Jonathan, No idea about if is is a defect or not on my side but the following could help you : http://www.mono-project.com/DllMap Regards, Adrien On Fri, November 30, 2007 3:22 pm, Jonathan Gagnon wrote: > Hi, > > I just upgraded to the latest mono release (1.2.5.1) from 1.2.3.1, and > I get a DLLNotFoundException for a P/Invoke. My method is defined > with the following DllImport attribute : > [DllImport("MyAssembly")] > > I didn't specify the file extension of the aseembly on purpose because > I want my code to run on .NET/Windows (.dll extension) as well as > mono/Linux (.so extension). Mono 1.2.3.1 is able to find the file > MyAssembly.so, but mono 1.2.5.1 isn't. A workaround is to rename the > file and remove the .so extension. > > Is this an intended change or is this a regression? Should I file a > bug report for this? > > Thanks, > > Jonathan > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From fxjrlists at yahoo.com.br Mon Dec 3 13:29:33 2007 From: fxjrlists at yahoo.com.br (Francisco Figueiredo Jr.) Date: Mon, 03 Dec 2007 16:29:33 -0200 Subject: [Mono-list] Announce: Nemo 0.1 In-Reply-To: <260c534f0711291442y4431c68ch5334bc76b9483ff@mail.gmail.com> References: <260c534f0711281209v154765b8y5335ddee7ea9701b@mail.gmail.com> <474ECF3A.1050008@yahoo.com.br> <260c534f0711291442y4431c68ch5334bc76b9483ff@mail.gmail.com> Message-ID: <47544B0D.7070706@yahoo.com.br> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anders Rune Jensen wrote: > On Nov 29, 2007 3:39 PM, Francisco Figueiredo Jr. > wrote: >> Hi, Anders! > > Hi Francisco > Hi Anders! > > What filetypes are your existing files? Nemo should show all the > normal file types: pdf, doc, txt, images, zip etc. Also note that you > can change what filetypes Nemo will index in ~/.nemo/configuration.xml > if you have special file types that you want included in Nemo. > > On the first indexing run, Nemo should show you "inserting: > " in the console whenever it insert a file into the > database. Does that appear for your files? You can force it to reindex > using the --reindex switch. You can check the database also, it's an > sqlite3 database stored in ~/.nemo/. > I resintalled tracker and remove .nemo folder. Now it is indexing ok. Just noted the following: PDF files are being previewed correctly, but my .txt files aren't :( Although they appear in search result. I receive a lot of encoding problems, see MONO_EXTERNAL_ENCODING or something like that. nemo seems to have some paths hardcoded to /usr/share, like the no preview image. I'd like to use another prefix when installing it and if the file isn't find, nemo crashes with a filenotfoundexception. I'm liking very much nemo. I started to really use it today. As I get any other feedback, I will let you know. Thanks for this program!! :) Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com Npgsql Lead Developer http://pgfoundry.org/projects/npgsql Mono Project Contributor http://www.go-mono.com MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - -- - Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBR1RKNP7iFmsNzeXfAQKIFwf6As5lHCpyV+HE5vmYg37NyzzcaAwC0RMx HaYgZD9RRFZQFHoAtq0xBOJlm1f+ZTliOZ43Q5Gf32HsOH1Kwhl91A1Cv+ecZ8Nr YO7eQP9X0jh9Z5sx+Ks9QDAhgL886T5R89Q/E8U2umppTH0HRBLj+jKELvc5MV+2 84iXvnfx1dAC1UIYNghweBLZ7wysfvqrkqIe8iJbq2nA3+4SSNa917TzPgVcnJCA kruUdKwmZPLOg/Mm7VNG1anKedQHilOxwXNgVKhA2XH8X2McJQ33aPDvNXEYta2E WIhaYquGUxOTzCYqAH9Sta1Toa7u57/UiSMU4o5KDBB1BzTlIsNs3A== =zvPa -----END PGP SIGNATURE----- From surfzoid at gmail.com Mon Dec 3 15:22:01 2007 From: surfzoid at gmail.com (Petit Eric) Date: Mon, 3 Dec 2007 21:22:01 +0100 Subject: [Mono-list] ClickOnce Message-ID: <84776a970712031222s2ab211aftf4a13270d221f5af@mail.gmail.com> hi folk I just see last week, there is a firefox addon to suport the Microsoft ClickOnce technology, so is Mono/MonoDevelop team plane to suport this one. Just for info here is the link of ClickOnce for firefox development : http://www.softwarepunk.com/ffclickonce/ @++ From rafael.teixeirabr at terra.com.br Tue Dec 4 08:14:23 2007 From: rafael.teixeirabr at terra.com.br (Rafael Teixeira) Date: Tue, 04 Dec 2007 11:14:23 -0200 Subject: [Mono-list] Incompatibility in MONO SelectNodes method In-Reply-To: References: <001301c8346b$4950db80$f4787ec2@acer> Message-ID: <1196774063.18918.11.camel@fedora.webforall.com.br> As a fan of generics I would create a helper class: public class XmlNodeListHelper { public static List CopyNodeList(XmlNodeList list) { List copy = new List(); foreach (XmlNode node in list) copy.Add (node); return copy; } public static void RemoveNodes(XmlNodeList list) { foreach (XmlNode node in CopyNodeList(list)) node.ParentNode.RemoveChild(node); } } And so the code in question would become just: XmlNodeListHelper.RemoveNodes(xDoc.SelectNodes("//comment()")); When using the latest compilers it could be made into a Mono.Rocks helper like: public class XmlNodeListHelper { public static List CopyAsList(this XmlNodeList list) { List copy = new List(); foreach (XmlNode node in list) copy.Add (node); return copy; } public static void RemoveNodes(this XmlNodeList list) { foreach (XmlNode node in list.CopyAsList()) node.ParentNode.RemoveChild(node); } } And then usage would be even simpler Doc.SelectNodes("//comment()").RemoveNodes(); Just my two cents, On Sun, 2007-12-02 at 03:29 +0100, Robert Jordan wrote: > Andrus wrote: > > In bug #343960 > > > > https://bugzilla.novell.com/show_bug.cgi?id=343960 > > > > I presented code which works OK in .NET but crashes in MONO 1.2.6 pvw2. > > Probably SelectNodes() in .NET creates new list but in MONO it does not. > > Atsushi refuses to fix this and marks it INVALID several times. > > He explained pretty well why he refused to fix it. > > > This is fundamental incompatibility between .NET and MONO XML DOM > > implementation. > > Come on! > > > Is it really reasonable not to fix this ? > > > > How to change this code so it works in MONO also ? > > XmlNodeList list = xDoc.SelectNodes("//comment()"); > ArrayList temp = new ArrayList (); > > foreach (XmlNode node in list) > temp.Add (node); > > foreach (XmlNode node in temp) > node.ParentNode.RemoveChild(node); > > Robert > From robertj at gmx.net Tue Dec 4 09:21:36 2007 From: robertj at gmx.net (Robert Jordan) Date: Tue, 04 Dec 2007 15:21:36 +0100 Subject: [Mono-list] Incompatibility in MONO SelectNodes method In-Reply-To: <1196774063.18918.11.camel@fedora.webforall.com.br> References: <001301c8346b$4950db80$f4787ec2@acer> <1196774063.18918.11.camel@fedora.webforall.com.br> Message-ID: Rafael Teixeira wrote: > As a fan of generics I would create a helper class: In such cases I'm using a non-generic "generic" isolator: using System; using System.Collections; public class Isolator : IEnumerable { IEnumerable inner; public Isolator (IEnumerable enumerable) { inner = enumerable; } public IEnumerator GetEnumerator () { ArrayList list = new ArrayList (); foreach (object o in inner) list.Add (o); return list.GetEnumerator (); } } Then I use it this way: XmlNodeList list = xDoc.SelectNodes("//comment()"); foreach (XmlNode node in new Isolator (list)) node.ParentNode.RemoveChild(node); Robert > > public class XmlNodeListHelper > { > public static List CopyNodeList(XmlNodeList list) > { > List copy = new List(); > > foreach (XmlNode node in list) > copy.Add (node); > > return copy; > } > > public static void RemoveNodes(XmlNodeList list) > { > foreach (XmlNode node in CopyNodeList(list)) > node.ParentNode.RemoveChild(node); > } > } > > And so the code in question would become just: > > XmlNodeListHelper.RemoveNodes(xDoc.SelectNodes("//comment()")); > > When using the latest compilers it could be made into a Mono.Rocks > helper like: > > public class XmlNodeListHelper > { > public static List CopyAsList(this XmlNodeList list) > { > List copy = new List(); > > foreach (XmlNode node in list) > copy.Add (node); > > return copy; > } > > public static void RemoveNodes(this XmlNodeList list) > { > foreach (XmlNode node in list.CopyAsList()) > node.ParentNode.RemoveChild(node); > } > } > > And then usage would be even simpler > > Doc.SelectNodes("//comment()").RemoveNodes(); > > Just my two cents, > > On Sun, 2007-12-02 at 03:29 +0100, Robert Jordan wrote: >> Andrus wrote: >>> In bug #343960 >>> >>> https://bugzilla.novell.com/show_bug.cgi?id=343960 >>> >>> I presented code which works OK in .NET but crashes in MONO 1.2.6 pvw2. >>> Probably SelectNodes() in .NET creates new list but in MONO it does not. >>> Atsushi refuses to fix this and marks it INVALID several times. >> He explained pretty well why he refused to fix it. >> >>> This is fundamental incompatibility between .NET and MONO XML DOM >>> implementation. >> Come on! >> >>> Is it really reasonable not to fix this ? >>> >>> How to change this code so it works in MONO also ? >> XmlNodeList list = xDoc.SelectNodes("//comment()"); >> ArrayList temp = new ArrayList (); >> >> foreach (XmlNode node in list) >> temp.Add (node); >> >> foreach (XmlNode node in temp) >> node.ParentNode.RemoveChild(node); >> >> Robert >> > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From byronking at speakeasy.net Tue Dec 4 10:16:40 2007 From: byronking at speakeasy.net (Byron King) Date: Tue, 4 Dec 2007 10:16:40 -0500 Subject: [Mono-list] Problem installing Mono on SuSE 9.3 In-Reply-To: References: <51555.1196348856@speakeasy.net> <290ea31b0711290828p2cb8a125ia025531034f183d4@mail.gmail.com> Message-ID: <290ea31b0712040716h10785047lae330d61b6102c19@mail.gmail.com> I attempted to install a release via YAST and got only so far. With each new component, I was required to add something else that was missing. SuSE is killing me! For giggles, I attempted the install on an Ubuntu 7.10 box using Synaptic; it worked! After the install, I created a simple ASP.NET project. On build attempt, the sample code (a textbox and a button) failed to compile. The complaint was that the textbox was nt a part of the Default.aspx.cs class. Give me a break! I tried deleting/re-adding the textbox, but the error persisted. Has anyone else seen this? Thanks! On Nov 29, 2007 3:13 PM, Richard Couture wrote: > > BTW, you may want to use the following link instead. It is for the latest > preview 1.2.6. > > ----------------------- > You can get the preview releases here: > http://mono.ximian.com/monobuild/preview/download-preview/ > ----------------------- > > > ------------------------------ > > *Richard Couture* > www.*BeauWare*.com ...*pour une > solution ? votre mesure* > ------------------------------ > > > > ------------------------------ > Date: Thu, 29 Nov 2007 11:28:39 -0500 > From: byronking at speakeasy.net > To: richard at beauware.com > Subject: Re: [Mono-list] Problem installing Mono on SuSE 9.3 > CC: mono-list at lists.ximian.com > > > Richard, > > Thanks for the suggestions! I will try this tonight and then report back! > > > Cheers, > > Byron > > On Nov 29, 2007 11:19 AM, Richard Couture < richard at beauware.com> wrote: > > Hi, > > I have run into similar problem. (not same .so). Where are you installing > from. Did you download the bin file?. If so, you won't see the end of it. I > have finally use yast. See this link: > > http://www.go-mono.com/download-stable/sles-9-i586/ > > follow the top instruction : > --------------- > This distro supports installing packages via YaST. Add the following > installation source to YaST: > > - http://go-mono.com/download-stable/sles-9-i586 > > > For assistance with using repositories and installing packages with YaST, > visit this link: *[1]* > > > --------------- > > You will need to add that link ( > http://go-mono.com/download-stable/sles-9-i586 ) in yast > installation source. See this link: *[1]* for > help. > > The installation is done on-line with Yast and if it needs missing lib, it > will find them on the net. > > This is the only working method I found. > > Good luck. > > > > > > ------------------------------ > From: byronking at speakeasy.net > To: mono-list at lists.ximian.com > Date: Thu, 29 Nov 2007 10:07:36 -0500 > Subject: [Mono-list] Problem installing Mono on SuSE 9.3 > > Hello. I am running SuSE 9.3 and want to install Mono and develop apps > using MonoDevelop. My problem is that at the end of the install, I get a > message from a script stating that libpangocairo-2.0.so.0 is missing. I > searched RPM resources for it, but have not been able to find it. Has > anyone else experienced and resolved this problem? How can I fix this? > Thanks! > > Regards, > > Byron > > > ------------------------------ > Express yourself with free Messenger emoticons. Get them today! > > > > ------------------------------ > Have fun while connecting on Messenger! Click here to learn more. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071204/3fb81470/attachment-0001.html From robertj at gmx.net Tue Dec 4 11:10:04 2007 From: robertj at gmx.net (Robert Jordan) Date: Tue, 04 Dec 2007 17:10:04 +0100 Subject: [Mono-list] mono_hazard_pointer?? In-Reply-To: <38B19FF06367EB40B888564C56667616019E76D5@emailsrv.cgy.cmgl.ca> References: <96403e730712021840k3899bbd9l27b3f6c6411fc83@mail.gmail.com><38B19FF06367EB40B888564C56667616019E768D@emailsrv.cgy.cmgl.ca> <048d01c835c2$df57f430$7b01a8c0@acer> <38B19FF06367EB40B888564C56667616019E76D5@emailsrv.cgy.cmgl.ca> Message-ID: Scott Fluto wrote: > ya, for me , its running in the nunit_console test runner and it seems > to happen after its finished running the tests. I put the tests in a > batch to continuously run and after a few interations it will crash with > these errors. For us, we run complex simulations that take hours to run > so even 1 failure randomly can cause us many problems so we really need > a stable mono environment. You may try setting the env var MONO_NO_UNLOAD=1 while running the tests. This is of course suboptimal because app domains are not unloaded anymore, but it should let you run the tests. > The 1.2.5 seems to be pretty stable but the > 1.2.6 and the current svn source seems to have some stability problems. > Given its not released yet i can understand it but the 1.2.6 prerelease > is still rough around the edges. Which other stability problems? Please file bugs. Robert > > > > scott > > > > From: mono-list-bounces at lists.ximian.com > [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Andrus > Sent: December-03-07 8:41 AM > To: mono-list at lists.ximian.com > Subject: Re: [Mono-list] mono_hazard_pointer?? > > > > I reported the same issue yesterday in this list. > > Havent got any response. > > > > For me it seems to occurs randomly but only when I exit my application. > > I havent found exact steps to reproduce this. > > > > Andrus. > > ----- Original Message ----- > > From: Scott Fluto > > To: mono-list at lists.ximian.com > > Sent: Monday, December 03, 2007 5:07 PM > > Subject: [Mono-list] mono_hazard_pointer?? > > > > When we run our unit tests under mono every once and a while all > the unit tests will start failing with this error: > > ** (process:10045): ERROR (recursed) **: file threads.c: line > 386 (mono_hazard_pointer_get): assertion failed: (current_thread && > current_thread->small_id >= 0) > > > > Since we started using the source code from October to now , we > started getting more of these hazard point errors. I cant really > pinpoint how or why since its so random, its like something snaps and > everything after that just starts failing with the mono_hazard_pointer. > > > > Can anyone shed any like on this. I would raise a bug issue but > I cant really give any examples yet. > > > > thanks > > > > scott > > > ________________________________ > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From Scott.Fluto at cmgl.ca Tue Dec 4 12:30:54 2007 From: Scott.Fluto at cmgl.ca (Scott Fluto) Date: Tue, 4 Dec 2007 10:30:54 -0700 Subject: [Mono-list] mono 1.2.6 In-Reply-To: <1196774063.18918.11.camel@fedora.webforall.com.br> References: <001301c8346b$4950db80$f4787ec2@acer> <1196774063.18918.11.camel@fedora.webforall.com.br> Message-ID: <38B19FF06367EB40B888564C56667616019E7B90@emailsrv.cgy.cmgl.ca> Does anyone have any ideas when 1.2.6 will be released. We are currently using 1.2.5 but we have bugs that are fixed in 1.2.6 so we need to know when it will be release. I was using the pre-release of 1.2.6 but it randomly crashes so Im waiting for the official release but im not sure when its scheduled. Anyone have any ideas when its planned to be relelased? thanks scott From gnorton at novell.com Tue Dec 4 12:49:01 2007 From: gnorton at novell.com (Geoff Norton) Date: Tue, 4 Dec 2007 12:49:01 -0500 Subject: [Mono-list] mono 1.2.6 In-Reply-To: <38B19FF06367EB40B888564C56667616019E7B90@emailsrv.cgy.cmgl.ca> References: <001301c8346b$4950db80$f4787ec2@acer> <1196774063.18918.11.camel@fedora.webforall.com.br> <38B19FF06367EB40B888564C56667616019E7B90@emailsrv.cgy.cmgl.ca> Message-ID: There isn't currently a firm date scheduled. Have you reported these "random crashes"? We're not aware of them, so you must file a bug with a test case so we can fix them before we ship 1.2.6. Geoff On 4-Dec-07, at 12:30 PM, Scott Fluto wrote: > Does anyone have any ideas when 1.2.6 will be released. We are > currently > using 1.2.5 but we have bugs that are fixed in 1.2.6 so > we need to know when it will be release. I was using the pre-release > of > 1.2.6 but it randomly crashes so Im waiting for the official release > but im not sure when its > scheduled. Anyone have any ideas when its planned to be relelased? > > thanks > > scott > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From Scott.Fluto at cmgl.ca Tue Dec 4 13:02:25 2007 From: Scott.Fluto at cmgl.ca (Scott Fluto) Date: Tue, 4 Dec 2007 11:02:25 -0700 Subject: [Mono-list] mono 1.2.6 In-Reply-To: References: <001301c8346b$4950db80$f4787ec2@acer> <1196774063.18918.11.camel@fedora.webforall.com.br><38B19FF06367EB40B888564C56667616019E7B90@emailsrv.cgy.cmgl.ca> Message-ID: <38B19FF06367EB40B888564C56667616019E7BBE@emailsrv.cgy.cmgl.ca> The problem is that they are so random I cant give any isolated tests. I have about 500 tests and it could happen on any of them. ex: file reflection.c: line 9694 (mono_reflection_lookup_dynamic_token): assertion failed: (obj). This error happens about 5% of the time running the tests and it can happen in random places. ** (process:10045): ERROR (recursed) **: file threads.c: line 386 (mono_hazard_pointer_get): assertion failed: (current_thread && current_thread->small_id >= 0) This error maybe happens 5% of the time. Other times,The tests just stop running randomly, running with mono full debugging on that doesnt seem to help. This random hanging is a bit more disconcerting though. I have also been running from the sources and the 11/21/2007 build seems to be better then the 1.2.6 pre-release. Im still trying to isolate the issues but the company is about the cut the time devoted to isolated the problems so Im really hoping 1.2.6 release will make things better, if not we may reconsider our mono stategy but Im still looking into it anyhow. thanks scott -----Original Message----- From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Geoff Norton Sent: December-04-07 10:49 AM To: Scott Fluto Cc: Mono-list at lists.ximian.com Subject: Re: [Mono-list] mono 1.2.6 There isn't currently a firm date scheduled. Have you reported these "random crashes"? We're not aware of them, so you must file a bug with a test case so we can fix them before we ship 1.2.6. Geoff On 4-Dec-07, at 12:30 PM, Scott Fluto wrote: > Does anyone have any ideas when 1.2.6 will be released. We are > currently > using 1.2.5 but we have bugs that are fixed in 1.2.6 so > we need to know when it will be release. I was using the pre-release > of > 1.2.6 but it randomly crashes so Im waiting for the official release > but im not sure when its > scheduled. Anyone have any ideas when its planned to be relelased? > > thanks > > scott > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From gnorton at novell.com Tue Dec 4 13:24:29 2007 From: gnorton at novell.com (Geoff Norton) Date: Tue, 4 Dec 2007 13:24:29 -0500 Subject: [Mono-list] mono 1.2.6 In-Reply-To: <38B19FF06367EB40B888564C56667616019E7BBE@emailsrv.cgy.cmgl.ca> References: <001301c8346b$4950db80$f4787ec2@acer> <1196774063.18918.11.camel@fedora.webforall.com.br><38B19FF06367EB40B888564C56667616019E7B90@emailsrv.cgy.cmgl.ca> <38B19FF06367EB40B888564C56667616019E7BBE@emailsrv.cgy.cmgl.ca> Message-ID: <6A400238-23E4-4D44-BEB2-840F21C8A0A6@novell.com> Scott, On 4-Dec-07, at 1:02 PM, Scott Fluto wrote: > The problem is that they are so random I cant give any isolated tests. > I have about 500 tests and it could happen on any of them. > This means you should file bugs for each of the crashes you have immediately with as much information as you have. Otherwise you cannot expect 1.2.6 final to magically fix these bugs. You can always add more information to a bug later as you get it. > ex: > file reflection.c: line 9694 (mono_reflection_lookup_dynamic_token): > assertion failed: (obj). > This error happens about 5% of the time running the tests and it can > happen in random places. > Please file a bug. > ** (process:10045): ERROR (recursed) **: file threads.c: line 386 > (mono_hazard_pointer_get): assertion failed: (current_thread && > current_thread->small_id >= 0) > This error maybe happens 5% of the time. > Please file a bug. > Im still trying to isolate the issues but the company is about the cut > the time devoted to isolated the problems so Im really hoping 1.2.6 > release will make things better, > if not we may reconsider our mono stategy but Im still looking into it > anyhow. > Please see above. We cannot fix things we're not aware of. Please file individual bugs for each of the issues with as much information as you have available: Architecture Distro / version Mono version Test case that triggers the bug (even 5% of the time) asserts/stack traces, etc Thanks, -g From gert.driesen at telenet.be Tue Dec 4 14:32:58 2007 From: gert.driesen at telenet.be (Gert Driesen) Date: Tue, 4 Dec 2007 20:32:58 +0100 Subject: [Mono-list] System.Web.Services.Protocols.WebClientProtocol.Timeout? In-Reply-To: <1196102767.5070.5.camel@WM_ADAM1.morrison.iserv.net> Message-ID: <20071204193305.0B2F812409E@hoboe2bl1.telenet-ops.be> Adam, I was not able to reproduce the issue you mentioned without a proxy. Can you check if you can reproduce it with and without a proxy? Also, would it possible to try it with SVN head? Gert -----Original Message----- From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Adam Tauno Williams Sent: maandag 26 november 2007 19:46 To: Mono-list at lists.ximian.com Subject: [Mono-list] System.Web.Services.Protocols.WebClientProtocol.Timeout? Is System.Web.Services.Protocols.WebClientProtocol.Timeout implemented/effective? I have... service = new JobWebServiceProxyService(); proxy = new WebProxy("tyr:3128", true); service.Proxy = proxy; service.Credentials = new NetworkCredential(**********, ***********); service.Timeout = 99999; ... however .... start = new SvDate(); start.dateString = DateTime.Now.ToString("yyyy-MM-dd 00:00:00.000"); end = new SvDate(); end.dateString = DateTime.Now.ToString("yyyy-MM-dd 23:59:59.999"); try { results = service.getUpdatedActions(start, ref end); ... } catch (Exception ex) { message.Text = ex.Message; } ... always results in a "The request timed out" message after the same amount of time, regardless of the value of service.Timeout. JobWebServiceProxyService was generated using the wsdl tool. mono-data-1.2.5.1-10.1 mono-data-sybase-1.2.5.1-10.1 monodoc-core-1.2.5-15 mono-data-sqlite-1.2.5.1-10.1 mono-devel-1.2.5.1-10.1 monodevelop-0.17-0.novell mono-tools-1.2.4-46 mono-data-oracle-1.2.5.1-10.1 mono-nunit-1.2.5.1-10.1 mono-web-1.2.5.1-10.1 mono-extras-1.2.5.1-10.1 mono-basic-1.2.5-15 mono-core-1.2.5.1-10.1 mono-data-postgresql-1.2.5.1-10.1 mono-winforms-1.2.5.1-10.1 From cliff.brake at gmail.com Tue Dec 4 15:05:11 2007 From: cliff.brake at gmail.com (Cliff Brake) Date: Tue, 4 Dec 2007 15:05:11 -0500 Subject: [Mono-list] mono memory leak on ARM Message-ID: Hello. I've run the attached test app on: - x86_64 mono 1.2.4 - ARM mono 1.2.5.1 on the x86 platform, the memory usage goes up and down a little as I would expect as the GC collects things. On the ARM platform, the memory usage just climbs. Its almost like the GC is not even running. Any suggestions on how to debug, or solutions? Thanks, Cliff -- ======================= Cliff Brake http://bec-systems.com -------------- next part -------------- A non-text attachment was scrubbed... Name: LinuxProcess.cs Type: text/x-csharp Size: 2586 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20071204/e9e7f724/attachment-0001.bin From pneumann at gmail.com Tue Dec 4 07:27:45 2007 From: pneumann at gmail.com (Phillip N.) Date: Tue, 04 Dec 2007 12:27:45 +0000 Subject: [Mono-list] TCPClient not normal bevaiour Message-ID: <1196771265.1681.12.camel@negro> Dear mono's.. Im using a simple tcpclient as follows: TcpClient socket = new TcpClient(host, 5038); StreamWriter writer = new StreamWriter( new StreamWriter(socket.GetStream(), Encoding.Default).BaseStream, new StreamWriter(socket.GetStream(), Encoding.Default).Encoding ); writer.Write("GET /"); writer.Flush(); im throwing the request to 'socat' to see whats flying around, and see the folowing output: > 2007/12/04 12:08:46.497805 length=3 from=0 to=2 ...> 2007/12/04 12:08:46.500647 length=5 from=3 to=7 GET / Wich are two requests, one 3 bytes, and the other 5 bytes long. the last one if correct, but the first one, i dont know where/why is it comming from. What do you think could be the problem? This happends just on this particular mashine, wich is a FreeBSD/i386 one. (mono 1.2.5.1) It does work fine on windows, linux and freebsd/amd64. For testing i had mono 1.2.6 installed in here, but wiped it out completly, i see nothong laying around for 1.2.6. Just see 1.2.5.1 bits. Any information about what could couse this, would be helpful thanks! -- Phillip N. From alan.mcgovern at gmail.com Tue Dec 4 16:07:53 2007 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Tue, 4 Dec 2007 21:07:53 +0000 Subject: [Mono-list] TCPClient not normal bevaiour In-Reply-To: <1196771265.1681.12.camel@negro> References: <1196771265.1681.12.camel@negro> Message-ID: <117799f00712041307j69d4ff5co989b146cfd9edfbe@mail.gmail.com> Attach a compilable testcase so the behavior can be checked. That'll make it easier to spot the issue. The only thing i'd say is that the way you've created the streamwriter is probably the most bizarre way i've ever seen. It's identical to this: StreamWriter writer = new StreamWriter(socket.GetStream()); except you're creating two additional streamwriters for some unknown reason. The additional bytes could be a byte order mark. What happens if you do a .Receive() in c#, do you get just the 5 bytes? Alan. On Dec 4, 2007 12:27 PM, Phillip N. wrote: > Dear mono's.. > > Im using a simple tcpclient as follows: > > TcpClient socket = new TcpClient(host, 5038); > StreamWriter writer = new StreamWriter( > new StreamWriter(socket.GetStream(), Encoding.Default).BaseStream, > new StreamWriter(socket.GetStream(), Encoding.Default).Encoding > ); > > writer.Write("GET /"); > writer.Flush(); > > > im throwing the request to 'socat' to see whats flying around, and see > the folowing output: > > > > > 2007/12/04 12:08:46.497805 length=3 from=0 to=2 > ...> 2007/12/04 12:08:46.500647 length=5 from=3 to=7 > GET / > > > Wich are two requests, one 3 bytes, and the other 5 bytes long. the last > one if correct, but the first one, i dont know where/why is it comming > from. > > What do you think could be the problem? > > This happends just on this particular mashine, wich is a FreeBSD/i386 > one. (mono 1.2.5.1) > It does work fine on windows, linux and freebsd/amd64. > > For testing i had mono 1.2.6 installed in here, but wiped it out > completly, i see nothong laying around for 1.2.6. Just see 1.2.5.1 bits. > > Any information about what could couse this, would be helpful > > thanks! > > > -- > Phillip N. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071204/a7a79901/attachment.html From pneumann at gmail.com Tue Dec 4 08:28:47 2007 From: pneumann at gmail.com (Phillip N.) Date: Tue, 04 Dec 2007 13:28:47 +0000 Subject: [Mono-list] TCPClient not normal bevaiour In-Reply-To: <117799f00712041307j69d4ff5co989b146cfd9edfbe@mail.gmail.com> References: <1196771265.1681.12.camel@negro> <117799f00712041307j69d4ff5co989b146cfd9edfbe@mail.gmail.com> Message-ID: <1196774927.1681.15.camel@negro> Hi alan, Thanks for your response. Actually, it think its bizarre too, but it the way a library im using does it. :) kangoroo at irc, sudgested it could be a encoding problem. And its true.. LANG=C does solve the thing. Anyway, is this a bug? thanks! El mar, 04-12-2007 a las 21:07 +0000, Alan McGovern escribi?: > Attach a compilable testcase so the behavior can be checked. That'll > make it easier to spot the issue. The only thing i'd say is that the > way you've created the streamwriter is probably the most bizarre way > i've ever seen. It's identical to this: > > StreamWriter writer = new StreamWriter(socket.GetStream()); > > except you're creating two additional streamwriters for some unknown > reason. The additional bytes could be a byte order mark. What happens > if you do a .Receive() in c#, do you get just the 5 bytes? > > Alan. > -- Phillip N. From peter_dunning at dsl.pipex.com Tue Dec 4 16:48:01 2007 From: peter_dunning at dsl.pipex.com (pjd) Date: Tue, 4 Dec 2007 13:48:01 -0800 (PST) Subject: [Mono-list] FileSystemWatcher Message-ID: <14160191.post@talk.nabble.com> Hi I'm using mono for a project which I want to run on more than just windows. The project involves a filesystemwatcher object to monitor several files used by the program and to trigger an update to the contents of the variables holding the contents of the files in memory. This works fine on MS .NET but on mono (using windows and Arch linux as test systems, both with mono 1.2.5 and both fully updated) the program will not run and if --debug is specified it is revealed that it claims that the filesystemwatcher is not implemented. The mono FAQ says that any up-to-date kernel should work with it and google does not show much information on the issue. Does anyone know how to get it working or is there a good alternative? -- View this message in context: http://www.nabble.com/FileSystemWatcher-tf4945904.html#a14160191 Sent from the Mono - General mailing list archive at Nabble.com. From andyhume32 at yahoo.co.uk Tue Dec 4 18:38:12 2007 From: andyhume32 at yahoo.co.uk (Andy Hume) Date: Tue, 4 Dec 2007 23:38:12 -0000 Subject: [Mono-list] TCPClient not normal bevaiour In-Reply-To: <1196774927.1681.15.camel@negro> References: <1196771265.1681.12.camel@negro><117799f00712041307j69d4ff5co989b146cfd9edfbe@mail.gmail.com> <1196774927.1681.15.camel@negro> Message-ID: <006c01c836ce$bca8c880$0302a8c0@alanpc1> You want to specify Encoding.ASCII in the StreamWriter ctor. Otherwise some arbitrary encoding will be used (Encoding.Default). And if it's UTF-8 then you'll get the Unicode BOM preamble first. Note that in the original code the 'other' two StreamWriter instances are created and then immediately discarded -- after first reading a value that was available directly... Wierd. Do as Alan suggested but supply Encoding.ASCII as the second argument. Andy > -----Original Message----- > From: mono-list-bounces at lists.ximian.com > [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Phillip N. > Sent: 04 December 2007 13:29 > To: Alan McGovern > Cc: mono-list at lists.ximian.com > Subject: Re: [Mono-list] TCPClient not normal bevaiour > > Hi alan, > > Thanks for your response. > > Actually, it think its bizarre too, but it the way a library > im using does it. :) > > kangoroo at irc, sudgested it could be a encoding problem. > > And its true.. LANG=C does solve the thing. > > > Anyway, is this a bug? > > > thanks! > > El mar, 04-12-2007 a las 21:07 +0000, Alan McGovern escribi?: > > Attach a compilable testcase so the behavior can be > checked. That'll > > make it easier to spot the issue. The only thing i'd say is > that the > > way you've created the streamwriter is probably the most > bizarre way > > i've ever seen. It's identical to this: > > > > StreamWriter writer = new StreamWriter(socket.GetStream()); > > > > except you're creating two additional streamwriters for > some unknown > > reason. The additional bytes could be a byte order mark. > What happens > > if you do a .Receive() in c#, do you get just the 5 bytes? > > > > Alan. > > > -- > Phillip N. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From rolflists at ya.com Wed Dec 5 04:07:37 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Wed, 5 Dec 2007 10:07:37 +0100 Subject: [Mono-list] Process has not been started In-Reply-To: References: Message-ID: <006001c8371e$48d67560$da836020$@com> > > >From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Richard Couture >Sent: viernes, 09 de noviembre de 2007 1:25 >To: mono-list at lists.ximian.com >Subject: [Mono-list] Process has not been started > >? >Hi, >? >I wish I'm in the right list. >? >I have OpenSUSE 10.2. The latest mono (1.2.5). Took me a long time to get it "sort of" working with Apache 2.x.? Now I am getting the error trying to run a vb code. > >? >HTTP Error Code 500 >System.InvalidOperationException: Process has not been started. >blablabla... >? >I have look everywhere I could think of for an answer to no end. The one answer that seems to always show is that vbnc is not in my path. I think it is cause if I type vbnc at the prompt, it does come up (giving me an error of >course). >? >XSP2 does, to a point, work, no error msg, but not the expected result either. > This suggests that even if you have vbnc in your path, but apache might not. The problem you have with XSP2 is probably because of bugs in vbnc (or other vb-related issues), so bug-reports are very welcome :) Rolf ? >Yes I am quite new to Linux and all the side of the world. But "tabarnac" as we say in french, I cannot believe this has to be that hard to get running. >? ? Thanks for any help. ________________________________________ ?Richard ________________________________________ ________________________________________ Express yourself with free Messenger emoticons. Get them today! From Tim at onlyconnect.co.uk Wed Dec 5 04:56:04 2007 From: Tim at onlyconnect.co.uk (Tim Anderson) Date: Wed, 5 Dec 2007 09:56:04 -0000 Subject: [Mono-list] Mono without binfmt References: <006001c8371e$48d67560$da836020$@com> Message-ID: <6ECB50F120E6DF4EA1402FC2EA1B7B64465C05@compaqbox.onlyconnect.co.uk> I've been trying Mono on the Asus Eee PC, which runs a cut-down Xandros Linux. It appears that binfmt is not available, which I think is why I can't use the -pkg argument. http://www.itwriting.com/blog/?p=437 How much of a problem is this? Would it affect mono apps at runtime, other than having to start them by calling mono directly? Tim From atsushi at ximian.com Wed Dec 5 06:49:59 2007 From: atsushi at ximian.com (Atsushi Eno) Date: Wed, 05 Dec 2007 20:49:59 +0900 Subject: [Mono-list] Exception When Using System.Net.Mail In-Reply-To: <5CEDA9CC-796A-43FD-8CFD-C84B8D37E694@vitruviansolutions.com> References: <5CEDA9CC-796A-43FD-8CFD-C84B8D37E694@vitruviansolutions.com> Message-ID: <47569067.1020206@ximian.com> Hi, SmtpClient has been improved between 1.2.5 and 1.2.6beta (and possibly between 1.2.4 and 1.2.5) and now it seems working now. (AFAIR there was a bug in former SmtpClient that incorrectly assumes NetworkCredential existence even without setting it.) Atsushi Eno Kenneth H. Brannigan wrote: > I am getting the following exception when using System.Net.Mail in mono > 1.2.4_4: > > Unhandled Exception: System.Net.Mail.SmtpException: 500 5.5.1 Command > unrecognized: "AUTH LOGIN" > at System.Net.Mail.SmtpClient.Authenticate (System.String Username, > System.String Password) [0x00000] > at System.Net.Mail.SmtpClient.PerformAuthentication () [0x00000] > at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage > message) [0x00000] > at MonoTestConsoleApplication.Program.Main (System.String[] args) > [0x00000] > > Here is the code: > > System.Net.Mail.MailMessage message = new > System.Net.Mail.MailMessage("admin at test.com ", > "sent at test.com "); > message.Subject = "Test From Mono"; > message.Body = "THIS IS COOL"; > message.IsBodyHtml = true; > > System.Net.Mail.SmtpClient server = new > System.Net.Mail.SmtpClient("localhost"); > server.DeliveryMethod = > System.Net.Mail.SmtpDeliveryMethod.Network; > server.Send(message); > > When I run the following code using the old System.Web.Mail namespace it > works perfectly: > > System.Web.Mail.MailMessage oldMessage = new > System.Web.Mail.MailMessage(); > oldMessage.To = "sent at test.com "; > oldMessage.From = "admin at test.com "; > oldMessage.Subject = "OLD MONO"; > oldMessage.BodyFormat = System.Web.Mail.MailFormat.Html; > oldMessage.Body = "THIS IS COOL"; > > System.Web.Mail.SmtpMail.SmtpServer = "localhost"; > System.Web.Mail.SmtpMail.Send(oldMessage); > > > Any help will be very much appreciated. > Thanks, > Ken > > > *Kenneth H. Brannigan* > CTO > > > > *Vitruvian Solutions?, LLC* > Mobile: 201.602.6542 > E-mail: kbrannigan at vitruviansolutions.com > > Web: www.vitruviansolutions.com > > > > The contents of this e-mail are privileged and confidential. This e-mail > is intended to be read only by the individual(s) or entity to whom it is > addressed. If you are not the intended recipient of this e-mail, please > notify the sender and delete the e-mail. Any review, retransmission, > dissemination, copying or other use of this e-mail or its contents is > strictly prohibited. > > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From miguel at novell.com Wed Dec 5 07:00:57 2007 From: miguel at novell.com (Miguel de Icaza) Date: Wed, 05 Dec 2007 07:00:57 -0500 Subject: [Mono-list] Mono without binfmt In-Reply-To: <6ECB50F120E6DF4EA1402FC2EA1B7B64465C05@compaqbox.onlyconnect.co.uk> References: <006001c8371e$48d67560$da836020$@com> <6ECB50F120E6DF4EA1402FC2EA1B7B64465C05@compaqbox.onlyconnect.co.uk> Message-ID: <1196856057.4803.61.camel@erandi.boston.ximian.com> > It appears that binfmt is not available, which I think is why I can't > use the -pkg argument. > > http://www.itwriting.com/blog/?p=437 We do not use binfmt in Mono. We merely document it for some people to use, but internally we stay clear of it (as it is not portable to MacOS, Solaris and other Unices). I believe the issue is that the tool pkg-config is not installed, which is what is invoked by the -pkg: command line argument. Miguel From Tim at onlyconnect.co.uk Wed Dec 5 07:23:19 2007 From: Tim at onlyconnect.co.uk (Tim Anderson) Date: Wed, 5 Dec 2007 12:23:19 -0000 Subject: [Mono-list] Mono without binfmt References: <006001c8371e$48d67560$da836020$@com> <6ECB50F120E6DF4EA1402FC2EA1B7B64465C05@compaqbox.onlyconnect.co.uk> <1196856057.4803.61.camel@erandi.boston.ximian.com> Message-ID: <6ECB50F120E6DF4EA1402FC2EA1B7B64465C09@compaqbox.onlyconnect.co.uk> > -----Original Message----- > From: Miguel de Icaza [mailto:miguel at novell.com] > Sent: 05 December 2007 12:01 > To: Tim Anderson > Cc: mono-list at lists.ximian.com > Subject: Re: [Mono-list] Mono without binfmt > We do not use binfmt in Mono. We merely document it for some people > to > use, but internally we stay clear of it (as it is not portable to > MacOS, > Solaris and other Unices). > > I believe the issue is that the tool pkg-config is not installed, which > is what is invoked by the -pkg: command line argument. Thanks for responding. You are correct, apologies. What puzzles me is that in /usr/lib/cli there is a single file: binfmt-detector-cli This may be to do with the way Debian has packaged mono? Will it cause problems, given that binfmt is not going to work? TIm From josepascual at almudi.com Wed Dec 5 10:24:07 2007 From: josepascual at almudi.com (josepascual) Date: Wed, 5 Dec 2007 16:24:07 +0100 Subject: [Mono-list] Delphi 2007 .net (highlander) Message-ID: <02cc01c83752$e3041280$a90c3780$@com> Hi Everyone. Programs generated by Delphi 2007 .net (highlander) can run with mono? regards From dsmithers at talktalk.net Wed Dec 5 10:42:38 2007 From: dsmithers at talktalk.net (dsmithers at talktalk.net) Date: Wed, 05 Dec 2007 10:42:38 -0500 Subject: [Mono-list] Using GDB with C# Message-ID: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> I am trying to debug C# compiled using gmcs -debug with GDB. I can run my programme under GDB, but it doesn't see any debug symbols, and can't set break points or show backtrace. I am running ubuntu 7.04 with GDB 6.6-debian. I have added a .gdbinit as described on the mono website (http://www.mono-project.com/Debugging). Am I missing something really obvious? thanks dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071205/39a6b053/attachment.html From kumpera at gmail.com Wed Dec 5 11:14:37 2007 From: kumpera at gmail.com (Rodrigo Kumpera) Date: Wed, 5 Dec 2007 14:14:37 -0200 Subject: [Mono-list] Using GDB with C# In-Reply-To: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> References: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> Message-ID: <8cca42d80712050814v1aae2a01ue46ef6cc59aa1eb4@mail.gmail.com> GDB is not capable of debuging managed code since you need to way it to be compiled before actually setting a breakpoint. I set breakpoints at the magic_trampoline and mono_jit_compile_method, I debug the assembly of it then. This approach, of course, only suits if you need to debug a runtime related issue. For application code you should use MDB On Dec 5, 2007 1:42 PM, wrote: > I am trying to debug C# compiled using gmcs -debug with GDB. > I can run my programme under GDB, but it doesn't see any debug symbols, > and can't set break points or show backtrace. > I am running ubuntu 7.04 with GDB 6.6-debian. > I have added a .gdbinit as described on the mono website ( > http://www.mono-project.com/Debugging). > > Am I missing something really obvious? > > thanks > > dan > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071205/4b8e17e2/attachment.html From rusvdw at gmail.com Wed Dec 5 13:11:44 2007 From: rusvdw at gmail.com (Russell) Date: Wed, 5 Dec 2007 20:11:44 +0200 Subject: [Mono-list] Memory leak with mod_mono Message-ID: I've ported BlogEngine.NET to mono, and while it runs successfully, it suffers from a memory leak that ends up killing the mod_mono process after a couple of hours. The mod_mono process also keeps consuming CPU time while no pages are being served. The issue doesn't appear with XSP2. Is there a way for me to find out what is using up the memory, or even just determine what threads are running? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071205/93a3570b/attachment.html From pedro.alvesjr at gmail.com Wed Dec 5 13:30:49 2007 From: pedro.alvesjr at gmail.com (Pedro Alves) Date: Wed, 5 Dec 2007 15:30:49 -0300 Subject: [Mono-list] Delphi 2007 .net (highlander) In-Reply-To: <02cc01c83752$e3041280$a90c3780$@com> References: <02cc01c83752$e3041280$a90c3780$@com> Message-ID: Hi, Yes. Any *pure *(without use of the Windows API) .NET assembly runs on Mono. []s Pedro Alves. 2007/12/5, josepascual : > > Hi Everyone. > > Programs generated by Delphi 2007 .net (highlander) can run with mono? > > regards > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071205/2d59868c/attachment.html From kumpera at gmail.com Wed Dec 5 15:06:50 2007 From: kumpera at gmail.com (Rodrigo Kumpera) Date: Wed, 5 Dec 2007 18:06:50 -0200 Subject: [Mono-list] Memory leak with mod_mono In-Reply-To: References: Message-ID: <8cca42d80712051206g58670b24y26a885b9dcc5bc82@mail.gmail.com> You can valgrind for unmanaged leak or heap buddy for managed leak. http://www.mono-project.com/Debugging#Using_Valgrind_on_Mono http://www.mono-project.com/HeapBuddy Rodrigo On Dec 5, 2007 4:11 PM, Russell wrote: > I've ported BlogEngine.NET to mono, and while it runs successfully, it > suffers from a memory leak that ends up killing the mod_mono process after a > couple of hours. The mod_mono process also keeps consuming CPU time while no > pages are being served. The issue doesn't appear with XSP2. > > Is there a way for me to find out what is using up the memory, or even > just determine what threads are running? > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071205/46e121c3/attachment.html From jyotiseth2001 at gmail.com Thu Dec 6 00:31:07 2007 From: jyotiseth2001 at gmail.com (Jyoti Seth) Date: Wed, 5 Dec 2007 21:31:07 -0800 Subject: [Mono-list] Resource files in Mono Message-ID: <6c3fb5eb0712052131pc391dedsa5ff97808e9c6a9@mail.gmail.com> Hi All, I am using resource files in my project. I have installed latest version of mono i.e 1.2.5 on my suse linux server but still it is showing an error "Unknown attribute: meta:resourcekey". Please let me know if Mono supports this. Thanks, Jyoti Seth -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071205/31640f4f/attachment-0001.html From sontek at gmail.com Thu Dec 6 02:41:58 2007 From: sontek at gmail.com (John M. Anderson) Date: Thu, 06 Dec 2007 00:41:58 -0700 Subject: [Mono-list] Using GDB with C# In-Reply-To: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> References: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> Message-ID: <1196926918.4544.2.camel@inspidell.devtoo.net> On Wed, 2007-12-05 at 10:42 -0500, dsmithers at talktalk.net wrote: > I am trying to debug C# compiled using gmcs -debug with GDB. > I can run my programme under GDB, but it doesn't see any debug > symbols, and can't set break points or show backtrace. > I am running ubuntu 7.04 with GDB 6.6-debian. > I have added a .gdbinit as described on the mono website > (http://www.mono-project.com/Debugging). > > Am I missing something really obvious? > > thanks > > dan You should check out this wiki page: http://www.mono-project.com/Debugging#Debugging_with_GDB and you should also check out mndb from svn in /mono/mndb which is GDB macros for mono From adelle at akemi.com.au Thu Dec 6 04:30:29 2007 From: adelle at akemi.com.au (Adelle Hartley) Date: Thu, 06 Dec 2007 19:30:29 +1000 Subject: [Mono-list] Com Interop Message-ID: <4757C135.3040903@akemi.com.au> Hi all, I tried my first experiment with Mono and COM interop recently. I see that instantiating a COM object on Windows seems to work. I have some windows based COM DLLs which I know work with wine because I have a VB6 program which uses them which runs successfully with wine. When i try to use the same DLLs in a C# project in Mono, via COM interop, it works on Windows but not Linux. Ok, I'm not exactly surprised, but is there some way of getting Mono to instantiate a COM object using wine? Is that something that's being worked on? Adelle. From dsmithers at talktalk.net Thu Dec 6 06:11:53 2007 From: dsmithers at talktalk.net (Dan Smithers) Date: Thu, 06 Dec 2007 11:11:53 +0000 Subject: [Mono-list] Using GDB with C# In-Reply-To: <1196926918.4544.2.camel@inspidell.devtoo.net> References: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> <1196926918.4544.2.camel@inspidell.devtoo.net> Message-ID: <4757D8F9.7050504@talktalk.net> Thanks John, this is the sort of information that ought to be on the website somewhere. I'm still a bit stuck because when I run mndb it shows an error in mndb.gdbinit on line 387 which is watch mono_debugger_notification_function Is this an issue with my mono version? thanks dan John M. Anderson wrote: > On Wed, 2007-12-05 at 10:42 -0500, dsmithers at talktalk.net wrote: >> I am trying to debug C# compiled using gmcs -debug with GDB. >> I can run my programme under GDB, but it doesn't see any debug >> symbols, and can't set break points or show backtrace. >> I am running ubuntu 7.04 with GDB 6.6-debian. >> I have added a .gdbinit as described on the mono website >> (http://www.mono-project.com/Debugging). >> >> Am I missing something really obvious? >> >> thanks >> >> dan > > You should check out this wiki page: > http://www.mono-project.com/Debugging#Debugging_with_GDB and you should > also check out mndb from svn in /mono/mndb which is GDB macros for mono > > From jonpryor at vt.edu Thu Dec 6 09:41:18 2007 From: jonpryor at vt.edu (Jonathan Pryor) Date: Thu, 06 Dec 2007 09:41:18 -0500 Subject: [Mono-list] Com Interop In-Reply-To: <4757C135.3040903@akemi.com.au> References: <4757C135.3040903@akemi.com.au> Message-ID: <1196952078.4243.11.camel@lina.magi.jprl.com> On Thu, 2007-12-06 at 19:30 +1000, Adelle Hartley wrote: > When i try to use the same DLLs in a C# project in Mono, via COM > interop, it works on Windows but not Linux. Ok, I'm not exactly > surprised, but is there some way of getting Mono to instantiate a COM > object using wine? Theoretically, yes. Currently, no. The way it _could_ be done is to run a Win32 mono inside Wine. This would make Mono use the normal Windows COM support methods and Wine's COM framework to instantiate and use your DLLs. The problem is that Mono doesn't currently run inside Wine (unless this has changed recently). I don't know why, and I don't think anyone is currently looking into it. You might try asking the Wine people why... - Jon From Eric.Engler at zcsterling.com Thu Dec 6 09:50:57 2007 From: Eric.Engler at zcsterling.com (Engler, Eric) Date: Thu, 6 Dec 2007 09:50:57 -0500 Subject: [Mono-list] Delphi 2007 .net (highlander) In-Reply-To: Message-ID: <6FE5B54E82FD4B4A93CD0D8730986CBB01A4A243@ATLEXCV01.zcs.corp> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 > Programs generated by Delphi 2007 .net (highlander) can run with mono? I think so, but I don't know if Borland's Data Provider or their VCL for .NET would work under Mono. If you stick with Framework classes you have a good chance of success. You can get the Moma program and run it against your Delphi .NET assemblies to identify any serious compatibility issues. Eric NOTICE: The information contained in this electronic mail transmission is intended by the sender for the sole use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. Please do not copy it or use it for any purposes, or disclose its contents to any other person. To do so could violate state and Federal privacy laws. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected. Thank you for your cooperation. -----BEGIN PGP SIGNATURE----- Version: PGP Universal 2.6.2 Charset: us-ascii wsBVAwUBR1gMUshfyUs+le7yAQgoogf/RWDENy9sHGAw81/dNaubhQvztH+bWGBC yroJkj0+3Y3kLnwH/791YBu4gV1mg7MCG0yEN0rTh/0TCX5Q9a/UceVqXtB1Ib5k 4Orqxva/7GLOzB2nqqTs3di7CjgXlFauG0fKgbxIqn0t+RUOPDV7m96ltCbTT9l/ aTGS5N0nda9qIfwxxf5CinqyK9zR5LS3RfCt3plUS521YalG3ZHHs3c4CmR9WLUf f5eVuhueGrdFRS6iNTsIgLbGCHr63zYsvtHA5NH8BUnrco8pdAxDL8QY0R+lQcOb zQG1G3fE/tVTZTPf/jS+ijmExxU8o0GHDM3Ep8omq0Emt9ZdZnr7ZQ== =1lmH -----END PGP SIGNATURE----- From sontek at gmail.com Thu Dec 6 10:16:19 2007 From: sontek at gmail.com (John M. Anderson) Date: Thu, 6 Dec 2007 08:16:19 -0700 Subject: [Mono-list] Using GDB with C# In-Reply-To: <4757D8F9.7050504@talktalk.net> References: <8CA056C9935AF54-1EDC-B33@FRR2-L25.sis.aol.com> <1196926918.4544.2.camel@inspidell.devtoo.net> <4757D8F9.7050504@talktalk.net> Message-ID: <6938f5390712060716i746c1800tdf8341d6939f8988@mail.gmail.com> On Dec 6, 2007 4:11 AM, Dan Smithers wrote: > Thanks John, > this is the sort of information that ought to be on the website somewhere. > I'm still a bit stuck because when I run mndb it shows an error in > mndb.gdbinit on line 387 which is > > watch mono_debugger_notification_function > > Is this an issue with my mono version? > > thanks > > dan > Yeah, You should try with mono from svn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071206/330a77a0/attachment.html From etc.skel at gmail.com Thu Dec 6 10:25:45 2007 From: etc.skel at gmail.com (shawn vose) Date: Thu, 6 Dec 2007 10:25:45 -0500 Subject: [Mono-list] mcs for the 2.0 framework Message-ID: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> what is the name of the command I would need to use to compile for the 2.0framework? Would this also be the same for any code I have written that has some very simple LINQ in it? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071206/6d957f1b/attachment.html From daniel.soto2k at gmail.com Thu Dec 6 10:48:28 2007 From: daniel.soto2k at gmail.com (Daniel Soto) Date: Thu, 6 Dec 2007 12:48:28 -0300 Subject: [Mono-list] mcs for the 2.0 framework In-Reply-To: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> References: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> Message-ID: <72e874f00712060748i592b7029p4744e5acff49cb@mail.gmail.com> gmcs is the compiler for 2.0 framework. Regards. 2007/12/6, shawn vose : > > what is the name of the command I would need to use to compile for the 2.0framework? Would this also be the same for any code I have written that has > some very simple LINQ in it? > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071206/ce7ab2da/attachment.html From etc.skel at gmail.com Thu Dec 6 11:38:07 2007 From: etc.skel at gmail.com (shawn vose) Date: Thu, 6 Dec 2007 11:38:07 -0500 Subject: [Mono-list] mcs for the 2.0 framework In-Reply-To: <72e874f00712060748i592b7029p4744e5acff49cb@mail.gmail.com> References: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> <72e874f00712060748i592b7029p4744e5acff49cb@mail.gmail.com> Message-ID: <358a53ca0712060838g6e92137em70bafac925031d86@mail.gmail.com> Thank you sir. On Dec 6, 2007 10:48 AM, Daniel Soto wrote: > gmcs is the compiler for 2.0 framework. > > Regards. > > > 2007/12/6, shawn vose : > > > > what is the name of the command I would need to use to compile for the > > 2.0 framework? Would this also be the same for any code I have written > > that has some very simple LINQ in it? > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071206/a6d62426/attachment-0001.html From jonpryor at vt.edu Thu Dec 6 12:05:58 2007 From: jonpryor at vt.edu (Jonathan Pryor) Date: Thu, 06 Dec 2007 12:05:58 -0500 Subject: [Mono-list] mcs for the 2.0 framework In-Reply-To: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> References: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> Message-ID: <1196960758.4243.13.camel@lina.magi.jprl.com> On Thu, 2007-12-06 at 10:25 -0500, shawn vose wrote: > what is the name of the command I would need to use to compile for the > 2.0 framework? Would this also be the same for any code I have written > that has some very simple LINQ in it? Daniel Soto already mentioned using gmcs for the 2.0 framework. For LINQ, you need to pass `-langversion:LINQ' as a compiler flag, e.g.: gmcs -langversion:LINQ your-linq-file.cs - Jon From miguel at novell.com Thu Dec 6 12:26:26 2007 From: miguel at novell.com (Miguel de Icaza) Date: Thu, 06 Dec 2007 12:26:26 -0500 Subject: [Mono-list] mcs for the 2.0 framework In-Reply-To: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> References: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> Message-ID: <1196961986.4098.34.camel@erandi.boston.ximian.com> > what is the name of the command I would need to use to compile for the > 2.0 framework? Would this also be the same for any code I have written > that has some very simple LINQ in it? LINQ is only now starting to get supported, so I would wait for 1.2.6 to get the basics in place. Once you get it, you need to pass the -langversion:linq command line option to gmcs for it to work. > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From etc.skel at gmail.com Thu Dec 6 13:44:10 2007 From: etc.skel at gmail.com (shawn vose) Date: Thu, 6 Dec 2007 13:44:10 -0500 Subject: [Mono-list] mcs for the 2.0 framework In-Reply-To: <1196961986.4098.34.camel@erandi.boston.ximian.com> References: <358a53ca0712060725t11b30231v3e19d97d881ecb58@mail.gmail.com> <1196961986.4098.34.camel@erandi.boston.ximian.com> Message-ID: <358a53ca0712061044m17327032y365f474af3c701c6@mail.gmail.com> That is great news. I only want to see if my stuff will build but it certainly is not mission critical as I have already put in place some preprocessor directives for when I build for mono. I wish I was enough of a programmer to be able to approach some sort of assistance in contributing to LINQ support in mono. So I figure at the very least I could provide bug reports should I come across any. Thanks again for all the responses. On Dec 6, 2007 12:26 PM, Miguel de Icaza wrote: > > > what is the name of the command I would need to use to compile for the > > 2.0 framework? Would this also be the same for any code I have written > > that has some very simple LINQ in it? > > LINQ is only now starting to get supported, so I would wait for 1.2.6 to > get the basics in place. > > Once you get it, you need to pass the -langversion:linq command line > option to gmcs for it to work. > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071206/ce9915e5/attachment.html From david_cantin at videotron.ca Thu Dec 6 15:33:45 2007 From: david_cantin at videotron.ca (David Cantin) Date: Thu, 06 Dec 2007 15:33:45 -0500 Subject: [Mono-list] GTK# on Windows since Mono 1.2... In-Reply-To: <32aa05ee0711280917n36de25f5m727199b4b47fbe79@mail.gmail.com> References: <32aa05ee0711280917n36de25f5m727199b4b47fbe79@mail.gmail.com> Message-ID: <1196973225.8594.9.camel@tower> Hi, I have a similar problem than you with my gtk# applications on Windows. But, I was able to solve your test case by using the gtk-sharp-2.10 assembly instead of gtk-sharp. So use mcs -pkg:gtk-sharp-2.10 test2.cs instead of mcs -pkg:gtk-sharp test2.cs But, that didn't solve mine. I'm trying to create a simple test case. But my bug is difficult to reproduce in a simple application... anyway.. maybe more on that later. David Le mercredi 28 novembre 2007 ? 12:17 -0500, Philip Covington a ?crit : > Hello, > > I am using GTK# with Mono on Windows. The following test program > works on Mono versions 1.2 and older. On Mono versions 1.2.1 and > later (all the way to 1.2.5.2) when I click the button widget, I get > an error (see below). I have included the test app (test2.cs) and the > command line arguments used to compile it below. I have the exact > same problem with Glade#. The test program is copied off of the GTK# > tutorial page. > > This seems to be a problem since 1.2.1, but I was surprised not to > have found any information about this problem in searching around. > Should I be using GTK# on Windows or is no one actually using it on > Windows (hence no bug report)? > > Thanks, > Phil Covington > http://www.philcovington.com > > --------------------------------------------------------- > test2.cs: > --------------------------------------------------------- > using Gtk; > using System; > > public class ButtonApp { > > public static int Main (string[] args) > { > Application.Init (); > Window win = new Window ("Button Tester"); > win.SetDefaultSize (200, 150); > win.DeleteEvent += new DeleteEventHandler (Window_Delete); > Button btn = new Button ("Click Me"); > btn.Clicked += new EventHandler (btn_click); > win.Add (btn); > win.ShowAll (); > Application.Run (); > return 0; > } > > static void btn_click (object obj, EventArgs args) > { > Console.WriteLine ("Button Clicked"); > } > > static void Window_Delete (object obj, DeleteEventArgs args) > { > Application.Quit (); > args.RetVal = true; > } > } > ------------------------------------------------------------------------------------- > > test2.cs compiled with: > > >mcs -pkg:gtk-sharp test2.cs > > run: > > >mono test2.exe > > -------------------------------------------------------------------- > Mono 1.2: > > C:\Data\project>mono test2.exe > Button Clicked > Button Clicked > Button Clicked > Button Clicked > > C:\Data\project> > > --------------------------------------------------------------------- > Mono 1.2.1: > > C:\Data\project>>mono test2.exe > Button Clicked > > ================================================================= > Got a SIGSEGV while executing native code. This usually indicates > a fatal error in the mono runtime or one of the native libraries > used by your application. > ================================================================= > > Stacktrace: > > at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004> > at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff> > at Gtk.Application.Run () <0x00007> > at ButtonApp.Main (string[]) <0x000f2> > at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object, > intptr,intptr,intptr) <0xffffffff> > > This application has requested the Runtime to terminate it in an unusual way. > Please contact the application's support team for more information. > > C:\Data\project> > ------------------------------------------------------------------- > > Mono 1.2.5.2: > > > C:\Data\project>mono test2.exe > Button Clicked > Stacktrace: > > at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004> > at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff> > at Gtk.Application.Run () <0x00007> > at ButtonApp.Main (string[]) <0x000ee> > at (wrapper runtime-invoke) ButtonApp.runtime_invoke_int_string[] (object,intp > tr,intptr,intptr) <0xffffffff> > > This application has requested the Runtime to terminate it in an unusual way. > Please contact the application's support team for more information. > > C:\Data\project> > ----------------------------------------------------------------------- > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From Gavin.Landon at ignitetech.com Thu Dec 6 16:59:20 2007 From: Gavin.Landon at ignitetech.com (Gavin Landon) Date: Thu, 6 Dec 2007 15:59:20 -0600 Subject: [Mono-list] First Posting.. Message-ID: <47724CF5283C94439900996CDF98D5BE791D9F@igtdalexc002.corp.ignitetech.com> Hope this is the right list, general right?.. Just though I would say hey after just signing up. I work for a company that is starting to redesign our VC6 Windows client software to run cross platform. We have just recently downloaded and started playing with Mono so I figured I best get on some list of people that know what they are doing since I'm a unix/mac nub.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071206/6f7592c7/attachment.html From kevin.flanagan at bom.co.uk Thu Dec 6 17:13:56 2007 From: kevin.flanagan at bom.co.uk (Kevin Flanagan) Date: Thu, 6 Dec 2007 22:13:56 -0000 Subject: [Mono-list] Problem with files in apache-temp-aspnet-0 Message-ID: Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1, Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and autohosting with mod_mono.conf I'm hitting a strange problem, which seems Mono-related. Yes, it's not the latest version of Mono, but as it takes time to reproduce, I'd like to see if it sounds familiar to anyone before trying an upgrade (which might itself be problematic). I have a fairly simple ASP.NET 1.1 site. If I stop Apache and clear out any files in apache-temp-aspnet-0, then start Apache again, the whole site works fine - pages get compiled, and apache-temp-aspnet-0/de7a68cf ends up with a file list like this: total 214 -rwx------ 1 apache apache 8704 Nov 27 11:18 1aeb663d.dll -rw------- 1 apache apache 1498 Nov 27 11:18 1aeb663d.dll.mdb -rwx------ 1 apache apache 7168 Nov 27 11:20 3c40786.dll -rw------- 1 apache apache 2059 Nov 27 11:20 3c40786.dll.mdb -rwx------ 1 apache apache 4096 Nov 27 11:17 3e64f299.dll -rw------- 1 apache apache 1200 Nov 27 11:17 3e64f299.dll.mdb -rwx------ 1 apache apache 9216 Nov 27 11:18 46de8d9a.dll -rw------- 1 apache apache 3146 Nov 27 11:18 46de8d9a.dll.mdb -rwx------ 1 apache apache 15872 Nov 27 11:17 476c84c3.dll -rw------- 1 apache apache 5100 Nov 27 11:17 476c84c3.dll.mdb -rwx------ 1 apache apache 7168 Nov 27 11:17 4841f265.dll -rw------- 1 apache apache 1592 Nov 27 11:17 4841f265.dll.mdb -rwx------ 1 apache apache 14848 Nov 27 11:19 491f78ae.dll -rw------- 1 apache apache 7641 Nov 27 11:19 491f78ae.dll.mdb -rwx------ 1 apache apache 5120 Nov 27 11:17 4e94031b.dll -rw------- 1 apache apache 1328 Nov 27 11:17 4e94031b.dll.mdb -rwx------ 1 apache apache 7168 Nov 27 11:18 5e57bf0d.dll -rw------- 1 apache apache 2210 Nov 27 11:18 5e57bf0d.dll.mdb -rwx------ 1 apache apache 3072 Nov 27 11:17 5fe7fe0a.dll -rw------- 1 apache apache 470 Nov 27 11:17 5fe7fe0a.dll.mdb -rwx------ 1 apache apache 24064 Nov 27 11:18 6e6a47b6.dll -rw------- 1 apache apache 17367 Nov 27 11:18 6e6a47b6.dll.mdb -rwx------ 1 apache apache 11264 Nov 27 11:17 707735ba.dll -rw------- 1 apache apache 5672 Nov 27 11:17 707735ba.dll.mdb -rwx------ 1 apache apache 17920 Nov 27 11:17 7b13360f.dll -rw------- 1 apache apache 11599 Nov 27 11:17 7b13360f.dll.mdb -rwx------ 1 apache apache 4096 Nov 27 11:17 ab44f69.dll -rw------- 1 apache apache 1223 Nov 27 11:17 ab44f69.dll.mdb drwx------ 3 apache apache 1024 Nov 27 11:17 assembly Everything runs ok for a while. However, if I come back to the site a week or two later, the 'home' page still shows ok, but various other pages don't work, producing errors in the browser like this: [begin browser output] Server Error in '/' Application ---------------------------------------------------------------------------- ---- Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: (0,0) : error CS0006: cannot find metadata file `/tmp/apache-temp-aspnet-0/de7a68cf/ac08638.dll' (0,0) : error CS0006: cannot find metadata file `/tmp/apache-temp-aspnet-0/de7a68cf/14f3306.dll' [end browser output] At that point, the directory list for apache-temp-aspnet-0/de7a68cf has radically changed, looking like this: total 57 -rwx------ 1 apache apache 5120 Dec 3 11:49 1233a162.dll -rw------- 1 apache apache 1328 Dec 3 11:49 1233a162.dll.mdb -rwx------ 1 apache apache 7168 Dec 3 11:49 13268ca6.dll -rw------- 1 apache apache 1592 Dec 3 11:49 13268ca6.dll.mdb -rwx------ 1 apache apache 4096 Dec 3 11:49 2e655069.dll -rw------- 1 apache apache 1224 Dec 3 11:49 2e655069.dll.mdb -rwx------ 1 apache apache 17920 Dec 3 11:49 5c751a64.dll -rw------- 1 apache apache 11599 Dec 3 11:49 5c751a64.dll.mdb -rwx------ 1 apache apache 3072 Dec 3 11:49 87cc349.dll -rw------- 1 apache apache 469 Dec 3 11:49 87cc349.dll.mdb If I look at my httpdocs directory and subdirectories like App_Code, none of the file timestamps shows any recent change. I thought compiled files in apache-temp-aspnet-0 would remain unchanged unless source files changed (which they haven't) or that if for some reason they all got removed (which they have) they'd get rebuilt (as some of them seem to have) rather than errors occuring. I also thought the relationship between source file name and location, and compiled file, was the result of a deterministic hashing algorithm, but given the changes in filenames above, maybe I heard that wrong. Bottom line is, what's going on with the compiled files, and why do I end up with that error page? Any leads or information much appreciated. Kevin. From grendello at gmail.com Thu Dec 6 17:22:21 2007 From: grendello at gmail.com (Marek Habersack) Date: Thu, 6 Dec 2007 23:22:21 +0100 Subject: [Mono-list] Problem with files in apache-temp-aspnet-0 In-Reply-To: References: Message-ID: <20071206232221.31211fc8@gmail.com> On Thu, 6 Dec 2007 22:13:56 -0000, "Kevin Flanagan" scribbled: > Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1, > Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and > autohosting with mod_mono.conf [snip] > Bottom line is, what's going on with the compiled files, and why do I end up > with that error page? My guess is you have a cronjob which periodically (once a week?) cleans up your /tmp directory and its subdirectories. Hunt around /etc/cron* for clues. best regards, marek -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20071206/11eb3ac7/attachment-0001.bin From kevin.flanagan at bom.co.uk Thu Dec 6 17:49:24 2007 From: kevin.flanagan at bom.co.uk (Kevin Flanagan) Date: Thu, 6 Dec 2007 22:49:24 -0000 Subject: [Mono-list] Problem with files in apache-temp-aspnet-0 In-Reply-To: <20071206232221.31211fc8@gmail.com> Message-ID: Bah - suppose this kind of thing is only to be expected moving from one distro to another. Yes, tmpwatch was set to run daily on /tmp. Stopping that seems likely to sort it. Thanks. Kevin. -----Message d'origine----- De : Marek Habersack [mailto:grendello at gmail.com] Envoye : 06 December 2007 22:22 A : Kevin Flanagan Cc : mono-list at lists.ximian.com Objet : Re: [Mono-list] Problem with files in apache-temp-aspnet-0 On Thu, 6 Dec 2007 22:13:56 -0000, "Kevin Flanagan" scribbled: > Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1, > Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and > autohosting with mod_mono.conf [snip] > Bottom line is, what's going on with the compiled files, and why do I end up > with that error page? My guess is you have a cronjob which periodically (once a week?) cleans up your /tmp directory and its subdirectories. Hunt around /etc/cron* for clues. best regards, marek From wberrier at novell.com Thu Dec 6 18:04:39 2007 From: wberrier at novell.com (Wade Berrier) Date: Thu, 06 Dec 2007 16:04:39 -0700 Subject: [Mono-list] Problem installing Mono on SuSE 9.3 In-Reply-To: <290ea31b0712040716h10785047lae330d61b6102c19@mail.gmail.com> References: <51555.1196348856@speakeasy.net> <290ea31b0711290828p2cb8a125ia025531034f183d4@mail.gmail.com> <290ea31b0712040716h10785047lae330d61b6102c19@mail.gmail.com> Message-ID: <1196982279.1463.65.camel@moby.site> Hi Bryon, We used to support mono on suse 9.3, but no longer. Base mono tools from the linux installer will work on 9.3, but monodevelop will not. If you want to get it working on suse, please try a supported version (preferably 10.3). Good luck! Wade On Tue, 2007-12-04 at 10:16 -0500, Byron King wrote: > I attempted to install a release via YAST and got only so far. With > each new component, I was required to add something else that was > missing. SuSE is killing me! > > For giggles, I attempted the install on an Ubuntu 7.10 box using > Synaptic; it worked! After the install, I created a simple ASP.NET > project. On build attempt, the sample code (a textbox and a button) > failed to compile. The complaint was that the textbox was nt a part > of the Default.aspx.cs class. Give me a break! I tried > deleting/re-adding the textbox, but the error persisted. > > Has anyone else seen this? Thanks! > > On Nov 29, 2007 3:13 PM, Richard Couture < richard at beauware.com> > wrote: > > BTW, you may want to use the following link instead. It is for > the latest preview 1.2.6. > > ----------------------- > You can get the preview releases here: > http://mono.ximian.com/monobuild/preview/download-preview/ > ----------------------- > > > > ______________________________________________________________ > > Richard Couture > www.BeauWare.com ...pour une solution ? votre > mesure > > ______________________________________________________________ > > > > > ______________________________________________________ > Date: Thu, 29 Nov 2007 11:28:39 -0500 > From: byronking at speakeasy.net > To: richard at beauware.com > Subject: Re: [Mono-list] Problem installing Mono on > SuSE 9.3 > CC: mono-list at lists.ximian.com > > > > Richard, > > Thanks for the suggestions! I will try this tonight > and then report back! > > Cheers, > > Byron > > On Nov 29, 2007 11:19 AM, Richard Couture < > richard at beauware.com> wrote: > Hi, > > I have run into similar problem. (not > same .so). Where are you installing from. Did > you download the bin file?. If so, you won't > see the end of it. I have finally use yast. > See this link: > > http://www.go-mono.com/download-stable/sles-9-i586/ > > follow the top instruction : > --------------- > This distro supports installing packages via > YaST. Add the following installation source to > YaST: > * http://go-mono.com/download-stable/sles-9-i586 > > For assistance with using repositories and > installing packages with YaST, visit this > link: [1] > > --------------- > > You will need to add that link > (http://go-mono.com/download-stable/sles-9-i586 ) in yast > installation source. See this link: [1] for > help. > > The installation is done on-line with Yast and > if it needs missing lib, it will find them on > the net. > > This is the only working method I found. > > Good luck. > > > > > > > ______________________________________ > From: byronking at speakeasy.net > To: mono-list at lists.ximian.com > Date: Thu, 29 Nov 2007 10:07:36 -0500 > Subject: [Mono-list] Problem > installing Mono on SuSE 9.3 > > > Hello. I am running SuSE 9.3 and want > to install Mono and develop apps using > MonoDevelop. My problem is that at > the end of the install, I get a > message from a script stating that > libpangocairo-2.0.so.0 is missing. I > searched RPM resources for it, but > have not been able to find it. Has > anyone else experienced and resolved > this problem? How can I fix this? > Thanks! > > Regards, > > Byron > > > > ______________________________________________ > Express yourself with free Messenger > emoticons. Get them today! > > > > > ______________________________________________________________ > Have fun while connecting on Messenger! Click here to learn > more. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From mbd at dbc.dk Fri Dec 7 01:00:35 2007 From: mbd at dbc.dk (Mads Bondo Dydensborg) Date: Fri, 7 Dec 2007 07:00:35 +0100 Subject: [Mono-list] First Posting.. In-Reply-To: <47724CF5283C94439900996CDF98D5BE791D9F@igtdalexc002.corp.ignitetech.com> References: <47724CF5283C94439900996CDF98D5BE791D9F@igtdalexc002.corp.ignitetech.com> Message-ID: <200712070700.35157.mbd@dbc.dk> torsdag 06 December 2007 skrev Gavin Landon: > Hope this is the right list, general right?.. Just though I would say > hey after just signing up. > > I work for a company that is starting to redesign our VC6 Windows client > software to run cross platform. We have just recently downloaded and > started playing with Mono so I figured I best get on some list of people > that know what they are doing since I'm a unix/mac nub.. Welcome abord then :-) I think we are several people in the sort of position - crossplatform at least. In my experience, most of the very technical discussion actually take place on mono-devel though. Regards, Mads -- Med venlig hilsen/Regards Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34 From webring at ndatech.it Fri Dec 7 02:25:59 2007 From: webring at ndatech.it (Nicola Dell'Amico) Date: Fri, 07 Dec 2007 08:25:59 +0100 Subject: [Mono-list] Problem with files in apache-temp-aspnet-0 In-Reply-To: References: Message-ID: <4758F587.40003@ndatech.it> Kevin Flanagan wrote: > Bah - suppose this kind of thing is only to be expected moving from one > distro to another. Yes, tmpwatch was set to run daily on /tmp. Stopping that > seems likely to sort it. > > Thanks. > > Kevin. > > > -----Message d'origine----- > De : Marek Habersack [mailto:grendello at gmail.com] > Envoye : 06 December 2007 22:22 > A : Kevin Flanagan > Cc : mono-list at lists.ximian.com > Objet : Re: [Mono-list] Problem with files in apache-temp-aspnet-0 > > > On Thu, 6 Dec 2007 22:13:56 -0000, "Kevin Flanagan" > > scribbled: > >> Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1, >> Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and >> autohosting with mod_mono.conf > [snip] >> Bottom line is, what's going on with the compiled files, and why do I end > up >> with that error page? > My guess is you have a cronjob which periodically (once a week?) cleans up > your /tmp directory and its subdirectories. Hunt around /etc/cron* for > clues. > > best regards, > > marek > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list Hi Kevin, I hope you have solved but It sounds like the issue I coped with some time ago. I opened a bug (https://bugzilla.novell.com/show_bug.cgi?id=324783) for that and now it seems to be fixed on rev 1.2.5.1 I haven't tested 1.2.5.1 yet. I 'm still on rev 1.2.3.1, which works fine for me .... it seems an issue with rev 1.2.4 and, FC5, Apache 2.2.2 ... your configuration and mine seems look like the same. In my test case rev 1.2.3.1 works fine while 1.2.4 gives the error, and without any modification to cron jobs. Nicola ---- http://www.ndatech.it From adelle at akemi.com.au Fri Dec 7 04:07:04 2007 From: adelle at akemi.com.au (Adelle Hartley) Date: Fri, 07 Dec 2007 19:07:04 +1000 Subject: [Mono-list] Com Interop In-Reply-To: <1196952078.4243.11.camel@lina.magi.jprl.com> References: <4757C135.3040903@akemi.com.au> <1196952078.4243.11.camel@lina.magi.jprl.com> Message-ID: <47590D38.2090205@akemi.com.au> Jonathan Pryor wrote: > On Thu, 2007-12-06 at 19:30 +1000, Adelle Hartley wrote: >> When i try to use the same DLLs in a C# project in Mono, via COM interop, it works on Windows but not Linux. Ok, I'm not exactly surprised, but is there some way of getting Mono to instantiate a COM object using wine? > > Theoretically, yes. Currently, no. I had a feeling that might be the answer. > The way it _could_ be done is to run a Win32 mono inside Wine. This > would make Mono use the normal Windows COM support methods and Wine's > COM framework to instantiate and use your DLLs. Since I have source code for the DLLs, I'd rather recompile the DLLs against winelib, if I can figure out how to do that. Adelle. From dsmithers at talktalk.net Fri Dec 7 05:04:57 2007 From: dsmithers at talktalk.net (Dan Smithers) Date: Fri, 07 Dec 2007 10:04:57 +0000 Subject: [Mono-list] Ubuntu/Debian package Message-ID: <47591AC9.5000203@talktalk.net> I have just found that the version of mono distributed with ubuntu 7.04 is 1.2.3 and with 7.10 1.2.4 I want to build the latest version as I have found a few issues that may be solved by this and would like some advice. Do I get the latest version as a tarball from www.go-mono.com or is there a svn repositry that I could connect to? Which packages do I need? Does mono-1.2.5.2.tar.bz work with the other packages installed or will I need to update GTK#? When I get it going, what sort of tests would I need to do to validate it a submit it as an apt? thanks dan From jyotiseth2001 at gmail.com Fri Dec 7 06:04:27 2007 From: jyotiseth2001 at gmail.com (Jyoti Seth) Date: Fri, 7 Dec 2007 03:04:27 -0800 Subject: [Mono-list] Error: culture name ur is not supported In-Reply-To: <47591AC9.5000203@talktalk.net> References: <47591AC9.5000203@talktalk.net> Message-ID: <000001c838c0$f38fe830$daafb890$@com> Hi, I have made a multilingual website in asp.net and deployed it on suse linux 10.1 version. The following code is working fine for all the cultures except "ur". It gives the following error "HTTP 500. System.ArgumentException: Culture name ur is not supported. Parameter name: ur" protected override void InitializeCulture() { //System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("hi"); //System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("hi-IN"); System.Threading.Thread.CurrentThread.CurrentCulture =CultureInfo.CreateSpecificCulture("ur"); System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("ur-PK"); base.InitializeCulture(); } Please let me know if someone knows how to fix this problem. Thanks, Jyoti From dna at informatik.uni-kiel.de Fri Dec 7 06:16:40 2007 From: dna at informatik.uni-kiel.de (Daniel Nauck) Date: Fri, 07 Dec 2007 12:16:40 +0100 Subject: [Mono-list] Error: culture name ur is not supported In-Reply-To: <000001c838c0$f38fe830$daafb890$@com> References: <47591AC9.5000203@talktalk.net> <000001c838c0$f38fe830$daafb890$@com> Message-ID: <47592B98.5010604@informatik.uni-kiel.de> Hallo, please have a look at this thread: http://lists.ximian.com/pipermail/mono-devel-list/2007-December/thread.html#25940 Daniel Jyoti Seth schrieb: > Hi, > > I have made a multilingual website in asp.net and deployed it on suse linux > 10.1 version. The following code is working fine for all the cultures except > "ur". It gives the following error "HTTP 500. System.ArgumentException: > Culture name ur is not supported. Parameter name: ur" > > protected override void InitializeCulture() > { > //System.Threading.Thread.CurrentThread.CurrentCulture = > CultureInfo.CreateSpecificCulture("hi"); > //System.Threading.Thread.CurrentThread.CurrentUICulture = new > CultureInfo("hi-IN"); > System.Threading.Thread.CurrentThread.CurrentCulture > =CultureInfo.CreateSpecificCulture("ur"); > System.Threading.Thread.CurrentThread.CurrentUICulture = new > CultureInfo("ur-PK"); > base.InitializeCulture(); > } > > > Please let me know if someone knows how to fix this problem. > > Thanks, > Jyoti > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From dsmithers at talktalk.net Fri Dec 7 06:35:17 2007 From: dsmithers at talktalk.net (Dan Smithers) Date: Fri, 07 Dec 2007 11:35:17 +0000 Subject: [Mono-list] Ubuntu/Debian package In-Reply-To: <47591AC9.5000203@talktalk.net> References: <47591AC9.5000203@talktalk.net> Message-ID: <47592FF5.1080908@talktalk.net> I have been trying to build from the mono-1.2.5.2.tar.bz2 on the go-mono site and have discovered that the runtime directory is missing (the equivalent 1.2.4 tarball has it) and configure won't run. Can I copy the files from 1.2.4? Is this a bug in the tarball? thanks dan Dan Smithers wrote: > I have just found that the version of mono distributed with ubuntu 7.04 > is 1.2.3 and with 7.10 1.2.4 > > I want to build the latest version as I have found a few issues that may > be solved by this and would like some advice. Do I get the latest > version as a tarball from www.go-mono.com or is there a svn repositry > that I could connect to? > Which packages do I need? Does mono-1.2.5.2.tar.bz work with the other > packages installed or will I need to update GTK#? > > When I get it going, what sort of tests would I need to do to validate > it a submit it as an apt? > > thanks > > dan > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From jyotiseth2001 at gmail.com Fri Dec 7 06:30:39 2007 From: jyotiseth2001 at gmail.com (Jyoti Seth) Date: Fri, 7 Dec 2007 03:30:39 -0800 Subject: [Mono-list] Error: culture name ur is not supported In-Reply-To: <47592B98.5010604@informatik.uni-kiel.de> References: <47591AC9.5000203@talktalk.net> <000001c838c0$f38fe830$daafb890$@com> <47592B98.5010604@informatik.uni-kiel.de> Message-ID: <000101c838c4$9fffb520$dfff1f60$@com> Thanks. I checked the list. The culture "ur-PK" is not supported in the mono current version 1.2.5.1 -----Original Message----- From: Daniel Nauck [mailto:dna at informatik.uni-kiel.de] Sent: Friday, December 07, 2007 3:17 AM To: Jyoti Seth Cc: mono-list at lists.ximian.com Subject: Re: [Mono-list] Error: culture name ur is not supported Hallo, please have a look at this thread: http://lists.ximian.com/pipermail/mono-devel-list/2007-December/thread.html# 25940 Daniel Jyoti Seth schrieb: > Hi, > > I have made a multilingual website in asp.net and deployed it on suse linux > 10.1 version. The following code is working fine for all the cultures except > "ur". It gives the following error "HTTP 500. System.ArgumentException: > Culture name ur is not supported. Parameter name: ur" > > protected override void InitializeCulture() > { > //System.Threading.Thread.CurrentThread.CurrentCulture = > CultureInfo.CreateSpecificCulture("hi"); > //System.Threading.Thread.CurrentThread.CurrentUICulture = new > CultureInfo("hi-IN"); > System.Threading.Thread.CurrentThread.CurrentCulture > =CultureInfo.CreateSpecificCulture("ur"); > System.Threading.Thread.CurrentThread.CurrentUICulture = new > CultureInfo("ur-PK"); > base.InitializeCulture(); > } > > > Please let me know if someone knows how to fix this problem. > > Thanks, > Jyoti > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From Gavin.Landon at ignitetech.com Fri Dec 7 09:36:51 2007 From: Gavin.Landon at ignitetech.com (Gavin Landon) Date: Fri, 7 Dec 2007 08:36:51 -0600 Subject: [Mono-list] First Posting.. Message-ID: <47724CF5283C94439900996CDF98D5BE791DA0@igtdalexc002.corp.ignitetech.com> Thanks, I'll signup for that one as well. -----Original Message----- From: Mads Bondo Dydensborg [mailto:mbd at dbc.dk] Sent: Friday, December 07, 2007 12:01 AM To: mono-list at lists.ximian.com Cc: Gavin Landon Subject: Re: [Mono-list] First Posting.. torsdag 06 December 2007 skrev Gavin Landon: > Hope this is the right list, general right?.. Just though I would say > hey after just signing up. > > I work for a company that is starting to redesign our VC6 Windows client > software to run cross platform. We have just recently downloaded and > started playing with Mono so I figured I best get on some list of > people that know what they are doing since I'm a unix/mac nub.. Welcome abord then :-) I think we are several people in the sort of position - crossplatform at least. In my experience, most of the very technical discussion actually take place on mono-devel though. Regards, Mads -- Med venlig hilsen/Regards Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34 From rhowell at novell.com Fri Dec 7 17:23:24 2007 From: rhowell at novell.com (Rusty Howell) Date: Fri, 07 Dec 2007 15:23:24 -0700 Subject: [Mono-list] Mono 1.2.6 preview 3 is out!! Message-ID: <4759C7DC.90303@novell.com> Hey everyone, We've release our Preview 3 of Mono 1.2.6 today! Please help us out by giving it a try on your applications. As always, you can get the preview releases here: http://mono.ximian.com/monobuild/preview/download-preview/ Please report any bugs that you may find using our Bugs page, AND reply to this thread with the bug numbers so we can track them! http://www.mono-project.com/Bugs Please help the Mono team to make 1.2.6 the best release of Mono ever. Thanks again! Mono QA From mysql.jorge at decimal.pt Fri Dec 7 19:11:19 2007 From: mysql.jorge at decimal.pt (Jorge Bastos) Date: Sat, 8 Dec 2007 00:11:19 -0000 Subject: [Mono-list] Mono 1.2.6 preview 3 is out!! In-Reply-To: <4759C7DC.90303@novell.com> References: <4759C7DC.90303@novell.com> Message-ID: <00c401c8392e$dbdecdf0$939c69d0$@jorge@decimal.pt> I compiled all sucessfull -----Original Message----- From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Rusty Howell Sent: sexta-feira, 7 de Dezembro de 2007 22:23 To: mono-list Subject: [Mono-list] Mono 1.2.6 preview 3 is out!! Hey everyone, We've release our Preview 3 of Mono 1.2.6 today! Please help us out by giving it a try on your applications. As always, you can get the