Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on startup of OCPN Draw 1.8.52.0 with OpenCPN 5.10.2-0 #556

Open
gospo24 opened this issue Oct 12, 2024 · 10 comments
Open

crash on startup of OCPN Draw 1.8.52.0 with OpenCPN 5.10.2-0 #556

gospo24 opened this issue Oct 12, 2024 · 10 comments

Comments

@gospo24
Copy link

gospo24 commented Oct 12, 2024

Hi there,
OpenCPN 5.10.2-0 with OCPN Draw 1.8.46 is working properly (PC with OCPN Draw not updated to 1.8.52.0).

2nd PC: OpenCPN 5.10.2-0 with OCPN Draw updated to 1.8.52.0 crashes on launch. Deleting OCPN Draw 1.8.52.0 (with all plugins deactivated on launching) "resolves" the issue: no crash, but also no OCPN Draw available :-(

Any ideas? Many thanks
gospo23

crash_reports.zip

@jongough
Copy link
Owner

Can you please provide the OpenCPN.log file and the OpenCPN.conf/cfg file for the instance that is crashing. Also, what platform are you doing this on?

@gospo24
Copy link
Author

gospo24 commented Oct 12, 2024 via email

@gospo24
Copy link
Author

gospo24 commented Oct 13, 2024

Hi,
the crash already occours when installing OCPN Draw 1.8.52.0 via the plug-in manager of OpenCPN.
System here is Windows 11, version 23H2 - with all quality updates to date.
On crahsing, OpenCPN displays a small window saying "Collecting information about the problem" and listing several lines "Dumping info for thread #####". Hope this helps, thank you.

gospo24

opencpn.zip

@nocheinpeter
Copy link

nocheinpeter commented Oct 13, 2024

openCPN 5.10.2 crashes on Android 14 also then try to show the plugin tab, the plugin OCPN Draw 1.8.52.0 is just installed and not actived. No chance to remove it; must wipe all data of the app to bring it back to work. Galaxy Tab A7 lite.
See Link

OCPN Draw 1.8.48.0 did work on openCPN 5.8.2.

Regards
Peter

@jongough
Copy link
Owner

It would appear that you are using a locale of de_DE. Would you mind changing to en_US and see if OCPN Draw still crashes? I have it installed now on a Win 11 machine with en_US and it is working fine. I did fix a problem when the language was changed from en_US to anything else when OCPN was running due to the icons being double loaded. I thought I had fixed that.

I have switched languages on my test system and it seems to work OK. Was this a clean install of OCPN Draw or an upgrade?

@jongough
Copy link
Owner

openCPN 5.10.2 crashes on Android 14 also then try to show the plugin tab, the plugin OCPN Draw 1.8.52.0 is just installed and not actived. No chance to remove it; must wipe all data of the app to bring it back to work. Galaxy Tab A7 lite. See Link

OCPN Draw 1.8.48.0 did work on openCPN 5.8.2.

Regards Peter

I am trying to identify what may be going wrong on the Win 11 system as that is easier to work with. If I find anything to fix I will put out a new version which will automatically be built for Android which you can then test to see if the problem is fixed there.

@jongough
Copy link
Owner

There was a crash in OCPN Draw when changing languages which 1.8.52 fixes. I installed 1.8.46 and changed language and OCPN crashed. It did restart OK. I then updated to 1.8.52 and could change languages without problems. There was a work around for the crash which was to disable OCPN Draw, restart OCPN, change language, then re-enable OCPN Draw. This seemed to work for the person who reported it.

@gospo24
Copy link
Author

gospo24 commented Oct 14, 2024 via email

@StefLedof
Copy link

Hello,
OCPN 5.10.2 crashe since ODRAW 1.8.50 with locale fr_FR. Workaround ( change locale to en_US ) don't work for my computer ;-(
ODRAW 1.8.49.1 is ok.
Many thanks
Stéphane

@jongough
Copy link
Owner

jongough commented Oct 14, 2024

The work around is to disable, and uninstall the older version of OD. Restart OCPN and re-install OD. That should work.

It is changing the language that causes the issue not the language itself. The reason I am asking for en_US to be used is that is the default language for OCPN and may help to narrow down the crash location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants