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

do_draw:point count overflow errors #1239

Open
Paulml1982 opened this issue Jul 30, 2023 · 1 comment
Open

do_draw:point count overflow errors #1239

Paulml1982 opened this issue Jul 30, 2023 · 1 comment

Comments

@Paulml1982
Copy link

Hi,

I am using navit 0.5.5. on my Raspberry PI 4 and when using Navit it sometimes crashes (from 3d to 2d mode for example). The logfile just loops this error:

error:navit:do_draw:point count overflow 16384 for poly_water (0x1cfe1d,0x1074a). Increase to 17066

when routing to a destination this error is also thrown sometimes.

Does anyome know this error or a fix to it?

@lains
Copy link
Contributor

lains commented Aug 4, 2023

I don't know much about the map drawing code, but the log you're seeing is coming from here:

dbg(lvl_error,"point count overflow %d for %s "ITEM_ID_FMT". Increase to %d", count,item_to_name(item->type),

If you're seeing this in a loop (probably with increasing count values), there will be memory allocated and you may run out of memory... but this is maybe not even the root cause of the crash you're experiencing.

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

2 participants