Bug 106962 - Poppler-0.44. segment fault in XRef::getNumEntry implemented in xref.c
Summary: Poppler-0.44. segment fault in XRef::getNumEntry implemented in xref.c
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 13:19 UTC by paintedVeil
Modified: 2018-07-10 03:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The test file and a simple description (1.05 MB, application/x-zip-compressed)
2018-06-19 13:19 UTC, paintedVeil
Details

Description paintedVeil 2018-06-19 13:19:03 UTC
Created attachment 140228 [details]
The test file and a simple description

A segment fault occurred when the xpdf 3.03 consumend the  file "test file.pdf".

Probably,the segment fault occurred according to accessing to a destructed class.
Comment 1 Jason Crain 2018-06-19 16:18:35 UTC
This was fixed by commit 310fbeec692b02d555e3e8dd6c851be11b25e26a in poppler version 0.26.2. You appear to be using version 0.24.4.
Comment 2 paintedVeil 2018-06-20 02:03:42 UTC
(In reply to Jason Crain from comment #1)
> This was fixed by commit 310fbeec692b02d555e3e8dd6c851be11b25e26a in poppler
> version 0.26.2. You appear to be using version 0.24.4.

I read the commit 310fbeec692b02d555e3e8dd6c851be11b25e26

You are correct. Thanks.

Btw, how to check the version of my poppler lib
Comment 3 Jason Crain 2018-06-20 05:53:51 UTC
(In reply to paintedVeil from comment #2)
> Btw, how to check the version of my poppler lib

I based it on which poppler version used SOVERSION 44, since your document indicated you are using libpoppler.so.44, but the more usual way is to check your packaage manager. For example, on Debian, `dpkg-query -l 'libpoppler'` will show the poppler version.
Comment 4 paintedVeil 2018-06-21 09:43:14 UTC
(In reply to Jason Crain from comment #3)
> (In reply to paintedVeil from comment #2)
> > Btw, how to check the version of my poppler lib
> 
For example, on Debian, `dpkg-query -l 'libpoppler'`
> will show the poppler version.

I got it. I am using poppler 0.24.5 on Ubuntu 14.04. Thanks~
Comment 5 paintedVeil 2018-07-10 02:44:11 UTC
(In reply to Jason Crain from comment #3)
> (In reply to paintedVeil from comment #2)
> > Btw, how to check the version of my poppler lib
> 
> I based it on which poppler version used SOVERSION 44, since your document
> indicated you are using libpoppler.so.44, but the more usual way is to check
> your packaage manager. For example, on Debian, `dpkg-query -l 'libpoppler'`
> will show the poppler version.

Hi, how to fix this bug on Ubuntu 14.04?
Comment 6 Jason Crain 2018-07-10 03:34:49 UTC
(In reply to paintedVeil from comment #5)
> Hi, how to fix this bug on Ubuntu 14.04?

File a bug at https://bugs.launchpad.net/ubuntu/ and ask them to fix it. Or you can follow the steps at http://packaging.ubuntu.com/html/fixing-a-bug.html to fix it yourself.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.