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 154438 - evince crashed on a file created by Apache FOP with embedded TTF FreeMono fonts
evince crashed on a file created by Apache FOP with embedded TTF FreeMono fonts
Status: RESOLVED DUPLICATE of bug 312936
Product: evince
Classification: Core
Component: general
0.5.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 329166 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-04 08:13 UTC by Ilguiz Latypov
Modified: 2006-02-25 20:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case pdf (94.12 KB, application/pdf)
2004-11-16 21:56 UTC, Branislav Jovanović
Details
a compressed tar archive with the PDF file causing a crash (846.17 KB, application/x-compressed)
2004-11-17 05:06 UTC, Ilguiz Latypov
Details
the PDF file causing the crash (4.30 KB, application/pdf)
2004-11-17 05:09 UTC, Ilguiz Latypov
Details
the script and fonts updated to the 2005-09 Apache FOP (723.29 KB, application/x-compressed-tar)
2005-11-29 01:49 UTC, Ilguiz Latypov
Details
the well-behaving PDF created with the 2005-09 Apache FOP (6.06 KB, application/pdf)
2005-11-29 01:51 UTC, Ilguiz Latypov
Details

Description Ilguiz Latypov 2004-10-04 08:13:28 UTC
Distribution: Debian 3.1
Package: gpdf
Severity: normal
Version:  unspecified
Synopsis: gpdf crashed on a file created by Apache FOP with embedded TTF FreeMono fonts
Bugzilla-Product: gpdf
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.6.1.1)
Description:
Description of the crash:

Generated a PDF file with FOP trying to see if Unicode characters will
show up.  I prepared the
custom configuration file userconfig.xml pointing to FreeMono xml
metrics.  I specified the 
FreeMono font family in my XSL-FO template.


Steps to reproduce the crash:
1. Get the lines.pdf file from http://ei.homeip.net/unicodepdf.tar.gz
2. Type gpdf lines.pdf
3. Watch gpdf window starting up and crashing.

Expected Results:

I expected 4 lines of text to be shown by gpdf.  Note that xpdf will
complain
about the embedded fonts.

How often does this happen?

Every time.

Additional Information:

I haven't tried Acroread yet.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-10-04 04:13 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gpdf".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Vincent Noel 2004-10-04 18:16:43 UTC
I can confirm the crash. Acroread opens the file without any problem.
Comment 2 Branislav Jovanović 2004-11-16 21:56:09 UTC
Created attachment 33860 [details]
test case pdf
Comment 3 Danilo Segan 2004-11-17 00:47:27 UTC
Both test cases show squares for me in gpdf 2.7.2, but when I upgraded to CVS
HEAD, lines.pdf crashes, while Branislav's test case worked just fine.

FWIW, xpdf 1.0.1 shows page footer of lines.pdf (a horizontal rule, and "Page 1
of 1" below it).
Comment 4 Ilguiz Latypov 2004-11-17 05:06:18 UTC
Created attachment 33872 [details]
a compressed tar archive with the PDF file causing a crash
Comment 5 Ilguiz Latypov 2004-11-17 05:09:17 UTC
Created attachment 33873 [details]
the PDF file causing the crash
Comment 6 Ilguiz Latypov 2005-11-29 01:47:06 UTC
My Debian unstable gpdf no longer crashes on the test case PDF file.  Perhaps,
the bug was fixed indirectly.

I see that the characters in the displayed text aren't the same as original
ones.  I re-generated the PDF file with a September 2005 snapshot of the Apache
FOP trunk.  The original FreeMono TrueType font would produce mixed characters
again, so I tried DejaVuSansMono, and it worked.

I had to update userconfig.xml according to the changed FOP.
Comment 7 Ilguiz Latypov 2005-11-29 01:49:32 UTC
Created attachment 55353 [details]
the script and fonts updated to the 2005-09 Apache FOP
Comment 8 Ilguiz Latypov 2005-11-29 01:51:46 UTC
Created attachment 55354 [details]
the well-behaving PDF created with the 2005-09 Apache FOP
Comment 9 Ilguiz Latypov 2005-11-29 01:55:48 UTC
My gpdf that no longer crashes has version number 2.8.2.
Comment 10 Olav Vitters 2006-01-29 01:10:28 UTC
Gpdf is no longer maintained, closing WONTFIX. Please use Evince for your pdf
viewing needs.

http://www.gnome.org/projects/evince/
Comment 11 Zack Weinberg 2006-01-29 20:42:33 UTC
evince 0.5 has no trouble with attachment #1 [details] (from Branislav) but displays garbage for attachment #3 [details] (from Ilguiz) and crashes on close.  Reopen, reassign to evince.
Comment 12 Kjartan Maraas 2006-01-31 12:11:15 UTC
Here's the backtrace for the crash on close:

0x0082e402 in ?? ()
(gdb) bt
  • #0 ??
  • #1 ??
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 792
  • #3 <signal handler called>
  • #4 FT_Done_Face
    at /usr/src/debug/freetype-2.1.10/src/base/ftobjs.c line 1846
  • #5 ~CairoFont
    at CairoFontEngine.cc line 258
  • #6 ~CairoFontEngine
    at CairoFontEngine.cc line 309
  • #7 ~CairoOutputDev
    at CairoOutputDev.cc line 65
  • #8 poppler_document_finalize
    at poppler-document.cc line 177
  • #9 IA__g_object_unref
    at gobject.c line 1762
  • #10 pdf_document_dispose
    at ev-poppler.cc line 150
  • #11 IA__g_object_unref
    at gobject.c line 1734
  • #12 ev_view_destroy
    at ev-view.c line 2245
  • #13 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #14 g_type_class_meta_marshal
    at gclosure.c line 567
  • #15 IA__g_closure_invoke
  • #16 signal_emit_unlocked_R
    at gsignal.c line 2554
  • #17 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #18 IA__g_signal_emit
    at gsignal.c line 2241
  • #19 gtk_object_dispose
    at gtkobject.c line 403
  • #20 gtk_widget_dispose
    at gtkwidget.c line 6656
  • #21 IA__g_object_run_dispose
    at gobject.c line 571
  • #22 IA__gtk_object_destroy
    at gtkobject.c line 388
  • #23 IA__gtk_widget_destroy
    at gtkwidget.c line 1995
  • #24 gtk_bin_forall
    at gtkbin.c line 166
  • #25 gtk_scrolled_window_forall
    at gtkscrolledwindow.c line 816
  • #26 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #27 gtk_container_destroy
  • #28 gtk_scrolled_window_destroy
    at gtkscrolledwindow.c line 675
  • #29 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #30 g_type_class_meta_marshal
    at gclosure.c line 567
  • #31 IA__g_closure_invoke
    at gclosure.c line 490
  • #32 signal_emit_unlocked_R
    at gsignal.c line 2554
  • #33 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #34 IA__g_signal_emit
    at gsignal.c line 2241
  • #35 gtk_object_dispose
    at gtkobject.c line 403
  • #36 gtk_widget_dispose
    at gtkwidget.c line 6656
  • #37 IA__g_object_run_dispose
    at gobject.c line 571
  • #38 IA__gtk_object_destroy
    at gtkobject.c line 388
  • #39 IA__gtk_widget_destroy
    at gtkwidget.c line 1995
  • #40 gtk_paned_forall
    at gtkpaned.c line 1098
  • #41 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #42 gtk_container_destroy
    at gtkcontainer.c line 829
  • #43 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #44 g_type_class_meta_marshal
    at gclosure.c line 567
  • #45 IA__g_closure_invoke
    at gclosure.c line 490
  • #46 signal_emit_unlocked_R
    at gsignal.c line 2554
  • #47 IA__g_signal_emit_valist
  • #48 IA__g_signal_emit
    at gsignal.c line 2241
  • #49 gtk_object_dispose
    at gtkobject.c line 403
  • #50 gtk_widget_dispose
    at gtkwidget.c line 6656
  • #51 IA__g_object_run_dispose
    at gobject.c line 571
  • #52 IA__gtk_object_destroy
    at gtkobject.c line 388
  • #53 IA__gtk_widget_destroy
    at gtkwidget.c line 1995
  • #54 gtk_box_forall
    at gtkbox.c line 703
  • #55 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #56 gtk_container_destroy
    at gtkcontainer.c line 829
  • #57 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #58 g_type_class_meta_marshal
    at gclosure.c line 567
  • #59 IA__g_closure_invoke
    at gclosure.c line 490
  • #60 signal_emit_unlocked_R
    at gsignal.c line 2554
  • #61 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #62 IA__g_signal_emit
    at gsignal.c line 2241
  • #63 gtk_object_dispose
    at gtkobject.c line 403
  • #64 gtk_widget_dispose
    at gtkwidget.c line 6656
  • #65 IA__g_object_run_dispose
    at gobject.c line 571
  • #66 IA__gtk_object_destroy
    at gtkobject.c line 388
  • #67 IA__gtk_widget_destroy
    at gtkwidget.c line 1995
  • #68 gtk_bin_forall
    at gtkbin.c line 166
  • #69 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #70 gtk_container_destroy
    at gtkcontainer.c line 829
  • #71 gtk_window_destroy
    at gtkwindow.c line 3828
  • #72 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #73 g_type_class_meta_marshal
    at gclosure.c line 567
  • #74 IA__g_closure_invoke
    at gclosure.c line 490
  • #75 signal_emit_unlocked_R
    at gsignal.c line 2554
  • #76 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #77 IA__g_signal_emit
    at gsignal.c line 2241
  • #78 gtk_object_dispose
    at gtkobject.c line 403
  • #79 gtk_widget_dispose
    at gtkwidget.c line 6656
  • #80 gtk_window_dispose
    at gtkwindow.c line 1762
  • #81 IA__g_object_run_dispose
    at gobject.c line 571
  • #82 IA__gtk_object_destroy
    at gtkobject.c line 388
  • #83 IA__gtk_widget_destroy
    at gtkwidget.c line 1995
  • #84 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #85 IA__g_closure_invoke
    at gclosure.c line 490
  • #86 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #87 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #88 IA__g_signal_emit
    at gsignal.c line 2241
  • #89 _gtk_action_emit_activate
    at gtkaction.c line 1042
  • #90 closure_accel_activate
    at gtkaction.c line 1434
  • #91 IA__g_closure_invoke
    at gclosure.c line 490
  • #92 signal_emit_unlocked_R
  • #93 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #94 IA__g_signal_emit
    at gsignal.c line 2241
  • #95 IA__gtk_accel_group_activate
    at gtkaccelgroup.c line 766
  • #96 IA__gtk_accel_groups_activate
    at gtkaccelgroup.c line 804
  • #97 IA__gtk_window_activate_key
    at gtkwindow.c line 7506
  • #98 gtk_window_key_press_event
    at gtkwindow.c line 4543
  • #99 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #100 g_type_class_meta_marshal
    at gclosure.c line 567
  • #101 IA__g_closure_invoke
    at gclosure.c line 490
  • #102 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #103 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #104 IA__g_signal_emit
    at gsignal.c line 2241
  • #105 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #106 IA__gtk_propagate_event
    at gtkmain.c line 2149
  • #107 IA__gtk_main_do_event
    at gtkmain.c line 1412
  • #108 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #109 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #110 g_main_context_iterate
    at gmain.c line 2547
  • #111 IA__g_main_loop_run
    at gmain.c line 2751
  • #112 IA__gtk_main
    at gtkmain.c line 991
  • #113 main
    at main.c line 295
  • #114 __libc_start_main
  • #115 _start

Comment 13 Ilguiz Latypov 2006-01-31 13:09:01 UTC
*** Bug 329166 has been marked as a duplicate of this bug. ***
Comment 14 Nickolay V. Shmyrev 2006-02-25 20:29:33 UTC
According to backtrace it's a dup of poppler bug.

*** This bug has been marked as a duplicate of 312936 ***