avoid workarounds!

Carsten Pfeiffer carpdjih at mailbox.tu-berlin.de
Sat Feb 8 14:16:16 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----

On Friday 07 February 2003 10:55, Stefan Westerfeld wrote:

> I was recently greeted with the message
>
> | On last startup, KNotify crashed while creating Arts::Dispatcher. Do you
> | want to try again or disable aRts Sound output?
>
> on login. Could you _please_ not try to spend work on fixing the symptoms
> but on fixing the problems?
>
> Kludging workarounds in higher-level stuff for broken lower-level stuff is
> ineffective, hides the real source of the problems and should not be done.
> If aRts crashes, it should be fixed, and not the program using aRts (which
> is impossible to do while keeping the featureset it was using aRts for in
> the first place anyway).

In general, I agree with that, but KNotify is a special case. It's an 
application that is automatically started and not just once, but e.g. 
whenever a window pops up. A crashing KNotify makes your entire KDE system 
_unusable_. That's inacceptible, sorry.

I think there would be less such problems if there was better error handling 
instead of assert() in arts.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPkURMqWgYMJuwmZtAQEo9AgAnoHDIR5ZPk2s/3UMunKDeeyv/uKoN3aV
OSs3MhplTJ44cVCO2cpNab7aLKhmxH3nfHLSQ0ublKfNcuow0+Pias8KKip+y/gU
1gAl+L61yThzH8PIw5o/lQCP/T1fH8MNa9vIqve41/wRdgkd2NtHWM+/g9Aja1UO
cZ/5EwVII6GJ1N5InzD5exPC9zK8IqDJzOkSDCWaq2A6SsVvBCdJmJi1ilq70gXU
TShOUspxtxkl2aWyn/695DnIJNAeYRPG7k7vr66+Ga/33PpymPHwc7dW2GueSeFJ
cNgwAjDGN9GBzHcvc2U74DE4PMd0R665ZaDBi3Uojc4pouRsDDdaDg==
=xsZ1
-----END PGP SIGNATURE-----



More information about the kde-multimedia mailing list