[Poppler-bugs] [Bug 37190] pdftops crashes on solaris with memory corruption

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 14 06:53:31 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37190

--- Comment #2 from William Bader <williambader at hotmail.com> 2011-05-14 06:53:31 PDT ---
gcc-3.4.6 is still the most recent build on the Solaris freeware site
http://www.sunfreeware.com/

I've built gcc-4.6.0 on the Solaris system, and I compile my C programs with
it, but poppler is in C++.  gcc-4 and gcc-3 have a compatible calling interface
for C, but I think that they are not compatible for C++.  Sun freeware has
versions of the system libraries that are all built with gcc-3.4.6 and
compatible with each other.  In order to build poppler with gcc-4.6.0, I would
have to find all of the C++ system libraries that poppler uses and rebuild them
from source with gcc-4.6.0.  If it is only libstdc++, I could try that.

At least so far, I haven't found any problems with anything from the Solaris
freeware site.  Whoever built it knew what they were doing and selected good
configurations options.

I suspect that the problem is in poppler because it seems to happen with the
same object in two different versions of poppler.  Also, the traceback in the
git version show a call to GfxState::copy (stack entry #5 in the first
traceback) which is not present in the 0.17.0 traceback.  I suspect that there
is something wrong in poppler, and changes between 0.17.0 and the git version
were an attempt to fix it. The memory allocation in the Solaris runtimes might
be more sensitive to writes outside allocated areas or to using memory after it
has been freed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list