FLIR One Developer / Blog / Topics / android, crash, FLIRONEExampleApplication, native, SDK / FLIRONEExampleApplication crash during application start

FLIRONEExampleApplication crash during application start

Home Forums Android development Installation and getting started FLIRONEExampleApplication crash during application start

This topic contains 6 replies, has 6 voices, and was last updated by Profile photo of tayadil tayadil 3 weeks, 1 day ago.

Viewing 7 posts - 1 through 7 (of 7 total)

  • Author

    Posts

  • #8335

    Profile photo of Weimin
    Weimin

    Participant

    Description:
    Application crash during app start

    Steps:
    (1) Download the latest Android SDK (3.1.3) and build its Example application
    (2) Install FLIROneExampleApplication into Android Device (Pixel-XL, Android 9)
    (3) Connect FLIR One PRO for Android-USB Type C
    (4) Application detected the device connect and ask me to start it
    (5) After the applicaiton starts, it crashed
    (6) Check the log, found one native crash

    ——— beginning of crash
    03-22 17:01:53.892 29152-29169/com.flir.flironeexampleapplication A/libc: FORTIFY: fwrite: null FILE*
    Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 29169 (GLThread 21744), pid 29152 (mpleapplication)

    Please let me know if it is a solution, thx

    Log:
    03-22 17:01:47.510 29152-29152/? I/mpleapplicatio: Late-enabling -Xcheck:jni
    03-22 17:01:47.693 29152-29152/? I/mpleapplicatio: The ClassLoaderContext is a special shared library.
    03-22 17:01:47.972 29152-29152/com.flir.flironeexampleapplication D/OpenGLRenderer: Skia GL Pipeline
    03-22 17:01:48.220 29152-29152/com.flir.flironeexampleapplication W/linker: Warning: “/data/app/com.flir.flironeexampleapplication-xj0XNg4GqikpRVoOfrzk6w==/lib/arm64/libsystemimage.so” unused DT entry: DT_RPATH (type 0xf arg 0x97243) (ignoring)
    03-22 17:01:48.270 29152-29152/com.flir.flironeexampleapplication D/FP: FrameProcessor constructor
    03-22 17:01:48.272 29152-29152/com.flir.flironeexampleapplication D/FPCF: FrameProcessor updateCameraFiles called
    03-22 17:01:48.274 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/
    03-22 17:01:48.275 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/.DS_Store
    03-22 17:01:48.276 29152-29152/com.flir.flironeexampleapplication D/FPCF: __MACOSX/
    03-22 17:01:48.277 29152-29152/com.flir.flironeexampleapplication D/FPCF: __MACOSX/CameraFiles/
    __MACOSX/CameraFiles/._.DS_Store
    03-22 17:01:48.278 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/
    03-22 17:01:48.279 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/lava.pal
    03-22 17:01:48.280 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/DoubleRainbow2.pal
    03-22 17:01:48.282 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/rainHC.pal
    03-22 17:01:48.284 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/blackhot.pal
    03-22 17:01:48.285 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/web/
    CameraFiles/bin/web/service/
    03-22 17:01:48.286 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/web/service/ppr.asp
    03-22 17:01:48.288 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/ColorWheel_Redhot.pal
    03-22 17:01:48.290 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/Hottest.pal
    03-22 17:01:48.292 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/ColorWheel12.pal
    03-22 17:01:48.293 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/whitehot.pal
    03-22 17:01:48.295 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/ColorWheel6.pal
    03-22 17:01:48.298 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/bw.pal
    03-22 17:01:48.299 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/arctic.pal
    03-22 17:01:48.300 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/iron.pal
    03-22 17:01:48.302 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/rainbow.pal
    03-22 17:01:48.303 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/bin/Coldest.pal
    03-22 17:01:48.304 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/
    03-22 17:01:48.305 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/maps/
    CameraFiles/system/appcore.d/
    03-22 17:01:48.306 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/appcore.d/factory.d/
    CameraFiles/system/appcore.d/factory.d/histRect.rsc
    03-22 17:01:48.307 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/appcore.d/factory.d/alignMode.rsc
    03-22 17:01:48.308 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/appcore.d/factory.d/autoMinSpan.rsc
    CameraFiles/system/appcore.d/config.d/
    03-22 17:01:48.309 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/appcore.d/config.d/conf.cfg
    03-22 17:01:48.313 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/journal.d/
    03-22 17:01:48.314 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/journal.d/restore.rsc
    03-22 17:01:48.315 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/journal.d/journal.rsc
    03-22 17:01:48.316 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/journal.d/journal.rsc.old
    CameraFiles/system/calib.rsc
    03-22 17:01:48.319 29152-29152/com.flir.flironeexampleapplication D/FPCF: storing CameraFiles/system/calib.rsc in cameraFiles
    __MACOSX/CameraFiles/system/
    03-22 17:01:48.320 29152-29152/com.flir.flironeexampleapplication D/FPCF: __MACOSX/CameraFiles/system/._calib.rsc
    03-22 17:01:48.322 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/eeprom.d/
    CameraFiles/system/eeprom.d/0_00A0
    03-22 17:01:48.324 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/system/eeprom.d/0_0100
    03-22 17:01:48.325 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/tmp/
    03-22 17:01:48.325 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/tmp/images/
    03-22 17:01:48.326 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/tmp/prod.log
    03-22 17:01:48.338 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/tmp/postlog.txt
    03-22 17:01:48.345 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/tmp/stage/
    03-22 17:01:48.346 29152-29152/com.flir.flironeexampleapplication D/FPCF: CameraFiles/tmp/ppr/
    CameraFiles/tmp/ppr/ppr.log
    03-22 17:01:48.394 29152-29152/com.flir.flironeexampleapplication W/linker: Warning: “/data/app/com.flir.flironeexampleapplication-xj0XNg4GqikpRVoOfrzk6w==/lib/arm64/libmbwrapper.so” unused DT entry: DT_RPATH (type 0xf arg 0x3961) (ignoring)
    03-22 17:01:48.403 29152-29152/com.flir.flironeexampleapplication I/Device: Starting USB device discovery
    03-22 17:01:48.403 29152-29152/com.flir.flironeexampleapplication D/model: Pixel XL
    03-22 17:01:48.404 29152-29152/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_Device_initNativeBridge
    03-22 17:01:48.405 29152-29152/com.flir.flironeexampleapplication I/JNI: Registering a *new* delegate.
    03-22 17:01:48.410 29152-29170/com.flir.flironeexampleapplication D/NetworkSecurityConfig: No Network Security Config specified, using platform default
    03-22 17:01:48.527 29152-29152/com.flir.flironeexampleapplication I/ThermalCameraClient: Getting chars of path
    Got chars of path, calling jniCallbackDelegate->copyMBCalibrationZip
    03-22 17:01:48.527 29152-29152/com.flir.flironeexampleapplication D/EDW: In copyMBCalibrationZip
    03-22 17:01:48.527 29152-29152/com.flir.flironeexampleapplication I/ThermalCameraClient: Creating mbDevice
    03-22 17:01:48.528 29152-29152/com.flir.flironeexampleapplication I/ServiceManager: Waiting for service ThermalCameraService…
    03-22 17:01:48.611 29152-29170/com.flir.flironeexampleapplication W/System: Ignoring header Cookie because its value was null.
    03-22 17:01:49.528 29152-29152/com.flir.flironeexampleapplication I/ServiceManager: Waiting for service ThermalCameraService…
    03-22 17:01:50.529 29152-29152/com.flir.flironeexampleapplication I/ServiceManager: Waiting for service ThermalCameraService…
    03-22 17:01:51.529 29152-29152/com.flir.flironeexampleapplication I/ServiceManager: Waiting for service ThermalCameraService…
    03-22 17:01:52.532 29152-29152/com.flir.flironeexampleapplication I/ServiceManager: Waiting for service ThermalCameraService…
    03-22 17:01:53.533 29152-29152/com.flir.flironeexampleapplication E/JNI: WTF NO Cam
    03-22 17:01:53.533 29152-29152/com.flir.flironeexampleapplication E/I2C: reading 1 words at 2
    reading 1 words at 2
    failed to open port: -108
    03-22 17:01:53.534 29152-29152/com.flir.flironeexampleapplication D/EDW: Calling mbDevice->readCalibration with mbDevice = 0x7080e37190 and str = /storage/emulated/0/Android/data/com.flir.flironeexampleapplication/files/cf.zip
    03-22 17:01:53.534 29152-29152/com.flir.flironeexampleapplication I/ThermalCameraClient: Called jniCallbackDelegate->copyMBCalibrationZip, releasing chars
    03-22 17:01:53.538 29152-29152/com.flir.flironeexampleapplication I/Device: Starting USB device discovery
    03-22 17:01:53.554 29152-29152/com.flir.flironeexampleapplication I/Device: Attempting to connect to any valid USB device
    03-22 17:01:53.577 29152-29152/com.flir.flironeexampleapplication I/Device: Attempting to connect to USB device (ProductID = 0x1996, VendorID = 0x9cb)
    03-22 17:01:53.581 29152-29152/com.flir.flironeexampleapplication I/Device: Physical device constructor
    03-22 17:01:53.583 29152-29152/com.flir.flironeexampleapplication D/UsbRequestJNI: init
    03-22 17:01:53.583 29152-29152/com.flir.flironeexampleapplication I/chatty: uid=11034(com.flir.flironeexampleapplication) identical 1 line
    03-22 17:01:53.583 29152-29152/com.flir.flironeexampleapplication D/UsbRequestJNI: init
    03-22 17:01:53.583 29152-29152/com.flir.flironeexampleapplication W/UsbCommunicator: Unknown USB_DIR_OUT Endpoint on device!
    03-22 17:01:53.588 29152-29152/com.flir.flironeexampleapplication D/UsbCommunicator: Result from control transfer: 0
    03-22 17:01:53.591 29152-29152/com.flir.flironeexampleapplication D/UsbCommunicator: Result from control transfer: 0
    03-22 17:01:53.591 29152-29152/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_Device_initNativeBridge
    03-22 17:01:53.591 29152-29152/com.flir.flironeexampleapplication I/JNI: Updating existing delegte.
    03-22 17:01:53.592 29152-29152/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FlirUsbDevice_setUsbCommunicator
    03-22 17:01:53.593 29152-29152/com.flir.flironeexampleapplication I/Device: Opening device
    Opening USB device
    03-22 17:01:53.593 29152-29152/com.flir.flironeexampleapplication D/com.flir.flironesdk.FlirUsbDevice: onCommunicationAvailabilityChange!
    03-22 17:01:53.594 29152-29152/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FlirUsbDevice_deviceConnectionDidChange
    03-22 17:01:53.598 29152-29152/com.flir.flironeexampleapplication D/UsbCommunicator: Result from control transfer: 0
    03-22 17:01:53.600 29152-29177/com.flir.flironeexampleapplication D/configReadRequest: Starting configReadRequest poll loop…
    03-22 17:01:53.602 29152-29177/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FlirUsbDevice_handleDataFromDevice
    03-22 17:01:53.604 29152-29177/com.flir.flironeexampleapplication I/chatty: uid=11034(com.flir.flironeexampleapplication) Thread-3 identical 1 line
    03-22 17:01:53.605 29152-29177/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FlirUsbDevice_handleDataFromDevice
    03-22 17:01:53.606 29152-29175/com.flir.flironeexampleapplication D/JNI: In RBPDeviceDidConnect, deviceInformation (F07I4L0000B, invalid, invalid, 2350625, 3.3.26, invalid, 1.0.27, 1.0.27, 1.0.27, master.bc654fc, master.bc654fc, OPERATIONAL)
    ABOUT TO READ CAMERA FILES…
    03-22 17:01:53.607 29152-29175/com.flir.flironeexampleapplication D/JNI: In RBPDeviceDidConnect (DONE)
    03-22 17:01:53.607 29152-29178/com.flir.flironeexampleapplication D/JNI: READING CAMERA FILES…
    03-22 17:01:53.609 29152-29178/com.flir.flironeexampleapplication D/JNI: CREATED FIS…
    03-22 17:01:53.609 29152-29175/com.flir.flironeexampleapplication I/RDW: in outboundDataReadyForTransport
    03-22 17:01:53.610 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Sending 16 bytes on EP2
    03-22 17:01:53.611 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Bulk transfer sent 16 bytes on Endpoint 2
    03-22 17:01:53.612 29152-29175/com.flir.flironeexampleapplication I/RDW: in outboundDataReadyForTransport
    03-22 17:01:53.613 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Sending 65 bytes on EP2
    03-22 17:01:53.615 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Bulk transfer sent 65 bytes on Endpoint 2
    03-22 17:01:53.623 29152-29177/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FlirUsbDevice_handleDataFromDevice
    03-22 17:01:53.624 29152-29175/com.flir.flironeexampleapplication I/RDW: in outboundDataReadyForTransport
    03-22 17:01:53.625 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Sending 16 bytes on EP2
    03-22 17:01:53.626 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Bulk transfer sent 16 bytes on Endpoint 2
    03-22 17:01:53.627 29152-29175/com.flir.flironeexampleapplication I/RDW: in outboundDataReadyForTransport
    03-22 17:01:53.627 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Sending 51 bytes on EP2
    03-22 17:01:53.628 29152-29175/com.flir.flironeexampleapplication D/UsbCommunicator: Bulk transfer sent 51 bytes on Endpoint 2
    03-22 17:01:53.631 29152-29177/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FlirUsbDevice_handleDataFromDevice
    03-22 17:01:53.631 29152-29175/com.flir.flironeexampleapplication E/RDW: (693fb4f0)[RBProtocolGenericPacketParser.c: 129 RBProtocol_genericPacketParser_consumeBuffer]: Received magic number 0x9A2F7F1B, expected 0x5510
    03-22 17:01:53.631 29152-29175/com.flir.flironeexampleapplication W/RDW: (693fb4f0)[RBProtocolGenericPacketParser.c: 192 RBProtocol_genericPacketParser_consumeBuffer]: Generic packet parser encountered an error while trying to parse buffer 0x7077120050 with 7378 of 7402 bytes left
    03-22 17:01:53.631 29152-29175/com.flir.flironeexampleapplication E/RDW: (693fb4f0)[RBProtocolParserFunctions.c: 885 RBProtocolParserParseIncomingBuffer]: generic packet parser is in an error state!
    03-22 17:01:53.759 29152-29179/com.flir.flironeexampleapplication I/Adreno: QUALCOMM build : d7977ce, Ife855c4895
    Build Date : 08/21/18
    OpenGL ES Shader Compiler Version: EV031.25.00.00
    Local Branch : master
    Remote Branch :
    Remote Branch :
    Reconstruct Branch :
    Build Config : S L 4.0.10 AArch64
    03-22 17:01:53.774 29152-29179/com.flir.flironeexampleapplication I/Adreno: PFP: 0x005ff110, ME: 0x005ff066
    03-22 17:01:53.787 29152-29179/com.flir.flironeexampleapplication I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
    android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
    03-22 17:01:53.790 29152-29179/com.flir.flironeexampleapplication I/OpenGLRenderer: Initialized EGL, version 1.4
    03-22 17:01:53.790 29152-29179/com.flir.flironeexampleapplication D/OpenGLRenderer: Swap behavior 1
    03-22 17:01:53.829 29152-29169/com.flir.flironeexampleapplication W/onSurfaceCreated: called java
    03-22 17:01:53.829 29152-29169/com.flir.flironeexampleapplication W/onSurfaceChanged: called java
    03-22 17:01:53.829 29152-29169/com.flir.flironeexampleapplication W/onDrawFrame: called
    03-22 17:01:53.829 29152-29169/com.flir.flironeexampleapplication D/onDrawFrame: runnableQueue
    03-22 17:01:53.831 29152-29169/com.flir.flironeexampleapplication D/JNI: entering Java_com_flir_flironesdk_FrameProcessor_nativeInitPipeline
    03-22 17:01:53.831 29152-29169/com.flir.flironeexampleapplication D/NIP: creating new pipeline

    ——— beginning of crash
    03-22 17:01:53.892 29152-29169/com.flir.flironeexampleapplication A/libc: FORTIFY: fwrite: null FILE*
    Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 29169 (GLThread 21744), pid 29152 (mpleapplication)

    • This topic was modified 7 months, 3 weeks ago by Profile photo of Weimin Weimin.
    • This topic was modified 7 months, 3 weeks ago by Profile photo of Weimin Weimin.

    #8338

    Profile photo of Hao
    Hao

    Participant

    Exactly the same error with me.

    #9972

    Exactly the same error with me.

    #10014

    Profile photo of James
    James

    Participant

    I have tried running the sample application supplied with 3.1.3 on multiple platforms and tried both GLPreviewActivity and PreviewActivity with the same results, it crashes on start up. I am testing on a Lenovo tablet running 8.1, a Samsung 10+ running 9.0, and a Samsung Tab 2 running 7.0

    • This reply was modified 1 month, 1 week ago by Profile photo of James James.

    #10017

    Profile photo of Gavin
    Gavin

    Keymaster

    Hey all,

    The current SDK is not compatible with Android 9. However, the new SDK, which is planning to be released late October will be compatible, so I recommend waiting for its release.

    Gavin
    FLIR One Community Support

    #10023

    Profile photo of James
    James

    Participant

    Update:

    Device: LENOVO TB-X104F
    Android SDK Version: 8.1.0
    FLIR SDK Version: 3.1.3

    Logcat for selected application:
    2019-10-08 10:57:28.850 27297-27297/com.flir.flironeexampleapplication E/ProcessState: Binder driver protocol does not match user space protocol!
    2019-10-08 10:57:28.850 27297-27297/com.flir.flironeexampleapplication E/ProcessState: Binder ioctl to set max threads failed: Bad file descriptor
    2019-10-08 10:57:28.850 27297-27297/com.flir.flironeexampleapplication A/ProcessState: Binder driver could not be opened. Terminating.
    2019-10-08 10:57:28.850 27297-27297/com.flir.flironeexampleapplication A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 27297 (mpleapplication), pid 27297 (mpleapplication)

    can anyone help me

    #10056

    Profile photo of tayadil
    tayadil

    Participant

    Exactly the same error with me.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.