From ab252e87d243d448bb66749ee5836883fd5431a9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 27 Mar 2010 17:56:04 +0000 Subject: 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 --- nsplugins/pluginscan.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'nsplugins') diff --git a/nsplugins/pluginscan.cpp b/nsplugins/pluginscan.cpp index b7c0ad1ff..cfa544429 100644 --- a/nsplugins/pluginscan.cpp +++ b/nsplugins/pluginscan.cpp @@ -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]); -- cgit v1.2.1