/[ascend]
ViewVC logotype

Revision 2693


Jump to revision: Previous Next
Author: jpye
Date: Tue Mar 5 05:23:34 2013 UTC (4 years, 7 months ago)
Changed paths: 4
Log Message:
Modified test case for bug 564 slightly, now able to access the error via valgrind as well. Valgrind output gives:

solvers/qrslv/qrslv.c:3373 (structural_analysis): In QRSlv, got vused = 219...
==28310== Invalid read of size 8
==28310==    at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037)
==28310==    by 0x4EFD90C: zbrent (rootfind.c:84)
==28310==    by 0x4EFD235: RootFind (relation_util.c:4120)
==28310==    by 0x4EFAB80: RelationFindRoots (relation_util.c:3210)
==28310==    by 0x4F4C59E: relman_directly_solve_new (relman.c:1039)
==28310==    by 0x4F509D7: slv_direct_solve (slv_common.c:208)
==28310==    by 0x70324C6: qrslv_iterate (qrslv.c:3842)
==28310==    by 0x70336E5: qrslv_solve (qrslv.c:4175)
==28310==    by 0x4F60CB1: slv_solve (solver.c:364)
==28310==    by 0x42F607: test_bug564 (test_qrslv.c:244)
==28310==    by 0x61587A3: run_single_test (TestRun.c:1129)
==28310==    by 0x6156161: CU_run_selected_tests (TestRun.c:473)
==28310==  Address 0x100793d338 is not stack'd, malloc'd or (recently) free'd
==28310== 
==28310== 
==28310== Process terminating with default action of signal 11 (SIGSEGV)
==28310==  Access not within mapped region at address 0x100793D338
==28310==    at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037)
==28310==    by 0x4EFD90C: zbrent (rootfind.c:84)
==28310==    by 0x4EFD235: RootFind (relation_util.c:4120)
==28310==    by 0x4EFAB80: RelationFindRoots (relation_util.c:3210)
==28310==    by 0x4F4C59E: relman_directly_solve_new (relman.c:1039)
==28310==    by 0x4F509D7: slv_direct_solve (slv_common.c:208)
==28310==    by 0x70324C6: qrslv_iterate (qrslv.c:3842)
==28310==    by 0x70336E5: qrslv_solve (qrslv.c:4175)
==28310==    by 0x4F60CB1: slv_solve (solver.c:364)
==28310==    by 0x42F607: test_bug564 (test_qrslv.c:244)
==28310==    by 0x61587A3: run_single_test (TestRun.c:1129)
==28310==    by 0x6156161: CU_run_selected_tests (TestRun.c:473)
==28310==  If you believe this happened as a result of a stack
==28310==  overflow in your program's main thread (unlikely but
==28310==  possible), you can try to increase the size of the
==28310==  main thread stack using the --main-stacksize= flag.
==28310==  The main thread stack size used in this run was 8388608.
==28310== 


Changed paths

Path Details
Directorytrunk/ascend/solver/test/test_qrslv.c modified , text changed
Directorytrunk/models/johnpye/fprops/combinedcycle_fprops.a4c modified , text changed
Directorytrunk/models/test/bug564/brayton.a4c added
Directorytrunk/models/test/bug564/combinedcycle_fprops.a4c added

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22