Menu

#81 Curious problem ...

v1.0_(example)
closed
nobody
None
1
2024-05-23
2024-04-03
No

Hi,

here is a problem I can't solve correctly:

I have a first dialog which allows to choose an element in an array (which handles arrays). When I choose it, a second dialog opens to allow to modify the other element of the choosen element.

If I choose an element except the first one, it works. Else, the program crashes without Segmentation error message (program just disappeared).

I have found two bypass to make it not to crash :
1) A choose another element, and before validating, I choose the first element and I validate.
2) I insert an hwg_MsgInfo() : run it with a parameter : error x

In these two cases it works without crashing, but these are not really good solutions.

I can't find where I miss ... if you know where I fail ...

run it from within a terminal

Thanks

4 Attachments

Discussion

  • Aupeix Alain

    Aupeix Alain - 2024-05-19

    Sorry, but I forget to initialize the variables, so itf I just click on ok, it fails

    Initializing the variables makes the trick

    You can close
    Thanks
    A+

     
  • Alexander S.Kresin

    • status: open --> closed
     

Log in to post a comment.