[Touch-packages] [Bug 1849773] Re: /usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

2020-01-28 Thread Mue Fom
The fix works for me, too (libpoppler90:amd64 0.80.0-0ubuntu1.1). 
No crash in evince or atril.

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1849773

Title:
  
/usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

Status in poppler package in Ubuntu:
  Fix Released
Status in poppler source package in Eoan:
  Fix Committed

Bug description:
  [Impact]
  Selecting text in evince crashes for some files in eoan

  [Test case]

  Open the pdf in bug 1855596 and select some text.

  [Regression potential]
  This adds a check for a null pointer before using the pointer; it's limited 
to a small function checking if a font is glyphless so there is basically no 
risk for regressio

  [Error tracker]
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
evince.  This problem was most recently seen with package version 3.34.1-1, the 
problem page at 
https://errors.ubuntu.com/problem/da5fffc9beac869c0cf863d931ef170c60bb7d93 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1849773/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1849773] Re: /usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

2020-01-25 Thread Mue Fom
The cause for regression seems to be a technical issue not related to
poppler:

"Could not connect to ftpmaster.internal:80 (91.189.89.99), connection
timed out"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1849773

Title:
  
/usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

Status in poppler package in Ubuntu:
  Fix Released
Status in poppler source package in Eoan:
  Fix Committed

Bug description:
  [Impact]
  Selecting text in evince crashes for some files in eoan

  [Test case]

  Open the pdf in bug 1855596 and select some text.

  [Regression potential]
  This adds a check for a null pointer before using the pointer; it's limited 
to a small function checking if a font is glyphless so there is basically no 
risk for regressio

  [Error tracker]
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
evince.  This problem was most recently seen with package version 3.34.1-1, the 
problem page at 
https://errors.ubuntu.com/problem/da5fffc9beac869c0cf863d931ef170c60bb7d93 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1849773/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1849773] Re: /usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

2020-01-07 Thread Mue Fom
Is there a chance that this will be fixed in Ubuntu Eoan?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1849773

Title:
  
/usr/bin/evince:11:strstr:TextSelectionPainter::hasGlyphLessFont:TextSelectionPainter::endPage:TextPage::drawSelection:poppler_page_render_selection

Status in poppler package in Ubuntu:
  Fix Released
Status in poppler source package in Eoan:
  In Progress

Bug description:
  [Impact]
  Selecting text in evince crashes for some files in eoan

  [Test case]

  Open the pdf in bug 1855596 and select some text.

  [Regression potential]
  This adds a check for a null pointer before using the pointer; it's limited 
to a small function checking if a font is glyphless so there is basically no 
risk for regressio

  [Error tracker]
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
evince.  This problem was most recently seen with package version 3.34.1-1, the 
problem page at 
https://errors.ubuntu.com/problem/da5fffc9beac869c0cf863d931ef170c60bb7d93 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1849773/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-16 Thread Mue Fom
Bug was introduced by LP #1830473  (Does not handle glyphless fonts, as
used by tesseract)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1855596] Re: NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with certain PDF

2019-12-11 Thread Mue Fom
Please find attached a sample PDF demonstrating the problem.

It was produced by pdflatex on this file:

%%
% -*- compile-command: "pdflatex t1-test && evince t1-test.pdf" -*-
\documentclass[12pt,a4paper]{article}

% \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}

Just a little test:

Try to select some text in evince!

\end{document}
%%


** Attachment added: "sample pdf"
   
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+attachment/5311733/+files/t1-test.pdf

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1855596

Title:
  NULL ptr dereference in TextSelectionPainter::hasGlyphLessFont() with
  certain PDF

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  When viewing a certain PDF (which I unfortunately can't share) using
  evince, a see a crash in libpoppler90. It's a NULL pointer dereference
  in TextSelectionPainter::hasGlyphLessFont(), because in this certain
  PDF, for whatever reason, sel->word->getFontName(0) may return NULL.

  Attached you'll find a proposed patch increasing the robustness in
  this case.

  Cheers,
  Enrik

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1855596/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp