Richard Urwin wrote:

On Sunday 04 Jan 2004 5:10 pm, John Richard Smith wrote:


First off this is the instruction as per source code debug readme:-
B.4.6.1 How to conserve information about a reproducible crash
Recompile MPlayer with debugging code enabled:
./configure --enable-debug=3
make
and then run MPlayer within gdb using:
gdb ./mplayer
You are now within gdb. Type:

run -v [options-to-mplayer] filename
and reproduce your crash. As soon as you did it, gdb will return
you to the command line prompt where you have to enter

bt
disass $pc-32 $pc+32
info all-registers

...
[EMAIL PROTECTED] MPlayer-20030901]#make 2> /root/Desktop/el2
meplayer/mencoder make scripts are just too long to reproduce here.
then,

[EMAIL PROTECTED] MPlayer-20030901]# gdb ./mplayer
(gdb)

I'm now a bit lost what do I do next ?



All fine so far.
You probably want to be running mencoder, rather than mplayer, but apart from that you're doing OK.


So.

$ gdb ./mencoder
(gdb) run -v [options to mencoder]

and reproduce the crash.

Then give the following commands:
backtrace
disass $pc-32 $pc+32
info all-registers
info threads


(gdb) gdb ./mencoder
Undefined command: "gdb".  Try "help".
(gdb) $ gdb ./mencoder
Undefined command: "".  Try "help".
(gdb) help
List of classes of commands:

aliases -- Aliases of other commands
breakpoints -- Making program stop at certain points
data -- Examining data
files -- Specifying and examining files
internals -- Maintenance commands
obscure -- Obscure features
running -- Running the program
stack -- Examining the stack
status -- Status inquiries
support -- Support facilities
tracepoints -- Tracing of program execution without stopping the program
user-defined -- User-defined commands

Type "help" followed by a class name for a list of commands in that class.
Type "help" followed by command name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb)


Question : Am I looking for stack commands? if not what ? or what did I do wrong ?


John

--
John Richard Smith
[EMAIL PROTECTED]




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to