willjones
9th April 2012, 09:10
I'm working on a cross-platform app. It works fine for the most part on Windows and Linux, but on OS X, I am getting crashes due to SIGPIPE Broken Pipe.
The source of this crash is inside of the event loop, and the last place in my code the debugger can show me is where I call exec().
I have already tried disabling the SIGPIPE with a call to
signal(SIGPIPE, SIG_IGN) but that doesn't seem to be working.
While my code does use networking, this isn't the way I'd expect a SIGPIPE problem with sockets to manifest, in the QT event loop.
Does anyone have any idea why this might be happening, and what I could do to fix it?
The source of this crash is inside of the event loop, and the last place in my code the debugger can show me is where I call exec().
I have already tried disabling the SIGPIPE with a call to
signal(SIGPIPE, SIG_IGN) but that doesn't seem to be working.
While my code does use networking, this isn't the way I'd expect a SIGPIPE problem with sockets to manifest, in the QT event loop.
Does anyone have any idea why this might be happening, and what I could do to fix it?