Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-10-2017, 12:21   #1
Registered User

Join Date: Nov 2015
Location: Colorado
Posts: 3
Segmentation fault on Fedora 25

I get a segmentation fault upon starting. This had been working for me on previous Fedora releases. I am running Fedora 25. I tried on several different systems. I tried fresh installs.
I completely removed opencpn and all the data as well ( ~/.opencpn/)
I have googled and can find nothing helpful. I must simply not be doing something right.
Any ideas?
Here is the log file.

10:36:09 MDT: ------- Starting OpenCPN -------
10:36:09 MDT: Version 4.8.0 Build 2017-08-11
10:36:09 MDT: wxWidgets version: wxWidgets 3.0.3 Linux 64 bit wxGTK
10:36:09 MDT: MemoryStatus: mem_total: 31866 mb, mem_initial: 35 mb
10:36:09 MDT: SData_Locn is /usr/share/opencpn/
...
10:36:09 MDT: Using SVG Icons
10:36:09 MDT: Detected display size (horizontal): 510 mm
10:36:09 MDT: Getting DefaultSystemLocale...
10:36:09 MDT: System default Language: en_US
10:36:09 MDT: Config file language: en_US
10:36:09 MDT: Adjusted App language: en_US
10:36:09 MDT: Opencpn language load for: en_US
10:36:09 MDT: Loading catalog for opencpn core.
10:36:09 MDT: Getting DefaultSystemLocale...
10:36:09 MDT: Opencpn language set to: en_US
10:36:11 MDT: Creating MyFrame...size(1344, 840) position(0, 0)
10:36:11 MDT: Creating glChartCanvas

And that's it.
__________________

wknoche is offline   Reply With Quote
Old 17-10-2017, 14:06   #2
Registered User

Join Date: Dec 2005
Location: ENA
Boat: Dufour 35
Posts: 3,350
Re: Segmentation fault on Fedora 25

Thanks for your report.
To help the developers, please follow the Linux instructions on on this page :
https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpnpencpn_user_manual:getting_st arted:help_fix_bugs
Thomas
__________________

cagney is offline   Reply With Quote
Old 18-10-2017, 17:27   #3
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,527
Re: Segmentation fault on Fedora 25

Quote:
Originally Posted by wknoche View Post
I get a segmentation fault upon starting. This had been working for me on previous Fedora releases. I am running Fedora 25. I tried on several different systems. I tried fresh installs.
I completely removed opencpn and all the data as well ( ~/.opencpn/)
I have googled and can find nothing helpful. I must simply not be doing something right.
Any ideas?
Here is the log file.

10:36:09 MDT: ------- Starting OpenCPN -------
10:36:09 MDT: Version 4.8.0 Build 2017-08-11
10:36:09 MDT: wxWidgets version: wxWidgets 3.0.3 Linux 64 bit wxGTK
10:36:09 MDT: MemoryStatus: mem_total: 31866 mb, mem_initial: 35 mb
10:36:09 MDT: SData_Locn is /usr/share/opencpn/
...
10:36:09 MDT: Using SVG Icons
10:36:09 MDT: Detected display size (horizontal): 510 mm
10:36:09 MDT: Getting DefaultSystemLocale...
10:36:09 MDT: System default Language: en_US
10:36:09 MDT: Config file language: en_US
10:36:09 MDT: Adjusted App language: en_US
10:36:09 MDT: Opencpn language load for: en_US
10:36:09 MDT: Loading catalog for opencpn core.
10:36:09 MDT: Getting DefaultSystemLocale...
10:36:09 MDT: Opencpn language set to: en_US
10:36:11 MDT: Creating MyFrame...size(1344, 840) position(0, 0)
10:36:11 MDT: Creating glChartCanvas

And that's it.
Try to run OpenCPN from the command line using
Code:
opencpn -no_opengl
to hard disable the use of OpenGL, which seems to be the cause of your problem.

Pavel
nohal is offline   Reply With Quote
Old 20-10-2017, 08:15   #4
Registered User

Join Date: Nov 2015
Location: Colorado
Posts: 3
Re: Segmentation fault on Fedora 25

Quote:
Originally Posted by nohal View Post
Try to run OpenCPN from the command line using
Code:
opencpn -no_opengl
to hard disable the use of OpenGL, which seems to be the cause of your problem.

Pavel
Thanks Pavel. This was indeed the case.

--bill
wknoche is offline   Reply With Quote
Old 21-10-2017, 17:35   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,527
Re: Segmentation fault on Fedora 25

bill...
I would of course still be interested in seeing the backtrace of your crash to see whether we can do something about it or OpenGL is simply screwed on F25. Link to the instructions on collecting it is in cagney's first reply. And no OpenGL means less features and performance, so it is also in your own interest we have a look at it...

Pavel
nohal is offline   Reply With Quote
Old 23-10-2017, 14:45   #6
Registered User

Join Date: Nov 2015
Location: Colorado
Posts: 3
Re: Segmentation fault on Fedora 25

Sorry for the delay in getting back with the backtrace.

Thread 1 "opencpn" received signal SIGSEGV, Segmentation fault.
0x00007ffff297cc49 in XQueryExtension () from /lib64/libX11.so.6
(gdb) bt
#0 0x00007ffff297cc49 in XQueryExtension () from /lib64/libX11.so.6
#1 0x00007fffe8d78243 in __glXLookupDisplay () from /lib64/libGLX.so.0
#2 0x00007fffe8d74235 in glXQueryVersion () from /lib64/libGLX.so.0
#3 0x00007ffff4e10c07 in wxGLCanvasX11::GetGLXVersion() ()
from /lib64/libwx_gtk3u_gl-3.0.so.0
#4 0x00007ffff4e11225 in wxGLCanvasX11::ConvertWXAttrsToGL(int const*, int*, unsigned long) () from /lib64/libwx_gtk3u_gl-3.0.so.0
#5 0x00007ffff4e11a68 in wxGLCanvasX11::InitXVisualInfo(int const*, __GLXFBConfigRec***, XVisualInfo**) () from /lib64/libwx_gtk3u_gl-3.0.so.0
#6 0x00007ffff4e12c50 in wxGLCanvas::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int const*, wxPalette const&) ()
from /lib64/libwx_gtk3u_gl-3.0.so.0
#7 0x00007ffff4e12df3 in wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint const&, wxSize const&, long, wxString const&, wxPalette const&) ()
from /lib64/libwx_gtk3u_gl-3.0.so.0
#8 0x0000555555a2cf27 in glChartCanvas::glChartCanvas (this=0x5555563e15f0,
parent=0x5555563de800)
at /builddir/build/BUILD/OpenCPN-4.8.0/src/glChartCanvas.cpp:431
#9 0x00005555557badd7 in ChartCanvas::ChartCanvas (this=0x5555563de800,
frame=<optimized out>) at /builddir/build/BUILD/OpenCPN-4.8.0/src/chcanv.cpp:447
#10 0x0000555555755075 in MyApp::OnInit (this=0x5555560703a0)
at /builddir/build/BUILD/OpenCPN-4.8.0/src/chart1.cpp:2086
#11 0x00007ffff3434942 in wxEntry(int&, wchar_t**) () from /lib64/libwx_baseu-3.0.so.0
#12 0x00005555556fb718 in main (argc=<optimized out>, argv=<optimized out>)
at /builddir/build/BUILD/OpenCPN-4.8.0/src/chart1.cpp:901

Let me know if there are other diagnostics you would like.

--bill
__________________

wknoche is offline   Reply With Quote
Reply

Tags
men

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 segmentation error in Debian Squeeze larsed OpenCPN 22 09-05-2013 13:51
Fedora Compile Link Error oystercatcher OpenCPN 4 16-12-2010 15: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 04:09



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 23:50.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.