Hi!
I've a crash in the function selector.isReady.
When I connect a client once it works, but, when I connect and then disconnect the client a second time, it crash.
Here's what the debugguer shows ;
#0 0x7ffff6535f79 __GI_raise(sig=sig@entry=6) (../nptl/sysdeps/unix/sysv/linux/raise.c:56)
#1 0x7ffff6539388 __GI_abort() (abort.c:89)
#2 0x7ffff65731d4 __libc_message(do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff667f415 "*** %s ***: %s terminated\n") (../sysdeps/posix/libc_fatal.c:175)
#3 0x7ffff660ab2c __GI___fortify_fail(msg=<optimized out>, msg@entry=0x7ffff667f3ac "buffer overflow detected") (fortify_fail.c:37)
#4 0x7ffff66099f0 __GI___chk_fail() (chk_fail.c:28)
#5 0x7ffff660aa77 __fdelt_chk(d=<optimized out>) (fdelt_chk.c:25)
#6 0x7ffff7bd3d9c sf::SocketSelector::isReady(sf::Socket&) const() (/usr/local/lib/libsfml-network.so.2:??)
#7 0x43e3c4 odfaeg::SrkServer::run(this=0x8052f0) (/home/laurent/Projets-dev/Projets-c++/ODFAEG/src/odfaeg/Network/srkserveur.cpp:79)
#8 0x7ffff6e92bf0 ??() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6:??)
#9 0x7ffff62e9182 start_thread(arg=0x7ffff20fc700) (pthread_create.c:312)
#10 0x7ffff65fa30d clone() (../sysdeps/unix/sysv/linux/x86_64/clone.S:111)
Is seems that there is a buffer overflow somewhere.