Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-06

Mandriva 2008.1 amd64 and Lazarus gtk2

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

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

Reply by email

Felipe Monteiro de Carvalho
to ik

I don't know how to answer your question, but afaik you can use 32-bit software in 64-bits systems, so you could try installing the 32-bits lazarus.

Felipe Monteiro de Carvalho

Reply by email

ik
to Felipe Monteiro de Carvalho

I reported the bug here:
https://qa.mandriva.com/show_bug.cgi?id=41195

However I have a feeling that Mandriva people are not going to take any steps to help in this matter.

Felipe Monteiro de Carvalho wrote 11 lines
I don't know how to answer your question, but afaik you can use 32-bit software in 64-bits systems, so you could try installing the 32-bits lazarus. -- Felipe Monteiro de Carvalho _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Ido

Reply by email

Paulo Malheiros
to ik: I moved this weekend to Mandriva 2008.1 (spring edition), 64 bit. After I was able to…

Have you checked your graphics card depth?
I installed Mandriva 2008.1 32bit and had problems with one of my applications because the graphical server is set to 16 bit by default. But Lazarus started without any problem.

Paulo

Quoting ik :

Show quoted text 132 lines
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/ _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

ik
to Paulo Malheiros

It was solved, but i don't understand why :(

Ido

Paulo Malheiros wrote 150 lines
Have you checked your graphics card depth? I installed Mandriva 2008.1 32bit and had problems with one of my applications because the graphical server is set to 16 bit by default. But Lazarus started without any problem. Paulo Quoting ik : > 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/ > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email