Fixes for core dump problems on Linux. Added new API.#90
Fixes for core dump problems on Linux. Added new API.#90ivannp wants to merge 12 commits intodds-bridge:developfrom
Conversation
Catch up with develop
Cumulative update from v2.8.2 to v2.8.3
Fix of par score in very rare cases
Cumulative update to v2.8.4
Cumulative master update for v2.9.0 beta
Cumulative update from v2.9.0 beta to v2.9.0
|
It seems I have finally found the root cause of the crashes on exit on Linux. The main reason was the calls from libEnd to free the memory object. This is wrong, because the documentation suggests that the library destructor is called after the destructors of global objects. That's exactly what I was seeing in the core dump. The pull request also tries to fix a bug in the Init.cpp where a -1 index access was possible. Please verify that the fix is correct - i.e. builds the correct tables. To find these bugs, I used various sanitization flags, which I left commented in the makefiles for future reference. Last, I added an API which uses JSON to return the DD tables. Using JSON based APIs is incredibly useful when calling the library from other languages. I realize this could be left out as a separate fix (and it does bring dependency on an external header-only library), so two questions here:
To me, as a user of the library from Python, it's invaluable. |
|
In Debian, we have the bug that examples/DealerPar crashes on 32bit i386, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910939. I suspect a combination of fixes from this and other PRs might fix it. |
|
@ivannp Indeed, even when we call I don't know the code but isn't it a better idea to return |
No description provided.