[Mplayer-cvslog] CVS: main mplayer.c,1.433,1.434

Arpi of Ize arpi at mplayer.dev.hu
Sat Mar 16 03:15:13 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv18513

Modified Files:
	mplayer.c 
Log Message:
rtfm hint msg depends on runtime detection

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.433
retrieving revision 1.434
diff -u -r1.433 -r1.434
--- mplayer.c	16 Mar 2002 01:56:19 -0000	1.433
+++ mplayer.c	16 Mar 2002 02:15:10 -0000	1.434
@@ -388,12 +388,16 @@
   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);
 }




More information about the MPlayer-cvslog mailing list