Bug 54935 - error messages about operator is wrong type ((null))
Summary: error messages about operator is wrong type ((null))
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 16:48 UTC by Germán Poo-Caamaño
Modified: 2013-03-02 17:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
PDF test case (2.02 KB, application/pdf)
2012-09-14 16:48 UTC, Germán Poo-Caamaño
Details

Description Germán Poo-Caamaño 2012-09-14 16:48:17 UTC
Created attachment 67176 [details]
PDF test case

This was reported in GNOME Bugzilla (evince), however, this bug belong to poppler.
I can reproduce it with poppler-glib-demo, when it renders the pdf.

I tried with master (b72c02d1a2e), from Sep 13, 2012.  Here is the origina report:


This file was generated by mathematica 8.0.4, and when I view it directly with
evince or embed it in a LaTeX PDF and view that, I get error messages on the
console

Error (220): Arg #0 to 'm' operator is wrong type ((null))
Error (223): Arg #0 to 'l' operator is wrong type ((null))
Error (225): No current point in lineto
Error (227): Arg #1 to 'l' operator is wrong type ((null))
Error (252): Arg #0 to 'm' operator is wrong type ((null))
Error (252): Arg #0 to 'l' operator is wrong type ((null))
Error (252): No current point in lineto

etc.  I don't know whether the PDF is malformed or if there's some corner case
that evince doesn't cover or what.  Mathematica does sometimes create strange
files with things like infinite rectangles for the background.  The problem
seems to be mostly harmless-- the picture looks okay on the screen and in
print.  But I thought I should report it.
Comment 1 Albert Astals Cid 2012-09-15 19:24:08 UTC
This is indeed a real bug in the Lexer that is not able to parse correctly the -2147483648 number. I have a patch but want to give it some more test, will probably commit it tomorrow
Comment 2 Albert Astals Cid 2012-09-16 11:59:29 UTC
Fixed


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.