Index: /trunk/src/VBox/Runtime/r3/posix/process-posix.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/posix/process-posix.cpp	(revision 30311)
+++ /trunk/src/VBox/Runtime/r3/posix/process-posix.cpp	(revision 30312)
@@ -394,5 +394,12 @@
              */
             rc = execve(pszExec, (char * const *)papszArgs, (char * const *)papszEnv);
-            AssertReleaseMsgFailed(("execve returns %d errno=%d\n", rc, errno));
+            if (errno == ENOEXEC)
+            {
+                /* This can happen when trying to start a shell script without the magic #!/bin/sh */
+                RTAssertMsg2Weak("Cannot execute this binary format!\n");
+            }
+            else
+                RTAssertMsg2Weak("execve returns %d errno=%d\n", rc, errno);
+            RTAssertReleasePanic();
             exit(127);
         }
