Author |
Topic |
|
Andreasvb
Sweden
46 Posts |
Posted - 06/22/2012 : 05:33:13
|
I've noticed a bug, present in older version than 2.0 as well.
If doing several gestures very fast it crashes and the mouse cursor lags very bad until pressing "Close the program" on the crash dialog.
quote: Problem signature: Problem Event Name: APPCRASH Application Name: StrokesPlus.exe Application Version: 2.0.6.0 Application Timestamp: 4fe3e666 Fault Module Name: StrokesPlus.dll Fault Module Version: 2.0.6.0 Fault Module Timestamp: 4fe3a9c1 Exception Code: c0000005 Exception Offset: 00000000000329e7 OS Version: 6.2.8400.2.0.0.256.48 Locale ID: 1053 Additional Information 1: e42c Additional Information 2: e42c856ffa3ad6ee54465d3c61d55eeb Additional Information 3: d1cd Additional Information 4: d1cd5297db81a02b85b74d42baa6f612
Can reproduce it all the time.
Not sure if it's something in Windows 8 RP.
Just wanted to let you know.
Thanks for all the work. |
|
Rob
USA
2615 Posts |
Posted - 06/22/2012 : 15:55:08
|
Any particular actions (Lua script) which cause this more than others?
Are they longer running ones?
What happens if you disable the Draw Gestures option?
Just trying to find out where the failure is since I can draw as many and as fast as I want without issues, but I have a very fast system with 12GB of RAM, so it may prevent me from finding bugs where system resources (e.g. timing) may be playing a part in things. |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/22/2012 : 16:46:35
|
Same if disabling Draw Gestures.
It's mostly when I switching or open tabs.
quote:
- New Tab ( D )
acSendKeys("^t")
- Next Tab ( R )
acSendKeys("{DELAY=50}^{TAB}")
|
|
|
Rob
USA
2615 Posts |
Posted - 06/22/2012 : 16:57:17
|
Ok, it doesn't surprise me that acSendKeys could be the culprit..I didn't make that code and haven't really dug through it, step by step, to see what's going on inside..will have to get to that at some point. |
|
|
Rob
USA
2615 Posts |
|
Andreasvb
Sweden
46 Posts |
Posted - 06/30/2012 : 16:50:15
|
Same issue. =(
quote: Problem signature: Problem Event Name: APPCRASH Application Name: StrokesPlus.exe Application Version: 2.1.2.0 Application Timestamp: 4fef63d5 Fault Module Name: StrokesPlus.dll Fault Module Version: 2.1.2.0 Fault Module Timestamp: 4fef63d2 Exception Code: c0000005 Exception Offset: 0000000000032a87 OS Version: 6.2.8400.2.0.0.256.48 Locale ID: 1053 Additional Information 1: 7531 Additional Information 2: 7531cce1341e0c64073e43dceab393ae Additional Information 3: 8d6f Additional Information 4: 8d6f5ecc9d0b5ed8e14bc29c6d09bc6f
Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=190175
If the online privacy statement is not available, please read our privacy statement offline: C:\WINDOWS\system32\en-US\erofflps.txt
|
|
|
Rob
USA
2615 Posts |
|
Andreasvb
Sweden
46 Posts |
Posted - 06/30/2012 : 16:58:51
|
Sorry, afraid it's same. Sometimes I can do several in row very fast and some times it crashes after just a few. Have been same with all versions I've tried with.
I only used gesture for switching to next tab.
acSendKeys("{DELAY=50}^{TAB}") quote: Problem signature: Problem Event Name: APPCRASH Application Name: StrokesPlus.exe Application Version: 2.1.2.0 Application Timestamp: 4fef66bd Fault Module Name: StrokesPlus.dll Fault Module Version: 2.1.2.0 Fault Module Timestamp: 4fef66ba Exception Code: c0000005 Exception Offset: 0000000000032a87 OS Version: 6.2.8400.2.0.0.256.48 Locale ID: 1053 Additional Information 1: 7531 Additional Information 2: 7531cce1341e0c64073e43dceab393ae Additional Information 3: cb98 Additional Information 4: cb9865ac9c8b0250b57245fbb5e10414
|
Edited by - Andreasvb on 06/30/2012 17:01:33 |
|
|
Rob
USA
2615 Posts |
|
Andreasvb
Sweden
46 Posts |
Posted - 06/30/2012 : 17:15:41
|
Nope. quote: Problem signature: Problem Event Name: APPCRASH Application Name: StrokesPlus.exe Application Version: 2.1.2.0 Application Timestamp: 4fef6a2c Fault Module Name: StrokesPlus.dll Fault Module Version: 2.1.2.0 Fault Module Timestamp: 4fef6a2a Exception Code: c0000005 Exception Offset: 0000000000032a87 OS Version: 6.2.8400.2.0.0.256.48 Locale ID: 1053 Additional Information 1: 7531 Additional Information 2: 7531cce1341e0c64073e43dceab393ae Additional Information 3: 1168 Additional Information 4: 116878d2d46471c3c305733b3e742b49
|
|
|
Rob
USA
2615 Posts |
Posted - 06/30/2012 : 17:18:05
|
Also, what browser are you using? |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/30/2012 : 17:24:01
|
IE10 and Google Chrome 21.0.1180.15 dev-m.
Tried creating a global action that just sends an "x"
acSendKeys("x")
Same thing, doesn't matter which program that's used. |
|
|
Rob
USA
2615 Posts |
Posted - 06/30/2012 : 17:36:23
|
Ok, I forgot you said Windows 8..will have to install it again.
Also, what happens if you add this before your acSendKeys call:
acDelay(100)
Just to see if it has any effect at all (try higher/lower numbers as well). |
|
|
Rob
USA
2615 Posts |
Posted - 06/30/2012 : 17:42:23
|
Heh, forgot I already installed Win8 RP =)
I just tried in Win8, IE..using:
Left with acSendKeys("{DELAY=50}^+{TAB}")
Right with acSendKeys("{DELAY=50}^{TAB}")
Dragged right and left, tapping the right mouse button to trigger multiple gestures per second..no crash at all..no matter how fast I go; switches tabs quickly just as I'd expect.
Now, I know Hypernova had an issue with Windows 8 and sendkeys (http://www.strokesplus.com/forum/topic.asp?TOPIC_ID=357).
Do you have a non-English language/keyboard layout? If so, does applying the settings mentioned in the above post have any effect at all? |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/30/2012 : 17:46:58
|
I use Swedish as my keyboard layout.
Thanks, I'll try.
Edit: Still crashes after enabling option to use input language for each program.
Will try the delay next.
Edit: That only seemed to delay the initial command, all following were fast and then it crashed.
Uploaded a video demonstrating the issue: http://www.youtube.com/watch?v=hpcCExpOK3A |
Edited by - Andreasvb on 06/30/2012 18:50:12 |
|
|
Rob
USA
2615 Posts |
Posted - 07/01/2012 : 02:11:24
|
Well, at least I can reproduce it now =)
It has nothing to do with acSendKeys and everything to do with the acDisplayText call you have firing after each gesture. When I added a call to that after actions, I was able to cause the crash.
FINALLY I have something to work with. |
|
|
Rob
USA
2615 Posts |
Posted - 07/01/2012 : 02:43:53
|
I'm going to have to create a new method for acDisplayText, it's been kind of a hack from the beginning; need to look at it from a fresh perspective and rebuild from the ground up.
In the meantime, I'd recommend turning that off for every action. For other purposes it's fine, where it's not going to be called in rapid succession.
Note that it has nothing to do with the sp_after_action code, when I experienced the error there first, I disabled after action script and put the acDisplayText call inside the action itself with the same result. |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 07/01/2012 : 03:32:46
|
Haha, oh.
It works now.
I'll disable the text in the meantime.
Here's the code I used:
function sp_after_action(gnm, gsx, gsy, gex, gey, gwd, gapp, gact)
act_len = string.len(gact)
acDisplayText(gact, "zeroes two", 80, 255, 0, 200, 450, 960-act_len*30, 300)
end |
|
|
Rob
USA
2615 Posts |
Posted - 07/01/2012 : 13:54:49
|
Try 2.1.2 and see if that works with the after action script. |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 07/01/2012 : 15:35:45
|
I did managed to crash it with 450ms text duration but with 250ms it doesn't "want" to crash.
I'll consider it fixed for what it's worth.
Thanks. |
|
|
Rob
USA
2615 Posts |
Posted - 07/01/2012 : 15:40:35
|
Ok good..because I'm kind of done with this one |
|
|
Rob
USA
2615 Posts |
Posted - 07/01/2012 : 15:45:18
|
I'm guessing it now comes down to some kind of race condition where S+ is trying to access/store the string at the same time one of the other action threads is trying to modify it (or vice versa).. I'm sure there's an elegant solution to permanently and properly address this, but I'm out of steam on this issue (and really need a development break!) |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 07/01/2012 : 16:14:13
|
Oh noes.
The ghost-button in Windows 8 is back now.
If I close it the text isn't displayed anymore.
Just a heads-up. |
|
|
Rob
USA
2615 Posts |
|
Andreasvb
Sweden
46 Posts |
Posted - 07/01/2012 : 16:54:15
|
No ghost so far.
Thanks so much. ^^ |
|
|
|
Topic |
|