Concurrent compound function calls



  • Sorry to bother you again. I remade my app into a compound function and noticed this thing while testing (might be that it's caused by same problem as in "Function calls and signals".

    If I have 2 clients, which will make concurrent calls to same compound function, callbacks will be mixed up together. After that, if I close those 2 clients and start a new client, it will also have mix up with calls and callbacks. To recover from this, I need to restart VisionAppster Application Engine

    Client A

    [20190902 08:29:11:442] Compound called. AAAAAAA (1).png
    [20190902 08:29:11:461] Compound Success received. AAAAAAA (1).png mean: 148.5622833191248
    [20190902 08:29:11:526] Compound called. AAAAAAA (10).png
    [20190902 08:29:11:548] Compound Success received. AAAAAAA (10).png mean: 123.31437020460359
    [20190902 08:29:11:611] Compound called. AAAAAAA (100).png
    [20190902 08:29:11:622] Compound Success received. AAAAAAA (100).png mean: 148.43253587666956
    [20190902 08:29:11:688] Compound called. AAAAAAA (101).png
    [20190902 08:29:11:698] Compound Success received. AAAAAAA (101).png mean: 135.24249786871266
    [20190902 08:29:11:762] Compound called. AAAAAAA (102).png
    [20190902 08:29:11:781] Compound Success received. AAAAAAA (102).png mean: 135.23190004262568
    [20190902 08:29:11:840] Compound called. AAAAAAA (103).png
    [20190902 08:29:11:851] Compound Success received. AAAAAAA (103).png mean: 147.86188547882915
    [20190902 08:29:11:915] Compound called. AAAAAAA (104).png
    [20190902 08:29:11:928] Compound Success received. AAAAAAA (104).png mean: 148.55522342995167
    [20190902 08:29:11:991] Compound called. AAAAAAA (105).png
    [20190902 08:29:12:003] Compound Success received. AAAAAAA (105).png mean: 124.63748934356347
    [20190902 08:29:12:066] Compound called. AAAAAAA (106).png
    [20190902 08:29:12:160] Compound Success with wrong handle. original AAAAAAA (106).png != received BBBBBBB (10).png mean: 123.31437020460359
    [20190902 08:29:12:224] Compound called. AAAAAAA (107).png
    [20190902 08:29:12:312] Compound Success with wrong handle. original AAAAAAA (107).png != received BBBBBBB (100).png mean: 148.43253587666956
    [20190902 08:29:12:376] Compound called. AAAAAAA (108).png
    [20190902 08:29:12:466] Compound Success with wrong handle. original AAAAAAA (108).png != received BBBBBBB (101).png mean: 135.24249786871266
    [20190902 08:29:12:530] Compound called. AAAAAAA (109).png
    [20190902 08:29:12:619] Compound Success with wrong handle. original AAAAAAA (109).png != received BBBBBBB (102).png mean: 135.23190004262568
    

    Client B

    [20190902 08:29:12:000] Compound called. BBBBBBB (1).png
    [20190902 08:29:12:077] Compound Success with wrong handle. original BBBBBBB (1).png != received AAAAAAA (106).png mean: 148.5622833191248
    [20190902 08:29:12:142] Compound called. BBBBBBB (10).png
    [20190902 08:29:12:236] Compound Success with wrong handle. original BBBBBBB (10).png != received AAAAAAA (107).png mean: 148.40002308894583
    [20190902 08:29:12:300] Compound called. BBBBBBB (100).png
    [20190902 08:29:12:388] Compound Success with wrong handle. original BBBBBBB (100).png != received AAAAAAA (108).png mean: 124.42296106848539
    [20190902 08:29:12:453] Compound called. BBBBBBB (101).png
    [20190902 08:29:12:542] Compound Success with wrong handle. original BBBBBBB (101).png != received AAAAAAA (109).png mean: 124.69786871270249
    [20190902 08:29:12:607] Compound called. BBBBBBB (102).png
    

    Client started after A&B closed:
    (Has 10 second timeout to call next one)

    [20190902 08:33:41:563] Compound called. 114945544.png
    [20190902 08:33:51:560] Compound called. 114945696.png
    [20190902 08:33:51:578] Compound Success with wrong handle. original 114945544.png != received 114945696.png mean: 124.16420502983804
    [20190902 08:34:01:559] Compound called. 114946000.png
    [20190902 08:34:01:570] Compound Success with wrong handle. original 114945696.png != received 114946000.png mean: 123.91249111963626
    [20190902 08:34:11:560] Compound called. 114946152.png
    [20190902 08:34:11:576] Compound Success with wrong handle. original 114946000.png != received 114946152.png mean: 136.205544899119
    [20190902 08:34:21:559] Compound called. 114946456.png
    [20190902 08:34:21:576] Compound Success with wrong handle. original 114946152.png != received 114946456.png mean: 123.72054916169368
    [20190902 08:34:31:560] Compound called. 114946608.png
    [20190902 08:34:31:572] Compound Success with wrong handle. original 114946456.png != received 114946608.png mean: 136.5730658567775
    [20190902 08:34:41:559] Compound called. 114947216.png
    [20190902 08:34:41:574] Compound Success with wrong handle. original 114946608.png != received 114947216.png mean: 123.54674623472579
    [20190902 08:34:51:561] Compound called. 114947976.png
    [20190902 08:34:51:578] Compound Success with wrong handle. original 114947216.png != received 114947976.png mean: 136.3919685990339
    


  • Nothing to be sorry about. This is really valuable feedback to us. I cannot directly tell what's going on, but we are trying to reproduce the problem in a controlled setting. The two issues could indeed be related. Thanks for reporting.


Log in to reply