Once again my app is crashing due to sib file

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Once again my app is crashing due to sib file

Post by Thomas J. »

Hello support,
I have again trouble with your component. I cannot create a form (runtime) due to a problem in a frame which has a TsiLangLinked component. The app is crashing AV on adress 00000000. I'm also not able to add translations to this frame and save this. If I save the changes in the Translation Editor an exception comes up
Here the log
[0EBBC6C4]{TsiLang_C2007r.bpl} Sicomp.TsiPropInfoList + $20
[2004A4B0]{rtl100.bpl } Contnrs.TComponentList.IndexOf (Line 390, "common\Contnrs.pas" + 0) + $0
[201D1870]{vcl100.bpl } AppEvnts.TMultiCaster.Activate (Line 266, "appevnts.pas" + 1) + $12
[201D15D8]{vcl100.bpl } AppEvnts.TCustomApplicationEvents.Activate (Line 147, "appevnts.pas" + 1) + $7
[0041E152]{bds.exe } AppMain.TAppBuilder.FormActivate (Line 5716, "ui\AppMain.pas" + 0) + $6
[2015C5F7]{vcl100.bpl } Forms.TCustomForm.Activate (Line 4771, "Forms.pas" + 2) + $12
[2015D6D0]{vcl100.bpl } Forms.TCustomForm.CMActivate (Line 5369, "Forms.pas" + 2) + $6
[2013C527]{vcl100.bpl } Controls.TControl.WndProc (Line 5146, "Controls.pas" + 83) + $6
[0EBC0169]{TsiLang_C2007r.bpl} Sicomp.TsiCustomLang.DelOldNames + $311
[0EBC77F7]{TsiLang_C2007r.bpl} siComp._16565 + $33
[0EBC9C46]{TsiLang_C2007r.bpl} Sicomp.TsiCustomLang.ChangeLanguage + $86A
[0EBE4FE0]{TsiLang_C2007r.bpl} Sitranseditor.TsiTransEditFrm.SetProperties + $1C8
[0EBE31E9]{TsiLang_C2007r.bpl} Sitranseditor.TransEditorDlg + $1E1
[0EA3344A]{TSiLang_C2007.bpl} Sipropeditors.TTranslationsEditor.ExecuteVerb + $6E
[20D2D840]{designide100.bpl} DesignEditors.TComponentEditor.Edit (Line 2641, "DesignEditors.pas" + 1) + $11
[20D52341]{designide100.bpl} ComponentDesigner.TInternalItem.Edit (Line 7039, "ComponentDesigner.pas" + 1) + $F
[20D31578]{designide100.bpl} Designer.TDesigner.Edit (Line 965, "Designer.pas" + 0) + $4
[20D3377C]{designide100.bpl} Designer.TDesigner.MouseDown (Line 1659, "Designer.pas" + 45) + $6
[20D2FFBA]{designide100.bpl} Designer. + $0
[05A467E6]{vcldesigner100.bpl} VCLSurface.TComponentToolWindow.WndProc (Line 1324, "vclsurface.pas" + 16) + $32
[05A47196]{vcldesigner100.bpl} VCLSurface.TContainer.WndProc (Line 1624, "vclsurface.pas" + 39) + $6
[0CF7CBF1]{cxLibraryC11.bpl} cxContainer._16899 + $95
[05A465D3]{vcldesigner100.bpl} VCLSurface.TDesignerToolWindow.MainWndProc (Line 1259, "vclsurface.pas" + 2) + $7
[20040E4C]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[20137642]{vcl100.bpl } Controls.FindControl (Line 2104, "Controls.pas" + 6) + $9
[201625F0]{vcl100.bpl } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[2016262A]{vcl100.bpl } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[2016291F]{vcl100.bpl } Forms.TApplication.Run (Line 8223, "Forms.pas" + 20) + $3
[0042297A]{bds.exe } bds.bds (Line 195, "" + 7) + $7

What can I do
Thanks for your help
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

If you have problems saving translations from Translation Editor at design-time then it has nothing related to SIB file.
If you can reproduce this error on sample project and send it to us we will try to find the origin of the problem.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

I will send you an example tomorrow.
I think the sib file is corrupt due to the problem of saving.
If I delete all entries from the frame I'm able to save.
But right now I couldn't test.

Maybe the problem comes from.
What will happen if I delete a control which has already translated properties?
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

The respective entry in translations will be automatically deleted upon deleting controls from form.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

So I sent you the files. The problem are the Collection Strings (FieldNames). If I delete these everything is running fine. But were is the bug?
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Thank you for sending the file. I can guess that some controls (used in Collections) cause this when TsiLang updates their FieldName property. When you close Translation Editor it udpates the translation in TsiLang and TsiLang updates controls with values from active language. It is recommended to add FieldName to ExcludedProperties list to exclude such properties since they don't need to be translated. So just remove FieldName items from the Collections list and it should work.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

Yes of course and that's waht I did already. But such error is a bad once. I searched 4h regarding this simple problem. And an AV should never come. And I think you can fix this problem in your suite.
Otherwise I will come in the same problem one year later. And I assume that I will not remember imidiatly.
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

We will try to find the origin of this problem, but I guess that this problem comes only with specific components used on your side. :( Because this never beed reproted before.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

FYI these components are from DevExpress.
Post Reply