Re: NSHashTable with weak objects crashing

2019-11-11 Thread Fred Kiefer
Hi David, you are aware that Frederik is talking about the travis CI system on Github where his tests are failing? Either the whole build system is set up incorrectly or we have a general issue for week pointers. We probably should not expect these tests to work with gcc, maybe there is a way

Re: NSHashTable with weak objects crashing

2019-11-11 Thread David Chisnall
Hi, Where do the tests fail currently? These look sufficiently simple that they should just be calling a few of the ARC functions. The implementation of these classes is in NSConcrete{PointerFunctions,HashTable}.m and their interaction with the runtime is defined here:

Re: NSHashTable with weak objects crashing

2019-11-11 Thread Frederik Seiffert
Hi all, I’ve opened a pull request with some very simple tests for the NSHashTable/NSMapTable weak object support: https://github.com/gnustep/libs-base/pull/80 Unfortunately they are failing on the CI, so it seems that the issues described below