Bug 205788 - mmap(0x0, 688128) failed in UME with error 13 (Permission denied)
Summary: mmap(0x0, 688128) failed in UME with error 13 (Permission denied)
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.3.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: wanted3.5.1
Assignee: Julian Seward
URL:
Keywords:
: 230377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-31 15:04 UTC by Angus
Modified: 2010-03-12 21:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angus 2009-08-31 15:04:47 UTC
The error in the summary was sent to the stderr. In the valgrind log file I got this:
--2305-- WARNING: unhandled syscall: 275
--2305-- You may be able to write your own handler.
--2305-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--2305-- Nevertheless we consider this a bug.  Please report
--2305-- it at http://valgrind.org/support/bug_reports.html.

The program continues and I haven't been able to detect any further problems yet. This has happened on more than 1 occasion with this binary.
Comment 1 Tom Hughes 2009-10-27 16:15:46 UTC
Well the first thing to say is that the two issues are entirely unrelated.

The second thing is that you're using a pretty ancient version, so is either problem happening in more recent versions?

The third thing is that you haven't said what architecture you are using, so it isn't possible to work out what that system call is. I'm guessing it's 32 bit x86 though? In which case that is the get_mempolicy system call and it is implemented in the current codebase.
Comment 2 Angus 2009-10-28 01:17:18 UTC
Actually, I was running on an AMD64. From what I've learned in the months since, 275 seems to be the splice() system call. I have no idea what the mmap() problem was all about, but I'm afraid I don't even remember what project this was working on.
Comment 3 Tom Hughes 2010-02-23 11:51:35 UTC
Support for the splice system call has been committed as r11055.

If the mmap error happens again in a recent version then please raise a new bug for that.
Comment 4 Tom Hughes 2010-03-11 23:29:28 UTC
*** Bug 230377 has been marked as a duplicate of this bug. ***
Comment 5 Martin Olsson 2010-03-12 21:30:43 UTC
@Tom Hughes, is it safe to take the r11055 commit and apply/backport it to the valgrind in Ubuntu Lucid (valgrind-3.6.0.SVN-Debian)?