[Mingw-users] bizarre problem, need help from a mingw developer
- Date: Sun, 06 Mar 2016 17:27:49 -0800
- From: mathog <mathog@xxxxxxxxxxx>
- Subject: [Mingw-users] bizarre problem, need help from a mingw developer
What started out as a bug in the windows version of Inkscape
has been tracked into some very peculiar behavior associated with the
poppler library in devlibs. With a tiny test program the bug is
triggered by merely linking in that library, none of its functions are
called (at least not explicitly)! What happens is that a code snippet
emits 0.0 instead of 1.0. (Within inkscape the bug is much worse, it
looks like it is formatting random locations in memory, and extremely
long strings of random digits can be returned.) Skip linking in poppler
and it works as it should. There is some sort of memory access issue
flagged by Dr. Memory in the case where it fails, but not with enough
information to indicate which part of poppler is responsible. Or at
least, not enough information for _me_ to figure it out. However when
the program is linked without poppler Dr. Memory sees no issues, and of
course the program runs as it should.
Discussion on the Poppler mail list about this has revolved around the
hypothesis that some sort of confusion by the linker results concerning
which version of the printf() functions end up being used.
A test program, a debug version of the poppler library, and other
information are here:
If one of the mingw developers can please look at this it would be a
huge help. Pretty sure you are going to need a debug version of the C
libraries to sort this out. It looks like stepping into the printf()
functions is the way to go, but I cannot do that in the mingw
development environment I use.
Manager, Sequence Analysis Facility, Biology Division, Caltech
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
MinGW-users mailing list
This list observes the Etiquette found at
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
You may change your MinGW Account Options or unsubscribe at: