[vlc-devel] Buildbot considered useless

Rafaël Carré rafael.carre at gmail.com
Thu Jun 18 12:21:31 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 18 Jun 2009 11:49:49 +0200
Pierre Ynard <linkfanel at yahoo.fr> wrote:

> > > 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.

I repeat what we said on irc for reference:

the int 0x80 (32 bits syscall) will return from a bad syscall number
with eax unmodified (first argument on input and return value on output)

12:18 < funman> i suppose 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c09249f8d1b84344eca882547afdbffee8c09d14
is the fix 12:19 < linkfanel> This only happens
12:19 < linkfanel> when neither syscall-audit nor syscall tracing is
enabled 12:20 < linkfanel> hence the impossibility to strace it

damned linux :P

- -- 
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAko6FSsACgkQYWCeGMCv8Q97CQCdFLzXnXbK4PZSZ+yM5obNUQHu
jJAAnRxxLbADpTj0xPer7WbAe73O0OEZ
=2Lfj
-----END PGP SIGNATURE-----


More information about the vlc-devel mailing list