File bugzilla-248159-scim-launcher-segfault.patch of Package scim

Index: scim-1.4.5/src/scim_frontend_module.cpp
===================================================================
--- scim-1.4.5.orig/src/scim_frontend_module.cpp
+++ scim-1.4.5/src/scim_frontend_module.cpp
@@ -69,7 +69,11 @@ FrontEndModule::load (const String &name
 
         m_frontend_init (backend, config, argc, argv);
     } catch (...) {
-        m_module.unload ();
+        /*
+	The thrown exception is in x11.so. Unloading it, causes the 
+	destructor of the exception to fail.
+	m_module.unload ();
+	*/
         m_frontend_init = 0;
         m_frontend_run = 0;
         return false;
openSUSE Build Service is sponsored by