valgrind can't handle splice Linux syscall

Bug #537688 reported by Martin Olsson
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Valgrind
Invalid
Medium
valgrind (Ubuntu)
Fix Released
Wishlist
Loïc Minier

Bug Description

Binary package hint: valgrind

Put this into main.c:

#include <fcntl.h>
main(void) {
        loff_t offset;
        splice (0, &offset, 0, 0, 0, 0);
        return 0;
}

...then do "gcc main.c" followed by "valgrind ./a.out"

On Lucid you get:
--11637-- WARNING: unhandled syscall: 275
--11637-- You may be able to write your own handler.
--11637-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--11637-- Nevertheless we consider this a bug. Please report
--11637-- it at http://valgrind.org/support/bug_reports.html.

On Karmic you get:
--6196-- WARNING: unhandled syscall: 313
--6196-- You may be able to write your own handler.
--6196-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--6196-- Nevertheless we consider this a bug. Please report
--6196-- it at http://valgrind.org/support/bug_reports.html.

ProblemType: Bug
Architecture: amd64
Date: Thu Mar 11 22:47:47 2010
DistroRelease: Ubuntu 10.04
Package: valgrind 1:3.6.0~svn20100212-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: valgrind
Uname: Linux 2.6.32-16-generic x86_64

Related branches

Revision history for this message
Martin Olsson (mnemo) wrote :
Revision history for this message
Martin Olsson (mnemo) wrote :

Bug forwarded upstream here:
https://bugs.kde.org/show_bug.cgi?id=230377

Changed in valgrind:
status: Unknown → New
Loïc Minier (lool)
Changed in valgrind (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Martin Olsson (mnemo) wrote :

r11055 from upstream valgrind SVN fixes this bug.

tags: added: patch
Revision history for this message
Martin Olsson (mnemo) wrote :

I tested this patch on lucid and it works perfectly on both my TC and on Shotwell where I originally ran into this bug.

Revision history for this message
Martin Olsson (mnemo) wrote :

Here is a debdiff. Need sponsor for upload to universe.

Revision history for this message
Loïc Minier (lool) wrote :

Hi

I had prepared an upload based on the upstream patch you had attached here, but it's held in the queue due to the beta freeze; it's technically a new feature, so I hope it will be accepted for lucid.

Thanks for the debdiff though,

Changed in valgrind (Ubuntu):
assignee: nobody → Loïc Minier (lool)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package valgrind - 1:3.6.0~svn20100212-0ubuntu3

---------------
valgrind (1:3.6.0~svn20100212-0ubuntu3) lucid; urgency=low

  * New dpatch, 80_splice_backport, backport of splice() support from r11055;
    LP: #537688.
 -- Loic Minier <email address hidden> Sat, 13 Mar 2010 10:36:14 +0100

Changed in valgrind (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Olsson (mnemo) wrote :

That's great. Thanks Loïc.

Changed in valgrind:
status: New → Invalid
Changed in valgrind:
status: Invalid → Unknown
Changed in valgrind:
importance: Unknown → Medium
Changed in valgrind:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.