View Revisions: Issue #567

Summary 0000567: error in sim_destroy in relation.c:UpdateInputArgsList
Revision 2012-10-02 20:11 by john
Additional Information (note: updated, test case has been renamed)

john@novo:~/ascend$ gdb --args test/test solver_qrslv.bug567
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/john/ascend/test/test...done.
(gdb) r
Starting program: /home/john/ascend/test/test solver_qrslv.bug567
Registered ASCEND test suites
CUNIT RUNNING SELECTED 1 TESTS...


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/

Running selected tests...Looking for 'solver_qrslv.bug567'...
Valid test 'bug567' in suite 'solver_qrslv'
Running test 'solver_qrslv.bug567'...

Suite: solver_qrslv
  Test: bug567 ...ascend/solver/test/test_qrslv.c:148 (test_bug567): ASCENDLIBRARY = models

ascend/compiler/module.c:1008 (ModuleSearchPath): File 'models/johnpye/fprops/brayton_split.a4c' opened directly, without path search
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "system.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/thermo_types.a4c" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/thermo_types.a4c" already PROVIDEd
WARNING: models/johnpye/fprops/asc_helmholtz.c:110:helmholtz_register: FPROPS is still EXPERIMENTAL. Use with caution.

ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/fprops/rankine_fprops.a4c" already PROVIDEd
WARNING: models/johnpye/fprops/asc_heatex_pinch.c:99:heatex_pinch_register: HEATEX is still EXPERIMENTAL.

ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'JO[3].inlet.cd' and 'JO[3].inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'JO[2].inlet.cd' and 'JO[2].inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'JO[1].inlet.cd' and 'JO[1].inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'CO2.inlet.cd' and 'CO2.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'CO2.cd' and 'CO2.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'CO1.inlet.cd' and 'CO1.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'CO1.cd' and 'CO1.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'ME.inlet_branch.cd' and 'ME.inlet_branch.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'ME.inlet.cd' and 'ME.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.outlet.cd' and 'SP.outlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.inlet.cd' and 'SP.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.inlet.cd' and 'HEL.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.outlet_hot.cd' and 'HEL.outlet_hot.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.inlet.cd' and 'HEH.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.inlet_hot.cd' and 'HEH.inlet_hot.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'DI.inlet.cd' and 'DI.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'TU.inlet.cd' and 'TU.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'TU.cd' and 'TU.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'BO.inlet.cd' and 'BO.inlet.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'BO.outlet' and 'BO.outlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'BO.outlet.state' and 'BO.outlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'TU.outlet' and 'TU.outlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'TU.outlet.state' and 'TU.outlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.outlet_hot' and 'HEH.outlet_hot'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.outlet_hot.state' and 'HEH.outlet_hot.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.inlet_hot' and 'HEL.inlet_hot'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.outlet_hot.cd' and 'HEL.outlet_hot.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.inlet_hot.state' and 'HEL.inlet_hot.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.outlet_hot' and 'HEL.outlet_hot'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.outlet_hot.state' and 'HEL.outlet_hot.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.inlet' and 'SP.inlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.cd' and 'SP.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.inlet.state' and 'SP.inlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.outlet' and 'SP.outlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'SP.outlet.state' and 'SP.outlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'ME.inlet' and 'ME.inlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'ME.cd' and 'ME.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'ME.inlet.state' and 'ME.inlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'DI.inlet' and 'DI.inlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'DI.cd' and 'DI.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'DI.inlet.state' and 'DI.inlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'DI.outlet' and 'DI.outlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'DI.outlet.state' and 'DI.outlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.inlet' and 'HEL.inlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.cd' and 'HEL.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.inlet.state' and 'HEL.inlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.outlet' and 'HEL.outlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEL.outlet.state' and 'HEL.outlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.inlet' and 'HEH.inlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.cd' and 'HEH.cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.inlet.state' and 'HEH.inlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.outlet' and 'HEH.outlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'cd' and 'cd'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'HEH.outlet.state' and 'HEH.outlet.state'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'BO.inlet' and 'BO.inlet'
ascend/compiler/mergeinst.c:773 (MergeModels): Merging models 'BO.inlet.state' and 'BO.inlet.state'
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_heatex_pinch.c:166 (heatex_prepare): component: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:166 (heatex_prepare): component_hot: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:180:heatex_prepare: Heat exchanger data structure OK.
models/johnpye/fprops/asc_heatex_pinch.c:166 (heatex_prepare): component: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:166 (heatex_prepare): component_hot: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:180:heatex_prepare: Heat exchanger data structure OK.
ascend/solver/test/test_qrslv.c:175 (test_bug567): Destroying instance tree


PROGRAM FATAL ERROR: ascend/general/list.c:487:gl_lengthF: Assertion failed: NULL != list


Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) where
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb74cb1ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb74ce835 in __GI_abort () at abort.c:91
#3 0xb768e1bb in asc_panic_line (status=100, filename=0xb77bf9a8 "ascend/general/list.c", line=487, function=0xb77bfe32 "gl_lengthF",
    fmt=0xb77bfa7e "Assertion failed: %s") at ascend/general/panic.c:146
#4 0xb768b12d in gl_lengthF (list=0x0) at ascend/general/list.c:487
#5 0xb7711a1e in NumberParents (i=0x83ebb58) at ascend/compiler/parentchild.c:115
#6 0xb76d4d64 in ShortestPath (i=0x83ebb58, ref=0x0, height=0, best=4294967295) at ascend/compiler/instance_io.c:131
#7 0xb76d53c3 in WriteInstanceNameDS (dsPtr=0xbfffe428, i=0x83ebb58, ref=0x0) at ascend/compiler/instance_io.c:276
#8 0xb76d5457 in WriteInstanceNameString (i=0x83ebb58, ref=0x0) at ascend/compiler/instance_io.c:288
#9 0xb76fae07 in ChangeRelationPointers (rel=0x83f5db0, old=0x83ebb58, new=0x0) at ascend/compiler/linkinst.c:92
#10 0xb76bcbaf in RemoveRelationLinks (i=0x83ebb58, list=0x83e7b90) at ascend/compiler/destroyinst.c:263
#11 0xb76bd253 in DestroyInstanceParts (i=0x83ebb58) at ascend/compiler/destroyinst.c:420
#12 0xb76bda35 in DestroyInstance (inst=0x83ebb58, parent=0x83eb2d0) at ascend/compiler/destroyinst.c:646
#13 0xb76bcfba in DestroyInstanceParts (i=0x83eb2d0) at ascend/compiler/destroyinst.c:350
#14 0xb76bda35 in DestroyInstance (inst=0x83eb2d0, parent=0x83df540) at ascend/compiler/destroyinst.c:646
#15 0xb76bcfba in DestroyInstanceParts (i=0x83df540) at ascend/compiler/destroyinst.c:350
#16 0xb76bda35 in DestroyInstance (inst=0x83df540, parent=0x80e4750) at ascend/compiler/destroyinst.c:646
#17 0xb76bcfba in DestroyInstanceParts (i=0x80e4750) at ascend/compiler/destroyinst.c:350
#18 0xb76bda35 in DestroyInstance (inst=0x80e4750, parent=0x80e4728) at ascend/compiler/destroyinst.c:646
#19 0xb76bced9 in DestroyInstanceParts (i=0x80e4728) at ascend/compiler/destroyinst.c:328
#20 0xb76bda35 in DestroyInstance (inst=0x80e4728, parent=0x0) at ascend/compiler/destroyinst.c:646
#21 0xb7740283 in sim_destroy (sim=0x80e4728) at ascend/compiler/simlist.c:52
#22 0x0807b63f in test_bug567 () at ascend/solver/test/test_qrslv.c:179
#23 0xb7649b71 in run_single_test () from /usr/local/lib/libcunit.so.1
#24 0xb764761d in CU_run_selected_tests () from /usr/local/lib/libcunit.so.1
#25 0xb764bd63 in basic_run_selected_tests () from /usr/local/lib/libcunit.so.1
#26 0xb764ba71 in CU_basic_run_selected_tests () from /usr/local/lib/libcunit.so.1
#27 0x0804d292 in main (argc=2, argv=0xbffff334) at test/test.c:190
(gdb)
Revision 2012-09-30 14:21 by john
Additional Information (gdb) r
Starting program: /home/john/ascend/test/test solver_qrslv.bug564
Registered ASCEND test suites
CUNIT RUNNING SELECTED 1 TESTS...


     CUnit - A unit testing framework for C - Version 2.1-2
     http://cunit.sourceforge.net/

Running selected tests...Looking for 'solver_qrslv.bug564'...
Valid test 'bug564' in suite 'solver_qrslv'
Running test 'solver_qrslv.bug564'...

Suite: solver_qrslv
  Test: bug564 ...ascend/solver/test/test_qrslv.c:151 (test_bug564): ASCENDLIBRARY = models

ascend/compiler/module.c:1008 (ModuleSearchPath): File 'models/johnpye/fprops/brayton_split.a4c' opened directly, without path search
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "system.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/thermo_types.a4c" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd
ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/thermo_types.a4c" already PROVIDEd
WARNING: models/johnpye/fprops/asc_helmholtz.c:110:helmholtz_register: FPROPS is still EXPERIMENTAL. Use with caution.

ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/fprops/rankine_fprops.a4c" already PROVIDEd
WARNING: models/johnpye/fprops/asc_heatex_pinch.c:98:heatex_pinch_register: HEATEX is still EXPERIMENTAL.

models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: carbondioxide
models/johnpye/fprops/asc_helmholtz.c:194:helmholtz_prepare: Prepared component 'carbondioxide' OK.
models/johnpye/fprops/asc_heatex_pinch.c:165 (heatex_prepare): component: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:165 (heatex_prepare): component_hot: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:179:heatex_prepare: Heat exchanger data structure OK.
models/johnpye/fprops/asc_heatex_pinch.c:165 (heatex_prepare): component: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:165 (heatex_prepare): component_hot: carbondioxide
models/johnpye/fprops/asc_heatex_pinch.c:179:heatex_prepare: Heat exchanger data structure OK.
ascend/solver/test/test_qrslv.c:220 (test_bug564): Destroying instance tree
ascend/compiler/linkinst.c:91 (ChangeRelationPointers): MODIFY BLACK BOX POINTERS


PROGRAM FATAL ERROR: ascend/general/list.c:487:gl_lengthF: Assertion failed: NULL != list


Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) where
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb74c61ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb74c9835 in __GI_abort () at abort.c:91
#3 0xb76894f7 in asc_panic_line (status=100, filename=0xb77bfc74 "ascend/general/list.c", line=487, function=0xb77c00fe "gl_lengthF",
    fmt=0xb77bfd4a "Assertion failed: %s") at ascend/general/panic.c:146
#4 0xb7686365 in gl_lengthF (list=0x0) at ascend/general/list.c:487
#5 0xb770e86f in NumberParents (i=0x83ee720) at ascend/compiler/parentchild.c:105
#6 0xb76d1644 in ShortestPath (i=0x83ee720, ref=0x0, height=2, best=4294967295) at ascend/compiler/instance_io.c:131
#7 0xb76d168e in ShortestPath (i=0x83e91d0, ref=0x0, height=1, best=4294967295) at ascend/compiler/instance_io.c:133
#8 0xb76d168e in ShortestPath (i=0x83f51a8, ref=0x0, height=0, best=4294967295) at ascend/compiler/instance_io.c:133
#9 0xb76d1ca3 in WriteInstanceNameDS (dsPtr=0xbfffe398, i=0x83f51a8, ref=0x0) at ascend/compiler/instance_io.c:276
#10 0xb76d1d37 in WriteInstanceNameString (i=0x83f51a8, ref=0x0) at ascend/compiler/instance_io.c:288
#11 0xb7720a81 in UpdateInputArgsList (relinst=0x83f51a8, rel=0x83f5210) at ascend/compiler/relation.c:3754
#12 0xb7720cc1 in ModifyBlackBoxRelPointers (relinst=0x83f51a8, rel=0x83f5210, old=0x83eebd8, new=0x0) at ascend/compiler/relation.c:3842
#13 0xb76f7b79 in ChangeRelationPointers (rel=0x83f51a8, old=0x83eebd8, new=0x0) at ascend/compiler/linkinst.c:92
#14 0xb76b8ebb in RemoveRelationLinks (i=0x83eebd8, list=0x83eab08) at ascend/compiler/destroyinst.c:263
#15 0xb76b95cb in DestroyInstanceParts (i=0x83eebd8) at ascend/compiler/destroyinst.c:420
#16 0xb76b9e61 in DestroyInstance (inst=0x83eebd8, parent=0x83ee720) at ascend/compiler/destroyinst.c:641
#17 0xb76b92d8 in DestroyInstanceParts (i=0x83ee720) at ascend/compiler/destroyinst.c:350
#18 0xb76b9e61 in DestroyInstance (inst=0x83ee720, parent=0x83e29b8) at ascend/compiler/destroyinst.c:641
#19 0xb76b92d8 in DestroyInstanceParts (i=0x83e29b8) at ascend/compiler/destroyinst.c:350
#20 0xb76b9e61 in DestroyInstance (inst=0x83e29b8, parent=0x80e7bc8) at ascend/compiler/destroyinst.c:641
#21 0xb76b92d8 in DestroyInstanceParts (i=0x80e7bc8) at ascend/compiler/destroyinst.c:350
#22 0xb76b9e61 in DestroyInstance (inst=0x80e7bc8, parent=0x80e7ba0) at ascend/compiler/destroyinst.c:641
#23 0xb76b91e5 in DestroyInstanceParts (i=0x80e7ba0) at ascend/compiler/destroyinst.c:328
#24 0xb76b9e61 in DestroyInstance (inst=0x80e7ba0, parent=0x0) at ascend/compiler/destroyinst.c:641
#25 0xb773d8db in sim_destroy (sim=0x80e7ba0) at ascend/compiler/simlist.c:52
#26 0x0807eab3 in test_bug564 () at ascend/solver/test/test_qrslv.c:224
#27 0xb7644b71 in run_single_test () from /usr/local/lib/libcunit.so.1
#28 0xb764261d in CU_run_selected_tests () from /usr/local/lib/libcunit.so.1
#29 0xb7646d63 in basic_run_selected_tests () from /usr/local/lib/libcunit.so.1
#30 0xb7646a71 in CU_basic_run_selected_tests () from /usr/local/lib/libcunit.so.1
#31 0x0804d482 in main (argc=2, argv=0xbffff334) at test/test.c:190
(gdb)
Revision 2012-09-30 14:21 by john
Additional Information PROGRAM FATAL ERROR: ascend/general/list.c:487:gl_lengthF:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6536dba in _IO_vfprintf_internal (s=<optimised out>, format=<optimised out>, ap=<optimised out>) at vfprintf.c:1624
1624 vfprintf.c: No such file or directory.
(gdb) where
#0 0x00007ffff6536dba in _IO_vfprintf_internal (s=<optimised out>, format=<optimised out>, ap=<optimised out>) at vfprintf.c:1624
#1 0x00007ffff6539f74 in buffered_vfprintf (s=0x7ffff68a4180, format=<optimised out>, args=<optimised out>) at vfprintf.c:2290
#2 0x00007ffff6534c1e in _IO_vfprintf_internal (s=0x7ffff68a4180, format=0x7ffff6c17efe "Assertion failed: %s", ap=0x7fffffffd238)
    at vfprintf.c:1310
#3 0x00007ffff6ae426d in error_reporter_default_callback (sev=ASC_PROG_FATAL, filename=0x7ffff6c17e20 "ascend/general/list.c", line=487,
    funcname=0x7ffff6c182f3 "gl_lengthF", fmt=0x7ffff6c17efe "Assertion failed: %s", args=0x7fffffffd238) at ascend/utilities/error.c:77
#4 0x00007ffff6ae4942 in va_error_reporter (sev=ASC_PROG_FATAL, errfile=0x7ffff6c17e20 "ascend/general/list.c", errline=487,
    errfunc=0x7ffff6c182f3 "gl_lengthF", fmt=0x7ffff6c17efe "Assertion failed: %s", args=0x7fffffffd238) at ascend/utilities/error.c:311
#5 0x00007ffff6ada96d in asc_va_panic (status=100, filename=0x7ffff6c17e20 "ascend/general/list.c", line=487,
    function=0x7ffff6c182f3 "gl_lengthF", fmt=0x7ffff6c17efe "Assertion failed: %s", args=0x7fffffffd238) at ascend/general/panic.c:105
#6 0x00007ffff6adaa9e in asc_panic_line (status=100, filename=0x7ffff6c17e20 "ascend/general/list.c", line=487,
    function=0x7ffff6c182f3 "gl_lengthF", fmt=0x7ffff6c17efe "Assertion failed: %s") at ascend/general/panic.c:139
#7 0x00007ffff6ad770b in gl_lengthF (list=0x0) at ascend/general/list.c:487
#8 0x00007ffff6b60c43 in NumberParents (i=0xc57a30) at ascend/compiler/parentchild.c:105
#9 0x00007ffff6b23862 in ShortestPath (i=0xc57a30, ref=0x0, height=2, best=4294967295) at ascend/compiler/instance_io.c:131
#10 0x00007ffff6b238aa in ShortestPath (i=0xc67530, ref=0x0, height=1, best=4294967295) at ascend/compiler/instance_io.c:133
#11 0x00007ffff6b238aa in ShortestPath (i=0xc67590, ref=0x0, height=0, best=4294967295) at ascend/compiler/instance_io.c:133
#12 0x00007ffff6b23eee in WriteInstanceNameDS (dsPtr=0x7fffffffd500, i=0xc67590, ref=0x0) at ascend/compiler/instance_io.c:276
#13 0x00007ffff6b23f78 in WriteInstanceNameString (i=0xc67590, ref=0x0) at ascend/compiler/instance_io.c:288
#14 0x00007ffff6b73b55 in UpdateInputArgsList (relinst=0xc67590, rel=0xc4d020) at ascend/compiler/relation.c:3754
#15 0x00007ffff6b73da6 in ModifyBlackBoxRelPointers (relinst=0xc67590, rel=0xc4d020, old=0xc58120, new=0x0) at ascend/compiler/relation.c:3842
#16 0x00007ffff6b499bc in ChangeRelationPointers (rel=0xc67590, old=0xc58120, new=0x0) at ascend/compiler/linkinst.c:92
#17 0x00007ffff6b0b224 in RemoveRelationLinks (i=0xc58120, list=0xc501c0) at ascend/compiler/destroyinst.c:263
#18 0x00007ffff6b0b936 in DestroyInstanceParts (i=0xc58120) at ascend/compiler/destroyinst.c:420
#19 0x00007ffff6b0c216 in DestroyInstance (inst=0xc58120, parent=0xc57a30) at ascend/compiler/destroyinst.c:641
#20 0x00007ffff6b0b638 in DestroyInstanceParts (i=0xc57a30) at ascend/compiler/destroyinst.c:350
#21 0x00007ffff6b0c216 in DestroyInstance (inst=0xc57a30, parent=0xc42d30) at ascend/compiler/destroyinst.c:641
#22 0x00007ffff6b0b638 in DestroyInstanceParts (i=0xc42d30) at ascend/compiler/destroyinst.c:350
#23 0x00007ffff6b0c216 in DestroyInstance (inst=0xc42d30, parent=0xc42390) at ascend/compiler/destroyinst.c:641
#24 0x00007ffff6b0b638 in DestroyInstanceParts (i=0xc42390) at ascend/compiler/destroyinst.c:350
#25 0x00007ffff6b0c216 in DestroyInstance (inst=0xc42390, parent=0x6a6700) at ascend/compiler/destroyinst.c:641
#26 0x00007ffff6b0b539 in DestroyInstanceParts (i=0x6a6700) at ascend/compiler/destroyinst.c:328
#27 0x00007ffff6b0c216 in DestroyInstance (inst=0x6a6700, parent=0x0) at ascend/compiler/destroyinst.c:641
#28 0x00007ffff6b924ac in sim_destroy (sim=0x6a6700) at ascend/compiler/simlist.c:52
#29 0x000000000042f5ad in test_bug564 () at ascend/solver/test/test_qrslv.c:223
#30 0x00007ffff68b17a4 in run_single_test (pTest=0x666230, pRunSummary=0x7ffff6abb440) at TestRun.c:1129
#31 0x00007ffff68af162 in CU_run_selected_tests (argc=1, argv=0x7fffffffe5e0) at TestRun.c:473
#32 0x00007ffff68b37f0 in basic_run_selected_tests (pRegistry=0x0, argc=1, argv=0x7fffffffe5e0) at Basic.c:235
#33 0x00007ffff68b3524 in CU_basic_run_selected_tests (argc=1, argv=0x7fffffffe5e0) at Basic.c:106
#34 0x00000000004072ac in main (argc=2, argv=0x7fffffffe5d8) at test/test.c:190