summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-16 02:15:10 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-16 02:15:10 +0000
commit3531eb6b8044fc20a029604023636c3f479fa9a3 (patch)
treedb9625cc99ac6725da94b0c9ca4a2e1a3bfa415d /mplayer.c
parentc6ed664b52b837ca588b7ad74fd00e6e2df6769d (diff)
downloadmpv-3531eb6b8044fc20a029604023636c3f479fa9a3.tar.bz2
mpv-3531eb6b8044fc20a029604023636c3f479fa9a3.tar.xz
rtfm hint msg depends on runtime detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5130 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 12fa60e415..c71e23e327 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -388,12 +388,16 @@ void exit_sighandler(int x){
case SIGKILL:
break; // killed from keyboard (^C) or killed [-9]
case SIGILL:
+#ifdef RUNTIME_CPUDETECT
+ mp_msg(MSGT_CPLAYER,MSGL_FATAL,"- MPlayer crashed by 'Illegal Instruction'. It may be a bug in our new runtime cpu-detection code... please read DOCS/bugreports.html\n");
+#else
mp_msg(MSGT_CPLAYER,MSGL_FATAL,"- MPlayer crashed by 'Illegal Instruction'. It usually happens when you run it on different CPU than it was compiled for. Verify this!\n");
+#endif
case SIGFPE:
case SIGSEGV:
mp_msg(MSGT_CPLAYER,MSGL_FATAL,"- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.\n");
default:
- mp_msg(MSGT_CPLAYER,MSGL_FATAL,"- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, read DOCS/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.\n");
+ mp_msg(MSGT_CPLAYER,MSGL_FATAL,"- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.\n");
}
exit_player(NULL);
}