Dia v0.95+cvs crash



I downloaded the CVS version, compiled and installed. Everything seems to be OK. and I can start Dia. However, I met two problems

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

dia[0x8071e9f]
/usr/lib/libglib-2.0.so.0[0x6a2c6e1]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x16d)[0x6a2e09d]
/usr/lib/libglib-2.0.so.0[0x6a3132f]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0x6a316d9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0x6c73594]
dia(main+0x3f)[0x809e32f]
/lib/libc.so.6(__libc_start_main+0xdc)[0xbcc7e4]
dia[0x805d991]
======= Memory map: ========
00111000-00138000 r-xp 00000000 03:43 862527     /usr/lib/libpangoft2-1.0.so.0.1200.0
00138000-00139000 rwxp 00027000 03:43 862527     /usr/lib/libpangoft2-1.0.so.0.1200.0
00139000-00171000 r-xp 00000000 03:43 862447     /usr/lib/libfontconfig.so.1.0.400171000-00175000 rwxp 00038000 03:43 862447     /usr/lib/libfontconfig.so.1.0.400175000-00176000 rwxp 00175000 00:00 0

If I do not input text, it seems to be OK.

thanks for your help.

Yong

Lars Clausen <lars raeder dk> wrote:
On Tue, 2006-11-28 at 08:35 -0800, YONG WANG wrote:
> Hello
>
> I use Diag to draw a flowchart and export it as *.tex file (pstricks).
>
> I download the pstricks.tex file as hinted on the website, my Dia
> ver is 0.94. I use the sample code
>
> \begin{figure}
> \centering
> \input{filename.tex}
> \caption{A caption}
> \label{figure:alabel}
> \end{figure}
> where filename.tex is the *.tex file Dia generated, in my own tex
> document,
> when I compile it complains error
>
>
> .......
> \setfont{Helvetica}{1.300000}
> \newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
> \psset{linecolor=dialinecolor}
> \rput(10.255835,-3.950550){\scalebox{1 -1}{\$y\$}}
> }\endpspicture
>
> ERROR: Illegal unit of measure (pt inserted).
>
> I have include pstricks package.

There is a fix in current CVS (not 0.95.1, alas) that uses \psscalebox
instead of \scalebox, which apparently is The Right Thing[tm]. Whether
you want to backport this fix, use current CVS or fix your postscript
files are your choice, depending on your familiarity with compilation
and dependencies.

-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



Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.

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