Jump to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Example "Filtering items" TfgCollectionView on iOS simulation fail

  • Status: Fixed
  • Priority: Normal
  • Resolution: Fixed
  • Platform: iOS
  • Affects version 1.18.2.0
  • Fix version: 1.18.2.1

The FGX sample project "filtering items" of TfgCollectionView fail to run on iOS simulatior.
it occurs an AV during starting the app.

 

here the call stack:

System._DbgExcNotify(int, void*, System.SmallString<(unsigned char)255>*, void*, void*)
System.NotifyReRaise(System.TObject*, void*)($00006000032f62b0,$000000010345e988)
System._RaiseAtExcept(System.TObject*, void*)($00006000032f62b0,$000000010345e988)
System.Internal.Excutils.SignalConverter(unsigned long long, unsigned long long, unsigned long long)(4349880712,176,11)
Fgx.Controls.TfgControl.GetHeght()($0000000000000000)
Fgx.Autocompleteedit.Ios.TfgiOSAutocompletePopup.DefinePopupSize()($0000600003294af0)
Fgx.Autocompleteedit.Ios.TfgiOSAutocompletePopup.ApplyFilter(System.UnicodeString)($0000600003294af0,??)
Fgx.Autocompleteedit.Ios.TfgiOSAutocompleteEdit.UpdateSuggestions()($000060000247d200)
Fgx.Autocompleteedit.Ios.TfgiOSAutocompleteEdit.WMLoaded(Fgx.Messaging.TfgMessage&)($000060000247d200,{MsgID = 1054})
System.TObject.Dispatch(void*)($00006001052fe34c,$000000016cf7df20)
Fgx.Messaging.TfgMessageSender.SendMessage(unsigned short)($0000600003a1b8e0,1054)
Fgx.Controls.TfgControl.SendMessage(unsigned short)($00000001397237e0,1054)
Fgx.Controls.TfgControl.AfterConstruction()($00000001397237e0)
System._AfterConstruction(System.TObject*)($00000001397237e0)
Fgx.Autocompleteedit.TfgCustomAutoCompleteEdit.TfgCustomAutoCompleteEdit(System.Classes.TComponent*)($00000001397237e0,true,$0000000000000000)
Fgx.Navigationbar.Types.TfgNavigationBarButton.SetActionKind(Fgx.Navigationbar.Types.TfgNavigationBarActionKind)($0000600003f36480,??)
System.Typinfo.TPropSet__1<System.UnicodeString>.SetProc(System.TObject*, System.Typinfo.TPropInfo*, System.UnicodeString)($00000001037aa9b0,$0000600106db75cc,$0000000103d47fcc,??)
System.Typinfo.SetStrProp(System.TObject*, System.Typinfo.TPropInfo*, System.UnicodeString)($0000600106db75cc,$0000000103d47fcc,??)
System.Classes.TReader.ReadPropValue(System.Classes.TPersistent*, void*)(??,$000000016cf7e500,$000000016cf7e508)
System.Classes.TReader.ReadProperty(System.Classes.TPersistent*)(??,??)
System.Classes.TReader.ReadCollection(System.Classes.TCollection*)($0000000139714f50,$000060000328f3e0)
System.Classes.TReader.ReadPropValue(System.Classes.TPersistent*, void*)(??,$000000016cf7e960,$000000016cf7e968)
System.Classes.TReader.ReadProperty(System.Classes.TPersistent*)(??,??)
System.Classes.TReader.ReadDataInner(System.Classes.TComponent*)($0000000139714f50,$0000000139714a00)
System.Classes.TReader.ReadData(System.Classes.TComponent*)($0000000139714f50,$0000000139714a00)
System.Classes.TComponent.ReadState(System.Classes.TReader*)($0000000139714a00,$0000000139714f50)
System.Classes.TReader.ReadComponent(System.Classes.TComponent*)(??,??)
System.Classes.TReader.ReadDataInner(System.Classes.TComponent*)($0000000139714f50,$000000013950fc20)
System.Classes.TReader.ReadData(System.Classes.TComponent*)($0000000139714f50,$000000013950fc20)
System.Classes.TComponent.ReadState(System.Classes.TReader*)($000000013950fc20,$0000000139714f50)
System.Classes.TReader.ReadRootComponent(System.Classes.TComponent*)($0000000139714f50,$000000013950fc20)
System.Classes.TStream.ReadComponent(System.Classes.TComponent*)($000060000041b240,$000000013950fc20)
System.Classes.InternalReadComponentRes(System.UnicodeString, unsigned long long, System.Classes.TComponent*&)(??,1144816,$000000016cf7f520)
System.Classes.InitInheritedComponent(System.Classes.TComponent*, System.TMetaClass*).InitComponent(void*, System.TMetaClass*)({RootAncestor = $0000000103c1a3a0, Instance = $000000013950fc20},$0000000103d62050)
System.Classes.InitInheritedComponent(System.Classes.TComponent*, System.TMetaClass*)(??,??)
Fgx.Forms.TfgCustomForm.TfgCustomForm(System.Classes.TComponent*)($000000013950fc20,false,$0000000000000000)
Form.Main.TFormMain.TFormMain(System.Classes.TComponent*)($000000016cf7f850,true,$0000000000000000)
Fgx.Application.TfgApplication.CreateForm(System.Classes.TComponentClass, void*)($0000600002428240,$0000000103d62050,$0000000103d64720)
Fgx.Application.TfgApplication.CreateDelayedForms()($0000600002428240)
Fgx.Application.TfgApplication.OnCanCreateFormsMessageHandler(System.TObject*, System.Messaging.TMessageBase*)($0000600002428240)
System.Messaging.TMessageManager.TListenerList.IterateAndSend(System.TObject*, System.Messaging.TMessageBase*)($0000600000426480,$0000600001324160,$000060000132cc30)
System.Messaging.TMessageManager.TListenerList.SendMessage(System.TObject*, System.Messaging.TMessageBase*)($0000600000426480,$0000600001324160,$000060000132cc30)
System.Messaging.TMessageManager.SendMessage(System.TObject*, System.Messaging.TMessageBase*, bool)($0000600001131340,$0000600001324160,$000060000132cc30,true)
System.Messaging.TMessageManager.SendMessage(System.TObject*, System.Messaging.TMessageBase*)($0000600001131340,$0000600001324160,$000060000132cc30)
Fgx.Platform.Ios.TfgiOSApplicationDelegate.applicationDidFinishLaunchingWithOptions(void*, void*, void*, void*)($0000600001324160,$0000000000000000)

 

User Feedback

Recommended Comments

BauerSoftware

Active subscription

It work on Android device but while quitting the app it brings an AV with this call stack:

 

System._DbgExcNotify(int, void*, System.SmallString<(unsigned char)255>*, void*, void*)
System.NotifyReRaise(System.TObject*, void*)($b4000072cd21ae50,$000000717bcf4280)
System._RaiseAtExcept(System.TObject*, void*)($b4000072cd21ae50,$000000717bcf4280)
System.Internal.Excutils.SignalConverter(unsigned long long, unsigned long long, unsigned long long)(487408484992,0,720907)
Fgx.Log.TfgLog.Log(Fgx.Log.TfgLogLevel, System.UnicodeString)($000000717d2e0fb0,Warning,??)
Fgx.Log.TfgLog.Warning(System.UnicodeString, System.TVarRec const*, long long)($000000717d2e0fb0,??,{[0] = {  {  {  {  {VInteger = 7},   {VBoolean = true},   {VChar = 0 '#$07'},   {VExtended = $0100007f00000007},   {VString = $0100007f00000007},   {VPointer = $0100007f00000007},   {VPChar = ""},   {VObject = $0100007f00000007},   {VClass = $0100007f00000007},   {VWideChar = U+0007 u'\\\\a'}}}}}},0)
Fgx.Assets.TfgAssetsManager.Clear()($b4000072cd1fc2b0)
Fgx.Assets.TfgAssetsManager.~TfgAssetsManager()($b4000072cd1fc2b0,true)
System.TObject.Free()($b40000e447f27d20)
System.Sysutils.FreeAndNil(System.TObject*&)($000000717d48c7a8)
Fgx.Assets.TfgAssetsManager.operator cdtr()
System.FinalizeUnits()
System._Halt0()
Fgx.Platform.Android.TfgActivityStateListener.onDestroy()($b4000072cd1fd6f0)
rtti_raw_invoke
System.Rtti.Invoke(void*, System.DynamicArray<System.Rtti.TValue>, System.Typinfo.TCallConv, System.Typinfo.TTypeInfo*, bool, bool)($000000717befdb00,{__content_ptr = $b40000742d25d820},ccReg,$0000000000000000,false,false)
System.Rtti.TRttiInstanceMethodEx.DispatchInvoke(System.Rtti.TValue const&, System.Rtti.TValue const*, long long)($b4000072cd220730,{FTypeInfo = $000000717d3dad20, FValueData = $000000717cb358b8,   {  {FAsUByte = 0 '#$f0'},   {FAsUWord = 55024},   {FAsULong = 3441415920},   {FAsObject = $b4000072cd1fd6f0},   {FAsClass = $b4000072cd1fd6f0},   {FAsSByte = 0 '#$f0'},   {FAsSWord = -10512},   {FAsSLong = -853551376},   {FAsSingle = -167603968},   {FAsDouble = -3.1865326552917502E-58}}},{[0] = {FTypeInfo = ??, FValueData = ??,   {  {FAsUByte = ??},   {FAsUWord = ??},   {FAsULong = ??},   {FAsObject = ??},   {FAsClass = ??},   {FAsSByte = ??},   {FAsSWord = ??},   {FAsSLong = ??},   {FAsSingle = ??},   {FAsDouble = ??},   {FAsExtended = ??},   {FAsComp = ??},   {FAsCurr = ??},   {FAsUInt64 = ??}}}},-1)
System.Rtti.TRttiMethod.Invoke(System.TObject*, System.Rtti.TValue const*, long long)($b4000072cd220730,$b4000072cd1fd6f0,{[0] = {FTypeInfo = ??, FValueData = ??,   {  {FAsUByte = ??},   {FAsUWord = ??},   {FAsULong = ??},   {FAsObject = ??},   {FAsClass = ??},   {FAsSByte = ??},   {FAsSWord = ??},   {FAsSLong = ??},   {FAsSingle = ??},   {FAsDouble = ??},   {FAsExtended = ??},   {FAsComp = ??},   {FAsCurr = ??},   {FAsUInt64 = ??}}}},-1)
Java.Bridge.TJavaProxyClass.dispatchToFGXNative(JNINativeInterface**, Androidapi.Jni._JNIObject*, Androidapi.Jni._JNIObject*, Androidapi.Jni._JNIObject*, long long)($0000007fee52b0ac,$0000000000000000,-5476376653814835472)
:000000729B151E34 art_quick_generic_jni_trampoline

 

BauerSoftware

Active subscription
On 5/30/2024 at 12:47 AM, Yaroslav Brovin said:

I'm not able to reproduce crash on Android. Could you clarify what should I do?

Just run the sample "TfgCollectionView > Filtering items" on an Android device and terminate the app. 
It sometimes occurs in the 64Bit version.
It always occurs in the 32 Bit version.

  • Administrators

Hello,

The problem, that this demo sample doesn't terminate app on hiding by default. Because the main form uses DefaultAction = Hide. But ok, I will check again.

Thank you

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.