upcoming release: what needs to be done
Mike Frysinger
vapier at gentoo.org
Fri Mar 16 01:22:44 UTC 2012
On Thursday 15 March 2012 19:39:21 Dmitry V. Levin wrote:
> 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.
this is what it looks like after your change. seems to be good now.
$ ./strace -eipc ipcs
shmctl(0, IPC_64|SHM_INFO, 0x11fba6f20) = 0
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
shmctl(0, IPC_64|SHM_STAT, 0x11fba6f98) = -1 EINVAL (Invalid argument)
semctl(0, 0, IPC_64|SEM_INFO, 0x11fba6fa0) = 0
------ Semaphore Arrays --------
key semid owner perms nsems
semctl(0, 0, IPC_64|SEM_STAT, 0x11fba6fc8) = -1 EINVAL (Invalid argument)
msgctl(0, IPC_64|MSG_INFO, 0x11fba6f80) = 0
------ Message Queues --------
key msqid owner perms used-bytes messages
msgctl(0, IPC_64|MSG_STAT, 0x11fba6fa0) = -1 EINVAL (Invalid argument)
+++ exited with 0 +++
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120315/b63b8a0c/attachment.bin>
More information about the Strace-devel
mailing list