[Mono-dev] BIG ASP.NET BUG : SegFault when sending a Response of a size 120Ko
Hello I'm working with mono from svn : (today's revision) I want to send a byte[] of a size 120kb to the client: this code cause a segfault to xsp : private void MyButton_Click(object sender,EventArgs e) { int length=12; byte[] buffer=new byte[length]; Response.ClearHeaders(); Response.Clear(); Response.AddHeader(Content-Disposition,attachment; filename=\+essai+\); Response.AppendHeader(Content-Length,length.ToString()); Response.StatusCode = 200; Response.OutputStream.Write(buffer,0,length); Response.End(); Response.Flush(); } . [EMAIL PROTECTED] /home/monoapp/WebApplication1 $ xsp xsp Listening on port: 8080 (non-secure) Listening on address: 0.0.0.0 Root directory: /home/monoapp/WebApplication1 Hit Return to stop the server. Erreur de segmentation I'm opening a bug in bugzilla with the complete test case... I believe this bug is linked with the new unmanaged IO Asp.NET stack... I think it's a Major regression (because it use to work) ___Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Win32 build broken
Hi, The error message is the following: Creating library file: .libs/libMonoPosixHelper.dll.a .libs/signal.o: In function `Mono_Posix_Syscall_psignal': /mono/mono/support/signal.c:47: undefined reference to `_psignal' I think Mono_Posix_Syscall_psignal is not required on Win32 and should not be compiled on PLATFORM_WIN32. Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono GMCS error when building out of SharpDevelop
Hello,I was building a small project of mine (created with Visual Studio 2005 Beta 2) that calculated the inverse of a matrix and had a nice Windows.Forms GUI. I opened it up in todays trunk copy of Corsavy (SharpDevelop 2) and set the build target to Mono 2 ( i.e. Mono 1.9.2 installed today also). About a second after the compilation started I received a message box from Mono:** ERROR **: file class.c: line 2233 (mono_class_setup_parent): should not be reached aborting...So I figured out it was an internal gmcs compiler error... I could post the source code etc... if that information is needed, but how do I resolve that error?Regards,-- Vladimir D Lushnikov ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] patch for bug#76213 : DataTable.Compute
Hi Can someone review the patch attached to see if its appropriate for bug #76213.. the bug is essentially this : when a xml data (without any schema info) is read into a dataset and an aggregate function is applied on the data (DataTable.Compute), it returns DBNull as the result .. The issue is that in the absence of any schema info , all the data are assumed as strings, and, since aggregate functions works only on numbers , we returns a DBNull is such cases .. Ideally, we shud check if the string can be converted to a number.. msdotnet behavior is something like this: 1. Only Max and Min works on such data .. Others like SUM, AVG etc throw an exception 2. Max and Min works only if the data can be converted to integers (Not sure as to why only integers are supported) 3. If the data is a float/double, an exception is raised only if the result of the function is a float .. as in , if i have 1,2,5,3 .. then everything works fine .. but 1.5,2,3 or 1,2,3.5 throws an exception ..This definitely is a bug.. for the fix : do we assume that we will support max and min functions for integers or do we also support floats? i feel the msdotnet behavior is most likely a bug and dont see any reason why floats shudnt be supported.. Also, not sure why the other aggregate functions dont support this conversion .. Not sure if its a bug or a 'feature' in msdotnet.. pls advise.. Cheers Senga patch_76213 Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] C++ compiler for Mono
http://www.trolltech.com/products/qt/indepth.html The above site features an open-source C++ compiler (read the FAQ and it says it'll work with .NET). Possibly edit its source so it compiles to CIL? Just a thought, but I would really like to see a C++ compiler for Mono. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] BIG ASP.NET BUG : SegFault when sending a Response of a size 120Ko
http://bugzilla.ximian.com/show_bug.cgi?id=76460 Le lundi 17 octobre 2005 10:56 +0200, Hubert FONGARNAND a crit : Hello I'm working with mono from svn : (today's revision) I want to send a byte[] of a size 120kb to the client: this code cause a segfault to xsp : private void MyButton_Click(object sender,EventArgs e) { int length=12; byte[] buffer=new byte[length]; Response.ClearHeaders(); Response.Clear(); Response.AddHeader(Content-Disposition,attachment; filename=\+essai+\); Response.AppendHeader(Content-Length,length.ToString()); Response.StatusCode = 200; Response.OutputStream.Write(buffer,0,length); Response.End(); Response.Flush(); } . [EMAIL PROTECTED] /home/monoapp/WebApplication1 $ xsp xsp Listening on port: 8080 (non-secure) Listening on address: 0.0.0.0 Root directory: /home/monoapp/WebApplication1 Hit Return to stop the server. Erreur de segmentation I'm opening a bug in bugzilla with the complete test case... I believe this bug is linked with the new unmanaged IO Asp.NET stack... I think it's a Major regression (because it use to work) ___ Ce message et les ventuels documents joints peuvent contenir des informations confidentielles. Au cas o il ne vous serait pas destin, nous vous remercions de bien vouloir le supprimer et en aviser immdiatement l'expditeur. Toute utilisation de ce message non conforme sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'tant pas scurises, l'intgrit de ce message n'est pas assure et la socit mettrice ne peut tre tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] C++ compiler for Mono
Zymmeral wrote: http://www.trolltech.com/products/qt/indepth.html The above site features an open-source C++ compiler (read the FAQ and it says it'll work with .NET). Possibly edit its source so it compiles to CIL? Just a thought, but I would really like to see a C++ compiler for Mono. Sorry to burst your bubble. It's not a compiler. It's a GUI toolkit. -- Thomas Harning Jr. signature.asc Description: OpenPGP digital signature ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] C++ compiler for Mono
Hi Zymmeral, The last version of QT (qt 4) can compile in VisualStudio and generate a .NET assemblies but this assemblies uses some system call that are not present on Linux, have also a dependencie of some msvc libraries then you can run on Mono. Everaldo. Em Sáb, 2005-10-15 às 18:12 -0700, Zymmeral escreveu: http://www.trolltech.com/products/qt/indepth.html The above site features an open-source C++ compiler (read the FAQ and it says it'll work with .NET). Possibly edit its source so it compiles to CIL? Just a thought, but I would really like to see a C++ compiler for Mono. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.Security.Cryptography : TripleDES Issue
Hello, Is Triple DES Encryption supported in Mono? I have small code which uses Triple DES algorithm to encrypt /Decrypt data. This works fine in MS .NET. When I run same code on Mono, it throws IV length can not be greater than Block Size exception. I don't find any entry for this class in documentation. I searched data base but couldn't find anything. Also I see Crypto classes are implemented under two different namespaces System.Security.Cryptography and Mono.Security.Cryptography. What is the difference between them? Your help is appreciated. Regards, Yogendra Thakur. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Win32 build broken
On Mon, 2005-10-17 at 13:37 +0200, Kornél Pál wrote: Creating library file: .libs/libMonoPosixHelper.dll.a .libs/signal.o: In function `Mono_Posix_Syscall_psignal': /mono/mono/support/signal.c:47: undefined reference to `_psignal' I think Mono_Posix_Syscall_psignal is not required on Win32 and should not be compiled on PLATFORM_WIN32. This should be fixed in r51830. Sorry, - Jon ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] What about the Windows setup of Mono?
Hi Jim, I currently delete the .la and .a files from the windows installer to conserve space. I'm not sure of an easier way to do this. Wade On Thu, 2005-09-29 at 10:49 +0100, Jim Purbrick wrote: Hi Wade, I'd really like mono.dll and mono.lib files packaged with the Windows install so I can embed mono on Windows. Currently I have to use cygwin to build on Windows from source just to generate a dll and lib to link against (there may be an easier way to do this, please let me know). Cheers, Jim. --- Daniel Morgan [EMAIL PROTECTED] wrote: Hopefully, you can continue allowing the Mono Win32 installers to allow parallel installs. I need the ability to have multiple versions of mono installed. Some application working in one version, such as, Mono 1.1.6 do not work in Mono 1.1.8. Wade Berrier wrote: Hi Kornél, I'm working on the windows installer and it should be finished shortly. I'm shooting for today but it may be tomorrow. The good news is that after I'm done automating it the installers will be released in parallel with the mono releases. Your suggestions are very much appreciated. I believe (Paco, correct me if I'm wrong) the reason Paco used batch files instead of setting up environment variables was so that multiple mono versions could be installed in parallel. I will look into packaging libgdiplus with the installer. I think that's a great idea. Wade On Wed, 2005-09-28 at 20:08 +0200, Kornél Pál wrote: Hi, Is anyone working on it? When will it be released? Some suggestions: I don't like to have bat files in bin directory while having executables in lib directory. I think environment variables should be set in Windows instead of using batch files. And I would like to have an option to add mono\bin directory to PATH. Some others from the archive: http://lists.ximian.com/pipermail/mono-devel-list/2005-September/014803.html http://lists.ximian.com/pipermail/mono-devel-list/2005-September/014817.html Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Security.Cryptography : TripleDES Issue
Hello Yogendra, On Mon, 2005-10-17 at 17:39 -0400, Yogendra Thakur wrote: Hello, Is Triple DES Encryption supported in Mono? yes I have small code which uses Triple DES algorithm to encrypt /Decrypt data. This works fine in MS .NET. When I run same code on Mono, it throws IV length can not be greater than Block Size exception. Sorry I can't help you without more details. Please open a bug report at http://bugzilla.ximian.com and include a small source code sample that reproduce the problem. Don't forget to indicate which version of Mono you are using and on which platform. I don't find any entry for this class in documentation. I searched data base but couldn't find anything. You can access the documentation from http://www.mono-project.com Click on manuals and docs (icon on top right) then navigate the tree view to get to the desired class documentation. Here's a direct link to the TripleDES class http://www.go-mono.com/docs/monodoc.ashx?link=T% 3aSystem.Security.Cryptography.TripleDES Also I see Crypto classes are implemented under two different namespaces System.Security.Cryptography and Mono.Security.Cryptography. What is the difference between them? System.Security.Cryptography implements the same classes (i.e. same features/same limites) as MS base class library. Mono.Security.Cryptography offer extra classes (i.e. not available on the MS framework). -- Sebastien Pouliot email: [EMAIL PROTECTED] blog: http://pages.infinit.net/ctech/ ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] patch for TermInfoDriver.cs
On Sun, 2005-10-16 at 10:22 +0200, Michal Moskal wrote: A simple patch attached, otherwise trying to just assign to *Color property throws NullRef. 2005-10-16 Michal Moskal [EMAIL PROTECTED] * TermInfoDriver.cs: Call Init () in Background/ForegroundColor. Please, commit. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] BIG ASP.NET BUG : SegFault when sending a Response of a size 120Ko
On Mon, 2005-10-17 at 11:08 +0200, Hubert FONGARNAND wrote: http://bugzilla.ximian.com/show_bug.cgi?id=76460 Just in case you think 3 emails in 7 minutes are not enough, I'm replying here to acknowledge that I'm working on fixing this issue. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] BIG ASP.NET BUG : SegFault when sending a Response of a size 120Ko
On Mon, 2005-10-17 at 20:33 -0400, Gonzalo Paniagua Javier wrote: On Mon, 2005-10-17 at 11:08 +0200, Hubert FONGARNAND wrote: http://bugzilla.ximian.com/show_bug.cgi?id=76460 It's fixed now. For those of you seeing weird libc errors and xsp dying, please try http://primates.ximian.com/~gonzalo/System.Web.dll.gz (gunzip + gacutil -i), as I think it's the same problem as the one reported by Hubert. Thanks. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list