Menu

getPeer on TCPStream cause Segmentation Fault

Help
norwin
2002-06-08
2002-06-08
  • norwin

    norwin - 2002-06-08

    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

     
    • Buck

      Buck - 2002-06-08

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.