[Mono-dev] glibc detected *** mono: double free or corruption

2007-10-15 Thread Abir Bhattacharya
Hi All, Am receiving an native crash error like : *** glibc detected *** mono: double free or corruption (!prev): 0x08726100 ***. I am trying to call a PInvoke to a 'C' method which returns me a struct. I am using Fedora (2.6) and have installed mono from the standard installer : The

Re: [Mono-dev] Marshalling (Segmentation fault)

2007-10-11 Thread Abir Bhattacharya
ussell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abir Bhattacharya Sent: 11 October 2007 12:09 To: 'Robert Jordan'; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Marshalling (Segmentation fault) The 'C' prototype :

Re: [Mono-dev] Marshalling (Segmentation fault)

2007-10-11 Thread Abir Bhattacharya
; > SDL_mutexV(mutex); > > return fgbuffer; > } I don't see where you're allocating the buffer, so I think that function simply doesn't work. Are you sure you want "unsigned char *buffer[1000]"? I guess it should be "unsigned char bu

Re: [Mono-dev] Marshalling (Segmentation fault)

2007-10-11 Thread Abir Bhattacharya
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Jordan Sent: Thursday, October 11, 2007 4:32 PM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Marshalling (Segmentation fault) Abir Bhattacharya wrote: > > [DllImport ("lib.so")]

[Mono-dev] Marshalling (Segmentation fault)

2007-10-11 Thread Abir Bhattacharya
Hi All, I have a 'C' structure which needs to be marshalled in MONO. The 'C' struct is something like : struct fgrab { int bufferlength; unsigned char *buffer[1000]; } typedef fgrab_struct; In the Mono side I have the following code : Class A {

[Mono-dev] calling native 'C' libraries

2007-10-03 Thread Abir Bhattacharya
Hi all, Pls give me any ideas / refs related to invoking of native 'C' libraries in mono ? Regards Abir Bhattacharya ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/

Re: [Mono-dev] run-time errors with core dumped in console database app

2007-09-25 Thread Abir Bhattacharya
Pls look into the following : 1. have you registered the MySql.Data.dll using the GacUtil utility. 2. try using the IDBConnection , maybe you can refer to http://www.mono-project.com/MySQL for additional help -abir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Mono-dev] MonoDvelop IDE crash

2007-09-17 Thread Abir Bhattacharya
007 1:02 AM To: Abir Bhattacharya Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] MonoDvelop IDE crash El dv 14 de 09 del 2007 a les 17:42 +0530, en/na Abir Bhattacharya va escriure: > Hi, > > > > I have a C# application(usage of extensive graphics) which I am > portin

[Mono-dev] MonoDvelop IDE crash

2007-09-14 Thread Abir Bhattacharya
Hi, I have a C# application(usage of extensive graphics) which I am porting to mono . The applications generates runtime images on the OnPaint() method ,however when it runs in mono ,Linux 2.6 the application hangs along with the monodevelop IDE . In some of the instances the images are painted

[Mono-dev] Mono devl starts with a MonoQuery.AddIn Error

2007-08-01 Thread Abir Bhattacharya
Hi, Have installed MonoDevelop on Fedora 7 Kernel 2.6.21. but it gives and warning /Error that MonoQuery.addin could not be started . Do I have to re-install mono from the source files?. Any help will be well appreciated . Thanks Abir __

[Mono-dev] DirectShow.NET implementation on MONO

2007-07-23 Thread Abir Bhattacharya
Hi, Recently I am trying to port one of my WinForm Application to MONO , I have used MS DirectShow.NET quite extensively in the project. I did do a compatibility test on the DirectShowLib2005.dll and found that more or less all the methods and props is MONO Compatible. However when I try r

Re: [Mono-dev] Issue with the system.DllNotFoundException

2007-07-22 Thread Abir Bhattacharya
Bhattacharya Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Issue with the system.DllNotFoundException Why are you using ODBC, instead of one of the MySQL specific providers? To use the ODBC provider you need to have the native libs for odbc installed. Regards, On 7/18/07, Abir

[Mono-dev] Issue with the system.DllNotFoundException

2007-07-18 Thread Abir Bhattacharya
Hi Am getting this error while I am trying to connect to the MySql DB. (however there are no compile time problems) . I am running mono on VM Ware (openSuse 10.2 ). System.DllNotFoundException: libodbc.so at (wrapper managed-to-native) System.Data.Odbc.libodbc:SQLAllocHandle (System.