Bug 5738 - testHaveSysRoot(frysk.hpd.TestSysRoot) fails as process reaches sigsegv (ie break main did not fire)
Summary: testHaveSysRoot(frysk.hpd.TestSysRoot) fails as process reaches sigsegv (ie b...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2008-02-06 12:14 UTC by Phil Muldoon
Modified: 2008-02-06 20:01 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Muldoon 2008-02-06 12:14:16 UTC
When run:

There was 1 error:
1) testHaveSysRoot(frysk.hpd.TestSysRoot)frysk.expunit.TimeoutException: timeout
of 5expired; expecting:  <<go.*\n\(fhpd\) Breakpoint>>; buffer <<go
Running process 10613
(fhpd) Task 10613 is terminating from signal SIGSEGV(11)
>>
   at frysk.expunit.Child.expectMilliseconds(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.hpd.TestSysRoot.testHaveSysRoot(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

Doing the test manually in fhpd produces:

[pmuldoon@localhost frysk-core]$ ./frysk/bindir/fhpd 
(fhpd) load
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/test-sysroot/usr/bin/funit-addresses
-sysroot /home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/test-sysroot/
Loaded executable file:
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/test-sysroot/usr/bin/funit-addresses
(fhpd) start
Attached to process 12454
starting/running with this command:
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/test-sysroot/usr/bin/funit-addresses

(fhpd) break main
breakpoint 0 deferred
(fhpd) go
Running process 12454
(fhpd) Task 12454 is terminating from signal SIGSEGV(11)
Comment 1 Stan Cox 2008-02-06 20:01:54 UTC
Recalculate CRC for test-sysroot.
    
* Makefile.am (frysk/pkglibdir/funit-addresses-stripped): Run
eu-strip last so CRC gets recalculated.

(missed because test-sysroot wasn't rebuilt prior to testing the "Check
debuginfo CRC." commit)