Comment 21 for bug 872219

Revision history for this message
Steven Austen (ausbuscon) wrote : Re: [Bug 872219] Re: Applications lens "disappears"

Where will the txt file be?

On Mon, 2011-11-07 at 08:00 +0000, Mikkel Kamstrup Erlandsen wrote:
> Ok, here's what you can do to help if you have the hanging daemon like
> S.O.E., Florian, and Steven are reporting:
>
> - Install debug symbols 'sudo apt-get install libglib2.0-0-dbg libxapian22-dbg libzeitgeist-1.0-1-dbg libdee-1.0-1-dbg'
> - Install gdb 'sudo apt-get install gdb'
> - Run 'pgrep -f unity-applications-daemon' and note the number it prints (the "PID")
> - Start gdb outputting to a log file 'sudo gdb | tee unity-applications-daemon.hang.txt 2>&1'
> - Connect gdb to the hanging process 'attach $THE_PID_FROM_PGREP'
> - (if you don't have a gdb command prompt by now, hit Ctrl-c to get one)
> - Output stack dump: 'bt full'
> - Hit Ctrl-d to exit gdb
> - Attach the file unity-applications-daemon.hang.txt to this bug
> - Have a cup of tea and a cookie. You deserve it by now! :-)
>