GalaevAlexey / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

[CorePlotGraph respondsToSelector:]: message sent to deallocated instance 0x6cb5d20 #470

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create 2 or more core plot CPTGraphHostingView object 
2. Add them to scroll view with page control at same time (i tried horizontal)
3. when adding second graph it gives [CorePlotGraph respondsToSelector:]: 
message sent to deallocated instance 0x6cb5d20 and occurred NSZombie. i think 
it overreleased the core graph object

What is the expected output? What do you see instead?
i expected to load 2 or more graph to scrollview at the same time

What version of the product are you using? On what operating system?
core-plot 1.0, xcode 4.2,  Mac OS 10.8

Please provide any additional information below.
it maybe ARC issue. Arc automatically release object 

Original issue reported on code.google.com by alaattinbedir@gmail.com on 1 Nov 2012 at 4:22

GoogleCodeExporter commented 8 years ago
This doesn't sound like a Core Plot issue. Check the way you're handling the 
hosting view objects and make sure you're obeying the memory management rules 
so the hosting views get added to the scroll view before you let ARC release 
them.

Original comment by eskr...@mac.com on 2 Nov 2012 at 11:20

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 22 Dec 2012 at 12:06