OpenMarine

Full Version: segmentation fault
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Everyone,

I have an issue using OpenCPN through OpenPlotter. I have tried both methods described here: http://www.sailoog.com/blog-categories/openplotter-rpi I have updated both openplotter and opencpn. OpenPlotter seems to work find but I cannot start OpenCPN! I tried on 2 different rapsberry (3B and 3B+, SD 16GB) But I have the same issue. 
When I try to double click on the icon nothing happens. When I type opencpn in the command line I get the message : SEGMENTATION FAULT
I tied to run it through the software ddd and here is what I get:

(gdb) run opencpn
Starting program: /usr/bin/opencpn opencpn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x004032c4 in cm93chart::CreateHeaderDataFromCM93Cell() ()
(gdb)

I also tried to uninstall then reinstall OpenCPN without any luck...

Hope you can shed some light on this.

Thanks in advance,
Pierre
Did you compile opencpn with cmake flag -DCMAKE_BUILD_TYPE=Debug
?

This should help the backtrace. Where did you get your cm93 charts?
(2018-10-18, 06:09 PM)seandepagnier Wrote: [ -> ]Did you compile opencpn with cmake flag -DCMAKE_BUILD_TYPE=Debug
?

This should help the backtrace.   Where did you get your cm93 charts?

Hello,

I just used Etcher to make the SD card. Shall I run the cmake in the prompt?

I have not install charts yet as open cpn does not even start..

Thanks