[Gambas-user] Reproducible problem with Image.Clear

ukimiku mkuyumcu at ...3233...
Sun Nov 24 17:04:14 CET 2013


My program ran fine until I inserted the line
"img.Clear"

"img" is of type Image and properly instantiated.
In the project, I already used "img" to store integers as color values for
the pixels.

The line crashed the first time Gambas tried to execute it. I can reproduce
it as often as I like. I had to remove the line and erase the contents of
"img" manually.


In the console, the following text appeared when Gambas tried to execute it:
> (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
> 'GDK_IS_PIXBUF (pixbuf)' failed
>
> (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion
> 'GDK_IS_PIXBUF (pixbuf)' failed
>
> (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion
> 'GDK_IS_PIXBUF (pixbuf)' failed
>
> (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion
> 'GDK_IS_PIXBUF (pixbuf)' failed
>
> (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion
> 'GDK_IS_PIXBUF (pixbuf)' failed

Hope someone can make sense of all of this. 


*IDE system info:*
[System]
Gambas=3.5.1
OperatingSystem=Linux
Kernel=3.11.0-12-generic
Architecture=x86_64
Distribution=Ubuntu 13.10
Desktop=GNOME
Theme=QGtk
Language=de_DE.UTF-8
Memory=7985M
[Libraries]
Cairo=libcairo.so.2.11200.16
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.4
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.200.0
GTK+=libgtk-x11-2.0.so.0.2400.20
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.43.0.0
Qt4=libQtCore.so.4.8.4
SDL=libSDL-1.2.so.0.11.4

So far, I have not been able to create a demo project that also shows this
behavior, but might add it to this post should I succeed.

Regards,
ukimiku



--
View this message in context: http://gambas.8142.n7.nabble.com/Reproducible-problem-with-Image-Clear-tp44348.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list