Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:24

    Tom-Ski on jdk12

    Jdk12 wip/version 2.3.10-SNAPSH… (compare)

  • 21:24
    Tom-Ski closed #432
  • 21:20
    dkimitsa edited #432
  • 21:18
    dkimitsa edited #432
  • Dec 02 15:06
    dkimitsa commented #433
  • Dec 02 14:48
    antonyuit opened #433
  • Nov 28 15:35
    dkimitsa synchronize #432
  • Nov 27 15:02

    MobiDevelop on master

    Update commons-compress due to … (compare)

  • Nov 27 14:35
    dkimitsa opened #432
  • Nov 24 10:34
    Tom-Ski closed #403
  • Nov 24 10:34
    Tom-Ski commented #424
  • Nov 24 10:34
    Tom-Ski closed #424
  • Nov 21 08:11
    piotrros commented #429
  • Nov 20 10:30
    dkimitsa commented #429
  • Nov 20 10:12
    piotrros commented #429
  • Nov 20 10:01
    dkimitsa commented #429
  • Nov 20 09:56
    piotrros commented #429
  • Nov 19 11:34

    Tom-Ski on master

    Set next development version of… (compare)

  • Nov 19 11:31

    Tom-Ski on master

    Set release version of Gradle p… (compare)

  • Nov 19 11:28

    Tom-Ski on master

    Set next development version of… (compare)

Gag
@gagbaghdas

@dkimitsa hi.

After running this

xcrun atos -o IsoGameLauncher.app/IsoGameLauncher -arch arm64 -l 0xd7000 0x0033f9bb

I got the following

0x00000001002689bb (in IsoGameLauncher) + 1647

But there is no 1647 lines in my IsoGameLauncher class (

Demyan Kimitsa
@dkimitsa
@gagbaghdas its a byte offset not line number. In other words it failed to symbolicate
Gag
@gagbaghdas
got it @dkimitsa , thanks. What else I can do ?
Tomski
@Tom-Ski
@dkimitsa kk
Demyan Kimitsa
@dkimitsa
@gagbaghdas have you run atos with arguments as you showen above ?
you should put an address here
Gag
@gagbaghdas
@dkimitsa where I can find the load address?
Demyan Kimitsa
@dkimitsa
it a line from you crash log
like these
4  IsoGameLauncher                0x10411543c (Missing)
5  IsoGameLauncher                0x104048408 (Missing)
Gag
@gagbaghdas
3  IsoGameLauncher                0x104657f34 (Missing)
0x104657f34
?
Is this the load address?

@dkimitsa sorry I have no experience with atos.
I found the following

atos [-o <binary-image-file>] [-p <pid> | <partial-executable-name>]
         [-arch architecture] [-l <load-address>] [-s <slide>] [-printHeader]
         [-fullPath] [-f <address-input-file>] [<address> ...]

So , as I understand , I need 2 addresses ,

-l LOAD_ADRESS

and the final Address ?

Demyan Kimitsa
@dkimitsa
its in crash log, somewhere in bottom, there are modules load addresses
Gag
@gagbaghdas
@dkimitsa Sorry , this is my Crash log( Only for the thread, from where the crash was risen)
Crashed: com.apple.usernotifications.UNUserNotificationServiceConnection.call-out
0  libsystem_kernel.dylib         0x1b651dec4 __pthread_kill + 8
1  libsystem_pthread.dylib        0x1b643dc00 pthread_kill$VARIANT$armv81 + 192
2  libsystem_c.dylib              0x1b638d844 abort + 100
3  IsoGameLauncher                0x104657f34 (Missing)
4  IsoGameLauncher                0x10465699c (Missing)
5  IsoGameLauncher                0x104589968 (Missing)
6  UserNotifications              0x1bdaf18e0 __111-[UNUserNotificationServiceConnection getPendingNotificationRequestsForBundleIdentifier:withCompletionHandler:]_block_invoke_2.83 + 224
7  libdispatch.dylib              0x1b63f2610 _dispatch_call_block_and_release + 24
8  libdispatch.dylib              0x1b63f3184 _dispatch_client_callout + 16
9  libdispatch.dylib              0x1b63d0710 _dispatch_lane_serial_drain$VARIANT$armv81 + 564
10 libdispatch.dylib              0x1b63d115c _dispatch_lane_invoke$VARIANT$armv81 + 452
11 libdispatch.dylib              0x1b63da43c _dispatch_workloop_worker_thread + 576
12 libsystem_pthread.dylib        0x1b6442f88 _pthread_wqthread + 276
13 libsystem_pthread.dylib        0x1b6445ad4 start_wqthread + 8
Could you please help me to understand where is the load address here?
Demyan Kimitsa
@dkimitsa
this is not a full crash log
Gag
@gagbaghdas
I have this in Crashlytics
Demyan Kimitsa
@dkimitsa
it there option to download raw crash file ?
at the bottom there should be Binary Images section
also check apple doc
Gag
@gagbaghdas
Can't find the Binary Images Section in the Firebase Crashlytics ( And can't find the option for downloading the full crash log still ( Trying to understand how can I find the load address (
Gag
@gagbaghdas

@dkimitsa I think I found the load address from the Xcode Window->Organizer->Crashes . And after running this

gag$ xcrun atos -o IsoGameLauncher.app/IsoGameLauncher -arch arm64 -l 0x101148000 0x103ef5968

I got this

0x0000000102dad968 (in IsoGameLauncher)
Demyan Kimitsa
@dkimitsa
@gagbaghdas it fails as all symbols were stripped and it fails to locate dsym (otherwise it symbolicated it automatically)
try it with dsym
xcrun atos -o IsoGameLauncher.dSYM/Contents/Resources/DWARF/IsoGameLauncher -arch arm64 -l 0x101148000 0x103ef5968
Gag
@gagbaghdas
hi @dkimitsa , Thanks.
the output is
0x0000000102dad968 (in IsoGameLauncher)
the same (
Demyan Kimitsa
@dkimitsa
@gagbaghdas anyway, it seems that crash is happening inside completion handler of UNUserNotificationCenter .getPendingNotificationRequests you might look at code around it
Gag
@gagbaghdas

Thanks @dkimitsa , I'll try to reproduce the issue.

By the way, do you see something strange in this piece of code ?

   @Override
    public void cancelNotification(String notificationID) {
        UNUserNotificationCenter currentNotificationCenter = UNUserNotificationCenter.currentNotificationCenter();

        currentNotificationCenter.getPendingNotificationRequests(unNotificationRequests -> {
            NSMutableArray<NSString> removeNotificationID = new NSMutableArray<>();

            for (UNNotificationRequest unNotificationRequest : unNotificationRequests) {
                if (unNotificationRequest.getIdentifier().equals(notificationID)) {
                    removeNotificationID.add(notificationID);
                }
            }

            if (removeNotificationID.size() > 0) {
                currentNotificationCenter.removePendingNotificationRequests(removeNotificationID);
            }
        });
    }
Dũng Trần
@dungnart
I am wondering that why Flurry Crashlytics does not include in Robopod? https://github.com/MobiVM/robovm-robopods/tree/master/flurry
varrav
@varrav
Hello! What is <lib>xml2</lib> in FB Audience Network robopod in robovm.xml? Is this necessary for FB?
Tomski
@Tom-Ski
It depends on the version probably
But yeah, not sure. Cant see any docs on it
Remove, see what happens :D
varrav
@varrav
@Tom-Ski Ok, then is anybody successfully use FB Audience Network (to monetize via ads) in mobiVM projects without <lib>xml2</lib> in robovm.xml? and which version?
Demyan Kimitsa
@dkimitsa
It will fail compilation time if it needs libxml2
vminc
@vminc
Hello, is there a tutorial for making Firebase Crashlytics work with RoboVM?
Demyan Kimitsa
@dkimitsa
@vminc year ago I used legacy tutorial
vminc
@vminc
Not sure if this will work for Firebase Crashlytics. I'll try..
But the tutorial requires a XCode build phase
RoboVM does not have XCode build phase. How do I get around it?
Demyan Kimitsa
@dkimitsa
it needed to submit dsym file
this can be done manualy
vminc
@vminc
So everytime I make a new build I need to submit the dsym, or just once?
Gag
@gagbaghdas
Every time, because there is a build number associated with it )
obigu
@obigu
@vminc Are you migrating from Fabric or is it a whole new integration? The process is slightly different
The link provided of th legacy tutorial applies if your project is already on Fabric.
If it's not you can use the Firebase analytics Alt Pod https://github.com/dkimitsa/robovm-robopods/tree/alt/firebase/
and follow integration instructions https://firebase.google.com/docs/ios/setup?authuser=0