So, I've tried to do what's described in the wiki. This is the first
time I debug a program, so I probably did something not quite correctly,
cause I couldn't get "(gdb) backtrace full" in the beginning. But
somehow I managed to have it working (following all the instructions).

I will attach several gdb logs:

1) Backtrace through running the program ==> gdb-nautilus-1.txt
How I got this log: 
I tried to start the program as described 
             gdb nautilus 2>&1 | tee gdb-nautilus.txt
            (gdb) handle SIG33 pass nostop noprint
            (gdb) set pagination 0
            (gdb) run
Then in the so opened nautilus window I tried to access some directories 
(external drive, File system) - nautilus hung up and nothing could open there 
except for my Desktop and Documents directory, but this time I could "Stop" it 
(through Stop button) and close the nautilus window. 
So, I tried to continue in terminal with "(gdb) backtrace full" - it wrote me 
"No stack", and for "(gdb) info registers" - it wrote "No registers". (as I've 
got no backtrace in gdb-nautilus.txt, I don't attach it)

Then I've restarted the procedure all over to try it again - at this
stage nautilus was probably already not working - you will see it in the
log - nautilus didn't open through "(gdb) run", but! I could get the
backtrace this time (gdb-nautilus-1.txt) :)

The I had to reboot cause no desktop again and nautilus not working(((
and performed step 2 below

2) Backtrace  for "Already running programs" ==> gdb-nautilus-1.txt

This time I did: 
             pidof nautilus
replied: 7185
Then      gdb 2>&1 | tee gdb-nautilus-2.txt
             (gdb) handle SIG33 pass nostop noprint
             (gdb) set pagination 0
             (gdb) attach 7185
Then     (gdb) continue
 no nautilus window opened (I don't know whether it should have opened). So, I 
opened nautilus /home/greya/ and tried to go to File System from the left panel 
- nautilus freezed completely. I did "Fore Quit" - everything on desktop 
disappeared again, nautilus not working. 

3) Then, in this completely freezed state I tried to do the backtrace
procedure again to see what errors it will show. I did again :

             pidof nautilus
replied: 7185
Then     gdb 2>&1 | tee gdb-nautilus-freezed.txt
             (gdb) handle SIG33 pass nostop noprint
             (gdb) set pagination 0
             (gdb) attach 7185

and that's what it replied this time:

Attaching to process 7185
ptrace: Operation not permitted.
(gdb) Hangup detected on fd 0
error detected on stdin

(see gdb-nautilus-freezed.txt)

OUHH! now I cannot attach you the log files from my home directory -
While I was writing all this - nautilus must have hang up again!!!  I
only opened the 3 log files concerned to copy some lines in here and now
when I try to attach a file here - my home directory doesn't open. I had
to copy these files onto my Desktop to attach them here!!!

And in general, when nautilus hangs up and when I can stop it quickly
(stop button) - I cannot access not only the external drive, but File
System directories, my home directory neither (as now) :((

** Attachment added: "gdb-nautilus-1.txt"
   http://launchpadlibrarian.net/21206318/gdb-nautilus-1.txt

-- 
Nautilus freezes completely when accessing large exterior hard drive (500Gb)
https://bugs.launchpad.net/bugs/316877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to