[Lazarus] IDE editor works wrongly under windows (with Unicode).

Vincent Snijders vsnijders at quicknet.nl
Wed Jun 4 06:29:40 CEST 2008


Hello,

I moved this weekend to Mandriva 2008.1 (spring edition), 64 bit.

After I was able to properly compile Lazarus (library dependencies), I
have the following error messages
(The GTK Warning and critical repeates a lot) :

(lazarus:5511): Gdk-WARNING **: The gdk_draw_*_image require the
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(lazarus:5511): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
TGtkWidgetSet.RawImage_DescriptionFromDrawable: visual failed
WARNING: TGtkWidgetSet.RawImage_FromDrawable:
RawImage_DescriptionFromDrawable failed
WARNING: [TGtkWidgetSet.RawImage_FromBitmap] unable to
GetRawImageFromGdkWindow Image
WARNING: TLazIntfImage.ChooseRawBitsProc Unsupported BitsPerPixel=0

(lazarus:5511): Gdk-WARNING **: The gdk_draw_*_image require the
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(lazarus:5511): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
TGtkWidgetSet.RawImage_DescriptionFromDrawable: visual failed
WARNING: TGtkWidgetSet.RawImage_FromDrawable:
RawImage_DescriptionFromDrawable failed
WARNING: [TGtkWidgetSet.RawImage_FromBitmap] unable to
GetRawImageFromGdkWindow Image
WARNING: TLazIntfImage.ChooseRawBitsProc Unsupported BitsPerPixel=0

(lazarus:5511): Gdk-WARNING **: The gdk_draw_*_image require the
drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(lazarus:5511): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
TGtkWidgetSet.RawImage_DescriptionFromDrawable: visual failed
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=FPImageException
  Exception=Failed to get raw image description from bitmap
  Stack trace:
  $000000000085B5AA line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $00000000007AAD11 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $00000000007A86BC line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $000000000084CB84 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $00000000006910F8 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $0000000000690703 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $000000000068E88E line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $000000000063E790 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
TApplication.HandleException Failed to get raw image description from bitmap
  Stack trace:
  $000000000085B5AA line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $00000000007AAD11 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $00000000007A86BC line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $000000000084CB84 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $00000000006910F8 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $0000000000690703 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $000000000068E88E line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S
  $000000000063E790 line 26 of
/home/mandrake/rpm/BUILD/glibc-2.7/build-x86_64-linux/csucrti.S

(lazarus:5511): Gtk-CRITICAL **: gtk_type_unique: assertion
`GTK_TYPE_IS_OBJECT (parent_type)' failed
[CRITICAL] file gdk-pixbuf-loader.c: line 426
(gdk_pixbuf_loader_write): assertion `GDK_IS_PIXBUF_LOADER (loader)'
failed.

(lazarus:5511): Gtk-CRITICAL **: gtk_type_unique: assertion
`GTK_TYPE_IS_OBJECT (parent_type)' failed
[CRITICAL] file gdk-pixbuf-loader.c: line 530
(gdk_pixbuf_loader_close): assertion `GDK_IS_PIXBUF_LOADER (loader)'
failed.

(lazarus:5511): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
without calling gdk_pixbuf_loader_close() - this is not allowed. You
must explicitly end the data stream to the loader before dropping the
last reference.

(lazarus:5511): Gtk-WARNING **: Error loading theme icon
'gtk-dialog-error' for stock: Failed to load icon
[FORMS.PP] ExceptionOccurred
[TGtkWidgetSet.Destroy]
[TGtkWidgetSet.Destroy]  DCs:   00002ACF448E13B0
[TGtkWidgetSet.Destroy]
[TGtkWidgetSet.Destroy]   GDIOs: 00002ACF3D8F4F30 00002ACF3D8F4D30
[TGtkWidgetSet.Destroy]   gdiBitmap: 2


I think the problem is with Mandriva itself. Any idea what should I
look for to understand the problem better ?


Thanks,
Ido
-- 
http://ik.homelinux.org/



More information about the Lazarus mailing list