<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - printf() breaks in simple program when libpoppler is linked to it"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94400">94400</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>printf() breaks in simple program when libpoppler is linked to it
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mathog@caltech.edu
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://bugs.launchpad.net/inkscape/+bug/1538361">https://bugs.launchpad.net/inkscape/+bug/1538361</a>
and in this new bug report for devlibs:
<a href="https://bugs.launchpad.net/inkscape-devlibs/+bug/1552913">https://bugs.launchpad.net/inkscape-devlibs/+bug/1552913</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>