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

Failure when using using osm_gps_map_track_insert_point in python #45

Open
dreadnought opened this issue Feb 21, 2016 · 0 comments
Open

Comments

@dreadnought
Copy link
Contributor

Hi,
I tried to use osm_gps_map_track_insert_point while writing tests in python. The function itself works, but than python exits unexpected.

Here is a small example:

#!/usr/bin/python3
from gi.repository import OsmGpsMap
track = OsmGpsMap.MapTrack()
point = OsmGpsMap.MapPoint.new_degrees(50, 10)
track.insert_point(point, 0)

Result (full backtrace):

*** Error in `/usr/bin/python3': double free or corruption (fasttop): 0x0000000000cf91c0 ***

Is this not intended way to call this function?

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

1 participant