summaryrefslogtreecommitdiffstats
path: root/nsplugins/pluginscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nsplugins/pluginscan.cpp')
-rw-r--r--nsplugins/pluginscan.cpp1
1 files changed, 1 insertions, 0 deletions
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]);