On 08/08/2011 11:46 PM, Brian Geffon wrote:
Hello, I'm using the bnull-transform example and sometimes if connections are terminated abruptly it can cause a SIGPIPE, I've spent a good amount of time trying to track down the cause and have been unable to do so. Also, the bnull-transform.c code isn't up to date with the latest API so I attached a patch that will correct the datatypes in handle_buffering() from int to int64_t, also, I added a few casts to prevent errors when compiling with -Wall.
Is this by chance when running TS under gdb, in a call to write() ? If so, see the 'debugging' section on the Confluence Wiki, it's a known problem with gdb (and easy to work around). If not, we'd need to see a trace from this crasher I think.
Cheers, -- Leif