comparison src/emacs.c @ 1097:26274e0d7794

[xemacs-hg @ 2002-11-11 16:03:12 by stephent] crash message <87of8wyy85.fsf@tleepslib.sk.tsukuba.ac.jp> nas 1.6 <87isz4yy0o.fsf@tleepslib.sk.tsukuba.ac.jp> warning fixes <87el9syvg4.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 11 Nov 2002 16:03:57 +0000
parents 25e260cb7994
children 8b464283e891
comparison
equal deleted inserted replaced
1096:2c2ff019dd33 1097:26274e0d7794
3163 stderr_out ("\nFatal error (%d).\n\n", sig); 3163 stderr_out ("\nFatal error (%d).\n\n", sig);
3164 stderr_out 3164 stderr_out
3165 ("Your files have been auto-saved.\n" 3165 ("Your files have been auto-saved.\n"
3166 "Use `M-x recover-session' to recover them.\n" 3166 "Use `M-x recover-session' to recover them.\n"
3167 "\n" 3167 "\n"
3168 "If you have access to the PROBLEMS file that came with your\n" 3168 "Your version of XEmacs was distributed with a PROBLEMS file that may describe\n"
3169 "version of XEmacs, please check to see if your crash is described\n" 3169 "your crash, and with luck a workaround. Please check it first, but do report\n"
3170 "there, as there may be a workaround available.\n" 3170 "the crash anyway. "
3171 #ifdef INFODOCK 3171 #ifdef INFODOCK
3172 "Otherwise, please report this bug by selecting `Report-Bug'\n" 3172 "\n\nPlease report this bug by selecting `Report-Bug' in the InfoDock menu.\n"
3173 "in the InfoDock menu.\n" 3173 "*BE SURE* to include the XEmacs configuration from M-x describe-installation,\n"
3174 "or the file Installation in the top directory of the build tree.\n"
3174 #else 3175 #else
3175 "Otherwise, please report this bug by running the send-pr\n" 3176 "Please report this bug by invoking M-x report-emacs-bug,\n"
3176 "script included with XEmacs, or selecting `Send Bug Report'\n" 3177 "or by selecting `Send Bug Report' from the Help menu. If necessary, send\n"
3177 "from the help menu.\n" 3178 "ordinary email to `crashes@xemacs.org'. *MAKE SURE* to include the XEmacs\n"
3178 "As a last resort send ordinary email to `crashes@xemacs.org'.\n" 3179 "configuration from M-x describe-installation, or equivalently the file\n"
3179 #endif 3180 "Installation in the top of the build tree.\n"
3180 "*MAKE SURE* to include the information in the command\n" 3181 #endif
3181 "M-x describe-installation.\n"
3182 #ifndef _MSC_VER 3182 #ifndef _MSC_VER
3183 "\n" 3183 "\n"
3184 "If at all possible, *please* try to obtain a C stack backtrace;\n" 3184 "*Please* try *hard* to obtain a C stack backtrace; without it, we are unlikely\n"
3185 "it will help us immensely in determining what went wrong.\n" 3185 "to be able to analyze the problem. Locate the core file produced as a result\n"
3186 "To do this, locate the core file that was produced as a result\n" 3186 "of this crash (often called `core' or `core.<process-id>', and located in\n"
3187 "of this crash (it's usually called `core' and is located in the\n" 3187 "the directory in which you started XEmacs or your home directory), and type\n"
3188 "directory in which you started the editor, or maybe in your home\n"
3189 "directory), and type\n"
3190 "\n" 3188 "\n"
3191 " gdb " 3189 " gdb "
3192 #endif 3190 #endif
3193 ); 3191 );
3194 #ifndef _MSC_VER 3192 #ifndef _MSC_VER
3211 stderr_out ("%s/%s", dir, name); 3209 stderr_out ("%s/%s", dir, name);
3212 else 3210 else
3213 stderr_out ("%s%s", dir, name); 3211 stderr_out ("%s%s", dir, name);
3214 } 3212 }
3215 stderr_out 3213 stderr_out
3216 (" core\n\n" 3214 (" core\n"
3217 "then type `where' when the debugger prompt comes up.\n" 3215 "\n"
3218 "(If you don't have GDB on your system, you might have DBX,\n" 3216 "then type `where' at the debugger prompt. No GDB on your system? You may\n"
3219 "or XDB, or SDB. A similar procedure should work for all of\n" 3217 "have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)\n"
3220 "these. Ask your system administrator if you need more help.)\n"); 3218 "If no core file was produced, enable them (often with `ulimit -c unlimited'\n"
3219 "in case of future recurrance of the crash.\n");
3221 #endif /* _MSC_VER */ 3220 #endif /* _MSC_VER */
3222 } 3221 }
3223 3222
3224 stuff_buffered_input (stuff); 3223 stuff_buffered_input (stuff);
3225 3224