Page 1 of 1

Application crash

Posted: Wed Dec 11, 2019 9:15 am
by Silvio.Falconi
this is the hb_out

Code: Select all

Application Internal Error - C:\Work\Prg\Agenda_new\Agenda -\main.Exe
Terminated at: 2019-12-11 10:04:22
Errore irrecuperabile 6005: Exception error:

    Exception Code:C0000005 ACCESS_VIOLATION
    Exception Address:77967AD6
    EAX:00004682  EBX:0337DF88  ECX:0000000F  EDX:FFFFF7FF
    ESI:0337DF88  EDI:02B60000  EBP:0019DCD8
    CS:EIP:0023:77967AD6  SS:ESP:002B:0019DB80
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00210206
    Exception Parameters: 00000001 0337E004
    CS:EIP: 66 89 44 CB 04 EB 11 6A 00 51 52 50 8B D7 B9 0C
    SS:ESP: AA8D9BE6 0337DFA0 02B60000 0337DFA8 FFFFFFE3 00000080 02000002 03367D40 FFFFFFEA 000007FF 21000021 0337C518 00000080 00000001 00000031 02B66840

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    77967AD6 0019DCD8   0019DD28 77967057 0337DFA0 0337DFA8 00000000 AAF01372 0337DFA8 710EAC0F 00000000 00F35E34
    77967057 0019DD28   0019DD50 710E41A6 02B60000 00000000 0337DFA8 00000000 AAF0177F 0000043F FFFFF3C0 AAF01372
    710E41A6 0019DD50   0019DD60 0044ACA9 0337DFA8 006111F4
    0044ACA9 0019DD60   0019DD9C 004481EF 0337DFA8 00000003 0019E76C 00421DAF 007D5EBC 0019DD70 00000024 00000000
    004481EF 0019DD9C   0019DDC4 004E4000 006139DF 00000000 00845854 000000C1 00000003 00F31E8C 00000000 00000000
    004E4000 0019DDC4   0019DEE4 004DDD2F 00000001 00000000 00000000 0061832C 00000001 00845CA0 0019DDF8 00F36F04
    004DDD2F 0019DEE4   0019DEF4 0042977C 0061392A 006103C4
    0042977C 0019DEF4   0019DF1C 004E4000 0061C06F 00000000 00845854 000000B7 00000003 00F31E8C 00000000 000004A0
    004E4000 0019DF1C   0019E03C 004DDD2F 00000001 00000000 00000000 0061870C 00A4302C 00000287 0019DF9C 00F36F04
    004DDD2F 0019E03C   0019E04C 00429BA4 0061BF7C 0061757C
    00429BA4 0019E04C   0019E074 004E4262 0061BD80 00000000 00845854 000000B5 00000003 00F31E8C 02B70006 0000044F
    004E4262 0019E074   0019E194 004DDE70 00000000 00000000 00000000 005D6E4C 001E702C 00000230 00C0535C 00000001
    004DDE70 0019E194   0019E1A4 00429B2C 0061BD79 0061757C
    00429B2C 0019E1A4   0019E1CC 004E40EA 00000000 00000002 00000000 000000B0 00000003 00F31E8C 01470006 000003EA
    004E40EA 0019E1CC   0019E1D8 004E45B1 031F0000
    004E45B1 0019E1D8   0019E200 00442601 00000000 00000000 00000000 0062D990 00045854 0019E228 004E4223 00C0529C
    00442601 0019E200   0019E228 004E4262 00631CF1 00000000 00845854 000000AA 00000003 00F31E8C 01220004 00000000
    004E4262 0019E228   0019E348 004DDE70 00000003 00000000 00000000 00618E9C 00631C7B 00000000 013F6FD0 00F36F04
    004DDE70 0019E348   0019E358 0042B028 00631AA8 0062C590
    0042B028 0019E358   0019E380 004E4262 0061E3E3 00000000 00845854 000000A5 00000003 00F31E8C 01220005 00000709

it seem for Bitmap/btnbmp/gdi problem as you can see here

Code: Select all

Called from GDIP_DELETEIMAGE(0)
Called from PALBMPFREE(1184) in .\source\classes\BITMAP.PRG
Called from TBTNBMP:FREEBITMAPS(1103) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DESTROY(1002) in .\source\classes\BTNBMP.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from TCONTROL:HANDLEEVENT(1801) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2030) in .\source\classes\BTNBMP.PRG
Called from _FWH(3559) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(304) in .\source\classes\DIALOG.PRG
Called from BUILDDIALOG(1446) in Source\PAgenda2.prg
Called from (b)BUILDPOP(655) in Source\PAgenda2.prg
Called from TMENU:ACTIVATE(1595) in .\source\classes\MENU.PRG
Called from BUILDPOP(744) in Source\PAgenda2.prg
Called from (b)BUILDCALEX(411) in Source\PAgenda2.prg
Called from TCALEX:RBUTTONUP(1452) in .\source\classes\TCALEX.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from TCALEX:HANDLEEVENT(1801) in .\source\classes\CONTROL.PRG
Called from _FWH(3559) in .\source\classes\WINDOW.PRG
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(1097) in .\source\classes\WINDOW.PRG
Called from TAPPLICATION:ACTIVATE(328) in Source\main.prg


I only compiled CallInfo.prg (tlalex) changing a font on PaintOnMonth( hDC ) to show the text good
PAgenda.prg is sample01.prg of Tcalex class