View Issue Details

IDProjectCategoryView StatusLast Update
0000408ascendpygtk guipublic2009-06-25 23:03
Reporterjohn 
Assigned Tojohn 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status assignedResolutionopen 
Product Version0.9.6 
Target Version0.9.7Fixed in Version 
Summary0000408: crash when assigning to 'symbol' via PyGTK GUI
DescriptionAt changeset 2381, there's a crash when

scons -j2 && ASC_GDB=1 pygtk/ascdev models/test/compiler/emptymodel.a4c -m emptymodel2

then attempting to assign a value to the symbol.

Use case for this: setting axis labels in plots (see [[Plotting in ASCEND]]).
Additional InformationCrash info:

ASCEND is now running

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7dd56c0 (LWP 30579)]
0xb7e4e613 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) where
#0 0xb7e4e613 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0xb70dd7d7 in AddSymbol (c=0x0) at ascend/compiler/symtab.c:264
#2 0xb7b1d637 in SymChar (this=0xab08f00, name=0x0) at pygtk/symchar.cpp:25
#3 0xb7b88616 in _wrap_Instance_setSymbolValue (args=0xb0c170c) at pygtk/ascpy_wrap.cc:33755
#4 0x0806111a in PyObject_Call ()
#5 0x080dcfea in PyEval_EvalFrameEx ()
#6 0x080e00b8 in PyEval_EvalCodeEx ()
TagsNo tags attached.

Relationships

related to 0000407 closedjohn Crash when creating models with unassigned symbol_constants 

Activities

john

2009-06-25 23:03

administrator   ~0000565

For some reason it appears that a null 'name' is being passed to SymChar. What does it mean ?!?

Issue History

Date Modified Username Field Change
2009-06-25 22:47 john New Issue
2009-06-25 22:47 john Status new => assigned
2009-06-25 22:47 john Assigned To => john
2009-06-25 22:47 john Target release => 0.9.6
2009-06-25 23:01 john Relationship added related to 0000407
2009-06-25 23:03 john Note Added: 0000565
2009-06-25 23:03 john Severity minor => crash
2009-06-25 23:03 john Target Version => 0.9.7