You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling Foundation.log() with a very long string will cause the app to freeze but only on the simulator, I could not reproduce it on a real device. Furthermore, if the app is closed and reopened, it remains hung on the launch screen and requires a reinstall to make it usable.
I could not replicate the issue on a native Obj-C app with NSLog, so maybe could it be related to robovm?
Issue details
Calling
Foundation.log()
with a very long string will cause the app to freeze but only on the simulator, I could not reproduce it on a real device. Furthermore, if the app is closed and reopened, it remains hung on the launch screen and requires a reinstall to make it usable.I could not replicate the issue on a native Obj-C app with
NSLog
, so maybe could it be related to robovm?Reproduction steps/code
I have uploaded a test app on https://github.com/phvega/robovm-nslog-test. Run the app on the simulator with
./gradlew launchIPhoneSimulator
.The app has a button and a label with the click count, when the count reaches 5 it tries to
NSLog
a very long string, leading to the app freeze.Configuration
Build Tools:
Versions:
Build Targets:
Any model iOS 17.2 Simulator.
Stacktrace
// No stacktrace
The text was updated successfully, but these errors were encountered: