[pulseaudio-discuss] [PATCH 2/6] Turn device ports into reference counted objects
Mark Brown
broonie at sirena.org.uk
Tue Nov 15 08:20:12 PST 2011
On Tue, Nov 08, 2011 at 09:54:01AM +0100, David Henningsson wrote:
> On 11/08/2011 09:31 AM, Maarten Bosmans wrote:
> >That's exactly why you should compile without asserts enable for
> >production builds.
> I'm afraid that approach won't work for Ubuntu - there are way too
> many cases where we *don't* do proper error handling, and where the
> assert is the difference between being able to actually find the bug
> (proper stack trace is collected by Ubuntu's bug reporting system
> "apport") and horribly failing with a sigsegv somewhere later on
> with minimal possibilities to understand what happened.
This sounds like apport wants something like the equivalent of the
kernel's WARN_ON() support which behaves like an assert in terms of
logging and whatnot but is non-fatal.
More information about the pulseaudio-discuss
mailing list