glob3mobile / g3m

The multiplatform advanced visualization framework
http://www.glob3mobile.com/
Other
116 stars 56 forks source link

Composite method Error #143

Open CarlosGaralv opened 8 years ago

CarlosGaralv commented 8 years ago

Hi, the change from method "CompositeElevationDataProvider" to method "SingleBilElevationDataProvider" generates a memory error in the library that causes a crash in the application.

This is the error: malloc: *\ error for object 0x7fa0104e4d88: incorrect checksum for freed object - object was probably modified after being freed.

Any help?

Thanks in advance.

machanguillo commented 8 years ago

Hi Carlos: sorry for the delay.

Could you give to us more detail about where the error is produced? It seems a dangling pointer. You can add an Exception BreakPoint in XCode, and when the exception occurs, it will point to the line where the error was produced. That info is needed to find this bug.

And also, could you send to us the code where you create (and destroy) the different providers (single and composite)? I would help a lot.