Index: settings.pro
===================================================================
--- settings.pro        (revision 13754)
+++ settings.pro        (working copy)
@@ -104,3 +104,12 @@
 EXTRA_LIBS += $$CONFIG_OPENGL_LIBS

 LIRC_LIBS = $$CONFIG_LIRC_LIBS
+
+release-dbg: {
+unix:QMAKE_CXXFLAGS += -g
+unix:QMAKE_POST_LINK=objcopy --only-keep-debug $(TARGET) $(TARGET).dbg;
+unix:QMAKE_POST_LINK+=objcopy --strip-debug $(TARGET);
+unix:QMAKE_POST_LINK+=objcopy --remove-section=.gnu_debuglink $(TARGET);
+unix:QMAKE_POST_LINK+=objcopy --add-gnu-debuglink=$(TARGET).dbg $(TARGET);
+unix:QMAKE_POST_LINK+=chmod -x $(TARGET).dbg
+}
Index: configure
===================================================================
--- configure   (revision 13754)
+++ configure   (working copy)
@@ -58,7 +58,7 @@
   echo "  --help                   print this message"
   #echo "  --log[=FILE|yes|no]      log tests and output to FILE [config.err]"
   echo "  --previous               use previous configure parameters if possible"
-  echo "  --compile-type=CTYPE     one of release, profile, debug [$compile_type]"
+  echo "  --compile-type=CTYPE     one of release, release-dbg, profile, debug [$compile_type]"
   echo "                           NOTE: profile is for sampling profilers"
   echo "  --prefix=PREFIX          install in PREFIX [$PREFIX]"
   echo "  --libdir-name=LIBNAME    search/install libraries in PREFIX/LIBNAME [$libdir_name]"
@@ -1657,6 +1657,18 @@
     expr $HAS_IT : "yes" > /dev/null
 }

+if test x$compile_type = x"release-dbg" ; then
+    BINUTILS_MAJOR=0
+    BINUTILS_MINOR=0
+    if test -e "$(which objcopy)"; then
+        BINUTILS_MAJOR=$(objcopy -V | awk '/GNU objcopy/ {print $3}' | awk -F'.' '{print $1}')
+        BINUTILS_MINOR=$(objcopy -V | awk '/GNU objcopy/ {print $3}' | awk -F'.' '{print $2}')
+    fi
+    if test $BINUTILS_MAJOR -lt 2 -o $BINUTILS_MAJOR -eq 2 -a $BINUTILS_MINOR -lt 15; then
+        echo 'WARNING: "release-dbg" requires binutils > 2.14 - reverting to compile-type "profile"'
+        compile_type="profile"
+    fi
+fi
 CCONFIG="$CCONFIG $compile_type"
 if test x$compile_type = x"profile" ; then
     PROFILEFLAGS="-g -DNDEBUG"
Index: libs/libmythtv/filtermanager.cpp
===================================================================
--- libs/libmythtv/filtermanager.cpp    (revision 13754)
+++ libs/libmythtv/filtermanager.cpp    (working copy)
@@ -69,7 +69,8 @@
     QDir FiltDir(gContext->GetFiltersDir());
     QString Path;

-    FiltDir.setFilter(QDir::Files | QDir::Readable);
+    // dbg files will crash the app if loaded
+    FiltDir.setFilter(QDir::Files | QDir::Readable | QDir::Executable);
     if (FiltDir.exists())
     {
         QStringList LibList = FiltDir.entryList();

