[vlc-devel] Buildbot considered useless

Pierre Ynard linkfanel at yahoo.fr
Thu Jun 18 11:49:49 CEST 2009

> > Digging further, 331 is the syscall number for pipe2() on x86_32. It
> > is passed into the eax register right before the syscall instruction.
> > Apparently the syscall messes up, and returns with 331 still in eax,
> > which is not considered as an error value and then returned as is.
> > 
> > A possible cause might be an x86_64 and/or too old kernel (pipe2()
> > didn't exist in 2.6.26).
> I tried on altair which use 2.6.26 / x86_64 / glib 2.9 and pipe2()
> returns -1

Sorry if I wasn't clear, but this happens in the i386 schroot. So 32
bits code running on a 64 bits kernel.

> If you run on x86_64, then 331 is not the pipe2 syscall?

Indeed, the syscall numbers are different between 32 and 64 bits.

> You could run in gdb, break on pipe2 and run step by step and
> disassemble the code path.

I did. It does as I said :)

Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."

More information about the vlc-devel mailing list