- * If it gets an X error, where did it come from? Run the
- program under a debugger; set a breakpoint on `exit';
- start the program with the `-sync' command-line option;
- and show me the stack trace when it stops.
+ To extract a stack trace from a core file with dbx, do this:
+
+ dbx ./the-program ./core
+ where
+
+ If the bottom few lines of the output don't include the functions
+ `main_loop()' and `main()', then something's wrong: are you sure
+ the core file came from that program?
+
+ * If it gets an X error, where did it come from? Run
+ xscreensaver with the `-sync' command-line option. When `-sync'
+ is used, X errors will cause xscreensaver to dump a core file.
+ Look at the core file with a debugger and show me the stack trace,
+ as above: I need to know where in xscreensaver that X error came
+ from.