[CRIU] crtools error: "can't splice to pipe"
Andrew Vagin
avagin at parallels.com
Tue May 13 11:58:25 PDT 2014
On Tue, May 13, 2014 at 07:21:38PM +0400, Pavel Emelyanov wrote:
> On 05/13/2014 06:21 PM, Andrew Vagin wrote:
> > On Tue, May 13, 2014 at 08:21:11AM -0400, J F wrote:
> >>
> >> Unfortunately the file contains nothing usefull. The idea to kill a
> >> target process was bad. Could you apply the attached patch and repeat
> >> all actions again? Thank you for the help.
> >>
> >> > Are you still interested in a sample app that reproduces the issue? I was
> >> > thinking maybe trying the "Netbeans" Java IDE.
> >>
> >> Yes, we are. In this case we will not need to ask you to do smth and the
> >> bug will be fixed much faster.
> >>
> >>
> >> 1) I was able to reproduce the issue by trying to dump netbeans Java IDE. You
> >> can download this Java app here:
> >>
> >> http://download.netbeans.org/netbeans/8.0/final/bundles/
> >> netbeans-8.0-javase-linux.sh
> >>
> >> Install locally.
> >> Install OpenJDK 7 JDK
> >> Try to dump pid.
> >> I get the same "can't splice pages to pipe" error.
> >
> > netbeans is a graphical application, isn't it? We don't support X apps
> > yet:
>
> But if it's enough just to get the required error, why not? ;)
I have read kernel code and found that __get_user_pages can stop if vma
has the VM_IO flag.
This flag is set in remap_pfn_range(), which is used by video drivers.
To prove this version we need to look at /proc/PID/smaps. J F, could you
attach /proc/PID/smaps for the checkpointed process.
Thanks.
>
> > http://criu.org/Todo
>
> Thanks,
> Pavel
More information about the CRIU
mailing list