segmentation fault - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: segmentation fault (/showthread.php?tid=1539) |
segmentation fault - racoon44 - 2018-10-17 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 RE: segmentation fault - seandepagnier - 2018-10-18 Did you compile opencpn with cmake flag -DCMAKE_BUILD_TYPE=Debug ? This should help the backtrace. Where did you get your cm93 charts? RE: segmentation fault - racoon44 - 2018-10-22 (2018-10-18, 06:09 PM)seandepagnier Wrote: Did you compile opencpn with cmake flag -DCMAKE_BUILD_TYPE=Debug 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 |