After much observation and trial & error. I have a recipe to get console-kit-daemon to segfault every time on my machine. First off -- use su and not sudo for what follows.
open an xterm, su and attach a an strace to it just so you can rejoice when you see it fall down.
strace -p <pid> ; cp /var/run/Consolekit/* /tmp
open another xterm -- do not su
- from this xterm open additional xterm's like so: xterm -geometry 20x10 &
open 9 or 10 of them.
- now go thru and "su" in all of the open xterms.
- Next go thru and close each window one by one by using the close button in the upper right corner -- by the time you get to the forth or fifth window -- console-kit-daemon will have segfault'ed for you.
I have a recipe.
After much observation and trial & error. I have a recipe to get console-kit-daemon to segfault every time on my machine. First off -- use su and not sudo for what follows.
open an xterm, su and attach a an strace to it just so you can rejoice when you see it fall down. Consolekit/ * /tmp
strace -p <pid> ; cp /var/run/
open another xterm -- do not su
- from this xterm open additional xterm's like so: xterm -geometry 20x10 &
open 9 or 10 of them.
- now go thru and "su" in all of the open xterms.
- Next go thru and close each window one by one by using the close button in the upper right corner -- by the time you get to the forth or fifth window -- console-kit-daemon will have segfault'ed for you.
oh joy!