View Issue Details

IDProjectCategoryView StatusLast Update
0000566ascendpygtk guipublic2013-02-26 13:39
Reporterjohn 
Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version12.04 LTS
Product VersionSVN 
Target Version0.9.9Fixed in Version 
Summary0000566: crash solving model with extpy and external relations
DescriptionThis was with Rachel's models at r3077 and ASCEND at 4335 in Ubuntu 12.04 LTS 64-bit. CRASH!

ascend/system/system.c:95 (system_build): System built (time <1ms)
ascxx/simulation.cpp:583 (build): System built OK
solvers/qrslv/qrslv.c:3375 (structural_analysis): In QRSlv, got vused = 34...

Program received signal SIGSEGV, Segmentation fault.
CalcResidGivenValue (mode=0x7fffffffb47c, m=0x7fffffffb480, varnum=0x7fffffffb484, val=0x244f958, u=0x0, f=0x244f950, g=0x244f968) at ascend/compiler/relation_util.c:4039
4039 SetRealAtomValue(
(gdb) where
#0 CalcResidGivenValue (mode=0x7fffffffb47c, m=0x7fffffffb480, varnum=0x7fffffffb484, val=0x244f958, u=0x0, f=0x244f950, g=0x244f968) at ascend/compiler/relation_util.c:4039
#1 0x00007ffff48817f1 in zbrent (func=0x7ffff4880e2a <CalcResidGivenValue>, lowbound=0x7fffffffb4f0, upbound=0x7fffffffb4e8, mode=0x7fffffffb47c, m=0x7fffffffb480, n=0x7fffffffb484, x=0x244f958, u=0x0,
    f=0x244f950, g=0x244f968, tolerance=0x7fffffffb4d8, status=0x7fffffffb600) at ascend/compiler/rootfind.c:86
#2 0x00007ffff488111a in RootFind (rel=0x244eb90, lower_bound=0x7fffffffb4f0, upper_bound=0x7fffffffb4e8, nominal=0x7fffffffb4e0, tolerance=0x7fffffffb4d8, varnum=2, status=0x7fffffffb600)
    at ascend/compiler/relation_util.c:4122
#3 0x00007ffff487ea65 in RelationFindRoots (i=0x2ab6900, lower_bound=9.9999999999999995e-07, upper_bound=10000, nominal=298, tolerance=1e-08, varnum=0x7fffffffb580, able=0x7fffffffb600,
    nsolns=0x7fffffffb608) at ascend/compiler/relation_util.c:3212
#4 0x00007ffff48d0479 in relman_directly_solve_new (rel=0x106f6e0, solvefor=0x106f150, able=0x7fffffffb600, nsolns=0x7fffffffb608, tolerance=1e-08) at ascend/system/relman.c:1041
#5 0x00007ffff48d48a4 in slv_direct_solve (server=0x3116700, rel=0x106f6e0, var=0x106f150, fp=0x7ffff6c7b260, epsilon=1e-08, ignore_bounds=0, scaled=0) at ascend/system/slv_common.c:208
#6 0x00007fffe0c4d4c7 in qrslv_iterate (server=0x3116700, asys=0x31267c0) at solvers/qrslv/qrslv.c:3844
#7 0x00007ffff48e4ae8 in slv_iterate (sys=0x3116700) at ascend/solver/solver.c:365
#8 0x00007ffff5bd6ddd in Simulation::solve (this=0x2b3c860, solver=..., reporter=...) at ascxx/simulation.cpp:835
#9 0x00007ffff5c6fce7 in _wrap_Simulation_solve () from /home/john/ascend/ascxx/_ascpy.so
#10 0x000000000049c4d8 in PyEval_EvalFrameEx ()
#11 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#12 0x00000000004983b8 in PyEval_EvalFrameEx ()
#13 0x0000000000498602 in PyEval_EvalFrameEx ()
#14 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#15 0x00000000004a8960 in ?? ()
#16 0x00000000004e9f36 in PyObject_Call ()
#17 0x00000000004ec11a in ?? ()
#18 0x00000000004e9f36 in PyObject_Call ()
#19 0x00000000004ea396 in PyEval_CallObjectWithKeywords ()
#20 0x00007ffff2e54438 in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so
#21 0x00007ffff2bfbca2 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff2c0cd71 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff2c15099 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff2c15754 in g_signal_emit_by_name () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff2bfbeca in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff2c14741 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff2c15242 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff1f93845 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x00007ffff2bfbca2 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff2c0d179 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff2c15099 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff2c15242 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff1f9266d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00007ffff203bdd8 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#35 0x00007ffff2bfbca2 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#36 0x00007ffff2c0d339 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007ffff2c14d7e in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007ffff2c15242 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff2156191 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#40 0x00007ffff2039f63 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#41 0x00007ffff203a2c3 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#42 0x00007ffff1caecac in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#43 0x00007ffff38f3d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ffff38f40a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ffff38f449a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff20392f7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#47 0x00007ffff26eb046 in ?? () from /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so
#48 0x000000000049890a in PyEval_EvalFrameEx ()
#49 0x0000000000498602 in PyEval_EvalFrameEx ()
#50 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#51 0x00000000004a9081 in PyRun_FileExFlags ()
#52 0x00000000004a9311 in PyRun_SimpleFileExFlags ()
#53 0x00000000004aa8bd in Py_Main ()
#54 0x00007ffff68e576d in __libc_start_main (main=0x41b980 <main>, argc=5, ubp_av=0x7fffffffdfd8, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffdfc8)
    at libc-start.c:226
#55 0x000000000041b9b1 in _start ()
TagsNo tags attached.

Relationships

duplicate of 0000564 resolvedjohn crash in 'SetRealAtomValue' on ubuntu 12.04 64-bit 
related to 0000531 assignedjohn Deallocation error in importhandler.c:476 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-09-29 11:30 john New Issue
2012-09-29 11:31 john Relationship added duplicate of 0000564
2012-09-30 13:37 john Relationship added related to 0000531
2012-09-30 13:38 svn
2013-02-26 13:39 john Target Version 1.0 => 0.9.9