Skip to content

When restarting LiveView branch flightview with 1280 by 328 image while the FPIE-D is sending the camera link data, LiveView is crashing; LiveView master branch is working #2

@didierkey

Description

@didierkey

We use the following LiveView:

rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/LiveViewLegacy$ git status
On branch flightview
Your branch is up to date with 'origin/flightview'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)
        modified:   cuda_take/include/mean_filter.hpp
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
        modified:   cuda_take/Makefile
        modified:   liveview.pro
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        cuda_take/Makefile-orig
        liveview.pro-orig
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/LiveViewLegacy$ git config -l
etc ...
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/nasa-jpl/LiveViewLegacy.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
branch.flightview.remote=origin
branch.flightview.merge=refs/heads/flightview
submodule.gpsGUI.active=true
submodule.gpsGUI.url=git@github.jpl.nasa.gov:aviris/gpsGUI.git
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/LiveViewLegacy$ pwd
/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/LiveViewLegacy
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/LiveViewLegacy$

LiveView is configured with

rduce@emit02:/opt/EDTpdv/camera_config$ ls -la
total 48
drwxr-xr-x  2 rduce rduce  4096 Jan 11 17:23 .
drwxr-xr-x 21 root  root  12288 Sep 29 12:54 ..
-rw-rw-r--  1 rduce rduce  8118 Aug 24 14:34 itb.cfg
-rw-rw-r--  1 rduce rduce  7950 Aug 24 14:34 NGIS.cfg
-rw-rw-r--  1 rduce rduce  8123 Jan 11 17:23 prism2_328_1280.cfg
-rw-rw-r--  1 rduce rduce  8123 Aug 24 14:34 prism2.cfg
[1]+  Done                    gedit prism2_328_1280.cfg
rduce@emit02:/opt/EDTpdv/camera_config$ initcam -f /opt/EDTpdv/camera_config/prism2_328_1280.cfg
opening pdv unit 0....
done
rduce@emit02:/opt/EDTpdv/camera_config$ 

The FPIE-D is sending camera link data with 1280 by 328 bands.
If we close LiveView and Restart to synchronize the start of the image we see this:

  1. First we start LiveView
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/build/lv_release$ ./liveview
test
This version of cuda_take was compiled on Sep 29 2021 at 13:21:09 using gcc 7
The compilation was perfromed by rduce @ emit02
2s compliment filter ENABLED
This version of LiveView was compiled on Sep 29 2021 at 13:26:42 using gcc 7
The compilation was performed by rduce @ emit02
DEBUG MESSAGE IN FLIGHT WIDGET: Starting flight screen widget
WATERFALL: Created specImage with height 1024 and width 1280.
WATERFALL: Finished waterfall constructor.
bool QCPLayoutGrid::addElement(int, int, QCPLayoutElement*) Can't add null element to row/column: 0 -1
DEBUG MESSAGE IN FLIGHT WIDGET: Starting liveview in LAB mode.
DEBUG MESSAGE IN FLIGHT WIDGET: Finished flight constructor.
MainWindow::MainWindow(startupOptionsType, QThread*, frameWorker*, QWidget*) started
x= 2 y= 326
x= 6 y= 323
  1. Second we program FPIE-D for sending camera link data, LiveView is grabbing data but first line is not synchronize:

image

  1. Third we close LiveView
  2. Fourth we restart LiveView to get synchronization of image and Liveview Segmentation fault
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/build/lv_release$ ./liveview
test
This version of cuda_take was compiled on Sep 29 2021 at 13:21:09 using gcc 7
The compilation was perfromed by rduce @ emit02
2s compliment filter ENABLED
This version of LiveView was compiled on Sep 29 2021 at 13:26:42 using gcc 7
The compilation was performed by rduce @ emit02
DEBUG MESSAGE IN FLIGHT WIDGET: Starting flight screen widget
WATERFALL: Created specImage with height 1024 and width 1280.
WATERFALL: Finished waterfall constructor.
bool QCPLayoutGrid::addElement(int, int, QCPLayoutElement*) Can't add null element to row/column: 0 -1
DEBUG MESSAGE IN FLIGHT WIDGET: Starting liveview in LAB mode.
DEBUG MESSAGE IN FLIGHT WIDGET: Finished flight constructor.
MainWindow::MainWindow(startupOptionsType, QThread*, frameWorker*, QWidget*) started
Segmentation fault (core dumped)
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/branch_flightview/build/lv_release$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions