Set crash handler to built in invisible handler, as some third-party plugins are poorly written and crash often

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1108062 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 7fd5e906cc
commit ab252e87d2

@ -358,6 +358,7 @@ void scanDirectory( QString dir, QStringList &mimeInfoList,
} else if (loader_pid == 0) {
// inside the child
close(pipes[0]);
KCrash::setCrashHandler(segv_handler);
_exit(tryCheck(pipes[1], absFile));
} else {
close(pipes[1]);

Loading…
Cancel
Save