Menu

#189 bug on run-time if do not compile using -gc3

v1.0_(example)
open
nobody
None
1
2025-03-18
2024-10-23
No

I think it is interesting investigate this behaviour.
It only works if compile using -gc3
Anything deleted from source code solve problem, may be unused functions.
Is it a harbour bug ?
Is it a harbour VM bug ?
Why anything like this on hwgui only ?
When exit from dialog, error on RETURN.
Windows 10, mingw 32 bits (I think using bcc too)
Same occurs on hwgui 2.17 and current hwgui.

hbmk2 test.prg hwgui.hbc -> error when exit internal dialog
hbmk2 test.prg hwgui.hbc -gc3 -> all works ok

1 Attachments

Discussion

  • Wilfried Brunken

    Hello José,
    i can reproduce this crash also on Windows 11 with MinGW32.

    Disgn errors:
    I found some overlapping elements, and the banco dialog have a lot
    of elements.

    With this i post the recent state of experiments.
    I commented out some commands, until the crash disappeared.
    For details read the inline comments of test program i added.

    I handle this case with low priority.
    Please be patient, i will look for this
    ticket, if i have time.

    The hbp file comes with following post.

    With regards,
    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
  • Wilfried Brunken

    ... and the hbp file:

     
  • José M. C. Quintas

    Ok.
    Anything deleted from source code eliminates the error.
    It is crazy.
    Gambeta says about a bug on harbour VM.
    harbour shows -gc3 as compile using real C code.
    Do not know what to detect to ask a specific help on harbour.

    José M. C. Quintas

     

Log in to post a comment.