[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Use abort() instead of exit() in xio error handler?
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2009-06-01 15:13:29
Message-ID: 200906011713.30333.christoph () maxiom ! de
[Download RAW message or body]

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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic