| Summary: | mysqld unable to write to file under valgrind | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Karel Volný <kvolny> | |
| Component: | valgrind | Assignee: | Jakub Jelinek <jakub> | |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-tools-bugs | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 5.5 | CC: | fche, mjw | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | ppc64 | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 679906 (view as bug list) | Environment: | ||
| Last Closed: | 2013-03-12 18:51:53 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 679906 | |||
|
Description
Karel Volný
2011-01-26 15:47:29 UTC
Indeed, pwrite64 isn't hooked on ppc64 (it is on all other Linux targets including ppc32). // _____(__NR_pwrite64, sys_pwrite64), // 180 BTW, it is surprising that pwrite64 syscall is used on ppc64, glibc pwrite64 definitely uses just pwrite syscall on this architecture. mysqld must be doing something wrong and unportable... (In reply to comment #2) > BTW, it is surprising that pwrite64 syscall is used on ppc64, glibc pwrite64 > definitely uses just pwrite syscall on this architecture. mysqld must be doing > something wrong and unportable... now I'm really not sure what do you mean - 1) there's a problem with valgrind not supporting pwrite64 AND a problem with mysqld for which a bug should be reported or 2) the valgrind support for pwrite64 isn't necessary, thus no bug in valgrind, just in mysqld, so this bug's component should be switched to mysql? if 1) then please report the new bug for mysql (it makes much more sense if you're the one to do this and provide as much info as possible, because I do not understand the code and a report filed by me saying "there is something wrong" wouldn't be much helpful) if 2) then please switch this bug (and provide the info ...) Actually there is just pwrite64 syscall and not pwrite syscall on any of the Linux architectures, so this is just a valgrind bug which I'll fix in the next rawhide build. This is fixed in current fedora, but against 3.6.0, RHEL5 is 3.5.0 based: Fri Jan 28 2011 Jakub Jelinek <jakub> 3.6.0-2 - hook in pwrite64 syscall on ppc64 (#672858) Sorry, it does not look as though we will be able to fix this problem at this stage of RHEL5's lifecycle, and its old valgrind base. |