Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 27-07-2018, 05:45   #1
Registered User
 
ScubaTyke's Avatar

Join Date: Jun 2018
Location: Mediterranean.
Boat: Olympic Sea 42
Posts: 36
Fedora 28

I get a strange crash when I try to run after installing from the repo. The same crash after rebuilding from srpm. Am I missing something obvious?


$ opencpn
15:26:41: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1012,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).

*** opencpn (wxWidgets 3.0.4) crashed ***, see backtrace!
0x562e974e2f58 in wxCrashPrint::Report() at ??:0
0x7f5dd497cef6 in at ??:0
0x7f5dcfca4fc0 in at ??:0
0x7f5dd3df5afd in XQueryExtension at ??:0
0x7f5dcc176522 in at ??:0
0x7f5dcc172549 in glXQueryVersion at ??:0
0x7f5dd626d225 in wxGLCanvasX11::GetGLXVersion() at ??:0
0x7f5dd626e265 in wxGLCanvasX11::ConvertWXAttrsToGL(int const*, int*, unsigned long) at ??:0
0x7f5dd626e99c in wxGLCanvasX11::InitXVisualInfo(int const*, __GLXFBConfigRec***, XVisualInfo**) at ??:0
0x7f5dd626f083 in wxGLCanvas::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int const*, wxPalette const&) at ??:0
0x7f5dd626f227 in wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint const&, wxSize const&, long, wxString const&, wxPalette const&) at ??:0
0x562e974e8d23 in glChartCanvas::glChartCanvas(wxWindow*) at ??:0
0x562e972930ab in ChartCanvas::ChartCanvas(wxFrame*) at ??:0
0x562e9723a7c6 in MyApp::OnInit() at ??:0
0x7f5dd48bf3d2 in wxEntry(int&, wchar_t**) at ??:0
0x562e971e5b0c in main at ??:0
Aborted (core dumped)


Log File

15:49:39 EEST: 2018-07-27
15:49:39 EEST: ------- Starting OpenCPN -------
15:49:39 EEST: Version 4.8.0 Build 2017-08-11
15:49:39 EEST: wxWidgets version: wxWidgets 3.0.3 Linux 64 bit wxGTK
15:49:39 EEST: MemoryStatus: mem_total: 15919 mb, mem_initial: 35 mb
15:49:39 EEST: SData_Locn is /usr/share/opencpn/
15:49:39 EEST: PrivateDataDir is /home/mark/.opencpn
15:49:39 EEST: Creating new Config_File: /home/mark/.opencpn/opencpn.conf
15:49:39 EEST: Switch InlandEcdis mode Off
15:49:39 EEST: Setting Viewpoint Lat/Lon 33.358, -79.282
15:49:39 EEST: Setting Ownship Lat/Lon 33.358, -79.282
15:49:39 EEST: Styles loading from /usr/share/opencpn/uidata/styles.xml
15:49:39 EEST: No styles found at: /home/mark/
15:49:39 EEST: No styles found at: /home/mark/.opencpn/
15:49:39 EEST: Using SVG Icons
15:49:39 EEST: Detected display size (horizontal): 340 mm
15:49:39 EEST: Getting DefaultSystemLocale...
15:49:39 EEST: System default Language: en_CA
15:49:39 EEST: Config file language: en_US
15:49:39 EEST: Adjusted App language: en_US
15:49:39 EEST: Opencpn language load for: en_US
15:49:39 EEST: Loading catalog for opencpn core.
15:49:39 EEST: Getting DefaultSystemLocale...
15:49:39 EEST: Opencpn language set to: en_US
15:49:42 EEST: Creating MyFrame...size(1344, 756) position(0, 0)
15:49:42 EEST: Creating glChartCanvas
15:55:00 EEST:


Thanks in advance for any pointers.
ScubaTyke is offline   Reply With Quote
Old 27-07-2018, 06:27   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,183
Re: Fedora 28

Scuba...

Looks like an OpenGL driver problem.

To confirm, try editing the OpenCPN config file (~/.opencpn/opencpn.conf) and change the line:

OpenGL=1

to

OpenGL=0

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-07-2018, 11:02   #3
Registered User
 
ScubaTyke's Avatar

Join Date: Jun 2018
Location: Mediterranean.
Boat: Olympic Sea 42
Posts: 36
Re: Fedora 28

Cheers Dave

Unfortunately there isn't an opencpn.conf , do you know if it gets created at first run or on install?

Cheers
Mark

Quote:
Originally Posted by bdbcat View Post
Scuba...

Looks like an OpenGL driver problem.

To confirm, try editing the OpenCPN config file (~/.opencpn/opencpn.conf) and change the line:

OpenGL=1

to

OpenGL=0

Thanks
Dave
ScubaTyke is offline   Reply With Quote
Old 27-07-2018, 12:38   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,942
Re: Fedora 28

Code:
15:49:39 EEST: Creating new Config_File: /home/mark/.opencpn/opencpn.conf
??
bcn is offline   Reply With Quote
Old 27-07-2018, 17:14   #5
Registered User
 
ScubaTyke's Avatar

Join Date: Jun 2018
Location: Mediterranean.
Boat: Olympic Sea 42
Posts: 36
Re: Fedora 28

the log file is created but not the conf file

Quote:
Originally Posted by bcn View Post
Code:
15:49:39 EEST: Creating new Config_File: /home/mark/.opencpn/opencpn.conf
??
ScubaTyke is offline   Reply With Quote
Old 28-07-2018, 02:48   #6
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 2,152
Re: Fedora 28

Quote:
Originally Posted by ScubaTyke View Post
the log file is created but not the conf file
It is, maybe not visible.
CarCode is offline   Reply With Quote
Old 28-07-2018, 03:08   #7
Registered User

Join Date: Jun 2015
Posts: 372
Re: Fedora 28

Quote:
Originally Posted by ScubaTyke View Post
Cheers Dave

Unfortunately there isn't an opencpn.conf , do you know if it gets created at first run or on install?

Cheers
Mark
Don't know if it's still working but you can run:
opencpn -no_opengl
did-g is offline   Reply With Quote
Old 28-07-2018, 04:09   #8
Registered User
 
ScubaTyke's Avatar

Join Date: Jun 2018
Location: Mediterranean.
Boat: Olympic Sea 42
Posts: 36
Re: Fedora 28

Quote:
Originally Posted by CarCode View Post
It is, maybe not visible.
not even a hidden opencpn.conf file
ScubaTyke is offline   Reply With Quote
Old 28-07-2018, 04:10   #9
Registered User
 
ScubaTyke's Avatar

Join Date: Jun 2018
Location: Mediterranean.
Boat: Olympic Sea 42
Posts: 36
Re: Fedora 28

Quote:
Originally Posted by did-g View Post
Don't know if it's still working but you can run:
opencpn -no_opengl
Ok, thanks, that works so OpenGL is the problem.

Still no config file being created anywhere on the system though...
ScubaTyke is offline   Reply With Quote
Old 28-07-2018, 05:48   #10
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 2,152
Re: Fedora 28

Quote:
Originally Posted by ScubaTyke View Post
not even a hidden opencpn.conf file
Do you really know how to make visible hidden files?
CarCode is offline   Reply With Quote
Old 28-07-2018, 06:17   #11
Registered User

Join Date: Jun 2015
Posts: 372
Re: Fedora 28

Quote:
Originally Posted by bcn View Post
Code:
15:49:39 EEST: Creating new Config_File: /home/mark/.opencpn/opencpn.conf
??
But is a config file really created after that line? Even after program unexpected exit?


Moreover log timestamping is weird:
3 seconds and 18 seconds.?
Code:
15:49:39 EEST: Opencpn language set to: en_US
15:49:42 EEST: Creating MyFrame...size(1344, 756) position(0, 0)
15:49:42 EEST: Creating glChartCanvas
 15:55:00 EEST:
did-g is offline   Reply With Quote
Old 28-07-2018, 07:53   #12
Registered User
 
ScubaTyke's Avatar

Join Date: Jun 2018
Location: Mediterranean.
Boat: Olympic Sea 42
Posts: 36
Re: Fedora 28

Quote:
Originally Posted by CarCode View Post
Do you really know how to make visible hidden files?
lol, yes I really do
ScubaTyke is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN - Fedora 14 - GPSD michaeld OpenCPN 9 30-08-2011 08:44
Fedora Compile Link Error oystercatcher OpenCPN 4 16-12-2010 16:37
Fedora 13 Compilation Failure . . . PorkLoin OpenCPN 9 20-09-2010 22:38
Compiling on Fedora 12 teejayevans OpenCPN 29 01-04-2010 00:34
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 05:09

Advertise Here


All times are GMT -7. The time now is 19:36.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.