crash

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Проблема с отображением RICHEDIT50W #58929
    crash
    Participant

    Он используется для отображения текста в сертификатах

    in reply to: Утечка памяти InternalSkin #58770
    crash
    Participant

    Куча утечек 🙁 ребят пофиксите пжлста!

    Расписал в подробностях, что где

    win 10

    Delhi xe4

    Просто пустая форма и куча утечек!

    Code:
    Exception:
    ————————————————————————–
    2.2 Address: 007C7723
    2.5 Type : EMemoryLeak
    2.6 Message: Application has leaked memory: Total size=827814; Count=19.
    2.7 ID : E5EE0001
    2.11 Sent : 0

    Leaks Information:
    ————————————————————————————————————————–
    |Methods |Details|Stack |Address |Module |Offset |Unit |Class |Procedure/Method |Line |
    ————————————————————————————————————————–
    |+Leak #1: Type=TacSkinConvertor; Total size=24; Count=1 |
    |————————————————————————————————————————|
    |00000002|03 |00000000|007C7721|Project1.exe|003C7721|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #2: Type=TMemoryStream; Total size=24; Count=1 |
    |————————————————————————————————————————|
    |00000002|03 |00000000|007D1326|Project1.exe|003D1326|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #3: Type=Data at $079285E0; Total size=24576; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|004E3F25|Project1.exe|000E3F25|System.Classes|TMemoryStream|Realloc |8752[13] |
    |00000002|04 |00000000|004E2EFD|Project1.exe|000E2EFD|System.Classes|TStream |WriteBuffer |8196[3] |
    |00000002|04 |00000000|004E31B4|Project1.exe|000E31B4|System.Classes|TStream |CopyFrom |8263[14] |
    |00000002|03 |00000000|007D1340|Project1.exe|003D1340|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #4: Type=UnicodeString: Ref count – 1, Content: “BTNHUGE.BMP”; Total size=36; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|00409CC6|Project1.exe|00009CC6|System | |InternalUStrFromPCharLen|23089[11]|
    |00000002|03 |00000000|007D1389|Project1.exe|003D1389|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #5: Type=TMemoryStream; Total size=120; Count=5 |
    |————————————————————————————————————————|
    |00000002|03 |00000000|007D1403|Project1.exe|003D1403|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #6: Type=Data at $078D26C0; Total size=81920; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|004E3F33|Project1.exe|000E3F33|System.Classes|TMemoryStream|Realloc |8754[15] |
    |00000002|04 |00000000|004E2EFD|Project1.exe|000E2EFD|System.Classes|TStream |WriteBuffer |8196[3] |
    |00000002|04 |00000000|004E31B4|Project1.exe|000E31B4|System.Classes|TStream |CopyFrom |8263[14] |
    |00000002|03 |00000000|007D141A|Project1.exe|003D141A|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #7: Type=UnicodeString: Ref count – 1, Content: “MASTER COPY.BMP”; Total size=44; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|00409CC6|Project1.exe|00009CC6|System | |InternalUStrFromPCharLen|23089[11]|
    |00000002|03 |00000000|007D1389|Project1.exe|003D1389|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #8: Type=Data at $7FD400F0; Total size=696320; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|004E3F33|Project1.exe|000E3F33|System.Classes|TMemoryStream|Realloc |8754[15] |
    |00000002|04 |00000000|004E2EFD|Project1.exe|000E2EFD|System.Classes|TStream |WriteBuffer |8196[3] |
    |00000002|04 |00000000|004E31B4|Project1.exe|000E31B4|System.Classes|TStream |CopyFrom |8263[14] |
    |00000002|03 |00000000|007D141A|Project1.exe|003D141A|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #9: Type=UnicodeString: Ref count – 1, Content: “EXTBORD.PNG”; Total size=36; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|00409CC6|Project1.exe|00009CC6|System | |InternalUStrFromPCharLen|23089[11]|
    |00000002|03 |00000000|007D1389|Project1.exe|003D1389|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #10: Type=Data at $07930D40; Total size=24576; Count=3 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|004E3F25|Project1.exe|000E3F25|System.Classes|TMemoryStream|Realloc |8752[13] |
    |00000002|04 |00000000|004E2EFD|Project1.exe|000E2EFD|System.Classes|TStream |WriteBuffer |8196[3] |
    |00000002|04 |00000000|004E31B4|Project1.exe|000E31B4|System.Classes|TStream |CopyFrom |8263[14] |
    |00000002|03 |00000000|007D141A|Project1.exe|003D141A|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #11: Type=UnicodeString: Ref count – 1, Content: “GLOWEDIT.PNG”; Total size=38; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|00409CC6|Project1.exe|00009CC6|System | |InternalUStrFromPCharLen|23089[11]|
    |00000002|03 |00000000|007D1389|Project1.exe|003D1389|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #12: Type=Array: Ref count – 1, Len – 5, Elem size – 12; Total size=68; Count=1 |
    |————————————————————————————————————————|
    |00000002|03 |00000000|007D1364|Project1.exe|003D1364|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    |————————————————————————————————————————|
    | |
    |+Leak #13: Type=UnicodeString: Ref count – 1, Content: “GLOWH.PNG”; Total size=32; Count=1 |
    |————————————————————————————————————————|
    |00000002|04 |00000000|00409CC6|Project1.exe|00009CC6|System | |InternalUStrFromPCharLen|23089[11]|
    |00000002|03 |00000000|007D1389|Project1.exe|003D1389|sSkinManager | |ExtractPackedData | |
    |00000002|03 |00000000|007C7765|Project1.exe|003C7765|sSkinManager | |LoadSkinFromFile | |
    |00000002|03 |00000000|007CD8B7|Project1.exe|003CD8B7|sSkinManager |TsSkinManager|InitSkinFile | |
    |00000002|03 |00000000|007CD622|Project1.exe|003CD622|sSkinManager |TsSkinManager|ReloadSkin | |
    ————————————————————————————————————————–

    crash
    Participant

    А еще откапал утечку в unit acSkinedControl;

    Нужно добавить в unit acSkinedControl;

    destructor TacSkinedControl.Destroy;

    begin

    FSkinData.Free;

    FBoundLabel.Free;

    inherited Destroy

    end;

    И все пашет 🙂

    crash
    Participant

    Всем привет!

    Иногда падал с ошибкой


    Debugger Exception Notification


    Project krada.exe raised exception class EInvalidGraphicOperation with message 'Scan line index out of range'.


    в procedure TSubPopupMenu.InvalidateRects;

    ОТрисовка

    PaintItemBG(FSkinData, MakeCacheInfo(FBackGround), 0,

    Rect(ARect.Left, ARect.Top, ARect.Right, ARect.Top + 10 + (MNU_ITEM_HEIGHT * a)), ARect.TopLeft, FBackGround);

    Уборал +10 и все заработало

    Еще если нажать на пустое место типа как в висте появляется текстовый пусть типа C:DISTRNET

    Если поводить мышкой видно кусочки от меню полоски вот

    badn.png

    Компонент отличный!

    Можно добавить его в стандартную поставку alphaskins!!?

Viewing 4 posts - 1 through 4 (of 4 total)