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 726687 - Crashes when opening a PostScript file followed by another or vice versa
Crashes when opening a PostScript file followed by another or vice versa
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.10.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 721264 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-03-19 08:58 UTC by Debarshi Ray
Modified: 2018-05-22 15:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Reproducer (1.58 KB, text/plain)
2014-03-19 10:38 UTC, Debarshi Ray
Details

Description Debarshi Ray 2014-03-19 08:58:06 UTC
Try to open a PostScript file followed by another file, say a PDF, and you will get:

(gdb) bt
  • #0 gs_lcms2_malloc
    from /lib64/libgs.so.9
  • #1 _cmsMallocZeroDefaultFn
    from /lib64/liblcms2.so.2
  • #2 AllocateToneCurveStruct
    from /lib64/liblcms2.so.2
  • #3 cmsBuildSegmentedToneCurve
    from /lib64/liblcms2.so.2
  • #4 cmsBuildParametricToneCurve
    from /lib64/liblcms2.so.2
  • #5 cmsCreate_sRGBProfileTHR
    from /lib64/liblcms2.so.2
  • #6 GfxColorSpace::setupColorProfiles()
    from /lib64/libpoppler.so.43
  • #7 Gfx::Gfx(PDFDoc*, OutputDev*, int, Dict*, double, double, PDFRectangle*, PDFRectangle*, int, bool (*)(void*), void*, XRef*)
    from /lib64/libpoppler.so.43
  • #8 Page::createGfx(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, XRef*)
    from /lib64/libpoppler.so.43
  • #9 poppler_page_get_text_page(_PopplerPage*)
    from /lib64/libpoppler-glib.so.8
  • #10 poppler_page_get_selection_region
    from /lib64/libpoppler-glib.so.8
  • #11 pdf_document_text_get_text_mapping
    at ev-poppler.cc line 2150
  • #12 ev_job_page_data_run
    at ev-jobs.c line 743
  • #13 ev_job_thread
    at ev-job-scheduler.c line 184
  • #14 ev_job_thread_proxy
    at ev-job-scheduler.c line 217
  • #15 g_thread_proxy
    at gthread.c line 764
  • #16 start_thread
    at pthread_create.c line 309
  • #17 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111

Comment 1 Debarshi Ray 2014-03-19 10:38:46 UTC
Created attachment 272368 [details]
Reproducer

This is how gnome-documents uses libview, and it triggers the same crash.
Comment 2 Debarshi Ray 2014-03-19 11:00:18 UTC
Reassigning to evince after talking to KaL in #gnome-hackers on GIMPNet:

10:34 <rishi> KaL: Hey! Evince question.
10:34 <rishi> KaL: Are we doing this wrong:                                     
      https://bugzilla.gnome.org/show_bug.cgi?id=726687 ?
10:37 <KaL> rishi: I don't see anything wrong at a first glance, the trace      
      looks like a threading issue
10:38 <rishi> KaL: Should I reassign?
10:42 <KaL> rishi: let me check, I'm not sure
10:47 <KaL> rishi: ok, reassign it and I'll look at it in detail
Comment 3 Debarshi Ray 2014-03-22 11:45:37 UTC
*** Bug 721264 has been marked as a duplicate of this bug. ***
Comment 4 GNOME Infrastructure Team 2018-05-22 15:32:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/447.