Android Emulator Crash a few seconds after App start on Android Q - android-emulator

After starting the App after a few seconds the crashes with the follow Log
E/chromium: [ERROR:context_group.cc(433)] ContextResult::kFatalFailure: too few uniforms or varyings supported.
D/EGL_emulation: eglMakeCurrent: 0xda6f95e0: ver 3 0 (tinfo 0xc6280cc0)
E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008b49
glUtilsParamSize: unknow param 0x00008b49
glUtilsParamSize: unknow param 0x00008b4b
glUtilsParamSize: unknow param 0x00008b4b
E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008b4a
glUtilsParamSize: unknow param 0x00008b4a
E/chromium: [ERROR:context_group.cc(433)] ContextResult::kFatalFailure: too few uniforms or varyings supported.
D/EGL_emulation: eglMakeCurrent: 0xda6f95e0: ver 3 0 (tinfo 0xc6280cc0)
E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008b49
E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008b49
glUtilsParamSize: unknow param 0x00008b4b
glUtilsParamSize: unknow param 0x00008b4b
E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008b4a
glUtilsParamSize: unknow param 0x00008b4a
E/chromium: [ERROR:context_group.cc(433)] ContextResult::kFatalFailure: too few uniforms or varyings supported.

Related

update to xamarin forms 5 causes debugging to be super slow

Upgrade to Xamarin Forms 5.0.0.2012 from 4.8 makes the app (only in debug mode) to freeze for few seconds for each interaction and makes tons of outputs:
Thread started: <Thread Pool> #41
[Mono] GC_BRIDGE waiting for bridge processing to finish
[Mono] GC_TAR_BRIDGE bridges 0 objects 0 opaque 0 colors 0 colors-bridged 0 colors-visible 169 xref 4 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.09ms scc-setup 0.06ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.00ms
[Mono] GC_BRIDGE: Complete, was running for 0.05ms
[Mono] GC_MINOR: (Nursery full) time 15.02ms, stw 18.82ms promoted 1445K major size: 33920K in use: 32001K los size: 9472K in use: 7121K
Thread started: <Thread Pool> #42
Thread started: <Thread Pool> #43
Thread started: <Thread Pool> #44
Thread started: <Thread Pool> #45
Thread started: <Thread Pool> #46
Thread started: <Thread Pool> #47
Thread started: <Thread Pool> #48
Thread started: <Thread Pool> #49
Thread started: <Thread Pool> #50
Thread started: <Thread Pool> #51
[Mono] GC_BRIDGE waiting for bridge processing to finish
[Mono] GC_TAR_BRIDGE bridges 0 objects 0 opaque 0 colors 0 colors-bridged 0 colors-visible 169 xref 4 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.09ms scc-setup 0.06ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.00ms
[Mono] GC_BRIDGE: Complete, was running for 0.07ms
[Mono] GC_MINOR: (Nursery full) time 11.92ms, stw 14.43ms promoted 926K major size: 34896K in use: 32961K los size: 12544K in use: 10620K
[mono] Full thread dump:
[Mono] GC_TAR_BRIDGE bridges 0 objects 0 opaque 0 colors 0 colors-bridged 0 colors-visible 169 xref 4 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.09ms scc-setup 0.06ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.00ms
[Mono] GC_BRIDGE waiting for bridge processing to finish
[Mono] GC_BRIDGE: Complete, was running for 0.07ms
[Mono] GC_MINOR: (Nursery full) time 13.09ms, stw 15.10ms promoted 860K major size: 35728K in use: 33849K los size: 17664K in use: 15619K
[Mono] GC_TAR_BRIDGE bridges 0 objects 0 opaque 0 colors 0 colors-bridged 0 colors-visible 169 xref 4 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.09ms scc-setup 0.06ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.00ms
[Mono] GC_BRIDGE: Complete, was running for 0.07ms
[Mono] GC_MINOR: (Concurrent start) time 3.81ms, stw 13.08ms promoted 1K major size: 35728K in use: 33851K los size: 17664K in use: 15619K
[Mono] GC_MAJOR_CONCURRENT_START: (LOS overflow)
[Mono] GC_BRIDGE waiting for bridge processing to finish
Any idea how to bring back useability of a debugger?
removing a CachingStrategy="RecycleElement" from ListView was a partial solution
Xamarin garba collection runs often

webview_flutter just show a blank screen in android emulator

Aftter installing webview_flutter 0.3.19+9 library in my flatter project i want to use it so in order to i write these code :
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
class ConfigWebViewScreen extends StatelessWidget {
ConfigWebViewScreen(this._result);
final dynamic _result;
Completer<WebViewController> _controller = Completer<WebViewController>();
#override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: WebView(
initialUrl: "https://mc.iotel.ir/",
javascriptMode: JavascriptMode.unrestricted,
onWebViewCreated: (WebViewController webViewController) {
_controller.complete(webViewController);
},
),
),
);
}
}
but noting is shown on my android emulator ??
other url like https://stackoverflow.com/ is shown and webView is worked but it can't show https://mc.iotel.ir/ ?
This is printed in debug console:
D/EGL_emulation( 7360): eglMakeCurrent: 0xef2d8b80: ver 2 0 (tinfo 0xe7779aa0)
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 2 (2) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 13 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/HostConnection( 7360): HostConnection::get() New Host Connection established 0xcfd0a4c0, tid 7648
D/HostConnection( 7360): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 7360): eglCreateContext: 0xd25680e0: maj 2 min 0 rcv 2
D/EGL_emulation( 7360): eglMakeCurrent: 0xd25680e0: ver 2 0 (tinfo 0xc2c9fc80)
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 1 (1) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 2 (2) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 1 (1) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
I/flutter ( 7360): Instance of 'CatalogsWithProductModel'
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
I/flutter ( 7360): Instance of 'CatalogsWithProductModel'
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 2 (2) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 7360): eglMakeCurrent: 0xef2d8b80: ver 2 0 (tinfo 0xe7779aa0)
E/BufferQueueProducer( 7360): [SurfaceTexture-0-7360-1] cancelBuffer: BufferQueue has been abandoned
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 2 (2) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
E/eglCodecCommon( 7360): glUtilsParamSize: unknow param 0x000085b5
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 7360): eglMakeCurrent: 0xd25680e0: ver 2 0 (tinfo 0xc2c9fc80)
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 1 (1) 0 0
D/eglCodecCommon( 7360): setVertexArrayObject: set vao to 0 (0) 0 0
And in emulator just show a white screen!!
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version
29.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.43.2)
[✓] Connected device (1 available)
! Doctor found issues in 1 category.
***** Edit*******
When i good look to console i saw this error :
I/X509Util(27608): Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

What are bsdthread_register, ulock_wake and other system calls reported by dtruss?

Here is an example interaction with dtruss on my macOS machine.
$ cat main.c
int main() {
return 0;
}
$ clang main.c
$ sudo dtruss ./a.out
dtrace: system integrity protection is on, some features will not be available
SYSCALL(args) = return
open("/dev/dtracehelper\0", 0x2, 0x7FFF5AF83930) = 3 0
ioctl(0x3, 0x80086804, 0x7FFF5AF838B8) = 0 0
close(0x3) = 0 0
thread_selfid(0x3, 0x80086804, 0x7FFF5AF838B8) = 5434813 0
bsdthread_register(0x7FFFAF245080, 0x7FFFAF245070, 0x2000) = 1073741919 0
ulock_wake(0x1, 0x7FFF5AF830EC, 0x0) = -1 Err#2
issetugid(0x1, 0x7FFF5AF830EC, 0x0) = 0 0
mprotect(0x104C7F000, 0x88, 0x1) = 0 0
mprotect(0x104C81000, 0x1000, 0x0) = 0 0
mprotect(0x104C97000, 0x1000, 0x0) = 0 0
mprotect(0x104C98000, 0x1000, 0x0) = 0 0
mprotect(0x104CAE000, 0x1000, 0x0) = 0 0
mprotect(0x104CAF000, 0x1000, 0x1) = 0 0
mprotect(0x104C7F000, 0x88, 0x3) = 0 0
mprotect(0x104C7F000, 0x88, 0x1) = 0 0
getpid(0x104C7F000, 0x88, 0x1) = 34522 0
stat64("/AppleInternal/XBS/.isChrooted\0", 0x7FFF5AF82FA8, 0x1) = -1 Err#2
stat64("/AppleInternal\0", 0x7FFF5AF83040, 0x1) = -1 Err#2
csops(0x86DA, 0x7, 0x7FFF5AF82AD0) = -1 Err#22
dtrace: error on enabled probe ID 2158 (ID 552: syscall::sysctl:return): invalid kernel access in action #10 at DIF offset 40
ulock_wake(0x1, 0x7FFF5AF83050, 0x0) = -1 Err#2
csops(0x86DA, 0x7, 0x7FFF5AF823B0) = -1 Err#22
Many of these system calls look familiar, but others don't. Specifically, what are thread_selfid, bsdthread_register, ulock_wake, csops, and dtrace? If these are system calls, they don't have man pages documenting them. Are they private system calls, or something else? Where does dtruss get their names from?
Yes, ULOCK_wake is part of a private systemcall for threads afaik.
You can see it in the xnu sourcecode as being systemcall number 516.

How to skip lines with "#" symbol in Fortran 90? [duplicate]

This question already has answers here:
Reading comment lines correctly in an input file using Fortran 90
(3 answers)
Closed 8 years ago.
I am trying to read a number from a file .dat in Fortran 90. The problem is than this .dat file has lines starting with the "#" symbol which I want Fortran to ignore. Here is the file I am reading
#number of free parameters= 252
#used norm for the fit= 3.231250e+02
#0 0 0 0 0 -6.458147e+06
#0 0 0 0 1 3.105635e+01
#0 0 0 0 2 2.525518e-04
#0 0 0 0 3 -4.281012e-09
#0 0 0 0 4 -2.759312e-14
#0 0 0 0 5 1.534108e-19
#0 0 0 1 0 6.646356e-01
#0 0 0 1 1 7.311006e-04
#0 0 0 1 2 -2.619385e-09
#0 0 0 1 3 -2.686922e-14
#0 0 0 1 4 -1.679757e-20
#0 0 0 2 0 -3.188727e-04
#0 0 0 2 1 -6.512261e-10
#0 0 0 2 2 2.366201e-14
#0 0 0 2 3 -7.321188e-20
#0 0 0 3 0 -2.747463e-09
#0 0 0 3 1 -2.713283e-15
#0 0 0 3 2 6.595914e-20
#0 0 0 4 0 -3.916931e-14
#0 0 0 4 1 -1.166710e-19
#0 0 0 5 0 7.337420e-20
#0 0 1 0 0 1.098464e+02
#0 0 1 0 1 4.974315e-04
#0 0 1 0 2 2.851914e-09
#0 0 1 0 3 -2.829991e-14
#0 0 1 0 4 -1.078132e-19
#0 0 1 1 0 -3.428791e-04
#0 0 1 1 1 2.540000e-09
#0 0 1 1 2 -5.170717e-14
#0 0 1 1 3 9.467328e-20
#0 0 1 2 0 1.536840e-09
#0 0 1 2 1 -2.862305e-14
#0 0 1 2 2 2.214778e-19
#0 0 1 3 0 -7.982451e-15
#0 0 1 3 1 -1.115507e-19
#0 0 1 4 0 -1.784763e-19
#0 0 2 0 0 -3.354193e-04
#0 0 2 0 1 -2.608933e-09
#0 0 2 0 2 1.603134e-14
#0 0 2 0 3 1.544635e-21
#0 0 2 1 0 9.286391e-11
#0 0 2 1 1 2.212860e-14
#0 0 2 1 2 4.500369e-19
#0 0 2 2 0 4.355379e-14
#0 0 2 2 1 -1.988663e-19
#0 0 2 3 0 1.375598e-19
#0 0 3 0 0 -5.089157e-09
#0 0 3 0 1 -6.290206e-15
#0 0 3 0 2 6.371429e-20
#0 0 3 1 0 -1.164189e-14
#0 0 3 1 1 1.980810e-19
#0 0 3 2 0 -1.530186e-20
#0 0 4 0 0 -8.497320e-15
#0 0 4 0 1 -3.419311e-20
#0 0 4 1 0 1.151535e-19
#0 0 5 0 0 -4.965320e-20
#0 1 0 0 0 -1.259427e+02
#0 1 0 0 1 -3.900548e-05
#0 1 0 0 2 3.691997e-09
#0 1 0 0 3 1.526078e-14
#0 1 0 0 4 2.153889e-19
#0 1 0 1 0 -1.518887e-04
#0 1 0 1 1 1.725796e-09
#0 1 0 1 2 -1.001640e-14
#0 1 0 1 3 1.515356e-19
#0 1 0 2 0 2.629831e-09
#0 1 0 2 1 6.313110e-15
#0 1 0 2 2 3.219031e-19
#0 1 0 3 0 2.906599e-14
#0 1 0 3 1 2.167608e-19
#0 1 0 4 0 1.696993e-19
#0 1 1 0 0 -9.267004e-04
#0 1 1 0 1 2.093122e-09
#0 1 1 0 2 4.148898e-14
#0 1 1 0 3 9.015903e-20
#0 1 1 1 0 -5.283470e-09
#0 1 1 1 1 2.942465e-14
#0 1 1 1 2 -1.620549e-19
#0 1 1 2 0 -1.392080e-15
#0 1 1 2 1 4.239008e-21
#0 1 1 3 0 4.896848e-20
#0 1 2 0 0 2.685715e-09
#0 1 2 0 1 1.666833e-14
#0 1 2 0 2 -7.874688e-20
#0 1 2 1 0 9.224232e-15
#0 1 2 1 1 -4.773437e-19
#0 1 2 2 0 -1.519710e-19
#0 1 3 0 0 5.053813e-14
#0 1 3 0 1 4.160181e-20
#0 1 3 1 0 1.370084e-19
#0 1 4 0 0 -8.886168e-21
#0 2 0 0 0 -2.300488e-04
#0 2 0 0 1 7.564571e-09
#0 2 0 0 2 -1.102233e-14
#0 2 0 0 3 -6.403138e-21
#0 2 0 1 0 -4.206376e-09
#0 2 0 1 1 -3.403031e-14
#0 2 0 1 2 -3.346447e-19
#0 2 0 2 0 5.381533e-15
#0 2 0 2 1 -1.823920e-19
#0 2 0 3 0 -1.178995e-19
#0 2 1 0 0 -1.655777e-09
#0 2 1 0 1 2.935844e-14
#0 2 1 0 2 -6.278178e-20
#0 2 1 1 0 1.300195e-14
#0 2 1 1 1 -8.475176e-21
#0 2 1 2 0 1.052778e-19
#0 2 2 0 0 3.096973e-15
#0 2 2 0 1 1.549711e-19
#0 2 2 1 0 -7.566176e-20
#0 2 3 0 0 -2.251950e-19
#0 3 0 0 0 -3.739465e-09
#0 3 0 0 1 2.295125e-14
#0 3 0 0 2 -4.084332e-20
#0 3 0 1 0 4.950778e-15
#0 3 0 1 1 -1.106986e-19
#0 3 0 2 0 -4.027040e-20
#0 3 1 0 0 1.621460e-14
#0 3 1 0 1 -1.062879e-19
#0 3 1 1 0 -2.483709e-19
#0 3 2 0 0 1.690545e-19
#0 4 0 0 0 6.163400e-15
#0 4 0 0 1 6.288739e-20
#0 4 0 1 0 1.192787e-19
#0 4 1 0 0 -1.455520e-19
#0 5 0 0 0 -9.933712e-20
#1 0 0 0 0 -3.666264e+01
#1 0 0 0 1 9.549133e-04
#1 0 0 0 2 -4.365234e-09
#1 0 0 0 3 2.588782e-16
#1 0 0 0 4 -2.076915e-20
#1 0 0 1 0 1.481452e-03
#1 0 0 1 1 1.904617e-09
#1 0 0 1 2 -1.930502e-14
#1 0 0 1 3 2.011388e-20
#1 0 0 2 0 8.142289e-11
#1 0 0 2 1 -2.718983e-14
#1 0 0 2 2 -8.626389e-20
#1 0 0 3 0 1.100715e-14
#1 0 0 3 1 -6.753546e-21
#1 0 0 4 0 1.454479e-19
#1 0 1 0 0 1.163360e-03
#1 0 1 0 1 -1.811381e-09
#1 0 1 0 2 -3.732141e-14
#1 0 1 0 3 -1.731446e-19
#1 0 1 1 0 -1.368255e-09
#1 0 1 1 1 -1.199297e-14
#1 0 1 1 2 -1.829752e-19
#1 0 1 2 0 8.200737e-15
#1 0 1 2 1 -1.118786e-19
#1 0 1 3 0 -9.719783e-20
#1 0 2 0 0 -2.880947e-09
#1 0 2 0 1 1.251979e-14
#1 0 2 0 2 -1.047222e-19
#1 0 2 1 0 -1.228216e-14
#1 0 2 1 1 9.662320e-20
#1 0 2 2 0 -3.024362e-21
#1 0 3 0 0 -2.423240e-14
#1 0 3 0 1 8.306093e-20
#1 0 3 1 0 -1.033559e-19
#1 0 4 0 0 -7.429864e-20
#1 1 0 0 0 6.989398e-04
#1 1 0 0 1 -1.581314e-09
#1 1 0 0 2 -2.193096e-14
#1 1 0 0 3 -1.899676e-19
#1 1 0 1 0 3.866920e-09
#1 1 0 1 1 -5.727360e-15
#1 1 0 1 2 -3.347686e-20
#1 1 0 2 0 -2.266355e-14
#1 1 0 2 1 3.559480e-19
#1 1 0 3 0 3.783552e-20
#1 1 1 0 0 -4.351640e-09
#1 1 1 0 1 -4.493149e-14
#1 1 1 0 2 3.886234e-20
#1 1 1 1 0 1.795029e-14
#1 1 1 1 1 -1.723292e-19
#1 1 1 2 0 3.898557e-19
#1 1 2 0 0 3.297662e-14
#1 1 2 0 1 -6.122045e-20
#1 1 2 1 0 -3.220305e-20
#1 1 3 0 0 1.550060e-19
#1 2 0 0 0 1.132462e-09
#1 2 0 0 1 9.649800e-15
#1 2 0 0 2 -1.487728e-19
#1 2 0 1 0 -1.033199e-14
#1 2 0 1 1 -1.066775e-19
#1 2 0 2 0 -1.074791e-19
#1 2 1 0 0 -5.672266e-14
#1 2 1 0 1 -4.539318e-19
#1 2 1 1 0 4.278144e-20
#1 2 2 0 0 -1.761885e-20
#1 3 0 0 0 3.350312e-14
#1 3 0 0 1 1.410364e-19
#1 3 0 1 0 1.155801e-19
#1 3 1 0 0 1.753253e-19
#1 4 0 0 0 2.302075e-19
#2 0 0 0 0 -1.251751e-03
#2 0 0 0 1 -1.528697e-09
#2 0 0 0 2 2.022063e-14
#2 0 0 0 3 3.612229e-19
#2 0 0 1 0 -1.394598e-09
#2 0 0 1 1 1.493080e-14
#2 0 0 1 2 2.747549e-19
#2 0 0 2 0 1.440434e-14
#2 0 0 2 1 -1.147694e-19
#2 0 0 3 0 5.537588e-21
#2 0 1 0 0 6.623155e-09
#2 0 1 0 1 2.730209e-15
#2 0 1 0 2 4.181196e-20
#2 0 1 1 0 1.488522e-14
#2 0 1 1 1 -1.643706e-20
#2 0 1 2 0 -3.837800e-19
#2 0 2 0 0 -3.120561e-14
#2 0 2 0 1 9.825753e-20
#2 0 2 1 0 1.769783e-19
#2 0 3 0 0 -1.549952e-19
#2 1 0 0 0 -3.557290e-09
#2 1 0 0 1 1.033207e-14
#2 1 0 0 2 -1.516672e-19
#2 1 0 1 0 1.499897e-14
#2 1 0 1 1 1.675754e-20
#2 1 0 2 0 1.290456e-20
#2 1 1 0 0 3.365246e-14
#2 1 1 0 1 1.912043e-19
#2 1 1 1 0 1.251717e-19
#2 1 2 0 0 4.824158e-20
#2 2 0 0 0 -6.775576e-15
#2 2 0 0 1 3.018091e-19
#2 2 0 1 0 -1.955331e-19
#2 2 1 0 0 1.276077e-20
#2 3 0 0 0 2.575621e-20
#3 0 0 0 0 -8.039580e-10
#3 0 0 0 1 -6.643968e-14
#3 0 0 0 2 1.627232e-19
#3 0 0 1 0 -8.617469e-15
#3 0 0 1 1 1.842556e-19
#3 0 0 2 0 -6.082756e-20
#3 0 1 0 0 -2.047656e-15
#3 0 1 0 1 -6.400721e-20
#3 0 1 1 0 -1.705284e-19
#3 0 2 0 0 3.026086e-19
#3 1 0 0 0 4.164057e-14
#3 1 0 0 1 -6.256086e-20
#3 1 0 1 0 -9.961920e-20
#3 1 1 0 0 -2.004688e-19
#3 2 0 0 0 -4.014110e-19
#4 0 0 0 0 1.059104e-14
#4 0 0 0 1 -3.637782e-20
#4 0 0 1 0 -2.760611e-21
#4 0 1 0 0 1.484074e-19
#4 1 0 0 0 4.916317e-20
#5 0 0 0 0 -1.274646e-20
#average insample error= 1.010769e-01
1.374988e+05
I only need to read the value "1.374988e+05", any idea?
This program solves the problem by implementing the suggestion to "skip the lines with empty read or use iostat and use the first succesful read."
program xread_data
implicit none
integer, parameter :: iu = 10
real :: x
integer :: ierr
open (unit=iu,file="data.txt",action="read")
do
read (iu,*,iostat=ierr) x
if (ierr == 0) exit
end do
print*,"x =",x
end program xread_data

Solaris and Preprocessor Macros

Would someone post the results of cpp -dM < /dev/null from a Solaris 10 or above system?
I'm having trouble locating what preprocessor macros are typically defined. Solaris documentation does not discuss it in detail [1], [2], and Google is not being very helpful.
Thanks in advance.
Solaris 11.1
#define __DBL_MIN_EXP__ (-1021)
#define __FLT_MIN__ 1.17549435e-38F
#define __CHAR_BIT__ 8
#define __WCHAR_MAX__ 2147483647
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __FLT_EVAL_METHOD__ 0
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_PATCHLEVEL__ 3
#define sparc 1
#define __SHRT_MAX__ 32767
#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
#define __unix 1
#define __LDBL_MAX_EXP__ 16384
#define __SCHAR_MAX__ 127
#define __USER_LABEL_PREFIX__
#define __STDC_HOSTED__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __DBL_DIG__ 15
#define __FLT_EPSILON__ 1.19209290e-7F
#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
#define __unix__ 1
#define __DECIMAL_DIG__ 36
#define __LDBL_HAS_QUIET_NAN__ 1
#define __GNUC__ 3
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_HAS_INFINITY__ 1
#define __SVR4 1
#define __DBL_MAX_EXP__ 1024
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __sparc__ 1
#define __GXX_ABI_VERSION 1002
#define __FLT_MIN_EXP__ (-125)
#define __DBL_MIN__ 2.2250738585072014e-308
#define __DBL_HAS_QUIET_NAN__ 1
#define __sun 1
#define __REGISTER_PREFIX__
#define __NO_INLINE__ 1
#define __FLT_MANT_DIG__ 24
#define __VERSION__ "3.4.3 (csl-sol210-3_4-20050802)"
#define __sparc 1
#define sun 1
#define unix 1
#define __SIZE_TYPE__ unsigned int
#define __ELF__ 1
#define __FLT_RADIX__ 2
#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MAX_10_EXP__ 38
#define __LONG_MAX__ 2147483647L
#define __FLT_HAS_INFINITY__ 1
#define __PRAGMA_REDEFINE_EXTNAME 1
#define __LDBL_MANT_DIG__ 113
#define __WCHAR_TYPE__ long int
#define __FLT_DIG__ 6
#define __INT_MAX__ 2147483647
#define __FLT_MAX_EXP__ 128
#define __DBL_MANT_DIG__ 53
#define __WINT_TYPE__ long int
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MAX_10_EXP__ 4932
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __sun__ 1
#define __svr4__ 1
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __FLT_MAX__ 3.40282347e+38F
#define __FLT_MIN_10_EXP__ (-37)
#define __GNUC_MINOR__ 4
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
#define __PTRDIFF_TYPE__ int
#define __LDBL_MIN_10_EXP__ (-4931)
#define __LDBL_DIG__ 33
#jens:
Sparc systems from Solaris 10 onwards are always 64bit. X64 systems came in with Solaris 10, though you could still boot a 32bit x86 kernel.
$ isainfo
amd64 i386
$ isainfo -b
64
$ isainfo -v
64-bit amd64 applications
avx xsave pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp ahf cx16 sse3
sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu efs f16c rdrand
32-bit i386 applications
avx xsave pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp ahf cx16 sse3
sse2 sse fxsr mmx cmov sep cx8 tsc fpu efs f16c rdrand
/usr/bin/isainfo is your friend, from the command line.
From a programmatic point of view, examine the #defines in <sys/feature_tests.h>. You'll notice _LP64 ...