/[ascend]/trunk/ascend/solver/test/test_qrslv.c
ViewVC logotype

Log of /trunk/ascend/solver/test/test_qrslv.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 5 05:23:34 2013 UTC (9 years, 3 months ago) by jpye
File length: 7642 byte(s)
Diff to previous 2690
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== 


Revision 2690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 4 12:38:28 2013 UTC (9 years, 3 months ago) by jpye
File length: 7643 byte(s)
Diff to previous 2687
Trying to write self-contained test case for bug 564.

Revision 2687 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 1 02:15:09 2013 UTC (9 years, 4 months ago) by jpye
File length: 7646 byte(s)
Diff to previous 2649
Moving reproducible version of bug 567 into models/test directory.
Valgrind test shows invalid memory access in RemoveRelation of data freed in DestroyInstanceParts.

Revision 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 12:39:25 2012 UTC (9 years, 6 months ago) by jpye
File length: 7638 byte(s)
Diff to previous 2642
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2642 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 09:31:20 2012 UTC (9 years, 8 months ago) by jpye
File length: 7585 byte(s)
Diff to previous 2640
separate bug 567 and 564, avoid a name clash, eliminate duplicate FindInsts (Dante Stroe?)

Revision 2640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 30 12:36:07 2012 UTC (9 years, 9 months ago) by jpye
File length: 6465 byte(s)
Diff to previous 2639
don't create name string unless needed

Revision 2639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 30 04:22:20 2012 UTC (9 years, 9 months ago) by jpye
File length: 6465 byte(s)
Diff to previous 2638
Better test for bug 567.

Revision 2638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 30 03:37:59 2012 UTC (9 years, 9 months ago) by jpye
File length: 6453 byte(s)
Diff to previous 2537
working on test case for bug 531, bug 566. latest tests show error in UpdateInputArgsList during sim_destroy.

Revision 2537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 26 20:17:03 2012 UTC (10 years, 5 months ago) by jpye
File length: 4106 byte(s)
Diff to previous 2512
Fix test solver_qrslv for MinGW (multiple path components need Windows separators if they are going to be used). (relates to bug 501).
Suppress Windows error dialog in test.c (to help with Buildbot testing).


Revision 2512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 9 10:17:46 2011 UTC (10 years, 8 months ago) by jpye
File length: 3903 byte(s)
Diff to previous 2511
Completed test for 2^4 error (bug 513).

Revision 2511 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Oct 9 10:07:57 2011 UTC (10 years, 8 months ago) by jpye
File length: 3917 byte(s)
working on checking bug 513.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

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