Skip to content

Rebase.#1

Merged
elmopl merged 7 commits intoelmopl:developfrom
boostorg:develop
Nov 7, 2017
Merged

Rebase.#1
elmopl merged 7 commits intoelmopl:developfrom
boostorg:develop

Conversation

@elmopl
Copy link
Owner

@elmopl elmopl commented Nov 7, 2017

No description provided.

marv and others added 7 commits October 24, 2017 20:18
This was properly an oversight when switching to the BOOST_SYMBOL_*
symbols from Boost.Config in commit 0224f54 (see #1)

Since Boost.Config is already doing the differentiation between
different platforms and compilers we can simplify this bit and just
use BOOST_SYMBOL_EXPORT
Unfortunately due to optimised build of Python3 libraries and executable I got only partial stack from [http://clang.llvm.org/docs/AddressSanitizer.html], however digging into and reducing my code I tracked it down to be issue with `boost/libs/python/src/object/enum.cpp`.

It has to bits that leak (and comment mentioning there is one):

    PyObject *mod = PyObject_GetAttrString( self_, "__module__");

Leaks reference, as it never decreases it.
It also stores a new string object under object's `name` that ref count never gets decremented.

That commit fixes both issues.
…get_signature when multiple calling conventions are enabled"

This reverts commit b49a186.
@elmopl elmopl merged commit 449fb2a into elmopl:develop Nov 7, 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

Successfully merging this pull request may close these issues.

5 participants