[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Differences between zelenka and zandonai



On Sun, Oct 31, 2010 at 01:42:39PM +0100, Philipp Kern wrote:
> On Sun, Oct 31, 2010 at 10:51:36AM +0100, Mike Hommey wrote:
> > During the build, this is what happens:
> > INFO | negative control allocated at 0x40028000
> > INFO | positive control allocated at 0x4002a000
> > INFO | poison area assumed at 0xf0dea000 (preferred addr)
> > TEST-PASS | reading negative control
> > TEST-PASS | executing negative control
> > TEST-PASS | writing negative control
> > TEST-PASS | reading positive control | Segmentation fault
> > TEST-PASS | executing positive control | Segmentation fault
> > TEST-PASS | writing positive control | Segmentation fault
> > TEST-UNEXPECTED-FAIL | reading poison area
> > TEST-PASS | executing poison area | Illegal instruction
> > TEST-UNEXPECTED-FAIL | writing poison area
> > 
> > It's interesting to see the addresses used for negative and positive
> > control are significantly different, while running the program on
> > zelenka and zandonai by hand give an address in 0x77xxxxxx.
> > 
> > Could that be related to personality ?
> 
> schroot should yield the same personality as for the buildd, given that the
> same chroot definition is used.

I found the trigger: GNU make. I don't why, though.

# cat test.mk
foo:
        ./TestPoisonArea
# make -f test.mk foo
./TestPoisonArea
INFO | negative control allocated at 0x40021000
INFO | positive control allocated at 0x40023000
INFO | poison area assumed at 0xf0dea000 (preferred addr)
TEST-PASS | reading negative control
TEST-PASS | executing negative control
TEST-PASS | writing negative control
TEST-PASS | reading positive control | Segmentation fault
TEST-PASS | executing positive control | Segmentation fault
TEST-PASS | writing positive control | Segmentation fault
TEST-UNEXPECTED-FAIL | reading poison area
TEST-PASS | executing poison area | Illegal instruction
TEST-UNEXPECTED-FAIL | writing poison area

Mike


Reply to: