Flutter app is crashing on release mode only .
e service connection to gms implementation 2020-06-27 17:33:50.943
11703-11703/io.appplus.sharechapplus V/FA: Registered activity
lifecycle callback 2020-06-27 17:33:50.947
11703-11703/io.appplus.sharechapplus I/FirebaseInitProvider:
FirebaseApp initialization successful 2020-06-27 17:33:50.976
11703-11723/io.appplus.sharechapplus E/MemoryLeakMonitorManager:
MemoryLeakMonitor.jar is not exist! 2020-06-27 17:33:50.978
11703-11703/io.appplus.sharechapplus E/Minikin: Could not get cmap
table size! 2020-06-27 17:33:50.982
11703-11703/io.appplus.sharechapplus V/ActivityThread: Skipping new
config:{1.0 405mcc862mnc [en_US] ldltr sw360dp w360dp h693dp 320dpi
nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 720,
1440) nonFullScreen=0 suim:1 s.133}, config:{1.0 405mcc862mnc [en_US]
ldltr sw360dp w360dp h693dp 320dpi nrml long port finger -keyb/v/h
-nav/h appBounds=Rect(0, 0 - 720, 1440) nonFullScreen=0 suim:1 s.133} for app:io.appplus.sharechapplus 2020-06-27 17:33:51.002
11703-11703/io.appplus.sharechapplus V/HwPolicyFactory: : success to
get AllImpl object and return.... 2020-06-27 17:33:51.014
11703-11703/io.appplus.sharechapplus V/HwWidgetFactory: : successes to
get AllImpl object and return.... 2020-06-27 17:33:51.020
11703-11703/io.appplus.sharechapplus V/ActivityThread:
callActivityOnCreate 2020-06-27 17:33:51.025
11703-11703/io.appplus.sharechapplus V/FA: onActivityCreated
2020-06-27 17:33:51.071 11703-11703/io.appplus.sharechapplus
E/flutter: [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot
invalid and could not be inferred from settings. 2020-06-27
17:33:51.072 11703-11703/io.appplus.sharechapplus E/flutter:
[ERROR:flutter/runtime/dart_vm.cc(248)] Could not setup VM data to
bootstrap the VM from. 2020-06-27 17:33:51.072
11703-11703/io.appplus.sharechapplus E/flutter:
[ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart
VM instance. 2020-06-27 17:33:51.072
11703-11703/io.appplus.sharechapplus A/flutter:
[FATAL:flutter/shell/common/shell.cc(268)] Check failed: vm. Must be
able to initialize the VM. 2020-06-27 17:33:51.072
11703-11703/io.appplus.sharechapplus A/libc: Fatal signal 6 (SIGABRT),
code -6 in tid 11703 (s.sharechapplus), pid 11703 (s.sharechapplus)
2020-06-27 17:33:51.085 11703-11746/io.appplus.sharechapplus V/FA:
Collection enabled 2020-06-27 17:33:51.086
11703-11746/io.appplus.sharechapplus V/FA: App package, google app id:
io.appplus.sharechapplus,
1:924335965951:android:872d03adb90ca78532eeca 2020-06-27 17:33:51.092
11703-11746/io.appplus.sharechapplus I/FA: App measurement is starting
up, version: 16250 2020-06-27 17:33:51.092
11703-11746/io.appplus.sharechapplus I/FA: To enable debug logging
run: adb shell setprop log.tag.FA VERBOSE 2020-06-27 17:33:51.092
11703-11746/io.appplus.sharechapplus I/FA: To enable faster debug mode
event logging run:
adb shell setprop debug.firebase.analytics.app io.appplus.sharechapplus 2020-06-27 17:33:51.093
11703-11746/io.appplus.sharechapplus D/FA: Debug-level message logging
enabled 2020-06-27 17:33:51.094 11703-11746/io.appplus.sharechapplus
V/FA: Persisting first open: 1593259430937
Flutter (Channel stable, v1.17.4, on Linux, locale en_US.UTF-8)
• Flutter version 1.17.4 at /home/midhilajm/flutter
• Framework revision 1ad9baa8b9 (10 days ago), 2020-06-17 14:41:16 -0700
• Engine revision ee76268252
• Dart version 2.8.4
Related
I'm working on establishing a debug connection to a Renesas RZ/G2L MPU.
My OpenOCD connection appears to launch fine (and i can connect to it with gdb from the shell afterwards with (gdb) target remote localhost:3333 fine):
Open On-Chip Debugger 0.12.0-rc2+dev-00989-g9501b263e-dirty (2022-12-12-17:03)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
G2L
G2L - 0 CA57(s), 2 CA55(s), 0 CA53(s), 0 CR7(s), 1 CM33(s)
Boot Core - CA55
r9a07g044l.cpu
SMP targets: r9a07g044l.a55.0 r9a07g044l.a55.1
init_reset
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V11 compiled Dec 5 2022 13:50:41
Info : Hardware version: 11.00
Info : VTarget = 1.812 V
Info : clock speed 4000 kHz
Info : JTAG tap: r9a07g044l.cpu tap/device found: 0x6ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x6)
Info : r9a07g044l.a55.0: hardware has 6 breakpoints, 4 watchpoints
Info : starting gdb server for r9a07g044l.a55.0 on 3333
Info : Listening on port 3333 for gdb connections
Info : starting gdb server for r9a07g044l.m33 on 3334
Info : Listening on port 3334 for gdb connections
Info : gdb port disabled
I'm trying to hook it up with eclipse to debug Flash Writer which should allow me to bring up the system. I createda debug configuration, set the init commands under start up (per instructions from Renesas) and set the launch target to localhost:3333. Upon launch of a debug session from Eclipse however, I get the following error:
Error in final launch sequence:
Failed to execute MI command:
source /home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer
Error message from debugger back end:
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:
Protocol error with Rcmd
Failed to execute MI command:
source /home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer
Error message from debugger back end:
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:
Protocol error with Rcmd
Failed to execute MI command:
source /home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer
Error message from debugger back end:
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:
Protocol error with Rcmd
/home/mistywest/git/rzg2_flash_writer/gdb_smarc_g2l_flash_writer:12: Error in sourced command file:\nProtocol error with Rcmd
and on the OpenOCD console:
Info : accepting 'gdb' connection on tcp/3333
Info : r9a07g044l.a55.0 cluster 0 core 0 multi core
r9a07g044l.a55.0 halted in AArch64 state due to debug-request, current mode: EL3H
cpsr: 0x400003cd pc: 0x3a94
MMU: disabled, D-Cache: disabled, I-Cache: enabled
Info : New GDB Connection: 1, Target r9a07g044l.a55.0, state: halted
Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: r9a07g044l.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Invalid ACK (0) in DAP response
Info : Deferring arp_examine of r9a07g044l.a55.1
Info : Use arp_examine command to examine it manually!
Info : Deferring arp_examine of r9a07g044l.m33
Info : Use arp_examine command to examine it manually!
Error: Invalid ACK (0) in DAP response
Error: Debug regions are unpowered, an unexpected reset might have happened
Error: JTAG-DP STICKY ERROR
Error: Could not initialize the APB-AP
Info : dropped 'gdb' connection
Oh I'm running this from a Fedora 36 host - if it matters
we have keycloak 14 connected to an Amazon RDS Aurora PostgreSQL and now trying to update to Keycloak 19 with the same DB but is failing with the below error
2022-09-20 09:54:56,959 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
2022-09-20 09:54:56,960 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: ISPN000324: Cache 'realms' is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
Any help would be appreciated.
I have a Flutter app (using version 2.5.1) that
Runs on a simulator
Run on a physical iOS device
Runs when I distribute it using TestFlight
Has integration tests, that run just fine on the simulator.
The app uses Flutterfire and the integration tests uses parts of the app that use Flutterfire.
However, when I follow these instructions in order to create something that can eventually be distributed to Firebase Test Lab, I stumble on the penultimate step:
xcodebuild test-without-building -xctestrun "build/ios_integ/Build/Products/Runner_iphoneos15.0-arm64-armv7.xctestrun" -destination id=<MYDEVICEID>
The app deploys to the physical device, and starts to run, but seems to fail to connect to any Firebase back-ends.
The logs have errors that look like those below.
Any pointers as to how I can fix this will be much appreciated!
Test Suite 'All tests' started at 2021-09-23 18:50:58.044
Test Suite 'RunnerTests.xctest' started at 2021-09-23 18:50:58.045
Test Suite 'RunnerTests' started at 2021-09-23 18:50:58.045
Test Case '-[RunnerTests testIntegrationTest]' started.
2021-09-23 18:50:58.047998+0100 Runner[404:7739] flutter: 00:00 +0: Porridge (setUpAll)
2021-09-23 18:50:58.049466+0100 Runner[404:7739] flutter: 00:00 +1: Porridge Create User
2021-09-23 18:50:58.052143+0100 Runner[404:7734] 8.6.0 - [Firebase/Analytics][I-ACS023007] Analytics v.8.6.0 started
2021-09-23 18:50:58.052457+0100 Runner[404:7734] 8.6.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following
application argument: -noFIRAnalyticsDebugEnabled
2021-09-23 18:50:58.062413+0100 Runner[404:7730] [connection] nw_socket_handle_socket_event [C1.1:2] Socket SO_ERROR [61: Connection r
efused]
2021-09-23 18:50:58.062759+0100 Runner[404:7730] [connection] nw_socket_handle_socket_event [C1.2:2] Socket SO_ERROR [61: Connection r
efused]
2021-09-23 18:50:58.063110+0100 Runner[404:7730] Connection 1: received failure notification
2021-09-23 18:50:58.063199+0100 Runner[404:7730] Connection 1: failed to connect 1:61, reason -1
2021-09-23 18:50:58.063314+0100 Runner[404:7730] Connection 1: encountered error(1:61)
2021-09-23 18:50:58.063936+0100 Runner[404:7730] Task <0B92B415-FE63-4467-8248-8FB5B411688A>.<1> HTTP load failed, 0/0 bytes (error co
de: -1004 [1:61])
2021-09-23 18:50:58.064589+0100 Runner[404:7730] Task <0B92B415-FE63-4467-8248-8FB5B411688A>.<1> finished with error [-1004] Error Dom
ain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x281c31890
{Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErr
orFailingURLSessionTaskErrorKey=LocalDataTask <0B92B415-FE63-4467-8248-8FB5B411688A>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <0B92B415-FE63-4467-8248-8FB5B411688A>.<1>"
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=http://localhost:9099/www.googleapis.com/identi
tytoolkit/v3/relyingparty/signupNewUser?key=AIzaSyCHkqtqAXDFllu7SmuwSw8_pudpAn-dzdM, NSErrorFailingURLKey=http://localhost:9099/www.go
ogleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=AIzaSyCHkqtqAXDFllu7SmuwSw8_pudpAn-dzdM, _kCFStreamErrorDomainKey=1}
2021-09-23 18:50:58.065318+0100 Runner[404:7739] flutter: [firebase_auth/network-request-failed] Network error (such as timeout, interrupted connection or unreachable host) has occurred.
2021-09-23 18:50:58.065511+0100 Runner[404:7739] flutter: #0 MethodChannelFirebaseAuth.createUserWithEmailAndPassword (package:firebase_auth_platform_interface/src/method_channel/method_channel_firebase_auth.dart:272)
...etc....
I want to fork the waves blockchain in which I wanted to change the coin. I first change the name of coin in waves node
link : https://github.com/wavesplatform/Waves/blob/version-1.2.x/node/src/main/scala/com/wavesplatform/transaction/assets/exchange/AssetPair.scala
according to the link I deployed on windows and I got this error.
ERROR: 18:28:45,568 ERROR [main] c.w.actor.RootActorSystem$ - Error while initializing actor system wavesplatform com.protonail.leveldb.jna.LevelDBException: IO error: /root/.local/share/waves-testnet/data: Invalid argument
(note : full error is given below)
software details:
openjdk11
ubuntu 18.04LTS
I am deploying in windows through ubuntu 18.04LTS by following steps for installing in windows and installing deb file.
link for installing: https://docs.waves.tech/en/waves-node/how-to-install-a-node/on-windows
command: java -jar node/target/waves-all-1.2.15-DIRTY.jar node/target/classes/application.conf
I got error while initializing it with wavesplatform.
root#WJLP-1220:/mnt/c/Users/swatim/Desktop/wavesProject/Waves/node/target# java -jar waves-all-1.2.15-DIRTY.jar classes/application.conf
2021-01-04 18:28:44,524 INFO [main] c.w.Application$ - Starting...
2021-01-04 18:28:45,082 INFO [ctor.default-dispatcher-4] a.event.slf4j.Slf4jLogger - Slf4jLogger started 2021-01-04 18:28:45,193 INFO [main] c.w.Application$ - Waves v1.2.15-DIRTY Blockchain Id: T
2021-01-04 18:28:45,271 INFO [main] c.w.d.LevelDBFactory$ - Loaded com.wavesplatform.database.jna.LevelDBJNADBFactory with com.wavesplatform.database.jna.LevelDBJNADBFactory#72ba28ee
2021-01-04 18:28:45,568 ERROR [main] c.w.actor.RootActorSystem$ - Error while initializing actor system wavesplatform com.protonail.leveldb.jna.LevelDBException: IO error: /root/.local/share/waves-testnet/data: Invalid argument
at com.protonail.leveldb.jna.LevelDBNative.checkError(LevelDBNative.java:295)
at com.protonail.leveldb.jna.LevelDB.(LevelDB.java:16) at com.wavesplatform.database.jna.LevelDBJNADBFactory.openJnaDatabase(LevelDBJNADBFactory.scala:11)
at com.wavesplatform.database.jna.LevelDBJNADBFactory.open(LevelDBJNADBFactory.scala:15)
at com.wavesplatform.database.package$.openDB(package.scala:51)
at com.wavesplatform.Application.(Application.scala:69)
at com.wavesplatform.Application$.$anonfun$startNode$4(Application.scala:558)
at com.wavesplatform.Application$.$anonfun$startNode$4$adapted(Application.scala:555)
at com.wavesplatform.actor.RootActorSystem$.start(RootActorSystem.scala:25)
at com.wavesplatform.Application$.startNode(Application.scala:555)
at com.wavesplatform.Application$.main(Application.scala:524)
at com.wavesplatform.Application.main(Application.scala)
I'm trying to run the Google TV emulator on Ubuntu 12.04. The emulator starts, but hangs at a screen with a Google TV logo in the center of it. I connected via adb and the log is looping with the following messages:
I/CameraService( 1038): CameraService started (pid=1038)
I/AudioFlinger( 1038): AudioFlinger's thread 0x9bb5a78 ready to run
I/ServiceManager( 795): Waiting for service SurfaceFlinger...
I/ServiceManager( 795): Waiting for service SurfaceFlinger...
I/ServiceManager( 795): Waiting for service SurfaceFlinger...
I/ServiceManager( 795): Waiting for service SurfaceFlinger...
I/ServiceManager( 795): Waiting for service SurfaceFlinger...
D/AndroidRuntime( 1048):
D/AndroidRuntime( 1048): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1048): CheckJNI is ON
E/dalvikvm( 1048): Bad heap size parameters (start=5242880, max=33554432, limit=100663296)
W/dalvikvm( 1048): JNI_CreateJavaVM failed
E/AndroidRuntime( 1048): JNI_CreateJavaVM failed
I/ServiceManager( 782): service 'media.audio_flinger' died
I/ServiceManager( 782): service 'media.player' died
I/ServiceManager( 782): service 'media.camera' died
I/ServiceManager( 782): service 'media.audio_policy' died
I/Netd ( 1050): Netd 1.0 starting
I/ ( 1049): ServiceManager: 0x8c6fed8
E/ ( 1049): Failed to switch to AID_MEDIA user, error -1
W/GoogleTVMediaApi( 1049): InitializeGTVMediaLibraries not implemented
W/AVAPIService( 1049): InstantiateAVAPIService not implemented
W/AudioHardwareInterface( 1049): Using stubbed audio hardware. No sound will be produced.
D/AudioHardwareInterface( 1049): setMode(NORMAL)
There is a new version of the emulator coming (extremely soon). In the interim you can check your AVD parameters. Mine are as follows:
hw.lcd.density=213
hw.keyboard.charmap=Emulator
sdcard.size=1G
skin.name=720p
skin.path=add-ons/addon-google_tv_addon-google-12/skins/720p
hw.cpu.arch=x86
abi.type=x86
vm.heapSize=256
hw.ramSize=1024
disk.dataPartition.size=128
image.sysdir.1=add-ons/addon-google_tv_addon-google-12/images/x86/
The error arise because of "Bad heap size parameters ".
So resize the heap size:for me, I change heap size from 64 to 128.
In edit Android Virtual Device.