[Vala] Error in allocating memory

2009-04-25 Thread Bharani Deepan
Hello, I am a MCA student from India.For my project i have chosen Digital image processing. I am new to vala and have some coding experience in c#.I have started my coding.But i am struck with a problem. Here is my code Gdk.Pixbuf p=new Gdk.Pixbuf.from_file(one1.png); int

Re: [Vala] Error in allocating memory

2009-04-25 Thread Hans Baier
GLib-ERROR **: /build/buildd/glib2.0-2.18.2/glib/gmem.c:136: failed to allocate 4294967295 bytes aborting... Aborted Looks like a Vala bug I've seen here on the list before.. Hans ___ Vala-list mailing list Vala-list@gnome.org

Re: [Vala] Error in allocating memory

2009-04-25 Thread Sam Danielson
I ran into something like this using the 6.1 compiler. Don't know if it exists in 7.*, nor did I see a bug that fit the description. It looks like an array length problem of which the only workaround I know is to use resize. External libs communicate size info separately but I would still expect