realm-java: Realm 3.7.0: permissionManager.makeOffer: First start error: If you see this error, please send this log to help@realm.io
Gradle 4.1, Android 4.3.
I want to get token by Realm 3.7.0. (by using class PermissionManager) and send token to all Android clients.
My Project’s buil.gradle:
`buildscript {
ext.kotlin_version = '1.0.5-2'
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath "io.realm:realm-gradle-plugin:3.7.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
jcenter()
}
}
My app’s build.gradle:
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'realm-android'
realm {
syncEnabled = true;
}
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.myproject"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
}
}
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.code.gson:gson:2.8.1'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'org.nanohttpd:nanohttpd:2.2.0'
testCompile 'junit:junit:4.12'
}
My Android code:`
import io.realm.ObjectServerError;
import io.realm.PermissionManager;
import io.realm.Realm;
import io.realm.RealmConfiguration;
import io.realm.SyncConfiguration;
import io.realm.SyncCredentials;
import io.realm.SyncUser;
import io.realm.permissions.AccessLevel;
import io.realm.permissions.PermissionOffer;
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Realm.init(this);
loginAndConfig();
}
private void loginAndConfig() {
SyncUser.Callback callback = new SyncUser.Callback() {
@Override
public void onSuccess(SyncUser user) {
setRealmDefaultConfiguration(user);
createToken(user, new PermissionOffer(REALM_URL, AccessLevel.READ, null));
}
@Override
public void onError(ObjectServerError error) {
String errorMsg;
switch (error.getErrorCode()) {
case UNKNOWN_ACCOUNT:
errorMsg = "Account does not exists.";
break;
case INVALID_CREDENTIALS:
errorMsg = "User name and password does not match";
break;
default:
errorMsg = error.toString();
}
}
};
SyncCredentials syncCredentials = SyncCredentials.usernamePassword(
BuildConfig.USER_NAME, BuildConfig.PASSWORD, false);
SyncUser.loginAsync(syncCredentials, AUTH_URL, callback);
}
private void setRealmDefaultConfiguration(SyncUser syncUser) {
SyncConfiguration syncConfig = new SyncConfiguration.Builder(syncUser, REALM_URL).build();
Realm.setDefaultConfiguration(syncConfig);
}
private void createToken(SyncUser syncUser, final PermissionOffer permissionOffer) {
Log.d(TAG, "createToken: Start");
PermissionManager permissionManager = syncUser.getPermissionManager();
Log.d(TAG, "createToken: success created permissionManager");
permissionManager.makeOffer(permissionOffer, new PermissionManager.MakeOfferCallback() {
@Override
public void onSuccess(String offerToken) {
Log.d(TAG, "onSuccess: offerToken = " + offerToken);
}
@Override
public void onError(ObjectServerError error) {
Log.e(TAG, "onError: ", error);
}
});
}
}
As result after FIRST start of Android application:
- Success login to Realm Server Object
- Success called my custom method
createToken(SyncUser syncUser, final PermissionOffer permissionOffer)
- In logcat show “createToken: Start”
- In logcat show “createToken: success created permissionManager”
But then I get the next error:
D/com.myproject…MyApplication( 1580): createToken: Start D/com.myproject…MyApplication( 1580): createToken: success created permissionManager
E/REALM ( 1580): /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/jni_util/java_class.cpp:50: [realm-core-2.8.6] Assertion failed: cls
E/REALM ( 1580): IMPORTANT: if you see this error, please send this log to help@realm.io.
F/libc ( 1580): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1580 (.myproject.realmserver)
I/DEBUG ( 123): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 123): Build fingerprint: 'google/yakju/maguro:4.3/JWR66Y/776638:user/release-keys'
I/DEBUG ( 123): Revision: '9'
I/DEBUG ( 123): pid: 1580, tid: 1580, name: .myproject.realmserver >>> com.myproject. <<<
I/DEBUG ( 123): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 123): r0 00000027 r1 415a5f18 r2 00000008 r3 deadbaad
I/DEBUG ( 123): r4 00000000 r5 be908d64 r6 be908e70 r7 5ecadd78
I/DEBUG ( 123): r8 00000032 r9 5ecadd90 sl 2aaaaaaa fp 58d8f008
I/DEBUG ( 123): ip 00000001 sp be908d60 lr 400e9f93 pc 400e74e8 cpsr 600f0030
I/DEBUG ( 123): d0 2e6f692e6d6c6165 d1 6f79206669203a54
I/DEBUG ( 123): d2 6874206565732075 d3 726f727265207369
I/DEBUG ( 123): d4 657361656c70202c d5 687420646e657320
I/DEBUG ( 123): d6 7420676f6c207369 d7 7240706c6568206f
I/DEBUG ( 123): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 123): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 123): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 123): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 123): d16 0000000000000008 d17 0000000000000000
I/DEBUG ( 123): d18 3fd9005f20000000 d19 3fe0000000000000
I/DEBUG ( 123): d20 0000000000000000 d21 4040000000000000
I/DEBUG ( 123): d22 4040000000000000 d23 4040000000000000
I/DEBUG ( 123): d24 3ff0000000000000 d25 3ff0000000000000
I/DEBUG ( 123): d26 be23e4f5df600000 d27 3f66f5abf13a4071
I/DEBUG ( 123): d28 bed0810fee5b0a9d d29 3ee086fe7cc5fe6e
I/DEBUG ( 123): d30 be23e4f5df66956e d31 3f11566a75de22e0
I/DEBUG ( 123): scr 60000014
I/DEBUG ( 123):
I/DEBUG ( 123): backtrace:
I/DEBUG ( 123): #00 pc 0001e4e8 /system/lib/libc.so
I/DEBUG ( 123): #01 pc 0001c510 /system/lib/libc.so (abort+4)
I/DEBUG ( 123): #02 pc 0028b42b /data/app-lib/com.myproject.-1/librealm-jni.so
I/DEBUG ( 123): #03 pc 0028b457 /data/app-lib/com.myproject.-1/librealm-jni.so
I/DEBUG ( 123):
I/DEBUG ( 123): stack:
I/DEBUG ( 123): be908d20 be908d68 [stack]
I/DEBUG ( 123): be908d24 000000d6
I/DEBUG ( 123): be908d28 40111170 /system/lib/libc.so
I/DEBUG ( 123): be908d2c 415a5f18
I/DEBUG ( 123): be908d30 00000015
I/DEBUG ( 123): be908d34 400e8f75 /system/lib/libc.so (__sflush+56)
I/DEBUG ( 123): be908d38 40111264 /system/lib/libc.so
I/DEBUG ( 123): be908d3c 401111c4 /system/lib/libc.so
I/DEBUG ( 123): be908d40 00000000
I/DEBUG ( 123): be908d44 400e9f93 /system/lib/libc.so (_fwalk+34)
I/DEBUG ( 123): be908d48 400e923d /system/lib/libc.so (_cleanup)
I/DEBUG ( 123): be908d4c be908d64 [stack]
I/DEBUG ( 123): be908d50 be908e70 [stack]
I/DEBUG ( 123): be908d54 5ecadd78 /data/app-lib/com.myproject.-1/librealm-jni.so
I/DEBUG ( 123): be908d58 df0027ad
I/DEBUG ( 123): be908d5c 00000000
I/DEBUG ( 123): #00 be908d60 00000032
I/DEBUG ( 123): be908d64 fffffbdf
I/DEBUG ( 123): be908d68 40111000 /system/lib/libc.so
I/DEBUG ( 123): be908d6c be908d9c [stack]
I/DEBUG ( 123): be908d70 be908d9c [stack]
I/DEBUG ( 123): be908d74 be908dac [stack]
I/DEBUG ( 123): be908d78 be908e70 [stack]
I/DEBUG ( 123): be908d7c be908d9c [stack]
I/DEBUG ( 123): be908d80 be908dac [stack]
I/DEBUG ( 123): be908d84 400e5514 /system/lib/libc.so (__pthread_clone)
I/DEBUG ( 123): #01 be908d88 00000000
I/DEBUG ( 123): be908d8c 5ec3c42f /data/app-lib/com.myproject.-1/librealm-jni.so
I/DEBUG ( 123): #02 be908d90 00000000
I/DEBUG ( 123): be908d94 5ec3c45b /data/app-lib/com.myproject.-1/librealm-jni.so
I/DEBUG ( 123):
I/DEBUG ( 123): memory near r1:
I/DEBUG ( 123): 415a5ef8 00000001 0000128e 00002fa8 00001f40
I/DEBUG ( 123): 415a5f08 00001f40 00000001 00000001 0000100b
I/DEBUG ( 123): 415a5f18 6d206e49 69616d67 4e4a206e 6e4f5f49
I/DEBUG ( 123): 415a5f28 64616f4c 0000000a 6d202230 61537861
I/DEBUG ( 123): 415a5f38 656c706d 65746152 3834223d 22303030
I/DEBUG ( 123): 415a5f48 2020200a 20202020 6e696d20 6e616843
I/DEBUG ( 123): 415a5f58 736c656e 2231223d 78616d20 6e616843
I/DEBUG ( 123): 415a5f68 736c656e 2231223d 0a3e2f20 2020200a
I/DEBUG ( 123): 415a5f78 75413c20 456f6964 646f636e 61437265
I/DEBUG ( 123): 415a5f88 616e2070 223d656d 65636161 2022646c
I/DEBUG ( 123): 415a5f98 62616e65 3d64656c 75727422 200a2265
I/DEBUG ( 123): 415a5fa8 20202020 6d202020 69426e69 74615274
I/DEBUG ( 123): 415a5fb8 31223d65 30303036 616d2022 74694278
I/DEBUG ( 123): 415a5fc8 65746152 3931223d 30303032 20200a22
I/DEBUG ( 123): 415a5fd8 20202020 696d2020 6d61536e 52656c70
I/DEBUG ( 123): 415a5fe8 3d657461 30363122 20223030 5378616d
I/DEBUG ( 123):
I/DEBUG ( 123): memory near r5:
I/DEBUG ( 123): be908d44 400e9f93 400e923d be908d64 be908e70
I/DEBUG ( 123): be908d54 5ecadd78 df0027ad 00000000 00000032
I/DEBUG ( 123): be908d64 fffffbdf 40111000 be908d9c be908d9c
I/DEBUG ( 123): be908d74 be908dac be908e70 be908d9c be908dac
I/DEBUG ( 123): be908d84 400e5514 00000000 5ec3c42f 00000000
I/DEBUG ( 123): be908d94 5ec3c45b be908dac 58da9b04 5ecfe858
I/DEBUG ( 123): be908da4 5ec3c4b3 00000e80 5ecfe844 00000000
I/DEBUG ( 123): be908db4 5ecfe858 5ed08a60 58d84a44 58d84a44
I/DEBUG ( 123): be908dc4 58d84a45 58d84a44 58d84b0d 58d84c44
I/DEBUG ( 123): be908dd4 5ed1b6c0 00000018 58d84a44 5ecfe86c
I/DEBUG ( 123): be908de4 00000006 00000000 00001002 00000000
I/DEBUG ( 123): be908df4 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e04 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e14 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e24 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e34 00000000 00000000 00000000 00000000
I/DEBUG ( 123):
I/DEBUG ( 123): memory near r6:
I/DEBUG ( 123): be908e50 00000000 5ebf0120 be908db8 5ed1b444
I/DEBUG ( 123): be908e60 5ed1b6e0 5ed1be10 41771d90 5ea59267
I/DEBUG ( 123): be908e70 5ecb5be8 00000000 5ed12994 00000001
I/DEBUG ( 123): be908e80 58d92ca8 5ea5927f 00000001 58d93af8
I/DEBUG ( 123): be908e90 58d92920 5ea56269 58da96ec 00000008
I/DEBUG ( 123): be908ea0 5eba48a1 58d93af8 58d92ca8 58d92ca8
I/DEBUG ( 123): be908eb0 be908eec 58d93af8 58d92ca8 58d92ca8
I/DEBUG ( 123): be908ec0 be908eec 5ea6fc81 58e9a770 00000000
I/DEBUG ( 123): be908ed0 00000000 00000000 be908f08 58d8f010
I/DEBUG ( 123): be908ee0 000300c8 5ebff1a7 01000408 58d8f010
I/DEBUG ( 123): be908ef0 00000000 00000000 00000000 be908f18
I/DEBUG ( 123): be908f00 00000000 be908eeb 58da2da8 00000400
I/DEBUG ( 123): be908f10 be909028 592c9c77 592c9c77 00000000
I/DEBUG ( 123): be908f20 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908f30 be909000 00090000 be908fc8 58d8fda0
I/DEBUG ( 123): be908f40 000300c8 5ea84691 00000004 00000000
I/DEBUG ( 123):
I/DEBUG ( 123): memory near r7:
I/DEBUG ( 123): 5ecadd58 74206f74 62206568 746c6975 69206e69
I/DEBUG ( 123): 5ecadd68 656c706d 746e656d 6f697461 00002e6e
I/DEBUG ( 123): 5ecadd78 65737341 6f697472 6166206e 64656c69
I/DEBUG ( 123): 5ecadd88 6c63203a 00000073 6573552f 632f7372
I/DEBUG ( 123): 5ecadd98 65522f6d 2f6d6c61 6c616572 616a2d6d
I/DEBUG ( 123): 5ecadda8 722f6176 6d6c6165 6165722f 6c2d6d6c
I/DEBUG ( 123): 5ecaddb8 61726269 732f7972 6d2f6372 2f6e6961
I/DEBUG ( 123): 5ecaddc8 2f707063 5f696e6a 6c697475 76616a2f
I/DEBUG ( 123): 5ecaddd8 6c635f61 2e737361 00707063 6176614a
I/DEBUG ( 123): 5ecadde8 63786520 69747065 68206e6f 62207361
I/DEBUG ( 123): 5ecaddf8 206e6565 7563636f 64657272 6554202e
I/DEBUG ( 123): 5ecade08 6e696d72 20657461 20494e4a 74207962
I/DEBUG ( 123): 5ecade18 776f7268 20676e69 2b632061 7865202b
I/DEBUG ( 123): 5ecade28 74706563 2e6e6f69 00000000 280a3125
I/DEBUG ( 123): 5ecade38 253a3225 00002933 72656854 73692065
I/DEBUG ( 123): 5ecade48 70206120 69646e65 4a20676e 20617661
I/DEBUG ( 123):
I/DEBUG ( 123): memory near r9:
I/DEBUG ( 123): 5ecadd70 6f697461 00002e6e 65737341 6f697472
I/DEBUG ( 123): 5ecadd80 6166206e 64656c69 6c63203a 00000073
I/DEBUG ( 123): 5ecadd90 6573552f 632f7372 65522f6d 2f6d6c61
I/DEBUG ( 123): 5ecadda0 6c616572 616a2d6d 722f6176 6d6c6165
I/DEBUG ( 123): 5ecaddb0 6165722f 6c2d6d6c 61726269 732f7972
I/DEBUG ( 123): 5ecaddc0 6d2f6372 2f6e6961 2f707063 5f696e6a
I/DEBUG ( 123): 5ecaddd0 6c697475 76616a2f 6c635f61 2e737361
I/DEBUG ( 123): 5ecadde0 00707063 6176614a 63786520 69747065
I/DEBUG ( 123): 5ecaddf0 68206e6f 62207361 206e6565 7563636f
I/DEBUG ( 123): 5ecade00 64657272 6554202e 6e696d72 20657461
I/DEBUG ( 123): 5ecade10 20494e4a 74207962 776f7268 20676e69
I/DEBUG ( 123): 5ecade20 2b632061 7865202b 74706563 2e6e6f69
I/DEBUG ( 123): 5ecade30 00000000 280a3125 253a3225 00002933
I/DEBUG ( 123): 5ecade40 72656854 73692065 70206120 69646e65
I/DEBUG ( 123): 5ecade50 4a20676e 20617661 65637865 6f697470
I/DEBUG ( 123): 5ecade60 00002e6e 65737341 6f697472 6166206e
I/DEBUG ( 123):
I/DEBUG ( 123): memory near sl:
I/DEBUG ( 123): 2aaaaa88 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaa98 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaaa8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaab8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaac8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaad8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaae8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaaaf8 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab08 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab18 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab28 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab38 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab48 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab58 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab68 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123): 2aaaab78 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 123):
I/DEBUG ( 123): memory near fp:
I/DEBUG ( 123): 58d8efe8 00000000 00000000 00000000 00000000
I/DEBUG ( 123): 58d8eff8 41414141 65000008 00000000 00000e6b
I/DEBUG ( 123): 58d8f008 00000000 00000000 5ed06360 00000000
I/DEBUG ( 123): 58d8f018 5ed05950 00090000 58d92da8 00000007
I/DEBUG ( 123): 58d8f028 00000000 00000000 00000001 00000000
I/DEBUG ( 123): 58d8f038 417d268c 417d2680 58da2068 00000028
I/DEBUG ( 123): 58d8f048 58d75000 00001000 00001000 0000000c
I/DEBUG ( 123): 58d8f058 58d92e50 00000090 00000003 00000000
I/DEBUG ( 123): 58d8f068 00000000 00000000 00000000 00000000
I/DEBUG ( 123): 58d8f078 00000000 00000000 00000000 00000000
I/DEBUG ( 123): 58d8f088 00000000 00000000 00000000 00000000
I/DEBUG ( 123): 58d8f098 00000000 00000000 00000000 00000000
I/DEBUG ( 123): 58d8f0a8 00000000 00000200 58d75200 00000003
I/DEBUG ( 123): 58d8f0b8 00000000 00000000 00000000 0000dcd8
I/DEBUG ( 123): 58d8f0c8 58e99cd8 00000008 00000500 58d75500
I/DEBUG ( 123): 58d8f0d8 00000003 00000e08 58d75e08 00000008
I/DEBUG ( 123):
I/DEBUG ( 123): memory near sp:
I/DEBUG ( 123): be908d40 00000000 400e9f93 400e923d be908d64
I/DEBUG ( 123): be908d50 be908e70 5ecadd78 df0027ad 00000000
I/DEBUG ( 123): be908d60 00000032 fffffbdf 40111000 be908d9c
I/DEBUG ( 123): be908d70 be908d9c be908dac be908e70 be908d9c
I/DEBUG ( 123): be908d80 be908dac 400e5514 00000000 5ec3c42f
I/DEBUG ( 123): be908d90 00000000 5ec3c45b be908dac 58da9b04
I/DEBUG ( 123): be908da0 5ecfe858 5ec3c4b3 00000e80 5ecfe844
I/DEBUG ( 123): be908db0 00000000 5ecfe858 5ed08a60 58d84a44
I/DEBUG ( 123): be908dc0 58d84a44 58d84a45 58d84a44 58d84b0d
I/DEBUG ( 123): be908dd0 58d84c44 5ed1b6c0 00000018 58d84a44
I/DEBUG ( 123): be908de0 5ecfe86c 00000006 00000000 00001002
I/DEBUG ( 123): be908df0 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e00 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e10 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e20 00000000 00000000 00000000 00000000
I/DEBUG ( 123): be908e30 00000000 00000000 00000000 00000000
I/DEBUG ( 123):
I/DEBUG ( 123): code around pc:
I/DEBUG ( 123): 400e74c8 461ce00b 2b006823 e026d1fb b12468e4
I/DEBUG ( 123): 400e74d8 21014a18 6011447a 4b1247a0 24002027
I/DEBUG ( 123): 400e74e8 f7fc7018 2106ee42 e898f7fe 5180f04f
I/DEBUG ( 123): 400e74f8 a9029104 94022006 9403460a ec44f7fd
I/DEBUG ( 123): 400e7508 46224629 f7fd2002 f7fcec50 2106ee2e
I/DEBUG ( 123): 400e7518 e884f7fe f7fc2001 6960eada d1dc2800
I/DEBUG ( 123): 400e7528 bf00e7d4 deadbaad 00029b30 ffffff9c
I/DEBUG ( 123): 400e7538 0002cdc0 0002cda4 2400b510 aa04b088
I/DEBUG ( 123): 400e7548 46699002 94014620 94039400 eb92f7fd
I/DEBUG ( 123): 400e7558 db0642a0 b1139b07 1c419806 98069106
I/DEBUG ( 123): 400e7568 4620e000 bd10b008 4b1eb40e b082b5f0
I/DEBUG ( 123): 400e7578 447b491d f107af00 585e021c f8522101
I/DEBUG ( 123): 400e7588 68354b04 f852607d 31015b04 d1fa2d00
I/DEBUG ( 123): 400e7598 320e008a 0507f022 0220f107 0d05ebad
I/DEBUG ( 123): 400e75a8 f107603a 46690224 9400466d 4c04f852
I/DEBUG ( 123): 400e75b8 f8453204 2c004f04 f8dfd1f8 f853c030
I/DEBUG ( 123):
I/DEBUG ( 123): code around lr:
I/DEBUG ( 123): 400e9f70 4a0e4b0d e92d447b 260041f0 4680589c
I/DEBUG ( 123): 400e9f80 686768a5 f9b5e007 2b00300c 4628dd02
I/DEBUG ( 123): 400e9f90 430647c0 3f013554 6824d5f5 d1ef2c00
I/DEBUG ( 123): 400e9fa0 e8bd4630 bf0081f0 00027060 ffffffc4
I/DEBUG ( 123): 400e9fb0 43f0e92d fb01461e 4b16f502 4916460f
I/DEBUG ( 123): 400e9fc0 447bb087 aa014614 20019001 95029203
I/DEBUG ( 123): 400e9fd0 90049505 681a585b b1124698 f0094630
I/DEBUG ( 123): 400e9fe0 4630fd26 f7ffa903 4681fe9c 0000f8d8
I/DEBUG ( 123): 400e9ff0 4630b110 fd28f009 0f00f1b9 9c05d005
I/DEBUG ( 123): 400ea000 1b284639 eb30f017 46204604 e8bdb007
I/DEBUG ( 123): 400ea010 bf0083f0 00027012 ffffff60 46036842
I/DEBUG ( 123): 400ea020 60411e51 da012900 bb9ef000 f8126802
I/DEBUG ( 123): 400ea030 601a0b01 00004770 4a104b0f b570447b
I/DEBUG ( 123): 400ea040 589b4604 461e6819 f009b109 6860fcf0
I/DEBUG ( 123): 400ea050 60651e45 da042d00 f0004620 4605fb85
I/DEBUG ( 123): 400ea060 6822e003 5b01f812 68336022 4620b113
I/DEBUG ( 123):
I/DEBUG ( 123): memory map around fault addr deadbaad:
I/DEBUG ( 123): be8e9000-be90a000 rw- [stack]
I/DEBUG ( 123): (no map for address)
I/DEBUG ( 123): ffff0000-ffff1000 r-x [vectors]
I/BootReceiver( 373): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
W/ActivityManager( 373): Force finishing activity com.myproject./.activity.MainActivity
W/InputDispatcher( 373): channel '4284f8c8 com.myproject./com.myproject..activity.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 373): channel '4284f8c8 com.myproject./com.myproject..activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 373): Attempted to unregister already unregistered input channel '4284f8c8 com.myproject./com.myproject..activity.MainActivity (server)'
I/WindowState( 373): WIN DEATH: Window{4284f8c8 u0 com.myproject./com.myproject..activity.MainActivity}
D/Zygote ( 126): Process 1580 terminated by signal (11)
D/dalvikvm( 373): GC_FOR_ALLOC freed 2406K, 30% free 20273K/28860K, paused 107ms, total 108ms
W/ActivityManager( 373): Exception thrown during pause
W/ActivityManager( 373): android.os.DeadObjectException
W/ActivityManager( 373): at android.os.BinderProxy.transact(Native Method)
W/ActivityManager( 373): at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:635)
W/ActivityManager( 373): at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:990)
W/ActivityManager( 373): at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3834)
W/ActivityManager( 373): at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3766)
W/ActivityManager( 373): at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:8344)
W/ActivityManager( 373): at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:8221)
W/ActivityManager( 373): at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:8900)
W/ActivityManager( 373): at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:8455)
W/ActivityManager( 373): at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
I/ActivityManager( 373): Process com.myproject. (pid 1580) has died.
So, what is wrong in my code?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (9 by maintainers)
Commits related to this issue
- java_class_global_def for global class loading - Add JavaClassGlobalDef to handle global jclass loading. - Move common types classes loading to JavaClassGlobalDef. - Load SharedRealm$$SchemaChangeCal... — committed to realm/realm-java by beeender 7 years ago
- java_class_global_def for global class loading - Add JavaClassGlobalDef to handle global jclass loading. - Move common types classes loading to JavaClassGlobalDef. - Load SharedRealm$$SchemaChangeCal... — committed to realm/realm-java by beeender 7 years ago
I reply to your email and attach full log. Please check your email.