First of all, Thank for visitor who take a look this question,
I faced heavy issue with ANR because trace.txt is not clearly, I cannot extract any information from that file. So I post the file in order to everyone help me:
"main" tid=1 Native
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x7562bf90 self=0x7edfc9aa00
| sysTid=24254 nice=-4 cgrp=default sched=0/0 handle=0x7ee4547a98
| state=S schedstat=( 6402587709 172480935 6997 ) utm=548 stm=91 core=4 HZ=100
| stack=0x7febfad000-0x7febfaf000 stackSize=8MB
| held mutexes=
#00 pc 000000000001bdac /system/lib64/libc.so (syscall+28)
#01 pc 0000000000069fec /system/lib64/libc.so (pthread_cond_wait+96)
#02 pc 000000000003c1d8 /data/app/com.android.chrome-1/base.apk (???)
at org.chromium.ui.base.WindowAndroid.nativeOnVSync (Native method)
at org.chromium.ui.base.WindowAndroid.a (PG:142)
at bQf.a (PG:16)
at bPT.doFrame (PG:22)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:914)
at android.view.Choreographer.doCallbacks (Choreographer.java:718)
at android.view.Choreographer.doFrame (Choreographer.java:647)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:902)
at android.os.Handler.handleCallback (Handler.java:836)
at android.os.Handler.dispatchMessage (Handler.java:103)
at android.os.Looper.loop (Looper.java:232)
at android.app.ActivityThread.main (ActivityThread.java:6802)
at java.lang.reflect.Method.invoke! (Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1103)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)
"Jit thread pool worker thread 0" tid=2 Native
"Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
| group="" sCount=1 dsCount=0 obj=0x0 self=0x7ed820d000
| sysTid=24259 nice=9 cgrp=default sched=0/0 handle=0x7edf2ff450
| state=S schedstat=( 93518534 6800078 91 ) utm=7 stm=1 core=0 HZ=100
| stack=0x7edf201000-0x7edf203000 stackSize=1021KB
| held mutexes=
#00 pc 000000000001bdac /system/lib64/libc.so (syscall+28)
#01 pc 00000000000e89cc /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+156)
#02 pc 000000000046f4ec /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+248)
#03 pc 000000000046e994 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124)
#04 pc 000000000046e2b8 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+116)
#05 pc 000000000006a8bc /system/lib64/libc.so (_ZL15__pthread_startPv+208)
#06 pc 000000000001dc28 /system/lib64/libc.so (__start_thread+16)
Related
I get the message in the subject when I try to run a program I developed with OpenACC through Nvidia's nvprof profiler like this:
nvprof ./SFS 4
If I run nvprof with -o [output_file] the warning message doesn't appear, but the output file is not created. What could be wrong here?
The LD_LIBRARY_PATH is set in my .bashrc to: /opt/nvidia/hpc_sdk/Linux_x86_64/20.7/cuda/11.0/lib64/ because there I have found these files there (they have "cupti" and "inj" in their names and I thought they are the needed ones):
lrwxrwxrwx 1 root root 19 Aug 4 05:27 libaccinj64.so -> libaccinj64.so.11.0
lrwxrwxrwx 1 root root 23 Aug 4 05:27 libaccinj64.so.11.0 -> libaccinj64.so.11.0.194
...
lrwxrwxrwx 1 root root 16 Aug 4 05:27 libcupti.so -> libcupti.so.11.0
lrwxrwxrwx 1 root root 20 Aug 4 05:27 libcupti.so.11.0 -> libcupti.so.2020.1.0
...
I am on Ubuntu 18.04. workstation with Nvidia GeForce RTX 2070, and have CUDA version 11 installed.
nvidia-smi command gives me this:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.66 Driver Version: 450.66 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 2070 Off | 00000000:02:00.0 On | N/A |
| 30% 40C P2 58W / 185W | 693MiB / 7981MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
The compilers I have (nvidia and portland) are from the latest Nvidia HPC-SDK, version 20.7-0
I compile my programs with -acc -Minfo=accel options, not sure how could I set -ta= and if it is needed at all?
P.S. I am also not sure if running my code, with or without nvprof uses GPUs at all, although I did set ACC_DEVICE_TYPE to nvidia.
Any advice would be very welcome.
Cheers
Which nvprof are you using? The one that ships with NV HPC 20.7 or your own install?
This looks very similar to an issue reported yesterday on the NVIDIA DevTalk user forums:
https://forums.developer.nvidia.com/t/new-20-7-version-where-is-the-detail-release-bugfix/146168/4
Granted this was for Nsight-systems, but it may be the same issue. It appears to be a problem with the 2020.3 version of the profilers which is the version we ship with the NV HPC 20.7 SDK. As I note, the Nsight-Systems 2020.4 release should have this fixed, so the work around would be download and install 2020.4 or use a prior release.
https://developer.nvidia.com/nsight-systems
There does seem to be a temporary issue with the Nsight-systems download that hopefully be corrected before you see this note.
Also, nvprof is in the process of being deprecated so you should consider moving to use Nsight-systems and Nsight-compute.
https://developer.nvidia.com/blog/migrating-nvidia-nsight-tools-nvvp-nvprof/
Since we need to support 64bit CPU in order to publish on Google Play.Then we found a strange crash happened in libjpeg.so in some devices(arm64-v8a).
Some logs are below:
1 #00 pc 0000000000004a00 /system/lib64/libjpeg.so [arm64-v8a]
2 #01 pc 00000000000189d4 /system/lib64/libjpeg.so [arm64-v8a]
3 #02 pc 000000000001fef4 /system/lib64/libjpeg.so [arm64-v8a]
4 #03 pc 0000000000017188 /system/lib64/libjpeg.so (jpeg_read_scanlines+152) [arm64-v8a]
5 #04 pc 00000000002484e4 /system/lib64/libskia.so (SkJPEGImageDecoder::onDecode(SkStream*, SkBitmap*, SkImageDecoder::Mode)+4532) [arm64-v8a]
6 #05 pc 000000000023d9b4 /system/lib64/libskia.so (SkImageDecoder::decode(SkStream*, SkBitmap*, SkColorType, SkImageDecoder::Mode)+152) [arm64-v8a]
7 #06 pc 00000000000c7b48 /system/lib64/libandroid_runtime.so (android::NativeInputEventSender::NativeInputEventSender(_JNIEnv*, _jobject*, android::sp<android::InputChannel> const&, android::sp<android::MessageQueue> const&)+136) [arm64-v8a]
8 #07 pc 00000000000c857c /system/lib64/libandroid_runtime.so (android::NativeInputEventSender::receiveFinishedSignals(_JNIEnv*)+48) [arm64-v8a]
9 #08 pc 0000000000f647b8 /system/framework/arm64/boot.oat (oatdata+16136120) [arm64-v8a]
10 java:
11 android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:677)
12 android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:653)
13 com.c.a.utils.be.a(Encore:820)
Any ideas? Thanks a lot.
Today my Bitbucket instance stopped working for some reason. Stop, start and reboot only shows message
Migrating home directory
Without any progress. It just sits there with the progress bar without doing anything. I don't understand why it is "migrating" the home directory. I'm not upgrading, changing or anything my instance.
When I stop and then start the log file shows a few lines of messages and sits at the line that states
c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /opt/bitbucket-5.15.0/home
Is it possible to recover from this error in any way, shape or form? Why is Bitbucket migrating my home directory? What is it waiting for?
==> /opt/bitbucket/home/log/atlassian-bitbucket.log <==
2019-02-22 13:40:56,195 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.15.RELEASE)
2019-02-22 13:40:56,396 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on jupiter with PID 12057 (/opt/bitbucket-5.15.0/app/app/WEB-INF/classes started by bitbucket in /opt/bitbucket-5.15.0/home)
2019-02-22 13:40:56,397 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to default profiles: default
2019-02-22 13:40:57,590 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 5.15.0 (bd5e9b4 built on Wed Oct 17 03:20:25 CEST 2018)
2019-02-22 13:40:57,590 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_192-b12
2019-02-22 13:40:59,132 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 3.971 seconds (JVM running for 5.519)
2019-02-22 13:41:01,964 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /opt/bitbucket-5.15.0/home
When I stop the service Bitbucket barfs up some error messages. Which suggest that Bitbucket is no longer able to successfully manage its various threads.
==> /opt/bitbucket/home/log/launcher.log <==
2019-02-22 13:54:30
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.192-b12 mixed mode):
"localhost-startStop-2" #44 daemon prio=5 os_prio=0 tid=0x00007f6570001000 nid=0x485d in Object.wait() [0x00007f65b1759000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c19661c0> (a java.lang.Thread)
at java.lang.Thread.join(Thread.java:1252)
- locked <0x00000000c19661c0> (a java.lang.Thread)
at java.lang.Thread.join(Thread.java:1326)
at com.atlassian.johnson.spring.lifecycle.LifecycleDispatcherServlet.destroy(LifecycleDispatcherServlet.java:55)
at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1301)
- locked <0x00000000c18bf930> (a org.apache.catalina.core.StandardWrapper)
at org.apache.catalina.core.StandardWrapper.stopInternal(StandardWrapper.java:1635)
- locked <0x00000000c18bf930> (a org.apache.catalina.core.StandardWrapper)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
- locked <0x00000000c18bf930> (a org.apache.catalina.core.StandardWrapper)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5466)
- locked <0x00000000c0872398> (a org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedContext)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
- locked <0x00000000c0872398> (a org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedContext)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1436)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"Tomcat-startStop-2" #43 daemon prio=5 os_prio=0 tid=0x00007f6520424000 nid=0x485c waiting on condition [0x00007f65b3041000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000ccc91900> (a java.util.concurrent.FutureTask)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
at java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:998)
- locked <0x00000000c0872748> (a org.apache.catalina.core.StandardHost)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
- locked <0x00000000c0872748> (a org.apache.catalina.core.StandardHost)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1436)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"Thread-4" #34 prio=5 os_prio=0 tid=0x00007f6578348800 nid=0x485b waiting on condition [0x00007f6536b98000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000cca8cbb0> (a java.util.concurrent.FutureTask)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
at java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:998)
- locked <0x00000000c0872eb0> (a org.apache.catalina.core.StandardEngine)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
- locked <0x00000000c0872eb0> (a org.apache.catalina.core.StandardEngine)
at org.apache.catalina.core.StandardService.stopInternal(StandardService.java:486)
- locked <0x00000000c0872eb0> (a org.apache.catalina.core.StandardEngine)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
- locked <0x00000000c08758d8> (a org.apache.catalina.core.StandardService)
at org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
- locked <0x00000000c07b26c8> (a org.apache.catalina.core.StandardServer)
at org.apache.catalina.startup.Tomcat.stop(Tomcat.java:376)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.stopTomcat(TomcatEmbeddedServletContainer.java:256)
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.stop(TomcatEmbeddedServletContainer.java:310)
- locked <0x00000000c088ae18> (a java.lang.Object)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.stopAndReleaseEmbeddedServletContainer(EmbeddedWebApplicationContext.java:306)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onClose(EmbeddedWebApplicationContext.java:155)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1014)
at org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:929)
- locked <0x00000000c073b9a8> (a java.lang.Object)
"SIGTERM handler" #42 daemon prio=9 os_prio=0 tid=0x00007f659c001000 nid=0x4859 in Object.wait() [0x00007f65b1c5a000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000c1965eb0> (a org.springframework.context.support.AbstractApplicationContext$2)
at java.lang.Thread.join(Thread.java:1252)
- locked <0x00000000c1965eb0> (a org.springframework.context.support.AbstractApplicationContext$2)
at java.lang.Thread.join(Thread.java:1326)
at java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:107)
at java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:46)
at java.lang.Shutdown.runHooks(Shutdown.java:123)
at java.lang.Shutdown.sequence(Shutdown.java:167)
at java.lang.Shutdown.exit(Shutdown.java:212)
- locked <0x00000000c02068b8> (a java.lang.Class for java.lang.Shutdown)
at java.lang.Terminator$1.handle(Terminator.java:52)
at sun.misc.Signal$1.run(Signal.java:212)
at java.lang.Thread.run(Thread.java:748)
"PostgreSQL-JDBC-SharedTimer-2" #41 daemon prio=5 os_prio=0 tid=0x00007f6528f78000 nid=0x2fe9 in Object.wait() [0x00007f6536596000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000ccb8d168> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:502)
at java.util.TimerThread.mainLoop(Timer.java:526)
- locked <0x00000000ccb8d168> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:505)
I fixed this issue with following database statement
UPDATE DATABASECHANGELOGLOCK SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;
Notes from Atlassian Community:
https://community.atlassian.com/t5/Bitbucket-questions/starting-bitbucket-hangs-on-quot-migrating-home-directory-quot/qaq-p/785834
More information https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-does-not-start-could-not-acquire-change-log-lock-779171307.html
I am trying to use launch_url plugin in Flutter but my app keeps quitting immediately as I click the button.
Code I use for the button:
new MaterialButton(
child: const Text('M-COM'),
height: 50.0,
minWidth: 200.0,
color: Colors.blue,
textColor: Colors.white,
splashColor: Colors.blueGrey,
onPressed: _launchURL,
)
Code for _launchURL:
_launchURL() async {
const url = 'https://flutter.io';
if (await canLaunch(url)) {
await launch(url);
} else {
throw 'Could not launch $url';
}
}
Imports:
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'dart:async';
Dependencies:
dependencies:
flutter:
sdk: flutter
url_launcher:
Error I get:
F/libc ( 6730): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd in tid 6748 (Thread-2), pid 6730 (.flutterstarter)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:9/PPP4.180612.007/4860066:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
pid: 6730, tid: 6748, name: Thread-2 >>> com.yourcompany.flutterstarter <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd
Cause: null pointer dereference
eax c8e6faac ebx c8e6faac ecx 0000000a edx c7e0f570
edi c5d175f0 esi c7e10408
ebp c7e0f468 esp c7e0f468 eip c84aa1d8
backtrace:
#00 pc 006981d8 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#01 pc 008f5b75 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#02 pc 008e87ea /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#03 pc 008ffb03 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#04 pc 008eb310 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#05 pc 008f5eea /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#06 pc 008e87ea /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#07 pc 008fe2fb /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#08 pc 008e8d97 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#09 pc 008fdcb7 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#10 pc 008eafb7 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#11 pc 008f997f /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#12 pc 008eaff8 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#13 pc 008fa175 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#14 pc 008eaf8a /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#15 pc 008f997f /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#16 pc 008eaff8 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#17 pc 008fcc16 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#18 pc 008eb034 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#19 pc 008ef41e /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#20 pc 008f0570 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#21 pc 0091433e /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#22 pc 0092fad4 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#23 pc 00932f2a /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#24 pc 00934573 /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#25 pc 00933d2b /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#26 pc 0093004a /data/app/com.yourcompany.flutterstarter-MdONNcPhZQnLdPJuB2HJaQ==/lib/x86/libflutter.so
#27 pc 0000056b <anonymous:c6440000>
Lost connection to device.
I am using Android Studio and trying to run the app on Android. What am I doing wrong?
Trying to get Dart running on OpenShift via a DIY cartridge. I have the binaries built for RHEL6 and they're running (the dart VM itself works just fine). In my hooks, however, I am attempting to pub build during the build phase, naturally, to compile the Javascript, etc. pub get works fine, but running pub build results in an error. Here is the stack trace:
FINE: Pub 1.5.1
IO : Deleting directory build.
FINE: Loaded package graph.
FINE: Clean up system cache temp directory /var/lib/openshift/(snip)/app-root/runtime/repo/_temp.
ERR : Failed to create server socket (OS Error: Permission denied, errno = 13), address = 127.0.0.1, port = 0
FINE: Exception type: SocketException
FINE: dart:io HttpServer.bind
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/barback/barback_server.dart 49 BarbackServer.bind
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart 395 AssetEnvironment._load
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart 70 AssetEnvironment.create.<fn>
| dart:isolate _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async _Future.then
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart 62 AssetEnvironment.create
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 56 BuildCommand.onRunTransformerCommand
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/command/barback.dart 60 onRun
| dart:async Future.Future.sync
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/utils.dart 90 syncFuture
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/command.dart 178 PubCommand.run
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/bin/pub.dart 198 invokeCommand.<fn>
| dart:async Future.Future.sync
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/utils.dart 90 syncFuture
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/bin/pub.dart 197 invokeCommand
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/bin/pub.dart 87 runPub.<fn>
| dart:async Future.Future.sync
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/utils.dart 102 captureErrors.<fn>
| package:stack_trace/src/chain.dart 93 Chain.capture
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/lib/src/utils.dart 116 captureErrors
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/bin/pub.dart 87 runPub
| /usr/local/sandbox/dart/sdk/lib/_internal/pub/bin/pub.dart 74 main.<fn>
| dart:isolate _RawReceivePortImpl._handleMessage
I'm confused as to why pub build needs to open an HttpServer connection... and if I understand the stack trace, it's trying to bind to 127.0.0.1 port 0? And OpenShift is not allowing this? Am I understanding this correctly? Any OpenShift or Dart experts have any ideas?
Thanks.