Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
didierkey opened this issue Jan 12, 2022 · 1 comment

Comments

@didierkey
Copy link
Collaborator

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
[email protected]: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$
@didierkey didierkey changed the title When restarting LiveView branch flightview with 1280 by 328 image while the FPIE-D is sending the camera link data, LiveView is crashing 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 Jan 12, 2022
@didierkey
Copy link
Collaborator Author

when using the liveView Master branch we have no issues:

We are using:

rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/master/LiveViewLegacy$ git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        cuda_take/Makefile-old
nothing added to commit but untracked files present (use "git add" to track)
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/master/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/master:refs/remotes/origin/master
branch.master.remote=origin
branch.master.merge=refs/heads/master
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/master/LiveViewLegacy$ 

we follow the process:

  1. Start FPIE-D and send camera Link 1280 by 328
  2. Start LiveView and we have no issue
    Can see the correct synchronization
    image

and we see nor Segment fault resulting from starting LiveView. There is segment fault resulting from closing LiveView

rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/master/build/lv_release$ ./liveview
This version of cuda_take was compiled on Sep 29 2021 at 11:23:14 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 11:23:57 using gcc 7
The compilation was performed by rduce @ emit02
Segmentation fault (core dumped)
rduce@emit02:/mnt/DATA1/Applications/LiveView/NasaJPL_github_LiveViewLegacy/master/build/lv_release$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant