[Poppler-bugs] [Bug 94400] New: printf() breaks in simple program when libpoppler is linked to it
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 5 02:16:31 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94400
Bug ID: 94400
Summary: printf() breaks in simple program when libpoppler is
linked to it
Product: poppler
Version: unspecified
Hardware: x86 (IA32)
OS: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: mathog at caltech.edu
The libpoppler in devlibs61, used by Inkscape, when linked to a simple test
program that does something like this:
double val=cos(0.0);
printf("%lf\n",val);
causes the wrong value to be emitted. The value is set correctly to 1.0 but
printf() emits 0.0. Within inkscape it can emit some dreadful things, like
strings of hundreds of digits.
Build the exact same program, but without linking libpoppler to it, and it
works correctly.
Running the test program within Dr. Memory showed problems when libpoppler was
linked in, and none when it wasn't. The build environment was Mingw on 32 bit
XP.
Details of testing so far, and commands to reproduce the issue, begin at
message 40 here:
https://bugs.launchpad.net/inkscape/+bug/1538361
and in this new bug report for devlibs:
https://bugs.launchpad.net/inkscape-devlibs/+bug/1552913
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160305/99fa75cf/attachment.html>
More information about the Poppler-bugs
mailing list