I did a prog with threaded TCPStreams
it run perfectly under windows but create "Segmentation fault" under linux and FreeBSD after a limited number of access of the TCPStream, like after some getPeer(), write, read, etc.
I tried 4 different releases, and it's always the same things (1.6.2, 1.9.7, 2-0.99.2, 2-0.99.4)
Thx
Norwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did a prog with threaded TCPStreams
it run perfectly under windows but create "Segmentation fault" under linux and FreeBSD after a limited number of access of the TCPStream, like after some getPeer(), write, read, etc.
I tried 4 different releases, and it's always the same things (1.6.2, 1.9.7, 2-0.99.2, 2-0.99.4)
Thx
Norwin
bash$ c++ `ccgnu-config --flags --stdlibs` prog source1.cc source2.cc . . .
bash$ ulimit -c unlimited
bash$ ./prog
Segmentation fault (core dumped)
bash$ gdb prog core
(gdb) backtrace
for starters