Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 613
    • Issues 613
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
    • Merge Requests 39
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #670

Closed
Open
Opened Nov 15, 2018 by Jonas Witschel@diabonas

Crash in poppler 0.71.0 related to poppler_date_parse

I am investigating a crash of Evince when opening a PDF document containing an annotation. I use Arch Linux and poppler 0.71.0. Apparently the problem is directly related to poppler, as it can be reproduced with poppler-glib-demo as follows:

  1. Open this example PDF document with poppler-glib-demo.
  2. Navigate to the "Annotations" tab.
  3. Click on the annotation's type "Text".

This will result in a crash with the following error message:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted (core dumped)

The stack trace reveals that the problem might be related to poppler_date_parse:

Stack trace of thread 22891:
#0  0x00007f05bfcc4d7f raise (libc.so.6)
#1  0x00007f05bfcaf672 abort (libc.so.6)
#2  0x00007f05bed6a58e _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6)
#3  0x00007f05bed70dfa _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6)
#4  0x00007f05bed70e57 _ZSt9terminatev (libstdc++.so.6)
#5  0x00007f05bed710ac __cxa_throw (libstdc++.so.6)
#6  0x00007f05bed6c6dd _ZSt19__throw_logic_errorPKc (libstdc++.so.6)
#7  0x00007f05c0a13465 poppler_date_parse (libpoppler-glib.so.8)
#8  0x000055a56705b131 n/a (/home/jonas/poppler/poppler-glib-demo)

After a downgrade to poppler 0.70.1, this crash does not happen any more, so it seems to have been introduced in the latest release.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poppler/poppler#670