On Thu, Mar 15, 2012 at 06:36:16PM -0400, Mike Frysinger wrote:
> On Thursday 15 March 2012 17:10:37 Dmitry V. Levin wrote:
> > On Wed, Mar 14, 2012 at 08:39:35PM -0400, Mike Frysinger wrote:
> > > alpha looks broken with signals ...
> > 
> > Not only with signals, IPC decoding also seems to be broken on alpha:
> > SYS_ipc_subcall is naturally not defined, but indirect_ipccall()
> > returns 1 there.  Could you confirm that, e.g. by checking whether
> > "strace -eipc ipcs" outputs crap or not, please?
> 
> this box doesn't have any shared memory segments active (which isn't 
> surprising as it's a headless build/dev box).  here's the output, but i'm not 
> sure it exactly answers your question ?

Yes, it perfectly does, thanks.

> $ ./strace -eipc ipcs
> 
> shmctl(0, IPC_64|SHM_INFO, 0)           = 0
> shmctl(0, IPC_64|SHM_STAT, 0)           = -1 EINVAL (Invalid argument)

The 3rd argument must be a valid memory address, e.g.
shmctl(0, IPC_64|SHM_INFO, 0xbfc398f8)  = 0
shmctl(0, IPC_64|SHM_STAT, 0xbfc39880)  = -1 EINVAL (Invalid argument)

I've pushed a fix.


-- 
ldv

Attachment: pgpAONCEmZSND.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to