Type | Bug | Status | tested | Date | 30-Jan-2010 00:11 |
---|---|---|---|---|---|
Version | alpha 96 | Category | Datatype | Submitted by | ptretter |
Platform | All | Severity | crash | Priority | high |
Summary | Using AND, OR or XOR with bitsets could cause a crash |
---|---|
Description | When using AND with bitsets it can cause a crash when being passed an integer value. Confirmed on windows vista and XP with alpha 96. |
Example code |
>> bits: make bitset! 8 == make bitset! #{00} >> 1 and bits ** Script error: incompatible argument for and~ of integer! ** Where: and ** Near: and bits >> bits and 1 ; crash |
Assigned to | n/a | Fixed in | alpha 97 | Last Update | 8-Feb-2010 03:34 |
---|
Comments | |
---|---|
(0001933)
BrianH 30-Jan-2010 02:37 |
The crash happens if the bitset is the left argument, not the right, so it's a bug in the AND~ action of bitset!. Category changed accordingly. The same crash happens with the other logical actions: OR~ and XOR~. |
Date | User | Field | Action | Change |
---|---|---|---|---|
8-Feb-2010 03:34 | BrianH | Status | Modified | built => tested |
3-Feb-2010 22:32 | carl | Fixedin | Modified | => alpha 97 |
3-Feb-2010 22:32 | carl | Status | Modified | reviewed => built |
30-Jan-2010 02:37 | BrianH | Comment : 0001933 | Added | - |
30-Jan-2010 02:37 | BrianH | Summary | Modified | Using and with bitsets could cause a crash => Using AND, OR or XOR with bitsets could cause a crash |
30-Jan-2010 02:37 | BrianH | Code | Modified | - |
30-Jan-2010 02:37 | BrianH | Version | Modified | alpha 97 => alpha 96 |
30-Jan-2010 02:37 | BrianH | Category | Modified | Native => Datatype |
30-Jan-2010 02:37 | BrianH | Status | Modified | submitted => reviewed |
30-Jan-2010 00:11 | ptretter | Ticket | Added | - |