Use abort() instead of exit() in xio error handler?
Christoph Feck
christoph at maxiom.de
Mon Jun 1 16:13:29 BST 2009
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)
More information about the kde-core-devel
mailing list