Bug #43074 | MTR2 is not accessing core dumps when a path is too long | ||
---|---|---|---|
Submitted: | 21 Feb 2009 11:03 | Modified: | 29 May 2009 1:12 |
Reporter: | Alfranio Junior | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Tools: MTR / mysql-test-run | Severity: | S3 (Non-critical) |
Version: | 6.0 5.1 | OS: | Any |
Assigned to: | Bjørn Munch | CPU Architecture: | Any |
Tags: | coredumps, MTR2 |
[21 Feb 2009 11:03]
Alfranio Junior
[21 Feb 2009 12:14]
Philip Stoev
The reason for this is that MTR relies on GDB to report the location of the binary that produced the core. GDB however will truncate the reported path and thus backtraces will not be properly displayed. The solution is to use the location of the binary that was obtained by some other means. Since MTR started the server, it must surely know where the binary is :-)
[19 Mar 2009 13:08]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/69790 2772 Bjorn Munch 2009-03-19 Bug #43074 MTR2 is not accessing core dumps when a path is too long Executable path is truncated in core If we see truncated path, try to guess using strings and grep modified: mysql-test/lib/My/CoreDump.pm
[20 Mar 2009 15:40]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/69930 2772 Bjorn Munch 2009-03-20 Bug #43074 MTR2 is not accessing core dumps when a path is too long Executable path is truncated in core If we see truncated path, try to guess using strings and grep If that doesn't work either, use known mysqld path modified: mysql-test/lib/My/CoreDump.pm mysql-test/mysql-test-run.pl
[24 Mar 2009 12:02]
Bjørn Munch
Pushed to 6.0-mtr and 5.1-mtr
[14 May 2009 16:25]
Bugs System
Pushed into 6.0.12-alpha (revid:alik@sun.com-20090514161729-xiup7q8jlu1zfy7s) (version source revid:bjorn.munch@sun.com-20090324115324-6sftin66vifg9she) (merge vers: 6.0.11-alpha) (pib:6)
[15 May 2009 1:20]
Paul DuBois
Test suite changes. No changelog entry needed. Setting report to NDI pending push into 5.1.x.
[28 May 2009 8:13]
Bugs System
Pushed into 5.1.36 (revid:joro@sun.com-20090528073639-yohsb4q1jzg7ycws) (version source revid:bjorn.munch@sun.com-20090525205831-zitq9aysxy5zgf5r) (merge vers: 5.1.36) (pib:6)
[29 May 2009 1:12]
Paul DuBois
Test suite change. No changelog entry needed.
[26 Aug 2009 13:46]
Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[26 Aug 2009 13:46]
Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (version source revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[26 Aug 2009 13:48]
Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (version source revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[27 Aug 2009 16:33]
Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090827163030-6o3kk6r2oua159hr) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)