Jump to content
eg1

iOS Metal Api FlipHorizontal Crash

Recommended Posts

Hi,

 

Image1.Bitmap.FlipHorizontal;

FlipHorizontal dosen't work on iOS Metal Api (app crash immediately) when you use BitmapListAnimation (Image1 bitmap clear, BitmapListAnimation drawing image )

without BitmapListAnimation FlipHorizontal  working normal on Image1 (Image1 bitmap have image but not animated)

 

ios_metal_error.png.e65965451207b4141b924011a9749d5c.png 

 

This is crash report;

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x00000001e7bc70dc __pthread_kill + 8
1   libsystem_pthread.dylib       	0x00000001e7c40094 pthread_kill$VARIANT$mp + 380
2   libsystem_c.dylib             	0x00000001e7b1ff4c __abort + 152
3   libsystem_c.dylib             	0x00000001e7b1feb4 __abort + 0
4   libsystem_c.dylib             	0x00000001e7aedafc __assert_rtn + 220
5   Metal                         	0x00000001ea163134 MTLReportFailure + 500
6   Metal                         	0x00000001ea10ccd0 -[MTLIOAccelBlitCommandEncoder synchronizeResource:] + 48
7   Application                   	0x0000000101f48b40 DispatchToImport + 160
8   Application                   	0x0000000101783470 Fmx::Context::Metal::TContextMetal::DoCopyToBits(void const*, int, System::Types::TRect const&)::SynchronizeResources(void*, System::DelphiInterface<Macapi::Metal::MTLTexture>) + 9286768 (FMX.Context.Metal.pas:1260)
9   Application                   	0x0000000101771bac Fmx::Context::Metal::TContextMetal::DoCopyToBits(void const*, int, System::Types::TRect const&) + 9214892 (FMX.context.metal.pas:1289)
10  Application                   	0x00000001016ccee8 Fmx::Types3d::TContext3D::CopyToBits(void const*, int, System::Types::TRect const&) + 8539880 (FMX.Types3D.pas:4670)
11  Application                   	0x0000000101769280 Fmx::Canvas::Gpu::TCanvasGpu::DoMapBitmap(NativeUInt, Fmx::Graphics::TMapAccess, Fmx::Graphics::TBitmapData&) + 9179776 (FMX.Canvas.GPU.pas:913)
12  Application                   	0x00000001015ac9fc Fmx::Graphics::TCanvas::MapBitmap(NativeUInt, Fmx::Graphics::TMapAccess, Fmx::Graphics::TBitmapData&) + 7358972 (FMX.Graphics.pas:6083)
13  Application                   	0x000000010159fb54 Fmx::Graphics::TBitmap::Map(Fmx::Graphics::TMapAccess, Fmx::Graphics::TBitmapData&) + 7306068 (FMX.Graphics.pas:4139)
14  Application                   	0x000000010159e6d0 Fmx::Graphics::TBitmap::FlipHorizontal() + 7300816 (FMX.Graphics.pas:3969)

 

Can anyone understand this crash report? 

Share this post


Link to post
2 hours ago, Dave Nottage said:

Even if someone here can understand it, you should report it here: https://quality.embarcadero.com/

Yes I know but this is useless, I think embc doesn't care bugs, my last hope is community.

I have waiting 2 active bug fix, one from 2015 other one from 2020 February

 

and also thank you for your interest, you always trying help other peoples. but community is also dead, embc official forum is closed and this forum is number one on list but still dead. I am so sorry for that happened to Delphi.

Share this post


Link to post
14 hours ago, eg1 said:

I have waiting 2 active bug fix, one from 2015 other one from 2020 February

Can you let me know which ones?

Share this post


Link to post
1 hour ago, eg1 said:

Cannot call Java instance methods called "init"

Were there any particular classes that apply to you for that bug?

1 hour ago, eg1 said:

Apparent bug in linker (ld) when using Facebook Audience Network on iOS

Well, as you can see, I share your pain with that particular one 😉

 

Share this post


Link to post

@eg1 This problem will be automatically fixed if you use the last version of skia4delphi. I reported the problem and solution to embarcadero too.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×