Python 3.6.3 + Ice 3.5.1 - crash on exit
We are currently evaluating our software that uses Ice 3.5.1 for Python3 under SLES15 beta4 (that contains Python 3.6.3) and found a crash on exit:
*** Error in `/usr/bin/python3': double free or corruption (out): 0x00007ffff6b24900 ***
Program received signal SIGABRT, Aborted.
#0 0x00007ffff72db0d0 in raise () from /lib64/libc.so.6
#1 0x00007ffff72dc6b1 in abort () from /lib64/libc.so.6
#2 0x00007ffff731e427 in __libc_message () from /lib64/libc.so.6
#3 0x00007ffff7324b83 in malloc_printerr () from /lib64/libc.so.6
#4 0x00007ffff7326489 in _int_free () from /lib64/libc.so.6
#5 0x00007ffff5fc4641 in IcePy::PyObjectHandle::operator=(_object*) () from /opt/ice/python/IcePy.so
#6 0x00007ffff5fb61b3 in IcePy::InfoMapDestroyer::~InfoMapDestroyer() () from /opt/ice/python/IcePy.so
#7 0x00007ffff72ddce8 in __run_exit_handlers () from /lib64/libc.so.6
#8 0x00007ffff72ddd3a in exit () from /lib64/libc.so.6
#9 0x00007ffff72c5f51 in __libc_start_main () from /lib64/libc.so.6
#10 0x0000555555554e8a in _start ()
The Python file is just a one-liner:
We compiled the Ice libraries by ourself, using gcc-7.2.1 provided by SLES15.
When looking into the repo on GitHub I came across this commit that seems to fix the observed crash. It obviously references a bug tracker ticket "ICE-8496". Where can I find details on this?
Will this commit be contained in the Ice 3.7.1 release?
As a first fix (before moving to a new Ice version) I commented out
InfoMapDestroyer, what seems to fix the crash, but possibly introduces memory leaks (that shouldn't matter because the process' memory is freed on exit anyway).
I would be happy to hear from you anything w.r.t. this crash (that didn't appear under SLES12 with Python 3.4.6 and gcc 6.2.1 b.t.w.).
Thanks in advance!