Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String memory corruption with xml strings #6

Closed
letmaik opened this issue Dec 2, 2014 · 2 comments
Closed

String memory corruption with xml strings #6

letmaik opened this issue Dec 2, 2014 · 2 comments

Comments

@letmaik
Copy link
Owner

letmaik commented Dec 2, 2014

On Travis, the Mac builds fail randomly for Python 3.3 and 3.4 (2.7 not observed yet) with:

tests.testDatabaseXMLLoading ... 
** (process:89054): WARNING **: [lensfun] XML:25:72: Error on line 25 char 72: Odd character 'l', expected a '=' after attribute name 'c' of element 'distortion'

or

tests.testDatabaseXMLLoading ... 
** (process:89032): WARNING **: [lensfun] XML:1:1: Error on line 1 char 1: Document must begin with an element (e.g. <book>)

Why is this not happening on Linux or Windows? Could it be a problem with the gettext install?

This happened only recently and may be due to Travis updating the Mac workers.

@letmaik
Copy link
Owner Author

letmaik commented Dec 4, 2015

Not observed anymore, closing.

@letmaik letmaik closed this as completed Dec 4, 2015
@letmaik
Copy link
Owner Author

letmaik commented Dec 30, 2015

Happened again. Python 3.4, lensfunpy 1.4.0, Mac OS X on Travis.
Error was Error on line 1 char 1

[2017-04-22] Still happening, again on Python 3.4, macOS on Travis: https://travis-ci.org/letmaik/lensfunpy/jobs/224702634

Also observed on Windows with Python 3.4 now: https://ci.appveyor.com/project/letmaik/lensfunpy/build/1.0.177/job/uegjex5yfyljrmhj

tests.testDatabaseXMLLoading ...
** (python.exe:1668): WARNING **: [Lensfun] XML:28:2: Error on line 28 char 2: Invalid UTF-8 encoded text in name - not valid '\x80'

And on Linux: https://travis-ci.org/letmaik/lensfunpy/jobs/265723841

Seems to be random XML string corruption.

@letmaik letmaik reopened this Dec 30, 2015
@letmaik letmaik changed the title Possible memory corruption on Mac with xml strings String memory corruption with xml strings Aug 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant