Weird xcpu2 behavior....

3 views
Skip to first unread message

Eric Van Hensbergen

unread,
Mar 12, 2009, 11:50:57 AM3/12/09
to xc...@googlegroups.com
Anyone else see anything like this? Looks like random corruption
somewhere in the control stream between xrx and xcpufs....

[root@arlx050 ~]# sphinx/xcpu2/utils/xrx 9.3.61.111 /bin/date
Thu Mar 12 10:48:33 CDT 2009
[root@arlx050 ~]# sphinx/xcpu2/utils/xrx 9.3.61.111 /bin/date
namespace: invalid operation 9Of~
xnamespace failed: : No child processes
[root@arlx050 ~]# sphinx/xcpu2/utils/xrx 9.3.61.111 /bin/date
namespace: invalid operation #9PhA
xnamespace failed: : No child processes
[root@arlx050 ~]# sphinx/xcpu2/utils/xrx 9.3.61.111 /bin/date
namespace: invalid operation Î0A
xnamespace failed: : No child processes
[root@arlx050 ~]# sphinx/xcpu2/utils/xrx 9.3.61.111 /bin/date
namespace: invalid operation w§ºQ
xnamespace failed: : No child processes
[root@arlx050 ~]# sphinx/xcpu2/utils/xrx 9.3.61.111 /bin/date
Thu Mar 12 10:48:44 CDT 2009

Latchesar Ionkov

unread,
Mar 12, 2009, 12:19:22 PM3/12/09
to xc...@googlegroups.com
I think the reason is a bug in the ns file parsing code. I thought I
fixed it, but may be it reappeared again. I'll look into it in the
afternoon.

Thanks,
Lucho

Abhishek Kulkarni

unread,
Mar 12, 2009, 12:53:43 PM3/12/09
to xc...@googlegroups.com
I can't reproduce this anymore. But does the following patch from
http://www.mail-archive.com/xc...@googlegroups.com/msg00068.html
fix the issue for you?

Index: xcpufs/xcpufs.c
===================================================================
--- xcpufs/xcpufs.c     (revision 691)
+++ xcpufs/xcpufs.c     (working copy)
@@ -1332,7 +1332,7 @@
                s = p;
        }

-       bufwrite(&buf, buf.size, strlen(s), s);
+       bufwrite(&buf, buf.size, (slen + str - s), s);
        b = 0;
        bufwrite(&buf, buf.size, 1, &b);

Eric Van Hensbergen

unread,
Mar 12, 2009, 6:07:11 PM3/12/09
to xc...@googlegroups.com
That does seem much more stable...

       -eric

Latchesar Ionkov

unread,
Mar 12, 2009, 6:09:35 PM3/12/09
to xc...@googlegroups.com
Do you still see problems with that change?

Thanks,
Lucho

Eric Van Hensbergen

unread,
Mar 13, 2009, 10:42:41 AM3/13/09
to xc...@googlegroups.com, xc...@googlegroups.com
I haven't seen the problem since I patched and that includes a demo,
so it's passed a murphy's law barrier as well.

Sent from my iPhone

Abhishek Kulkarni

unread,
Mar 16, 2009, 1:30:44 AM3/16/09
to xc...@googlegroups.com
That patch got buried in the queue somewhere. Should I take this as an ack?

Latchesar Ionkov

unread,
Mar 16, 2009, 10:27:00 AM3/16/09
to xc...@googlegroups.com
Acked-by: Latchesar Ionkov <lu...@ionkov.net>

Eric Van Hensbergen

unread,
Mar 31, 2009, 1:42:14 PM3/31/09
to xc...@googlegroups.com
I just tripped over this in a fresh checkout of the xcpu2 code from
sourceforge, whose responsible for comiting the patch now that its
ack'd.

-eric

Abhishek Kulkarni

unread,
Mar 31, 2009, 2:00:38 PM3/31/09
to xc...@googlegroups.com
On Tue, Mar 31, 2009 at 1:42 PM, Eric Van Hensbergen <eri...@gmail.com> wrote:

I just tripped over this in a fresh checkout of the xcpu2 code from
sourceforge, whose responsible for comiting the patch now that its
ack'd.

My bad, I didn't see the ack at all.
Thanks for the gentle reminder, r758.
 
Reply all
Reply to author
Forward
0 new messages