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 147367 - segfault on eps export
segfault on eps export
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.94-pre1
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-11 21:39 UTC by Roland Stigge
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roland Stigge 2004-07-11 21:39:33 UTC
A Debian user (and developer) reported the following bug:

================================================================================
When I try to export the attached file using the command:

  $ dia -t eps sensor-placement.dia 

a segmentation fault is the result.  However, the GUI seems to be able
to open the file just fine (but it crashes, too, when trying to export
it).

(gdb) bt
  • #0 FT_Outline_Decompose
    from /usr/lib/libfreetype.so.6
  • #1 draw_bezier_outline
    at diapsft2renderer.c line 309
  • #2 postscript_draw_contour
    at diapsft2renderer.c line 257
  • #3 draw_string
    at diapsft2renderer.c line 395
  • #4 draw_text
    at diarenderer.c line 395
  • #5 text_draw
    at text.c line 422
  • #6 textobj_draw
    at textobj.c line 205
  • #7 draw_object
    at diarenderer.c line 177
  • #8 normal_render
    at diagramdata.c line 472
  • #9 layer_render
    at diagramdata.c line 511
  • #10 data_render
    at diagramdata.c line 461
  • #11 export_render_eps
    at render_eps.c line 119
  • #12 export_ft2_eps
    at render_eps.c line 81
  • #13 do_convert
    at app_procs.c line 260
  • #14 handle_initial_diagram
    at app_procs.c line 316
  • #15 handle_all_diagrams
    at app_procs.c line 850
  • #16 app_init
    at app_procs.c line 590
  • #17 main
    at main.c line 36

================================================================================

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=258808 for an example
file.

Reproduced the bug with 0.93 and 0.94-pre1.
Comment 1 Lars Clausen 2004-07-12 05:04:31 UTC
What version of FreeType is used for this?  I can't reproduce this right away, I
have FreeType version 2.1.4.
Comment 2 Roland Stigge 2004-07-12 07:43:46 UTC
As written in the Debian bug report, 2.1.7 is the latest version in Debian, with
2.1.7-2.1 being the latest Debian revision.
Comment 3 Roland Stigge 2004-07-30 15:32:14 UTC
Another Debian user reported this bug, together with a fix at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262273

I can reproduce the problem now on my workstation, too:

Thread 1 (Thread 1083955040 (LWP 3416))

  • #0 do_convert
  • #1 parse_size
  • #2 app_exit
  • #3 app_init
  • #4 main

Comment 4 Roland Stigge 2004-08-01 19:33:38 UTC
This seems to be fixed in 0.94-pre4. Feel free to close this bug report.