@slackmoehrle,
Could you rebuild Android externals with latest NDK18 before Cocos2d-x 3.17.1 release?
Below ticket is on your Issues list but it is in āOpenā state:
āStart AutoTestā
Bug: crash after 1-2 minutes.
āStart AutoTestā worked few months ago.
From adb logcat it seems like file ābutton_actived.pngā
11-13 20:43:32.063 15307 15343 D cocos2d-x debug info: cocos2d: SpriteFrameCache: Frame ābutton_actived.pngā isnāt found
11-13 20:43:32.063 15307 15343 D cocos2d-x debug info: Assert failed: spriteFrame canāt be nullptr!
11-13 20:43:32.063 15307 15343 E cocos2d-x assert: C:\projects\cocos2d-x\cocos\2d\CCSprite.cpp function:initWithSpriteFrame line:233
11-13 20:43:32.063 15307 15343 D cocos2d-x debug info: Could not allocate Scale9Sprite()
11-13 20:43:32.063 15307 15343 D cocos2d-x debug info: [TestController]Catch an crash event
11-13 20:43:32.063 15307 15343 E libsigchain: exiting due to SIG_DFL handler for signal 11
11-13 20:43:32.097 2962 3110 W InputDispatcher: channel ā5e340b8 org.cocos2dx.cpp_tests/org.cocos2dx.cpp_tests.AppActivity (server)ā ~ Consumer closed input channel or an error occurred. events=0x9
11-13 20:43:32.098 2962 3110 E InputDispatcher: channel ā5e340b8 org.cocos2dx.cpp_tests/org.cocos2dx.cpp_tests.AppActivity (server)ā ~ Channel is unrecoverably broken and will be disposed!
11-13 20:43:32.098 2962 3110 D InputDispatcher: Commands locked, dispatchOnceInnerLocked() not be called
11-13 20:43:32.098 2962 3110 I WindowManager: WINDOW DIED Window{5e340b8 u0 org.cocos2dx.cpp_tests/org.cocos2dx.cpp_tests.AppActivity}
11-13 20:43:32.098 2962 3110 W InputDispatcher: Attempted to unregister already unregistered input channel ā5e340b8 org.cocos2dx.cpp_tests/org.cocos2dx.cpp_tests.AppActivity (server)ā
The same for win32. Call stack:
libcocos2d.dll!cocos2d::Sprite::initWithSpriteFrame(cocos2d::SpriteFrame * spriteFrame) Line 233
C++
libcocos2d.dll!cocos2d::Sprite::initWithSpriteFrameName(const std::basic_string<char,std::char_traits,std::allocator > & spriteFrameName) Line 228
I should just upload this to the Play Store for everyone to download. Or do we really need to do this step now since users can just download when they want from these links?
Speaking for CPP-Test. I just wanted to test the latest github commit on iOS (real iPhone XS) and it also crashed on some tests - manually or auto-test. I donāt believe, that they are always tested and fixed, if they arenāt running.
I update the NDK by default. For testing purposesā¦
And currently I have no problems with clang, so Iām fine with an update to the latest stable version. Currently Iām using v19 rc1 and before that v18 without any problems.
@CrazyHappyGame I used branch 3.17.1 for my test. The test project worked very well on the latest iOS and macOS, so I can confirm, that the issue 19168 worked for me. I didnāt tested it on Android yet.