Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-04-2014, 02:53   #1
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Ubuntu 14.04 64bit crashes for opengl

Hi,

current version crashes for me when enabling opengl since upgrading to Ubuntu 14.04 64bit. I built some older versions (incl 3.2.0) but they crash as well. Anyone has an idea? I get the following stacktrace (after setting _Xdebug=1) in gdb:
Code:
#0  0x00007ffff14d7420 in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1  0x00007ffff14d45e7 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007ffff14d4695 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#3  0x00007ffff14d5578 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007ffff14d10cd in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007ffff14d115b in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007ffff14b77bf in XFillRectangle () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007ffff4273f56 in gdk_draw_rectangle () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#8  0x00007ffff4273f56 in gdk_draw_rectangle () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#9  0x00007ffff76797de in wxWindowDC::Clear() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#10 0x000000000064994e in PianoWin::OnPaint (this=0xe58b70, event=...) at /home/nkiesel/Projects/OpenCPN/src/statwin.cpp:283
#11 0x00007ffff7b68966 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#12 0x00007ffff7b68a0b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#13 0x00007ffff7b68d77 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#14 0x00007ffff76968e7 in wxWindow::GtkSendPaintEvents() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#15 0x00007ffff7696da4 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#16 0x00007ffff46317e5 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007ffff3ba33b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff3bb4d3d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff3bbc6f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff3bbcce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff4741674 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x00007ffff46305e0 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#23 0x00007ffff4292f1f in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007ffff4292ec5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#25 0x00007ffff4292ec5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff4292ec5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#27 0x00007ffff4292ec5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#28 0x00007ffff4292ec5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#29 0x00007ffff4292ec5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#30 0x00007ffff428fb9a in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#31 0x00007ffff4290478 in gdk_window_process_all_updates () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#32 0x00007ffff45b8e21 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00007ffff426fce7 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#34 0x00007ffff38d3ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff38d4048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff38d40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff462f611 in gtk_main_iteration () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#38 0x00007ffff7670315 in wxApp::Yield(bool) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#39 0x00000000005085fd in MyApp::OnInit (this=0xbe5a70) at /home/nkiesel/Projects/OpenCPN/src/chart1.cpp:2141
#40 0x000000000052742f in wxAppConsole::CallOnInit (this=0xbe5a70) at /usr/include/wx-2.8/wx/app.h:76
#41 0x00007ffff7b15e4c in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#42 0x0000000000504c46 in main (argc=1, argv=0x7fffffffe3c8) at /home/nkiesel/Projects/OpenCPN/src/chart1.cpp:773
__________________

__________________
nkiesel is offline   Reply With Quote
Old 15-04-2014, 03:37   #2
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Ubuntu 14.04 64bit crashes for opengl

I am not on Linux but Mac OS X with x86_64.
Can you try wxWidgets 2.95 or even 3.0 instead of v2.8?

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 15-04-2014, 07:35   #3
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Ubuntu 14.04 64bit crashes for opengl

So this crash never occured in previous versions of ubuntu?

Maybe you can try a different window manager? lxde, xfce4 etc...? Is ubuntu using mir or xorg?
__________________
boat_alexandra is offline   Reply With Quote
Old 15-04-2014, 10:01   #4
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Re: Ubuntu 14.04 64bit crashes for opengl

Quote:
Originally Posted by CarCode View Post
I am not on Linux but Mac OS X with x86_64.
Can you try wxWidgets 2.95 or even 3.0 instead of v2.8?

Gerhard
I tried to compile against 3.0 (which I think is actually a 2.95 snapshot) that is available pre-packaged but got compile errors (seems some methods were removed). Is that version working for MacOS? If so, perhaps there are already some #ifdefs in the code I could use to work around this problem.
__________________
nkiesel is offline   Reply With Quote
Old 15-04-2014, 10:15   #5
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Re: Ubuntu 14.04 64bit crashes for opengl

Quote:
Originally Posted by boat_alexandra View Post
So this crash never occured in previous versions of ubuntu?

Maybe you can try a different window manager? lxde, xfce4 etc...? Is ubuntu using mir or xorg?
Nope, 13.10 did not crash. I'm using Xorg (with Gnome Shell instead of Unity), and the open-source Intel driver for i915.

I will try with different window managers and see what happens.
__________________
nkiesel is offline   Reply With Quote
Old 15-04-2014, 15:23   #6
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Ubuntu 14.04 64bit crashes for opengl

I have just upgraded to Kubuntu 14.04. Of course using the KDE windows manager. Quick tests does not show any problems with latest mainstream git code.
I'll upgrade wxgtk from 2.8 to 3.0 and and see how that works when compiling, tomorrow...

Thomas
__________________
cagney is offline   Reply With Quote
Old 19-04-2014, 14:07   #7
Registered User

Join Date: Mar 2014
Boat: Sovereign 24
Posts: 72
Re: Ubuntu 14.04 64bit crashes for opengl

Seems to be working good with my 32bit 14.04 running OpenCPN 3.3.1419.

Is there a Ubuntu 14.04 repository ppa planned for OpenCPN?
__________________
Phantoms is offline   Reply With Quote
Old 19-04-2014, 14:18   #8
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Ubuntu 14.04 64bit crashes for opengl

Quote:
Originally Posted by Phantoms View Post
Seems to be working good with my 32bit 14.04 running OpenCPN 3.3.1419.

Is there a Ubuntu 14.04 repository ppa planned for OpenCPN?
Have a look! 14.04, aka "Trusty", is already in the ppa.
https://launchpad.net/~nohal/+archive/opencpn

Thomas
__________________
cagney is offline   Reply With Quote
Old 19-04-2014, 17:59   #9
Registered User

Join Date: Mar 2014
Boat: Sovereign 24
Posts: 72
Re: Ubuntu 14.04 64bit crashes for opengl

Quote:
Originally Posted by cagney View Post
Have a look! 14.04, aka "Trusty", is already in the ppa.
https://launchpad.net/~nohal/+archive/opencpn

Thomas
I had this one in my repositories that hasn't been updated for trusty:

Code:
http://ppa.launchpad.net/opencpn/opencpn/ubuntu
Is that the correct ppa?
__________________
Phantoms is offline   Reply With Quote
Old 19-04-2014, 18:22   #10
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Ubuntu 14.04 64bit crashes for opengl

Phantoms...
Both the PPAs are correct, but Trusty packages are and will be available just in the beta one (the one with nohal in the name) until the next stable OpenCPN release, or at least that's my plan for now, when Trusty is just a couple of days old...

Pavel
__________________
nohal is offline   Reply With Quote
Old 19-04-2014, 18:42   #11
Registered User

Join Date: Mar 2014
Boat: Sovereign 24
Posts: 72
Re: Ubuntu 14.04 64bit crashes for opengl

Quote:
Originally Posted by nohal View Post
Phantoms...
Both the PPAs are correct, but Trusty packages are and will be available just in the beta one (the one with nohal in the name) until the next stable OpenCPN release, or at least that's my plan for now, when Trusty is just a couple of days old...

Pavel
Ok, added the nohal one and updated to 3.3.1606. Still runs fine on my 14.04 32bit system. So nkiesel's problem must be with the 64bit side of Ubuntu.
__________________
Phantoms is offline   Reply With Quote
Old 12-05-2014, 12:56   #12
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Re: Ubuntu 14.04 64bit crashes for opengl

Just a quick update: the latest GIT head no longer crashes with the current Ubuntu 14.04 64bit. No idea why, might very well be an Ubuntu update that fixed it.

So I'm officially a happy sailor again!

Next up is Spinnaker Cup from San Francisco to Monterey (about 90 miles costal race)
__________________

__________________
nkiesel is offline   Reply With Quote
Reply

Thread Tools
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 in UBUNTU (12.04 64bit) will not Unpack Don1500 OpenCPN 21 22-04-2014 04:19
Open 3.2.2 Crashes on Ubuntu 12.04 64 bit redog OpenCPN 35 06-08-2013 23:03
OCPN installation on Ubuntu 12.10 64bit fails. HotRod OpenCPN 37 03-05-2013 11:17
3.0.0 on Ubuntu 12.04 armhf - Crashes When Opening ENC bobmor99 OpenCPN 21 27-07-2012 15:27
Opencpn 2.2 Build 823 Crashes when Dashboard Is Opened in Ubuntu tebsin OpenCPN 1 24-08-2010 15:16



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 17:35.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.