Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-03-2013, 12:11   #31
Registered User

Join Date: Nov 2011
Posts: 4
Re: 3.2 crashes repeatedly

Hello, I am sure I am not posting this in the correct thread, but I cannot get the install to work. I keep getting a failure on the installer integrity check.
NSIS Error
Installer integrity check has failed. Common causes include incomplete download and damaged media. Contact the installer's author to obtain a new copy.
More info at: Why do I get NSIS Error - NSIS

After getting this the first time, I went back and redownloaded from the direct link and once I ran the saved file, it gave me the same message again.

The file size is 11,478 kb.

Any suggestions? Thank you all for your time!
__________________

__________________
meduf is offline   Reply With Quote
Old 22-03-2013, 08:05   #32
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: 3.2 crashes repeatedly

meduf...
12mb is way too small, you download is incomplete. opencpn_3.2.0-1_setup.exe has 34.9 MB.

Pavel
__________________

__________________
nohal is online now   Reply With Quote
Old 22-03-2013, 11:50   #33
Registered User

Join Date: Mar 2010
Location: Wandering around North America
Boat: Defever 43 - Gray Hawk
Posts: 602
Re: 3.2 crashes repeatedly

Just to bring this back on track, I've now run for 72 hours with no plugins at all installed, radio & autopilot active. I'll let it run for a couple more days before I start adding plugins back in.

(We had a change of plans - I get more boat time thanks to the miserable winter weather that western Canada is experiencing. SWMBO is coming to the boat so I don't have to go back into the deep freeze. Saskatchewan is closed until further notice.)
__________________
R.J.(Bob) Evans
M/V Gray Hawk, 43 Defever Offshore Cruiser
http://www.bobandmarilyn.ca
bobofthenorth is offline   Reply With Quote
Old 23-03-2013, 16:40   #34
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: 3.2 crashes repeatedly - test tool

Hello,

For those who would like to do the long time OpenCPN tests without going to the boat I wrote a NMEA stream generator. It can be downloaded from:

http://infinity.eti.pg.gda.pl/files/...AGenerator.jar

It will generate a continuous stream of GLL, GSV, GGA, VTG and GSA sentences, while moving the virtual boat along a looped track.

Usage is pretty simple, typing
Code:
java -jar NMEAGenerator.jar
will bring a list of options. Maybe a good starting point is
Code:
java -jar NMEAGenerator.jar -t30
All generated sentences go to the console and must be redirected somehow to OpenCPN. With OpenCPN tcp/ip capabilities one easy way for Linux folks is to use netcat, for example this command
Code:
$ java -jar NMEAGenerator.jar -t30  |  nc -4 -l -k 5678
will make the stream available by tcp/ip on port 5678 at localhost.

Hope it helps in debugging.

Marius
Attached Thumbnails
Click image for larger version

Name:	simtrack.jpg
Views:	70
Size:	152.4 KB
ID:	57703   Click image for larger version

Name:	simtrack2.jpg
Views:	73
Size:	215.4 KB
ID:	57704  

__________________
mrm is offline   Reply With Quote
Old 23-03-2013, 19:33   #35
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: 3.2 crashes repeatedly

Marius...
very nice tool... Could I have the source? I would need to simulate TLL/TTM currently and this looks like an easy way to do it.

Thanks

Pavel
__________________
nohal is online now   Reply With Quote
Old 24-03-2013, 11:50   #36
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: 3.2 crashes repeatedly

Quote:
Originally Posted by nohal View Post
Marius...
very nice tool... Could I have the source? I would need to simulate TLL/TTM currently and this looks like an easy way to do it.

Thanks

Pavel
Pavel, I will have to refactor it a bit, right now that code a bit too embarrassing to show

I released a new version today. From changelog:

* v1.1 -
* - added GPZDA sentence
* - GPGLL: modified to pre NMEA 2.3 form
* - GPGGA: removed one comma before checksum
* - GPVTG: removed one comma before checksum
* GPVTG: migrated to new form
* - added random CRC errors
* - added random sentence mangling

Now VTG is what OpenCPN expects it to be

Two new options let introduce random CRC errors and sentence mangling. Should be useful in throwing all kinds of garbage at NMEA input routines

http://infinity.eti.pg.gda.pl/files/...rator_v1.1.zip

Marius
__________________
mrm is offline   Reply With Quote
Old 25-03-2013, 16:59   #37
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: 3.2 crashes repeatedly

Quote:
Originally Posted by nohal View Post
I would need to simulate TLL/TTM currently and this looks like an easy way to do it.
Pavel,

Have a look at version 1.2, just released

new option '-r'

(halfway there, so far)

Marius

http://infinity.eti.pg.gda.pl/files/...rator_v1.2.zip

Hint:
Code:
$RATTL,01,5600.612,N,01900.000,E,ALPHA,225041.338,T,*51

$RATTL,02,5559.412,N,01900.000,E,BETA,225041.338,T,*19

$RATTL,03,5600.073,N,01900.600,E,CHARLIE,225041.338,T,*58

$RATTL,04,5600.071,N,01859.400,E,DELTA,225041.338,T,*52

$RATTL,05,5559.952,N,01901.200,E,ECHO,225041.338,T,*07

$RATTL,06,5559.329,N,01858.799,E,FOXTROT,225041.338,T,*47
__________________
mrm is offline   Reply With Quote
Old 25-03-2013, 17:22   #38
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: 3.2 crashes repeatedly

Quote:
Originally Posted by mrm View Post
Pavel,

Have a look at version 1.2, just released

new option '-r'

(halfway there, so far)

Marius

http://infinity.eti.pg.gda.pl/files/...rator_v1.2.zip

Hint:
Code:
$RATTL,01,5600.612,N,01900.000,E,ALPHA,225041.338,T,*51

$RATTL,02,5559.412,N,01900.000,E,BETA,225041.338,T,*19

$RATTL,03,5600.073,N,01900.600,E,CHARLIE,225041.338,T,*58

$RATTL,04,5600.071,N,01859.400,E,DELTA,225041.338,T,*52

$RATTL,05,5559.952,N,01901.200,E,ECHO,225041.338,T,*07

$RATTL,06,5559.329,N,01858.799,E,FOXTROT,225041.338,T,*47
Marius...
Looks very promising Unfortunately I can't undertake the adventure of Java 7 on this machine - too much of proprietary stuff I need to run here is very picky about installed versions, so I end up with Unsupported major.minor version 51.0...
The sentence should be TLL - so far my collection of radar related NMEA info:
Code:
$GPTLL,01,4305.4281,N,07147.3170,W,TARG1,123456.21,T,R*57
which is interpreted as:
TLL - Location of remote position (Target Latitude Longitude)
01 - Target Number (not used/ignored)
4305.4281,N - Latitude (formatted as: DDMM.mmmm)
07147.3170,W - Longitude (formatted as: DDDMM.mmmm)
TARG1 - Target Name 123456.21 - Target Time (not used/ignored)
T - Target Status (S - SOS need help, otherwise ignored)
R - Reference target (not used/ignored)
*57 - Checksum data; Note: always begins with *


TLL - Target latitude and longitude

        1  2          3           4    5         6 7 8
        |  |          |           |    |         | | |
 $--TLL,xx,llll.lll,a,yyyyy.yyy,a,c--c,hhmmss.ss,a,a*hh<CR><LF>

 Field Number: 
1) Target number 00 - 99
2) Latitude, N/S
3) Longitude, E/W
4) Target name
5) UTC of data
6) Target status(see note)
    L = lost,tracked target has beenlost
    Q = query,target in the process of acquisition
    T = tracking
7) Reference target=R,null otherwise
8) Checksum 

TTM - Tracked Target Message

                                         11     13
        1  2   3   4 5   6   7 8   9   10|    12| 14
        |  |   |   | |   |   | |   |   | |    | | |
 $--TTM,xx,x.x,x.x,a,x.x,x.x,a,x.x,x.x,a,c--c,a,a*hh<CR><LF>

 Field Number: 
  1) Target Number
  2) Target Distance
  3) Bearing from own ship
  4) Bearing Units
  5) Target speed
  6) Target Course
  7) Course Units
  8) Distance of closest-point-of-approach
  9) Time until closest-point-of-approach "-" means increasing
 10) "-" means increasing
 11) Target name
 12) Target Status
 13) Reference Target
 14) Checksum

RSD - RADAR System Data

                                                        14
        1   2   3   4   5   6   7   8   9   10  11 12 13|
        |   |  |   |   |   |   |   |   |   |   |   | | |
 $--RSD,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,a,a*hh<CR><LF>

 Field Number: 
  9) Cursor Range From Own Ship
 10) Cursor Bearing Degrees Clockwise From Zero
 11) Range Scale
 12) Range Units
 14) Checksum
Many thanks for caring for my wishes

Pavel
__________________
nohal is online now   Reply With Quote
Old 25-03-2013, 22:12   #39
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: 3.2 crashes repeatedly

Bobofthenorth It sounds like a memory leak to me, but I may be wrong. You need a break.. and don't worry about it . Then when you get back to the boat shut everything extraneous down. Don't run anything unnecessary. Start it up. Eliminate plugins, nmea connections, everything. Run it a long time. Then add stuff, determine what causes it if you can. I believe you may already know what it is, you are the best expert! Please be so kind as to let us know so we may benefit. I have read this entire thread. I believe, you will figure it out, you have shown great tenacity.

PS: try removing the installation, rebooting and reinstalling.
PPS: 3.2 crashes repeatedly
I take that back!!! ...l I guess I did not read the entire thread. What happened? Very interested.
__________________
rgleason is offline   Reply With Quote
Old 26-03-2013, 03:13   #40
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: 3.2 crashes repeatedly

Quote:
Originally Posted by nohal View Post
Marius...
Looks very promising Unfortunately I can't undertake the adventure of Java 7 on this machine - too much of proprietary stuff I need to run here is very picky about installed versions, so I end up with Unsupported major.minor version 51.0...
Pavel, try the 1.3 version. I added a jar compiled with Sun's java6. I also corrected a typo TTL->TLL (quite a Freudian slip, that is what you get from staring at too many logic circuits. I guess it is good there is no RACOMS message...or is there one?)

Thanks for sentence definitions, they nicely supplement my info.
(my source was http://wydawnictwo.am.szczecin.pl/ad...2_wolejsza.pdf )

I will look into the other sentences soon.

http://infinity.eti.pg.gda.pl/files/...rator_v1.3.zip

Enjoy.

Marius
__________________
mrm is offline   Reply With Quote
Old 26-03-2013, 09:35   #41
Registered User

Join Date: Mar 2010
Location: Wandering around North America
Boat: Defever 43 - Gray Hawk
Posts: 602
Re: 3.2 crashes repeatedly

Quote:
Originally Posted by rgleason View Post
I take that back!!! ...l I guess I did not read the entire thread. What happened? Very interested.
Welll first off I feel like an idiot. I said earlier that this was a Win 7 installation and I do have O installed on a W7 machine, it just isn't my main nav computer and therefore not the one that has been crashing. The offending computer is in fact an XP SP3.

I ran it for 5 days with no plugins at all installed and with the radio and autopilot active. 2 days ago I installed the BSB4 plugin and it is still running in that configuration. I think that's probably stable but I'll let it run for a total of 4 days before I do anything else.
__________________
R.J.(Bob) Evans
M/V Gray Hawk, 43 Defever Offshore Cruiser
http://www.bobandmarilyn.ca
bobofthenorth is offline   Reply With Quote
Old 29-03-2013, 21:52   #42
Registered User

Join Date: Mar 2010
Location: Wandering around North America
Boat: Defever 43 - Gray Hawk
Posts: 602
Re: 3.2 crashes repeatedly

5-1/2 days running at the dock with only the BSB4 plugin installed and then a 3 hour trip this afternoon - still rock solid. Its got to be either the dashboard or Konni logbook. Tomorrow I will install the dashboard because I miss having it available.
__________________
R.J.(Bob) Evans
M/V Gray Hawk, 43 Defever Offshore Cruiser
http://www.bobandmarilyn.ca
bobofthenorth is offline   Reply With Quote
Old 30-03-2013, 04:49   #43
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: 3.2 crashes repeatedly

Way to go Bob. Thanks.
__________________
rgleason is offline   Reply With Quote
Old 26-04-2013, 21:19   #44
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: 3.2 crashes repeatedly

Have now installed O on 2 computers running Ubuntu 12.4, 1 at 32bit the other 64 bit.
Had a look at 3.2 when first released and had crashes then but didnít get involved enough to post.
Now about to get on the water I have been setting up 3.2 and had no crashes till I activate a route.

The 64 bit computer crashes repeatedly whilst a route is active and not connected to AP.
Only connections I am currently running, 64 is connected to USB puck and feeding UDP out to 32 computer.
The 64 computer is only 6 mths old and no other applications give any worries. Not blaming O just setting the scene.
In reading this and other threads I have tried the following.

Removed all plugins from folder not just disabled them.
Minimising output sentences to RMB, RMC, APB.
Removing UDP output from connections.
Turned off openGL

All setting duplicated on both computers.

Can't get 32 to fail, he might end up back in the starting line up untill the new boy proves his worth.

About to try hooking the puck to 32 and send UDP to 64.

I just started O again and was checking the settings box for conections, no active route and boom crash gone again, only got 30 seconds that time.

I don't know if this has been answered or solved elsewhere but any help would be very welcome.

Log attached (hopefully)
RD
Attached Files
File Type: pdf crash3.pdf (82.5 KB, 24 views)
__________________
redog is offline   Reply With Quote
Old 26-04-2013, 22:05   #45
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: 3.2 crashes repeatedly

redog...

On linux, we can get a very good idea of the crash location if you start OpenPCN with ddd, the visual debugger. It is available on Ubuntu repos.

Run until it crashes, then take a screenshot of the Status->Backtrace tab. Post here.

Thanks
Dave
__________________

__________________
bdbcat 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 01:56.


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.