Comment 47 for bug 849414

Revision history for this message
James Hunt (jamesodhunt) wrote :

Here is a script that will run plymouthd with valgrind:

http://people.canonical.com/~jhunt/plymouth/valgrind_plymouth.sh

Instructions:

1. Download script

    cd /tmp && wget http://people.canonical.com/~jhunt/plymouth/valgrind_plymouth.sh

2. Make it executable:

    chmod 755 valgrind_plymouth.sh

3. Install required package:

    sudo apt-get install valgrind

4. Run scripts:

4a) In one terminal:

      sudo /tmp/valgrind_plymouth.sh

4b) In another terminal:

    sudo /tmp/test_plymouth.sh --client --max 2048

It will create a log in /tmp/valgrind.log. If this doesn't generate any errors, try running step (4a) instead as:

      sudo /tmp/valgrind_plymouth.sh debug