Open RobinPetit opened 8 years ago
Comment by RobinPetit Saturday Mar 26, 2016 at 17:22 GMT
I had this too and I haven't anymore so maybe it has been fixed in one of my commits that will arrive in the next push.
Comment by RobinPetit Saturday Mar 26, 2016 at 17:25 GMT
Can you try again with the last version of the branch?
Comment by TheoVerhelst Saturday Mar 26, 2016 at 18:07 GMT
The bog occurs again even with you latest commits.
Comment by RobinPetit Saturday Mar 26, 2016 at 18:11 GMT
All right, I eat and then I'll take a look.
Comment by RobinPetit Sunday Mar 27, 2016 at 00:26 GMT
Does this bug still occur? I can't generate it voluntarily.
Even though I know that there is a SEGFAULT when the game is over.
Comment by TheoVerhelst Sunday Mar 27, 2016 at 01:16 GMT
Yes the bug still occurs. In a client it was really fast (one second after that the board is displayed), and in the other I moved my mouse around and clicked on cards, no segfault happened until I clicked on the button to skip my turn.
Comment by TheoVerhelst Sunday Mar 27, 2016 at 01:47 GMT
It may be related to the fact that, if I understand well your code, you are removing and adding all widgets cards to the GUI at each frame update. Even if that not cause this bug, this has (I think) a noticeable impact on performances.
Comment by RobinPetit Sunday Mar 27, 2016 at 01:53 GMT
Not really all of them but most yes. This is on my todolist, but is after having a working game so... Priorities! :vhs:
Comment by TheoVerhelst Sunday Mar 27, 2016 at 03:01 GMT
I removed unneeded removing, and the performances has been improved a bit, but the bug is still here, like a true warrior, he never falls.
Comment by RobinPetit Sunday Mar 27, 2016 at 16:42 GMT
You still have got the bug? @StanIsAdmin was able to run a game so I'd like to know (since despite all my efforts, I couldn't have this bug).
Comment by TheoVerhelst Sunday Mar 27, 2016 at 17:05 GMT
Yes, nothing changed, I'll try to debug it myself.
Issue by TheoVerhelst Saturday Mar 26, 2016 at 17:00 GMT Originally opened as https://github.com/ulb-infof209/Group5/issues/155
Branch: #148 affd1977c9c52a06aaa29fcd778c52b65da56a38 The bug occurs when two GUI clients start a game together,
gdb
says:And then the same functions on the stack again and again, thousand of times. This occurs in both clients. The server says that for the game: