Comment 3 for bug 128024

Revision history for this message
Martin Emrich (emme) wrote :

I don't think I can attach to them fast enough, as they constantly re-spawn with different PIDs. For now, I tried to get an strace with this script:

#!/bin/bash
DBPIDS=`ps aux | grep dbus-daemon | grep martin | grep -v grep | cut -b 10-15 | xargs echo`
VFSPIDS=`ps aux | grep gnome-vfs-daemon | grep martin | grep -v grep | cut -b 10-15 | xargs echo`
STRACE_ARGS=`echo $DBPIDS $VFSPIDS | perl -e '$x = <>; @p=split(/ +/,$x); print join(" -p ",@p);'`
strace -p $STRACE_ARGS -o ~/bug128024-gnome-vfs-daemon+dbus-daemon-trace.txt

I started it (tracing all dbus-daemon or gnome-vfs-daemon processes belonging to me, an a second later, I saved my fstab with the NFS entries. A few seconds later, I ended the trace.

BTW: If one of them would SEGV, shouldn't apport be popping up? Or works apport only for specific processes?

Ciao

Martin