From kde-core-devel Mon Jun 01 15:13:29 2009 From: Christoph Feck Date: Mon, 01 Jun 2009 15:13:29 +0000 To: kde-core-devel Subject: Use abort() instead of exit() in xio error handler? Message-Id: <200906011713.30333.christoph () maxiom ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=124388224108162 Hi, I am currently looking at https://bugs.kde.org/show_bug.cgi?id=194750 and was wondering if it would make sense to change xio error handler to use abort() instead of exit(), effectively bypassing the static cleanup functions that some KDE components register. Those cleanup functions seem to cause this and other wired crashes (just grep bko for "exit()" :) If X11 decides to assert (maybe because of the evil XCB bug), it should not create backtraces that suggest completely unrelated bugs. Could anything make it crucial for exit() handlers to be called before crashing? Christoph Feck (kdepepo)