Menu ▾ ▴

#1 core dump in sample

open
nobody
None
5
2004-11-22
2004-11-22
Heiko Weber
No

target-system is FreeBSD 4.10-STABLE.
The sample-program "mydeamon" dumped core with
segmentation fault in line tcpserver.cpp#491 (catch
SocketException).

Discussion

  • Jason But

    Jason But - 2004-11-28

    Logged In: YES
    user_id=1038528

    Known bug:

    This caused me some grief for a while and a note will be made when I figure
    out how to set up the CVS on this project.

    Up to and including FreeBSD 5.21
    pthreadcc compiles, is tested and works well on its own
    socketcc compiles, is tested and works well on its own
    sockets in multi-threaded applications do not work.

    Problem fixed in FreeBSD 5.3

    Jason

     
  • Heiko Weber

    Heiko Weber - 2004-11-28

    Logged In: YES
    user_id=1164211

    Maybe you can look into the socket/thread parts
    of "commoncpp2" (search for cplusplus here). This works here
    on FBSD 4.10

    Heiko

     

Log in to post a comment.