{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/issues/62","repository_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android","labels_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/issues/62/comments","events_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/issues/62/events","html_url":"https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/62","id":381502504,"node_id":"MDU6SXNzdWUzODE1MDI1MDQ=","number":62,"title":"The app crashes when the sdk is launched","user":{"login":"huforrest","id":23306480,"node_id":"MDQ6VXNlcjIzMzA2NDgw","avatar_url":"https://avatars0.githubusercontent.com/u/23306480?v=4","gravatar_id":"","url":"https://api.github.com/users/huforrest","html_url":"https://github.com/huforrest","followers_url":"https://api.github.com/users/huforrest/followers","following_url":"https://api.github.com/users/huforrest/following{/other_user}","gists_url":"https://api.github.com/users/huforrest/gists{/gist_id}","starred_url":"https://api.github.com/users/huforrest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huforrest/subscriptions","organizations_url":"https://api.github.com/users/huforrest/orgs","repos_url":"https://api.github.com/users/huforrest/repos","events_url":"https://api.github.com/users/huforrest/events{/privacy}","received_events_url":"https://api.github.com/users/huforrest/received_events","type":"User","site_admin":false},"labels":[{"id":1072753912,"node_id":"MDU6TGFiZWwxMDcyNzUzOTEy","url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/labels/AppSync","name":"AppSync","color":"dabaf4","default":false},{"id":821677687,"node_id":"MDU6TGFiZWw4MjE2Nzc2ODc=","url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1067465828,"node_id":"MDU6TGFiZWwxMDY3NDY1ODI4","url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/labels/requesting%20feedback","name":"requesting feedback","color":"32c11f","default":false}],"state":"open","locked":false,"assignee":{"login":"cbommas","id":5359504,"node_id":"MDQ6VXNlcjUzNTk1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5359504?v=4","gravatar_id":"","url":"https://api.github.com/users/cbommas","html_url":"https://github.com/cbommas","followers_url":"https://api.github.com/users/cbommas/followers","following_url":"https://api.github.com/users/cbommas/following{/other_user}","gists_url":"https://api.github.com/users/cbommas/gists{/gist_id}","starred_url":"https://api.github.com/users/cbommas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbommas/subscriptions","organizations_url":"https://api.github.com/users/cbommas/orgs","repos_url":"https://api.github.com/users/cbommas/repos","events_url":"https://api.github.com/users/cbommas/events{/privacy}","received_events_url":"https://api.github.com/users/cbommas/received_events","type":"User","site_admin":false},"assignees":[{"login":"cbommas","id":5359504,"node_id":"MDQ6VXNlcjUzNTk1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5359504?v=4","gravatar_id":"","url":"https://api.github.com/users/cbommas","html_url":"https://github.com/cbommas","followers_url":"https://api.github.com/users/cbommas/followers","following_url":"https://api.github.com/users/cbommas/following{/other_user}","gists_url":"https://api.github.com/users/cbommas/gists{/gist_id}","starred_url":"https://api.github.com/users/cbommas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbommas/subscriptions","organizations_url":"https://api.github.com/users/cbommas/orgs","repos_url":"https://api.github.com/users/cbommas/repos","events_url":"https://api.github.com/users/cbommas/events{/privacy}","received_events_url":"https://api.github.com/users/cbommas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-16T08:51:44Z","updated_at":"2018-11-22T12:04:29Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nThe app crashes when the sdk is launched\r\n\r\n**Environment(please complete the following information):**\r\n - AppSync SDK Version: 2.6.28\r\n\r\n**Device Information (please complete the following information):**\r\n - Device: LLD-AL00 UNROOT\r\n - Android Version: Android 8.0.0, level 26\r\n - CPU Architecture: aarch64\r\n\r\n**Additional context**\r\nThe bug only occurs when we use the HUAWEI device.\r\n\r\nHere is the crash log:\r\n\r\n2018-11-16 16:32:55.123 17910-17910/[Project Name] E/CrashReport: # LAUNCH TIME: 2018-11-16 16:32:47\r\n2018-11-16 16:32:55.123 17910-17910/[Project Name] E/CrashReport: # CRASH TYPE: JAVA_CRASH\r\n2018-11-16 16:32:55.123 17910-17910/[Project Name] E/CrashReport: # CRASH TIME: 2018-11-16 16:32:55\r\n2018-11-16 16:32:55.124 17910-17910/[Project Name] E/CrashReport: # CRASH PROCESS: [Project Name]\r\n2018-11-16 16:32:55.124 17910-17910/[Project Name] E/CrashReport: # CRASH THREAD: main\r\n2018-11-16 16:32:55.124 17910-17910/[Project Name] E/CrashReport: # REPORT ID: a18ab2f7-8c1b-4d37-8046-01e8b65081e5\r\n2018-11-16 16:32:55.124 17910-17910/[Project Name] E/CrashReport: # CRASH DEVICE: LLD-AL00 UNROOT\r\n2018-11-16 16:32:55.125 17910-17910/[Project Name] E/CrashReport: # RUNTIME AVAIL RAM:1477627904 ROM:10434588672 SD:10413617152\r\n2018-11-16 16:32:55.125 17910-17910/[Project Name] E/CrashReport: # RUNTIME TOTAL RAM:2916519936 ROM:25696387072 SD:25675415552\r\n2018-11-16 16:32:55.125 17910-17910/[Project Name] E/CrashReport: # CRASH STACK: \r\n2018-11-16 16:32:55.125 17910-17910/[Project Name] E/CrashReport: java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Out of memory\r\n        at java.lang.Thread.nativeCreate(Native Method)\r\n        at java.lang.Thread.start(Thread.java:753)\r\n        at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:970)\r\n        at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1611)\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:342)\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562)\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:654)\r\n        at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.start(ClientComms.java:675)\r\n        at org.eclipse.paho.client.mqttv3.internal.ClientComms.connect(ClientComms.java:280)\r\n        at org.eclipse.paho.client.mqttv3.internal.ConnectActionListener.connect(ConnectActionListener.java:185)\r\n        at org.eclipse.paho.client.mqttv3.MqttAsyncClient.connect(MqttAsyncClient.java:774)\r\n        at org.eclipse.paho.android.service.MqttConnection.connect(MqttConnection.java:295)\r\n        at org.eclipse.paho.android.service.MqttService.connect(MqttService.java:329)\r\n        at org.eclipse.paho.android.service.MqttAndroidClient.doConnect(MqttAndroidClient.java:467)\r\n        at org.eclipse.paho.android.service.MqttAndroidClient.access$200(MqttAndroidClient.java:76)\r\n        at org.eclipse.paho.android.service.MqttAndroidClient$MyServiceConnection.onServiceConnected(MqttAndroidClient.java:115)\r\n        at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1818)\r\n        at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1847)\r\n        at android.os.Handler.handleCallback(Handler.java:808)\r\n        at android.os.Handler.dispatchMessage(Handler.java:101)\r\n        at android.os.Looper.loop(Looper.java:166)\r\n        at android.app.ActivityThread.main(ActivityThread.java:7428)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)\r\n"},"comment":{"url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/issues/comments/441009765","html_url":"https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/62#issuecomment-441009765","issue_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-android/issues/62","id":441009765,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTAwOTc2NQ==","user":{"login":"472574155","id":6292287,"node_id":"MDQ6VXNlcjYyOTIyODc=","avatar_url":"https://avatars3.githubusercontent.com/u/6292287?v=4","gravatar_id":"","url":"https://api.github.com/users/472574155","html_url":"https://github.com/472574155","followers_url":"https://api.github.com/users/472574155/followers","following_url":"https://api.github.com/users/472574155/following{/other_user}","gists_url":"https://api.github.com/users/472574155/gists{/gist_id}","starred_url":"https://api.github.com/users/472574155/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/472574155/subscriptions","organizations_url":"https://api.github.com/users/472574155/orgs","repos_url":"https://api.github.com/users/472574155/repos","events_url":"https://api.github.com/users/472574155/events{/privacy}","received_events_url":"https://api.github.com/users/472574155/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T12:04:29Z","updated_at":"2018-11-22T12:04:29Z","author_association":"NONE","body":"@cbommas \r\nBy the way, com.amazonaws:aws-android-sdk-appsync:2.7.+ Application does not run smoothly."}}
{"actor":{"display_login":"472574155"}}