diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 1c3c79db3df54ceccfb7e3181f48f3349e9dde7e..5a1ccb2047b45ba545bddbf80ad30b92a04b8e2e 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4125,6 +4125,12 @@ void LLAppViewer::loadEventHostModule(S32 listen_port)
 		gDirUtilp->getAppRODataDir(),
 		gDirUtilp->getExecutableDir());
 
+	if(dso_path == "")
+	{
+		llwarns << "QAModeEventHost requested but module \"" << dso_name << "\" not found!" << llendl;
+		return;
+	}
+
 	apr_dso_handle_t * eventhost_dso_handle = NULL;
 	apr_pool_t * eventhost_dso_memory_pool = NULL;