Comment 28 for bug 492810

Revision history for this message
Dave Walker (dogatemycomputer) wrote :

Okay.. Clearly the documentation is a bit lacking so lets try creating on our own.

sudo gdb nautilus 2>&1 | tee ~/gdb-nautilus.txt

.. should produce "Reading symbols from /usr/bin/nautilus...(no debugging symbols found)...done." Now type "quit" then press RETURN or ENTER so we exit gdb.

Now try this:

sudo apt-get update
sudo apt-get install nautilus-dbg
sudo apt-get install libgnome-desktop*
sudo killall nautilus
sudo gdb nautilus 2>&1 | tee ~/gdb-nautilus.txt

You should see gdb load and it finds the debug symbols:

"Reading symbols from /usr/lib/debug/usr/bin/nautilus...done.
(gdb) "

Now.. from the gdb prompt..

(gdb) exec-file /usr/bin/nautilus
(gdb) symbol-file /usr/lib/debug/usr/bin/nautilus
Load new symbol table from "/usr/lib/debug/usr/bin/nautilus"? (y or n) y
Reading symbols from /usr/lib/debug/usr/bin/nautilus...done.
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run

Nautilus should load. Leave it open for a bit and confirm it is still growing in size. At some point close the window. Then hold down the CTRL button and press C to terminate gdb debugging because it will probably fail to terminate on its own. (Make sure you are inside the gdb terminal window when you press CTRL-C).

You should see something like..

Program received signal SIGINT, Interrupt.
0x00b54422 in __kernel_vsyscall ()
(gdb)

Now..

(gdb) backtrace full
(gdb) info registers
(gdb) x/16i $pc
(gdb) thread apply all backtrace
(gdb) quit
A debugging session is active.

 Inferior 1 [process 8089] will be killed.

Quit anyway? (y or n) y

Once this is done you should attach the resulting gdb-nautilus.txt. Hopefully that will be everything we need.

Please attach an updated moves.txt if you run into problems.