16 Apr 2022
|
fix
debugger
ios15
dyld
Xcode13.3 bring unaligned pointer problem during linking but also debugger launch was crashing with:
[ERROR] Couldn’t start application
java.lang.IllegalArgumentException: there is no region for addr @10000101effaa0
at org.robovm.debugger.utils.bytebuffer.CompositeDataBuffer.setPosition(CompositeDataBuffer.java:37)
0x10000101effaa0
indeed looks weird for memory address, even looks like tagged pointer at first (but not). Anyway it introduced a level of complication that is not allowing debugger to read internal RoboVM structures like class info anymore.
LC_DYLD_CHAINED_FIXUPS and LC_DYLD_EXPORTS_TRIE
10 Apr 2022
|
fix
This issue is rare and affects most user. It can be seen once registered for default Java exception handler.
Scenario for this crash is following:
- iOS application goes to background/suspend (just enough to minimize it);
- resumed after > 10s.
Crash is rare but more user you have more crashes you will see.
Root case
FinalizerWatchdogDaemon looks after FinalizerDaemon
and responsible to terminate App if object spends too much time in .finalize()
call.
Scenario is following:
FinalizerDaemon
picks object to dispose and calls .finalize()
to allow object performing clean-ups;
FinalizerWatchdogDaemon
detects it and startes looking for it;
- Application is minimized/suspended;
- all threads are suspended (including Daemons);
- (time passed, 10+ seconds);
- Application is resumed;
.finalize()
is still busy;
FinalizerWatchdogDaemon
has already counted 10+ seconds its being observing class doing finalization and terminates app, considering that finalizer is stuck.
Trying to reproduce
09 Apr 2022
|
bro-gen
binding
robopods
altpods
AltPods were updated to v1.22.0-SNAPSHOT to sync with recent releases.
Updated pods
These pods were pushed to https://oss.sonatype.org/content/repositories/snapshots
maven repo under 1.22.0-SNAPSHOTS
version.
Source code @github
Updates are not fully tested, please open issue if bug found.
08 Apr 2022
|
fix
m1
Xcode started complaining about unaligned pointer in RoboVM binaries since 8.3 (issue #123) but these warnings (altogether with other possible) were suppressed with -w
option.
But with Xcode13.3 it started failing with error ld: unaligned pointer(s) for architecture arm64
on some projects (while compiled ok but probably with changes to it might fail).
Trying to reproduce
07 Apr 2022
|
whatsnew
Idea plugin is not available at Idea Marketplace yet as in review!
But can be downloaded manually from MobiVM site.
2.3.16: What’s new
- Fixed: ‘duplicate symbol xxx.spfpoffset’ in debug build when using GoogleMobileAds pod PR626
- Framework target: can produce XCFramework, can produce m1 simulator slice PR624
- Fixed: missing bitcode in VM libs (introduced by m1 support changes) PR624
- Fixed #621 – hang of SKStoreReviewController.requestReview by PR615. WARNING: window is to be retained in user code now !!!
- ByteBuffer J9 API desugaring PR615
- ios15 binding PR613
2.3.17-SNAPSHOT:
- Fixed: missing simulator arch in Idea picker PR642
- New: ios15.4 bindings PR635
- Changes: to
swiftSupport
configuration parameter PR638
- Changes: Debugger – can suspend any thread PR628
Happy coding!
Please report any issue to tracker.
12 Mar 2022
|
bro-gen
binding
robopods
altpods
AltPods were updated to v1.21.0-SNAPSHOT to sync with recent releases.
Updated pods
New pods
These pods were pushed to https://oss.sonatype.org/content/repositories/snapshots
maven repo under 1.21.0-SNAPSHOTS
version.
Source code @github
Updates are not fully tested, please open issue if bug found.
18 Feb 2022
|
debugger
technote
RoboVM code can be stopped only when code reach instrumented hook callbacks (ones that being injected after every line by compiler). As result pausing application will in most cases not stop the application and will not show valid call stack:

Root case
- Thread state is not delivered from VM to debugger so always reported as running;
- “Paused” thread doesn’t show any call stack due no ability to pause it other places than instrumented hooks code;
Approach
08 Feb 2022
|
bro-gen
binding
robopods
altpods
AltPods were updated to v1.20.0-SNAPSHOT to sync with recent releases.
Updated pods
New pods
These pods were pushed to https://oss.sonatype.org/content/repositories/snapshots
maven repo under 1.20.0-SNAPSHOTS
version.
Source code @github
Updates are not fully tested, please open issue if bug found.
21 Dec 2021
|
bro-gen
binding
robopods
altpods
AltPods were updated to v1.19.0-SNAPSHOT to sync with recent releases.
Updated pods
New pods
These pods were pushed to https://oss.sonatype.org/content/repositories/snapshots
maven repo under 1.19.0-SNAPSHOTS
version.
Source code @github
Updates are not fully tested, please open issue if bug found.
20 Jul 2021
|
bro-gen
binding
robopods
altpods
AltPods were updated to v1.18.0-SNAPSHOT to sync with recent releases.
Updated pods
These pods were pushed to https://oss.sonatype.org/content/repositories/snapshots
maven repo under 1.18.0-SNAPSHOTS
version.
Source code @github
Updates are not fully tested, please open issue if bug found.