I would like to contact you about a crash.
I’m getting a crash on the line below. What is the cause?
ExtremeResamplersWrapper.h – Line 74 (EXC_BAD_ACCESS KERN_INVALID_ADDRESS)
ExtremeResamplingHelpersWrapper::MergeIndices(std::__1::vector<int, std::__1::allocator<int>>&, int, int, int*)
The issue seems to be related to a ResamplingMode, should I turn it off?
I sometimes apply separate formulas to certain axes, is this because of this? -> ex) Logarithmic Axis
Your answer would be greatly appreciated.
Below is a stacktrace.
0 SciChart 0x901b4 ExtremeResamplingHelpersWrapper::MergeIndices(std::__1::vector<int, std::__1::allocator<int>>&, int, int, int*) + 74 (ExtremeResamplersWrapper.h:74)
1 SciChart 0xa73c4 -[ResamplerDateDouble execute:resampledYValues:resampledY1Values:resampledIndices:xColumn:yColumn:y1Column:resamplingArgs:resamplingArgs1:] + 4040 (Resamplers.mm:4040)
2 SciChart 0x1d110 -[SCIOhlcRenderableSeriesBase p_SCI_updateOhlcRenderPassData:dataSeries:resamplingMode:] + 137 (SCIOhlcRenderableSeriesBase.mm:137)
3 SciChart 0x1cd88 -[SCIOhlcRenderableSeriesBase internalUpdateRenderPassData:dataSeries:resamplingMode:] + 111 (SCIOhlcRenderableSeriesBase.mm:111)
4 SciChart 0x107480 -[SCIRenderableSeriesBase updateRenderPassDataWithXAxis:yAxis:renderPassState:] + 478 (SCIRenderableSeriesBase.mm:478)
5 SciChart 0xf3fb0 -[SCIRenderSurfaceRenderer p_SCI_updateSeriesRenderPassData:xAxes:yAxes:renderPassState:] + 254 (SCIRenderSurfaceRenderer.m:254)
6 SciChart 0xf3964 -[SCIRenderSurfaceRenderer p_SCI_updateCoreData:renderPassState:viewportSize:] + 175 (SCIRenderSurfaceRenderer.m:175)
7 SciChart 0xf34b4 -[SCIRenderSurfaceRenderer p_SCI_renderLoop:assetManager:renderPassState:] + 101 (SCIRenderSurfaceRenderer.m:101)
8 SciChart 0xf3364 -[SCIRenderSurfaceRenderer onDrawWithContext:andAssetManager:] + 95 (SCIRenderSurfaceRenderer.m:95)
9 SciChart 0x45980 -[SCIRenderSurfaceDrawable2D drawFrameIn:withDrawableSize:] + 66 (SCIRenderSurfaceDrawable2D.mm:66)
10 SciChart 0x7270c -[SCITwisterRendererBase drawFrameIn:withDrawableSize:] + 105 (SCITwisterRendererBase.mm:105)
11 SciChart 0x2bd70 -[SCIMetalRenderSurfaceBase draw] + 134 (SCIMetalRenderSurfaceBase.m:134)
12 QuartzCore 0x7e044 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 416
13 QuartzCore 0xd90e0 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
14 QuartzCore 0x4e028 CA::Transaction::commit() + 648
15 QuartzCore 0x97d7c CA::Transaction::flush_as_runloop_observer(bool) + 88
16 UIKitCore 0xb9ff4 _UIApplicationFlushCATransaction + 52
17 UIKitCore 0xb776c _UIUpdateSequenceRun + 84
18 UIKitCore 0xb73b0 schedulerStepScheduledMainSection + 172
19 UIKitCore 0xb8254 runloopSourceCallback + 92
20 CoreFoundation 0x56834 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
21 CoreFoundation 0x567c8 __CFRunLoopDoSource0 + 176
22 CoreFoundation 0x54298 __CFRunLoopDoSources0 + 244
23 CoreFoundation 0x53484 __CFRunLoopRun + 828
24 CoreFoundation 0x52cd8 CFRunLoopRunSpecific + 608
25 GraphicsServices 0x11a8 GSEventRunModal + 164
26 UIKitCore 0x40a90c -[UIApplication _run] + 888
27 UIKitCore 0x4be9d0 UIApplicationMain + 340
28 UIKitCore 0x638384 keypath_get_selector_hoverStyle + 11024
- cha cha asked 2 months ago
- last active 2 months ago
Hello SciChart,
I’m using SciChart:PerformanceHelper.EnableExtremeResamplers=”True” on my SciChart surface to display data with multiple gaps properly (NaN values), however the XPS output using ExportToFile does not work well and only renders the data to the first gap. Is there a workaround to this issue or how can it be fixed? Thank you.
Kind regards
Ondřej
- Ondrej Havel asked 5 years ago
- last active 5 years ago