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 682451 - invalid UTF-8 fed to cairo
invalid UTF-8 fed to cairo
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: printing
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-22 11:41 UTC by Christian Persch
Modified: 2012-08-22 12:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2012-08-22 11:41:25 UTC
Printing http://www.unicode.org/Public/6.2.0/charts/blocks/U25A0.pdf I got two

Internal Error: cairo context error: input string not valid UTF-8

errors on console. So it appears either evince or poppler is feeding invalid UTF-8 to cairo.

evince and poppler from Fedora 17.
Comment 1 Christian Persch 2012-08-22 12:04:05 UTC
Breakpoint 1, _cairo_error (status=CAIRO_STATUS_INVALID_STRING) at cairo.c:171
171	{
(gdb) where
  • #0 _cairo_error
    at cairo.c line 171
  • #1 _cairo_validate_text_clusters
  • #2 cairo_show_text_glyphs
  • #3 CairoOutputDev::endString
    at CairoOutputDev.cc line 1222
  • #4 Gfx::doShowText
    at Gfx.cc line 4036
  • #5 Gfx::opShowText
    at Gfx.cc line 3737
  • #6 Gfx::execOp
    at Gfx.cc line 857
  • #7 Gfx::go
    at Gfx.cc line 716
  • #8 Gfx::display
    at Gfx.cc line 682
  • #9 Gfx::drawForm
    at Gfx.cc line 4830
  • #10 Gfx::doForm
    at Gfx.cc line 4753
  • #11 Gfx::opXObject
    at Gfx.cc line 4127
  • #12 Gfx::execOp
    at Gfx.cc line 857
  • #13 Gfx::go
    at Gfx.cc line 716
  • #14 Gfx::display
    at Gfx.cc line 682
  • #15 Page::displaySlice
  • #16 _poppler_page_render
    at poppler-page.cc line 358
  • #17 pdf_document_print_print_page
    at ev-poppler.cc line 1934
  • #18 ev_document_print_print_page
    at ev-document-print.c line 40
  • #19 ev_job_print_run
    at ev-jobs.c line 1866
  • #20 ev_job_run
    at ev-jobs.c line 215
  • #21 ev_job_thread
    at ev-job-scheduler.c line 184
  • #22 ev_job_thread_proxy
    at ev-job-scheduler.c line 217
  • #23 g_thread_proxy
    at gthread.c line 801
  • #24 start_thread
    at pthread_create.c line 309
  • #25 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 133

-> looks like a poppler bug, fill forward.