Type | Bug | Status | tested | Date | 25-Oct-2010 07:35 |
---|---|---|---|---|---|
Version | alpha 109 | Category | Graphics | Submitted by | maxim |
Platform | All | Severity | crash | Priority | normal |
Summary | reset a gob and crash when evaluated. |
---|---|
Description |
when a gob is set as a color gob (by assigning a color to it), and its color is reset to none, the gob becomes unstable and the first evaluation of it crashes the interpreter. my guess is that when the gob is "reset", gob->ctype type is not reset to GOBD_NONE. I actually need this reset to work in my current development (or be possible if it was not intended behavior). when the crash occurs, If I enable the debugger, it reports an access violation at address 0x00000005. The error isn't within the public part of the host (which I am compiling myself successfully) or the debugger would point me to the exact line error. My guess is that the error is probably deep within the gob datatype code. |
Example code |
>> g: make gob! [] == make gob! [offset: 0x0 size: 100x100 alpha: 0] >> g/color: red == 255.0.0 >> g/color: none == none >> g == ** crash !!** |
Assigned to | n/a | Fixed in | alpha 110 | Last Update | 2-Nov-2010 06:52 |
---|
Comments | |
---|---|
(0002678)
Carl 27-Oct-2010 01:42 |
Good catch Maxim. This was a generic problem for all gob types. |
Date | User | Field | Action | Change |
---|---|---|---|---|
2-Nov-2010 06:52 | BrianH | Status | Modified | built => tested |
27-Oct-2010 01:42 | carl | Comment : 0002678 | Modified | - |
27-Oct-2010 01:42 | carl | Comment : 0002678 | Added | - |
27-Oct-2010 01:41 | carl | Fixedin | Modified | => alpha 110 |
27-Oct-2010 01:41 | carl | Status | Modified | reviewed => built |
26-Oct-2010 20:01 | carl | Description | Modified | - |
26-Oct-2010 20:01 | carl | Code | Modified | - |
26-Oct-2010 20:01 | carl | Status | Modified | submitted => reviewed |
25-Oct-2010 07:35 | maxim | Ticket | Added | - |