| Bug #51691 | RQG backtraces from corefiles no longer working on unix | ||
|---|---|---|---|
| Submitted: | 3 Mar 2010 12:06 | Modified: | 5 Mar 2010 7:09 |
| Reporter: | John Embretsen | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Tools: Random Query Generator | Severity: | S2 (Serious) |
| Version: | OS: | Any (non-windows) | |
| Assigned to: | John Embretsen | CPU Architecture: | Any |
| Tags: | rqg_pb2 | ||
[3 Mar 2010 12:06]
John Embretsen
[3 Mar 2010 12:11]
Philip Stoev
Bernt, can you please fix this? I did not realize that the binary location has changed, and the Backtrace Reporter does employ some logic to find where mysqld is. I hope the server management API would make this a no-brainer. It may also be a good idea to add a Hudson test for it , e.g. kill the mysqld with some signal and then grep the RQG error log, as produced by the Backtrace Validator (without the ErrorLog Validator) for handle_connections_sockets or some other basic mysqld function that is always present in the backtrace when you kill the serve.r
[3 Mar 2010 12:19]
John Embretsen
Typo: In the "Suggested fix" comment, replace "is not used" with "is now used" :)
[3 Mar 2010 12:25]
Bernt Marius Johnsen
Easy to fix if someone could deliver a spec on where the mysqld binariy is. It is now searched for like this (relative to basedir):
foreach my $path (
'bin', 'sql', 'libexec',
'../bin', '../sql', '../libexec',
'../sql/RelWithDebInfo', '../sql/Debug',
) {
[3 Mar 2010 12:36]
John Embretsen
I just remembered that after the initial cmake merge, the location of mysqld in Pushbuild builds had changed on unix platforms from libexec/ to sbin/. Bernt showed me where to make the change in the RQG, so I'll apply a fix and see if it helps.
[5 Mar 2010 7:09]
John Embretsen
I have just verified that stacktraces from coredumps in Pushbuild are back in business (mysql-next-4284 branch). Closing this issue.
