Segfault in v.6.1 Socket buffer overflow

Bug #1241570 reported by Dean Bouvier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cyphesis
Invalid
Undecided
Unassigned

Bug Description

Program received signal SIGPIPE, Broken pipe.
0x00007ffff4bba282 in send () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0 0x00007ffff4bba282 in send () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff612b957 in stream_socketbuf::overflow (this=0x32c01d0, nCh=-1)
    at ../../skstream/skstream.cpp:289
#2 0x00007ffff612b66f in socketbuf::sync (this=<optimized out>)
    at ../../skstream/skstream.cpp:195
#3 0x00007ffff536d32e in std::ostream::flush() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x000000000047d781 in CommClientFactory<CommUserClient, Connection>::newCommClient (this=0x2dce450, svr=..., asockfd=<optimized out>, address=...)
    at ../../server/CommClientFactory_impl.h:49
#5 0x000000000048a3ec in CommStreamListener<tcp_socket_server>::create (
    this=0x2dcc010, asockfd=18, address=<optimized out>)
    at ../../server/CommStreamListener_impl.h:45
#6 0x000000000047ebe0 in CommTCPListener::accept (this=0x2dcc010)
    at ../../server/CommTCPListener.cpp:99
#7 0x000000000048a06a in CommStreamListener<tcp_socket_server>::read (
    this=<optimized out>) at ../../server/CommStreamListener_impl.h:69
#8 0x00000000004882ef in CommServer::poll (this=0xa38ed0,
    busy=<optimized out>) at ../../server/CommServer.cpp:162
#9 0x0000000000413ced in main (argc=<optimized out>, argv=<optimized out>)
    at ../../server/server.cpp:396

Revision history for this message
Erik Ogenvik (erik-ogenvik) wrote :

This isn't a segfault, it's SEGPIPE, which just indicates that a socket has broken. This isn't fatal in any way, and more of a nuisance. Cyphesis will keep on running just fine (if you're in gdb just execute "continue").
You'll often get this when running a local server and starting up Ember, since Ember will just open up the socket to see if the server is alive, and then brusquely close it. Ember should behave in a better way, but since it doesn't cause any error I haven't put any effort into fixing it.

Changed in cyphesis:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.