Re: Dia v0.95+cvs crash



I check xxx.pc again for pango, libart and gtk, the version numbers
are:
pango: 1.12.0
libart: 2.3.17

for gtk+ I found two xxx.pc files,

gtk+.pc shows 1.2.10
gtk+-2.0.pc shows 2.8.15

YONG WANG <troicy yahoo com> wrote:
run debug, and input some text, the last debuging messge is

(lt-dia:23730): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed
*** glibc detected *** /home/ywang/dia/app/.libs/lt-dia: double free or corruption (out): 0x0aeafb30 ***

I use "locate libxxx" to list the libs on my computer, the results is

/usr/lib/libpango-1.0.so
/usr/lib/libpango-1.0.so.0
/usr/lib/libpango-1.0.so.0.1200.0

/usr/lib/libgtk-1.2.so.0
/usr/lib/libgtk-1.2.so.0.9.1



Lars Clausen <lars raeder dk> wrote:
On Wed, 2006-11-29 at 02:11 -0800, YONG WANG wrote:
> I downloaded the CVS version, compiled and installed. Everything seems
> to be OK. and I can start Dia. However, I met two problems

Which versions of GTK, Pango and LibArt are you using?

> 1. when I start Dia from a terminal, there are many warnings as
> follows,
>
> (dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
> `GDK_IS_DRAWABLE (drawable)' failed
>
> (dia:22669): Gtk-CRITICAL **: gtk_pixmap_set: assertion
> `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET
> (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))'
> failed
>
> (dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
> `GDK_IS_DRAWABLE (drawable)' failed
>
> when i used Dia v0.94 before, there are similar warnings but seems it
> does
> not affect my usage.
>
> 2. I can start Dia and use it, but when I try to input some text in my
> diagram, Dia just crash. Under terminal I can see the following
> messages
> before crashing

Could you try doing

export DEBUGGER=gdb
app/run_dia.sh
(in the debugger) run
(enter some text so it crashes and then) bt

-Lars

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia




Lars Clausen <lars raeder dk> wrote:
On Wed, 2006-11-29 at 02:11 -0800, YONG WANG wrote:
> I downloaded the CVS version, compiled and installed. Everything seems
> to be OK. and I can start Dia. However, I met two problems

Which versions of GTK, Pango and LibArt are you using?

> 1. when I start Dia from a terminal, there are many warnings as
> follows,
>
> (dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
> `GDK_IS_DRAWABLE (drawable)' failed
>
> (dia:22669): Gtk-CRITICAL **: gtk_pixmap_set: assertion
> `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET
> (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))'
> failed
>
> (dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
> `GDK_IS_DRAWABLE (drawable)' failed
>
> when i used Dia v0.94 before, there are similar warnings but seems it
> does
> not affect my usage.
>
> 2. I can start Dia and use it, but when I try to input some text in my
> diagram, Dia just crash. Under terminal I can see the following
> messages
> before crashing

Could you try doing

export DEBUGGER=gdb
app/run_dia.sh
(in the debugger) run
(enter some text so it crashes and then) bt

-Lars

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia




Lars Clausen <lars raeder dk> wrote:
On Wed, 2006-11-29 at 02:11 -0800, YONG WANG wrote:
> I downloaded the CVS version, compiled and installed. Everything seems
> to be OK. and I can start Dia. However, I met two problems

Which versions of GTK, Pango and LibArt are you using?

> 1. when I start Dia from a terminal, there are many warnings as
> follows,
>
> (dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
> `GDK_IS_DRAWABLE (drawable)' failed
>
> (dia:22669): Gtk-CRITICAL **: gtk_pixmap_set: assertion
> `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET
> (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))'
> failed
>
> (dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
> `GDK_IS_DRAWABLE (drawable)' failed
>
> when i used Dia v0.94 before, there are similar warnings but seems it
> does
> not affect my usage.
>
> 2. I can start Dia and use it, but when I try to input some text in my
> diagram, Dia just crash. Under terminal I can see the following
> messages
> before crashing

Could you try doing

export DEBUGGER=gdb
app/run_dia.sh
(in the debugger) run
(enter some text so it crashes and then) bt

-Lars

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Access over 1 million songs - Yahoo! Music Unlimited._______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Access over 1 million songs - Yahoo! Music Unlimited.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]