On Mon, 2015-02-02 at 14:51 +0100, Josef Weidendorfer wrote:
> Am 02.02.2015 um 12:49 schrieb Christian Priebe:
> > The same line repeats until I shutdown vgdb. Ok, running "vgdb --pid=XXX
> > v.wait 500" without any tool (i.e. "valgrind bin/mysqld")
> 
> Without a tool specified, the default is memcheck.
> 
> > So, apparently this has nothing to do with callgrind but with valgrind
> > (or my setup) in general.
> 
> Ok, perhaps Philippe has an idea what's going wrong.

>From the vgdb traces, it looks like all is working at vgdb side,
and that it is the valgrind side that does not properly replies
back to vgdb.

At this stage, I do not see too much what is going wrong.
So, let's capture some more data.

On what distro/platform/... are you running ?

Can you also do the following experiments ?

1. under your user account (so no sudo, etc), do
      # in one window:
      valgrind sleep 100
      # then in another window
      vgdb --pid=xxxxxx help
   This last help command should output the list of commands supported
   by valgrind gdbserver
   If that does not work (i.e. vgdb blocks), redo the same but
   giving   -v -v -v -d -d -d    options to valgrind
   and      -d -d -d             option  to vgdb
   and send the traces

2. If the above works, do the same operations, but with the technique
   you use to launch mysql
   IIUC, use sudo in one window to launch valgrind 
   and sudo in another window to launch vgdb
   (I am not too sure what the --user=mysql option does/means for mysqld
    so no idea if you can really simulate what that does easily).

   Again, if that does not work, redo with the -v/-d args as above

3. If the above works, then give options  -v/-d to 
   valgrind that runs mysql
   and to the vgdb

As suggested by Josef, you might create a bug in bugzilla so as to
attach the traces (compressed if too big) of the first failing
experiment.

Thanks

Philippe



------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to