Page 1 of 1
Random Warp filter malfunction leading to crash
Posted: Wed Feb 12, 2020 11:00 am
by kingzeroth
Sometimes the Warp filter malfunctions and crash the program at the first click on the canvas with the cursor. The warp brush circle is missing and the settings are locked when this happens. The warp filter will return to normal only after restarting the program. If the warp filter is canceled instead, the program would still work fine but the warp filter will stay bugged. Doesn't notice a pattern on when this would happen.
Code: Select all
Idle:
_mazok::startDraw
_mazok::bezierDraw
mousex=745
mousey=288
WindowWidth=1920
WindowHeight=1040
CB=342
tool=1
maintool=1
mbuttondown=1
irf infinitytool=0
irf tooloptions=-1
irf somemenu=0
irf curidw=57
irf aw=-1
irf curbrprev=0
irf cursheetgroup=0
irf brform_activeitem=0
irf brushesactivegroup=14
brush bristle=0
brush brmode=0
brush mask=0
brush texture=0
CL=1
cd=2
ctrlz_num=0
ctrlz_size=60
numOflayers=3
docWidth=1240
docHeight=877
docPutx1=20000
docPuty1=20000
docPutx2=-20000
docPuty2=-20000
cm=0
curp=1
numofp=3
GPU enable=1
GPU fastmode=0
GPU support=1
GPU tempsunsupport=0
GPU unsupportFunc=1
GPU vorsSupport=1
Thread save psd=0
Thread lock dcl=0
Re: Random Warp filter malfunction leading to crash
Posted: Thu Mar 19, 2020 9:55 am
by support
The size is 0... I don't know why, but Paintstorm restart must reset these sliders to default.
Re: Random Warp filter malfunction leading to crash
Posted: Sat May 09, 2020 7:34 am
by Kuukunen
I keep running into this constantly. I'm still not quite sure what triggers it though.
Although in this case it wasn't 0, but what I can only assume is -2147483648.
Maybe it's some sort of heap overflow issue somewhere else, 0x00000000 and 0xFFFFFFFF are something that could be reasonably written by many things.
Again, trying to use the tool when that happens immediately crashes the whole program. Would be nice to have at least some sort of sanity checks on the brush size when starting to brush, so everything doesn't crash, although it wouldn't fix the root cause, which will probably cause some issues elsewhere as well.
Re: Random Warp filter malfunction leading to crash
Posted: Sat May 09, 2020 7:23 pm
by Kuukunen
Addition to my previous comment.
This is how I can reproduce the crash every time:
1. Open Painststorm
2. Paint a line on canvas. (To enable warp)
3. Select Filters -> Warp (hotkey works too)
4. Select OK on the active area dialog.
5. Hit Cancel/Esc to cancel the warp.
6. Click "Create New Brush (copy of current)" button on the Brushes toolbox to create a new brush.
7. Select Filters -> Warp again.
8. Select OK.
9. Note: Size = 0.00, Strength = 0.00
10. Click canvas.
11. Crash.
And if the log helps:
Code: Select all
Idle:
mousex=757
mousey=679
WindowWidth=1707
WindowHeight=1363
CB=299
tool=1
maintool=1
mbuttondown=0
irf infinitytool=0
irf tooloptions=-1
irf somemenu=0
irf curidw=57
irf aw=-1
irf curbrprev=0
irf cursheetgroup=0
irf brform_activeitem=0
irf brushesactivegroup=0
brush bristle=0
brush brmode=0
brush mask=0
brush texture=0
CL=1
cd=2
ctrlz_num=0
ctrlz_size=60
numOflayers=3
docWidth=800
docHeight=450
docPutx1=20000
docPuty1=20000
docPutx2=-20000
docPuty2=-20000
cm=0
curp=0
numofp=2
GPU enable=1
GPU fastmode=0
GPU support=1
GPU tempsunsupport=0
GPU unsupportFunc=1
GPU vorsSupport=1
Thread save psd=0
Thread lock dcl=0