Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 24-05-2013, 16:26   #1
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Hi
Is anyone getting problems like me.

2 x 3 hour trips produced 6 crashes.(all requiring computer reboot)

3 of these crashes took me through the welcome/warning screen you see after a new install.
In these 3 instances all settings were lost and O had zero's in all user variable fields.
1 occasion the notice that opencpn.log would be saved as .log.log

Multiple track lines seen on 1 occasion where the boat was shown to be returning back and forth along the very near same track line.(attached)
As expected the distance covered and speed achieved is just ludicrous.

This would appear at a glance to be GPS error, but till changing to this new computer and OS, the master GPS has been proven to be reliable.
So next trip time to swap over GPS sources between computers and prove master GPS source.

I'm also getting media player crashes but none of these cause the computer to lock-up, and its just a simple case of closing the application, and restarting.

So
Computer?
OS?
I'm at the point of wanting to revert back to 32 bit in an attempt to eliminate theories as I never had a problem with it.


redog
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2013-05-25 07:29:06.png
Views:	95
Size:	261.5 KB
ID:	61299  
__________________

__________________
redog is offline   Reply With Quote
Old 25-05-2013, 07:56   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

redog....

It is unusual for a user-space program to crash the OS in linux.
When it crashes, is the OS dead?

Does it crash just sitting there, or does it need to be underway and tracking? Does it crash with tracking turned off? Does it crash with dashboard turned off?

I wonder if running OpenCPN under ddd (debugger) would give a useful stack backtrace on a crash.

The track stuttering error has been seen before, but not yet debugged.
If you have this jerky track saved in your system (in navobj.xml), perhaps you could post it here for study. Do all those incorrect segments going down to the southeast all terminate at the same point? Anything special about this point?

Also, there may be something useful in the opencpn.log file.



Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 25-05-2013, 16:46   #3
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Dave
Lets step this through in pieces.
I just had it crash whilst replying to you and lost everything I had written.
I was running under ddd and as in the past with a full lockup no details got saved.

1 Jerky track.

"The track stuttering error has been seen before, but not yet debugged.
If you have this jerky track saved in your system (in navobj.xml), perhaps you could post it here for study. Do all those incorrect segments going down to the southeast all terminate at the same point? Anything special about this point?"


Southeast points are random and generated by system.
Not a previously saved waypoint etc.

I have posted 2 tracks, 1 from each computer of the same trip.
Also previous post on this problem here.
Beta Test / Technical
No crashes on this trip also 6 hours long.

Having trouble uploading .log files.
What format is preferred?

Answer to crashes I need to get my head around and will post here later.

redog
Attached Files
File Type: gpx 2013-05-24-64bit.gpx (195.3 KB, 41 views)
File Type: gpx 2013-05-24-32bit.gpx (112.3 KB, 32 views)
__________________
redog is offline   Reply With Quote
Old 25-05-2013, 17:12   #4
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Dave
Log from today's crash under ddd.
redog

08:25:14 EST: 2013-05-26
08:25:14 EST: ------- Starting OpenCPN -------
08:25:14 EST: Version 3.2.2 Build 2013-05-08
08:25:14 EST: wxWidgets version: wxWidgets 2.8.12
08:25:14 EST: MemoryStatus: mem_total: 7871 mb, mem_initial: 380 mb
08:25:14 EST: SData_Locn is /usr/share/opencpn/
08:25:14 EST: Using existing Config_File: /home/skipper/.opencpn/opencpn.conf
08:25:14 EST: Styles loading from /usr/share/opencpn/uidata/styles.xml
08:25:14 EST: No styles found at: /home/skipper/
08:25:14 EST: No styles found at: /home/skipper/.opencpn/
08:25:14 EST: Setting Viewpoint Lat/Lon -27.2582, 153.159
08:25:14 EST: Setting Ownship Lat/Lon -27.2123, 153.091
08:25:14 EST: System default Language: en_AU
08:25:14 EST: Opencpn language set to: en_US
08:25:15 EST: ChartSymbols loaded from /usr/share/opencpn/s57data/chartsymbols.xml
08:25:15 EST: Using s57data in /usr/share/opencpn/s57data
08:25:15 EST: Setting Viewpoint Lat/Lon -27.2582, 153.159
08:25:15 EST: Setting Ownship Lat/Lon -27.2123, 153.091
08:25:15 EST: Opening NMEA Datastream GPSD:localhost:2947
08:25:15 EST: Opening NMEA Datastream Serial:/dev/ttyUSB1
08:25:15 EST: PlugInManager searching for PlugIns in location /usr/lib/opencpn
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libwmm_amd64_pi18_v06_pi.so
08:25:15 EST: /usr/lib/opencpn/libwmm_amd64_pi18_v06_pi.so Version detected: 108
08:25:15 EST: Warning: WMM model data file /home/skipper/plugins/WMM.COF can't be loaded, using the bundled data.
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libdashboard_pi.so
08:25:15 EST: /usr/lib/opencpn/libdashboard_pi.so Version detected: 106
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libroute_amd64_pi18_v10_pi.so
08:25:15 EST: /usr/lib/opencpn/libroute_amd64_pi18_v10_pi.so Version detected: 108
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libCALCULATOR_amd64_pi18_v11_pi.so
08:25:15 EST: /usr/lib/opencpn/libCALCULATOR_amd64_pi18_v11_pi.so Version detected: 108
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libvdr_amd64_pi16_v03_pi.so
08:25:15 EST: /usr/lib/opencpn/libvdr_amd64_pi16_v03_pi.so Version detected: 106
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libSAR_amd64_pi18_v07_pi.so
08:25:15 EST: /usr/lib/opencpn/libSAR_amd64_pi18_v07_pi.so Version detected: 108
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libgrib_pi.so
08:25:15 EST: /usr/lib/opencpn/libgrib_pi.so Version detected: 107
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libaisradar_amd64_pi18_v092_pi.so
08:25:15 EST: /usr/lib/opencpn/libaisradar_amd64_pi18_v092_pi.so Version detected: 108
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/libfindit_amd64_pi16_v10_pi.so
08:25:15 EST: /usr/lib/opencpn/libfindit_amd64_pi16_v10_pi.so Version detected: 106
08:25:15 EST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/liblogbookkonni_amd64_pi16_v11_pi.so
08:25:15 EST: /usr/lib/opencpn/liblogbookkonni_amd64_pi16_v11_pi.so Version detected: 106
08:25:15 EST: OpenGL-> Renderer String: Mesa DRI Intel(R) Ivybridge Mobile
08:25:15 EST: OpenGL-> Detected Intel renderer, disabling stencil buffer
08:25:15 EST: OpenGL-> Detected Intel renderer, disabling FBO
08:25:15 EST: OpenGL-> Framebuffer Objects unavailable
08:25:15 EST: OpenGL-> Using Depth buffer clipping
08:25:15 EST: OpenGL-> Estimated Max Resident Textures: 98
08:25:15 EST: ChartDB Cache policy: Max open chart limit is 20.
08:25:15 EST: Loading chart db version: V017
08:25:15 EST: Chartdb: Chart directory list follows
08:25:15 EST: Chart directory #0: /home/skipper/Charts/CM93
08:25:15 EST: GPS Watchdog Timeout is: 6 sec.
08:25:15 EST: Initializing Chart /home/skipper/Charts/CM93
08:25:15 EST: CM93Composite Chart Root is /home/skipper/Charts/CM93/
08:25:15 EST: Loaded CM93 Dictionary from /home/skipper/Charts/CM93/
08:25:15 EST: Loading CM93 cell /home/skipper/Charts/CM93/01500420/E/01880459.E
08:25:17 EST: Changing NMEA Datasource for GPGSV to GPSD:localhost:2947 (Priority: 9)
08:25:17 EST: Changing NMEA Datasource for GPRMC to GPSD:localhost:2947 (Priority: 9)
08:25:17 EST: Changing NMEA Datasource for GPGSA to GPSD:localhost:2947 (Priority: 9)
08:25:55 EST: Loading CM93 cell /home/skipper/Charts/CM93/01500420/E/01880458.E
08:25:55 EST: Loading CM93 cell /home/skipper/Charts/CM93/01500420/D/01860459.D
08:25:55 EST: Loading CM93 cell /home/skipper/Charts/CM93/01500420/C/01860456.C
08:25:56 EST: Loading CM93 cell /home/skipper/Charts/CM93/01500420/E/01870458.E
08:25:56 EST: Loading CM93 cell /home/skipper/Charts/CM93/01500420/E/01870459.E
08:25:58 EST: PlugInManager: Deactivating PlugIn: /usr/lib/opencpn/libwmm_amd64_pi18_v06_pi.so
08:25:58 EST: PlugInManager: Deactivating PlugIn: /usr/lib/opencpn/libdashboard_pi.so
08:25:58 EST: opencpn::MyFrame exiting cleanly.
08:25:58 EST: Closing NMEA Datastream GPSD:localhost:2947
08:25:58 EST: Closing NMEA Datastream Serial:/dev/ttyUSB1
08:25:59 EST: Chart cache purge
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libwmm_amd64_pi18_v06_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libdashboard_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libroute_amd64_pi18_v10_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libCALCULATOR_amd64_pi18_v11_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libvdr_amd64_pi16_v03_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libSAR_amd64_pi18_v07_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libgrib_pi.so
08:25:59 EST: PlugInManager: UnLoading PlugIn: /usr/lib/opencpn/libaisradar_amd64_pi18_v092_pi.so
__________________
redog is offline   Reply With Quote
Old 25-05-2013, 17:28   #5
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Dave
Full log from the day of the 6 crashes and the latter of the multiple tracks event.
redog
Attached Files
File Type: pdf crash6.pdf (57.9 KB, 36 views)
File Type: pdf crash7.pdf (46.1 KB, 32 views)
__________________
redog is offline   Reply With Quote
Old 25-05-2013, 18:32   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

redog...

On the crashes:
When you crash under ddd, do you still have control of ddd GUI console? If so, we need to see the screenprint of Status->Backtrace tab.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 25-05-2013, 19:39   #7
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Dave
No control over computer at all.
No mouse or keyboard
Only way forward was power button
Hence no ddd information
redog
__________________
redog is offline   Reply With Quote
Old 26-05-2013, 02:23   #8
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

So you just installed 12.04 amd 64. Have you do downloaded all updates?

Quote:
$sudo apt-get update && sudo apt-get dist-upgrade
I suppose that you have downloaded the official OpenCPN package?

Please try the version in nohal's repository:
https://launchpad.net/~opencpn/+arch...ise1_amd64.deb


The official version is compiled with Ubuntu version 12.10, while Nohal's OpenCPN versions all are compiled with the correct Ubuntu versions.

Thomas
__________________
cagney is offline   Reply With Quote
Old 26-05-2013, 03:49   #9
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Thomas
Already up to date with all packages and using nohal's ppa.

Downloaded the file in the link you provided and reinstalled.

O crashed whilst I was replying to you, I'm a slow learner I lost everything I had written again.

This is a new computer installed with U12.04 64 bit xmass 12 and all versions of O since then have produced crashes.
Other programs have crashed but not locked up the computer like O does every time.
Install did have a failing with no sound coming out of the earphone jack.

My gut feeling is to format and install 32 bit.

But in the interest of improving O I could reinstall 64.(I don't rely on this comp for home use)

With a clean start we might see some improvement.

Suggestions please before I go down that road!!!

redog
__________________
redog is offline   Reply With Quote
Old 26-05-2013, 04:14   #10
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Does it make any difference if you replace your AIS Radar plugin with the latest version 0.96, instead of your version 0.92?

Download opencpnplugins from SourceForge.net

There have been troubles earlier on, with this plugin.
Also if this does not work, try to totally remove this plugin ( from
/usr/lib/opencpn ).

Thomas
__________________
cagney is offline   Reply With Quote
Old 26-05-2013, 06:55   #11
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Two more things. Have a look at this page
Help the Developers Finding Bugs | Official OpenCPN Homepage
Check if you are using ddd the described way.
Also read about using gdb towards the end of the page. Try gdb and see if you can catch anything. Try to keep the comandline window on top of O when running.

Your graphical driver....is it updated with the latest from Intel, or are you using Ubuntus default driver.
Try to run O without OpenGLmode.
Run O by starting from the command line like this

Quote:
$opencpn -no_opengl
and report back.

Thomas
__________________
cagney is offline   Reply With Quote
Old 26-05-2013, 14:50   #12
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Quote:
Originally Posted by cagney View Post
Does it make any difference if you replace your AIS Radar plugin with the latest version 0.96, instead of your version 0.92?

Download opencpnplugins from SourceForge.net

There have been troubles earlier on, with this plugin.
Also if this does not work, try to totally remove this plugin ( from
/usr/lib/opencpn ).

Thomas
Thomas
Have upgraded plugin and running O.
AIS plugin is not now and has not been enabled for past crashes.

I have in the past removed all plugins from /usr/lib/opencpn and still had crashes.

So thoughts are plugins not the cause.

redog
__________________
redog is offline   Reply With Quote
Old 26-05-2013, 19:25   #13
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

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

It is unusual for a user-space program to crash the OS in linux.
When it crashes, is the OS dead?

Does it crash just sitting there, or does it need to be underway and tracking? Does it crash with tracking turned off? Does it crash with dashboard turned off?

I wonder if running OpenCPN under ddd (debugger) would give a useful stack backtrace on a crash.

The track stuttering error has been seen before, but not yet debugged.
If you have this jerky track saved in your system (in navobj.xml), perhaps you could post it here for study. Do all those incorrect segments going down to the southeast all terminate at the same point? Anything special about this point?

Also, there may be something useful in the opencpn.log file.



Dave
Dave & Thomas

2: on the crashes
I have managed to get it to crash just sitting there and underway.

Everytime I have used ddd I have lost control of the computer completely so no backtrace is available.

I think I have tried all combinations,
Dashboard off and disabled
Tracking off and disabled
All plugins removed from /usr/lib/opencpn
OpenGL on and off

I have 2 older computers running U 12.04 32 bit and O 3.2.0
Also 1 computer running U12.04 32 bit and O 3.2.2

I cannot duplicate crashes on any of these 3 other machines and cannot fault O in anyway.

Am currently running under Thomas's suggested gdb and have upgraded AIS plugin.

On Thomas's question of graphics driver,
"No proprietary drivers are in use on this computer"
So ubuntu default drivers must be the answer.

Waiting!!!
Gotta luv computers.

redog
__________________
redog is offline   Reply With Quote
Old 30-05-2013, 14:31   #14
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Does it make any difference if you replace your AIS Radar plugin with the latest version 0.96, instead of your version 0.92?

Download opencpnplugins from SourceForge.net

There have been troubles earlier on, with this plugin.
Also if this does not work, try to totally remove this plugin ( from
/usr/lib/opencpn ).

Thomas


Thomas
4 days with no crash since up grading AIS plugin.
Also 1 kernal upgrade applied.

No mobile testing yet, 4 days has been stationary at kitchen table.

Just to clarify I had never removed the plugins from folder on 3.2.2, only previous versions.

Looking good thanks for the help.
redog
__________________
redog is offline   Reply With Quote
Old 24-06-2013, 23:41   #15
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: Open 3.2.2 Crashes on Ubuntu 12.04 64 bit

Still getting crashes so upgraded to 3.3.604.

Unfortunately this version crashes as well.

Problem seems to be whilst routing.
I can however speed up the crash by playing VLC media player.
(Also have identified MINI DLNA as a means of expediting a crash)

Attached screen shot raises 2 observations

1 Note in the sound window there are 3 instances of O playing his bells.
Each time the bells are played another instance appears and never disappear.
All other applications playing sound only ever appear once.(not shown here but observed)

2 Notice some of the satellites numbers are duplicated and show at differing strengths.

I have been following bobofthenorths thread on crashes on a windoz OS and just out of frustration have tried anything suggested there, all to no avail.

redog
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2013-06-25 15:00:09.png
Views:	84
Size:	315.3 KB
ID:	63150  
__________________

__________________
redog 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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:11.


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.