On Tue, Nov 14, 2006 at 02:33:59PM -0800, Nishanth Aravamudan wrote:
> On 14.11.2006 [12:21:36 -0800], Nishanth Aravamudan wrote:
> > Hi all,
> > 
> > I'm hitting a brick wall debugging the linkshare segfaults I'm seeing.
> > 
> > (These logs are from my 2-way x86_64, but I'm seeing similar issues on a G5
> > (ppc64):
> > 
> > HUGETLB_SHARE=2 xB.linkshare 2 (32):    PASS
> > HUGETLB_SHARE=2 xB.linkshare 2 (64):    PASS
> > HUGETLB_SHARE=1 xB.linkshare 2 (32):    FAIL    2 of 2 children exited 
> > abnormally
> > HUGETLB_SHARE=1 xB.linkshare 2 (64):    FAIL    2 of 2 children exited 
> > abnormally
> > HUGETLB_SHARE=2 xBDT.linkshare 2 (32):  PASS
> > HUGETLB_SHARE=2 xBDT.linkshare 2 (64):  PASS
> > HUGETLB_SHARE=1 xBDT.linkshare 2 (32):  FAIL    2 of 2 children exited 
> > abnormally
> > HUGETLB_SHARE=1 xBDT.linkshare 2 (64):  FAIL    2 of 2 children exited 
> > abnormally
> > 
> > With all 4 failures being segmentation faults we caught.
> 
> /me hangs head in shame.
> 
> This is all probably just a stupid programming error on my part. I'll
> have a fix, I think, once I return from class.

Btw, some of the existing testcases (e.g. alloc-instantiate-race) use
strsignal() and WTERMSIG() to give a more informative message when a
child is killed by a signal.  It's probably a good idea to use that
here too, so you can see they died with a SEGV at first glance.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to