Dia v0.95+cvs crash (more info)
- From: YONG WANG <troicy yahoo com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Dia v0.95+cvs crash (more info)
- Date: Wed, 29 Nov 2006 02:15:22 -0800 (PST)
Here I listed the results running $ldd dia
linux-gate.so.1 => (0x00163000)
libdia.so => /usr/local/lib/dia/libdia.so (0x009c4000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x00416000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x02c66000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x06b55000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x07a35000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x06f0b000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x0022a000)
libcairo.so.2 => /usr/lib/libcairo.so.2
(0x06e7f000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x06abc000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x0036d000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00daf000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x06b00000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x002e4000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x06a9d000)
libdl.so.2 => /lib/libdl.so.2 (0x00d13000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x06a09000)
libxml2.so.2 => /usr/lib/libxml2.so.2
(0x07668000)
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x06aa3000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00200000)
libm.so.6 => /lib/libm.so.6 (0x00cec000)
libz.so.1 => /usr/lib/libz.so.1 (0x00d1e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00de0000)
libc.so.6 => /lib/libc.so.6 (0x00bb7000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0041e000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00d70000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00d3b000)
libXrender.so.1 =>
/usr/lib/libXrender.so.1 (0x00269000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x002a2000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x06b4b000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x0029c000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00290000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00df6000)
/lib/ld-linux.so.2 (0x0032a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00d19000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00d33000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00d4d000)
YONG WANG
<troicy yahoo com> wrote:
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._______________________________________________
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
YONG WANG <troicy yahoo com> wrote:
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._______________________________________________
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]