Hello, community.
Starting from Xcode 11.4, libxml behaving differently in debug and release build, sometimes crashes. It works fine before Xcode 11.3 or in debug build.
My project use libxml via a 3rd party library called Fuzi. Fuzi have't changed in months, so I don't think it's where problem lie in . I have spent months debugging this issue, but unfortunately not yet find the cause.
I have created a demo project for reproducing this issue. https://github.com/kukushi/FuziCrash
Any help will be welcomed.
Starting from Xcode 11.4, libxml behaving differently in debug and release build, sometimes crashes. It works fine before Xcode 11.3 or in debug build.
My project use libxml via a 3rd party library called Fuzi. Fuzi have't changed in months, so I don't think it's where problem lie in . I have spent months debugging this issue, but unfortunately not yet find the cause.
I have created a demo project for reproducing this issue. https://github.com/kukushi/FuziCrash
Any help will be welcomed.
Thanks for responding.
During the process of creating a minimum swift file for reproducing this issue, I found it was a crash caused by an inappropriate usage of unowned let and referencing a released object inside the third party framework. The weird part is that crash only happened in the release build. Anyway, this is not a issue of libxml and I will close this question.
During the process of creating a minimum swift file for reproducing this issue, I found it was a crash caused by an inappropriate usage of unowned let and referencing a released object inside the third party framework. The weird part is that crash only happened in the release build. Anyway, this is not a issue of libxml and I will close this question.