Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old Today, 03:54   #1
Registered User

Join Date: Aug 2009
Location: Onboard, currently cruising in SE Asia
Boat: St. Francis 44 Mk II (Catamaran)
Posts: 217
Send a message via Skype™ to SoggyPaws
OpenCPN 5.10 hangs if scrolling too fast with many mbtiles

I have a lot of little mbtiles (anchorages mostly and some "area" mbtiles) created by Sat2Chart from Sas.Planet. Plus a CM93 chart.
If I am scrolling the screen around to get to a different area, if I move the chart table too fast, the chart table hangs. But the rest of OpenCPN seems to still work (if I click on an icon in the tollbar, it pops whatever screen is associated with that icon). The chart table just stops responding.
If I hover over the piano keys, it will pop the info about each chart, but not hide the info when not hovering (see screen shot of what this looks like).
It is using very little CPU. (.5-1.5%) and some memory (388 MB).
Here is the last bit of the log file when it hung.
Code:
18:16:28.434 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\Sendang.mbtiles
18:16:28.450 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:28.450 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\SVE25.mbtiles
18:16:28.450 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:28.450 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\Raas.mbtiles
18:16:28.450 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:28.450 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\PGuiyang.mbtiles
18:16:28.466 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:28.466 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\KangeanAnch.mbtiles
18:16:30.122 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:30.122 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\BIYCmarina.mbtiles
18:16:30.137 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:30.137 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\EnterBoomMarina.mbtiles
18:16:31.231 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\C\02340336.C
18:16:31.278 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\C\02460336.C
18:16:31.543 MESSAGE chartdb.cpp:1169 Creating new chart
18:16:31.543 MESSAGE chartdb.cpp:1284 Initializing Chart C:\Charts\Valhalla\IndonesiaRev41\BoonMarina.mbtiles
18:16:33.496 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\D\02430342.D
18:16:33.512 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\D\02430345.D
18:16:33.543 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\D\02460342.D
18:16:33.574 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\D\02460345.D
18:16:34.871 MESSAGE cm93.cpp:4374 Loading CM93 cell C:\CM93 Oct 2011 Perry\02100300\E\02450345.E
18:16:36.590 WARNING ocpn_app.cpp:959 Caught MainLoopException, continuing...
18:16:59.197 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:18:00.226 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:19:00.916 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:20:01.847 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:21:02.494 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:22:02.875 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:23:03.340 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:24:03.649 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
18:25:04.016 MESSAGE NavicoLocate.cpp:521 Failed to allocate info from NavicoLocate to a radar
It hung right about 18:16
I do have the Radar plugin (latest version beta I think) installed and enabled, but the radar is powered off and the plugin hasn't been used since I started OpenCPN this morning.
If I kill OpenCPN now, I lose all my tracks and routes since I started out this morning.
When I finally clicked the X-box, I got the spinning wheel for about 30-60 seconds, and then the chart table came back. I didn't have to kill it to have it recover.
Meanwhile, it created a new log file.
I saved the old log file if anyone wants to see it.
Attached Thumbnails
Click image for larger version

Name:	Hung.jpg
Views:	9
Size:	240.2 KB
ID:	293461  
SoggyPaws is offline   Reply With Quote
Old Today, 07:03   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,515
Re: OpenCPN 5.10 hangs if scrolling too fast with many mbtiles

Sherry....
This is the critical point:


Code:
8:16:36.590 WARNING ocpn_app.cpp:959 Caught MainLoopException, continuing...

I'll try to reproduce it.
Related github issue:
https://github.com/OpenCPN/OpenCPN/issues/4124


Thanks
Dave
bdbcat is online now   Reply With Quote
Reply

Tags
enc, opencpn


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 dialogue boxes not scrolling HeviiSail OpenCPN 11 13-07-2022 11:17
OpenCPN 5.6.2 hangs quite a lot for me mgrouch OpenCPN 10 20-05-2022 21:30
Made fast, or maybe too fast? partingclouds Multihull Sailboats 31 15-09-2021 09:09
Engine Hours: How Many Are Too Many? Velma Engines and Propulsion Systems 38 03-03-2021 21:51
OpenCPN 4.2 crashes and hangs up -- regressed to 3.2 Akka OpenCPN 7 14-05-2016 09:02

Advertise Here
  Vendor Spotlight
No Threads to Display.


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.