This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
segmentation fault
#1
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
Reply
#2
Did you compile opencpn with cmake flag -DCMAKE_BUILD_TYPE=Debug
?

This should help the backtrace. Where did you get your cm93 charts?
Reply
#3
(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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)