After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 488935 - Bug with VDX import in WinXp (libpangocairo too old)
Bug with VDX import in WinXp (libpangocairo too old)
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: import
0.96.1
Other Windows
: Normal critical
: 0.97
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-22 09:46 UTC by Williamson RAKOTO
Modified: 2009-01-11 19:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A crashing VDX file with Dia (332.46 KB, application/octet-stream)
2007-10-25 14:09 UTC, Williamson RAKOTO
Details
Error dialogBox ScreenShot (10.49 KB, image/jpeg)
2008-10-13 09:52 UTC, Jeff
Details

Description Williamson RAKOTO 2007-10-22 09:46:55 UTC
Steps to reproduce:
1. According to Ian Redfern, it works with Ubuntu Linux 7.10
2. When I try to open a vdx file I have the error "Pango-ERROR**:Unable to create Win32 cairo scaled font. This means out of memory or a cairo/fontconfig/FreeType bug aborting..."
3. I have Dia 0.96-1 on WinXP SP2


Stack trace:


Other information:
Comment 1 Hans Breuer 2007-10-25 09:57:38 UTC
I'm suspecting a problem with Pango/cairo when given an invalid font size (e.g. 0). Can you provide the crashing VDX file so we ca be sure?
Comment 2 Williamson RAKOTO 2007-10-25 14:09:03 UTC
Created attachment 97844 [details]
A crashing VDX file with Dia
Comment 3 Hans Breuer 2008-06-27 14:28:50 UTC
Dia (not only) on Linux spits out

** (lt-dia:21819): DEBUG: g=0.000046 too small
** (lt-dia:21819): DEBUG: g=0.000046 too small
** (lt-dia:21819): DEBUG: g=0.000046 too small
** (lt-dia:21819): DEBUG: g=0.000046 too small

when looading the file. Neither the windows nor the linux version of current SVN are crashing on me.
Comment 4 Jeff 2008-10-13 09:52:24 UTC
Created attachment 120494 [details]
Error dialogBox ScreenShot
Comment 5 Jeff 2008-10-13 09:53:54 UTC
Hi

I have the same problem
Win XP SP3
Dia 0.96.1
Comment 6 Hans Breuer 2009-01-11 15:22:18 UTC
I can reproduce the crash with Dia-0-96.1-7 from . Part of the problem are the old cairo and pango versions. At least the crash can be avoided by updating the dependencies to a newer versions.
Steffen: I've checked with Pango-1-18 without updateing gtk+, but your installer should probably be updated to use Gtk+-2-12 including all it's updated dependencies (good for upcoming version 0.97, too).

This will also help to get rid of the freetype dependency which was dragged in by libpangocairo or libcairo, IMO by accident. See e.g.: http://lists.cairographics.org/archives/cairo/2007-June/010907.html
Comment 7 Steffen Macke 2009-01-11 16:14:16 UTC
Hans, thanks for the information.
For the 0.97 build, I'm on new GTK+ libraries anyway.
However, it definitely seems to be time for another 0.96.1 installer - I think that there are also some security related issues in the libraries.
Comment 8 Hans Breuer 2009-01-11 19:47:41 UTC
indeed the crash is fixed with Dia-0-96.1-9, thanks Steffen.
VDX text import works much better with upcoming 0.97, though.