Bug 352499 - Crashed when I started using the brush
Summary: Crashed when I started using the brush
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 2.9.7
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 356591 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-09 21:36 UTC by johannesengoy
Modified: 2016-06-06 19:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johannesengoy 2015-09-09 21:36:39 UTC
Krita crashed when I started using the brush after having taken a break for about 20 min. I had apps such as google chrome (wiht youtube videos playing) and windows picture preview up when it happened.

Reproducible: Sometimes

Steps to Reproduce:
1.Start Krita
2. Have programs running in the background
3. Use the brush (rapid and fast strokes)

Actual Results:  
It didn't happen again, because I cannot predict when it crashes. It just does from time to time. It's crashed 3 times today.

Expected Results:  
I don't know. It shouldn't have crashed.

I'm using Windows 10 64 bit. I have programs such as Photoshop CS4 installed etc.
Comment 1 Markus L 2015-09-11 07:15:52 UTC
I had same problem on 2.9.7.6 version. I have win 10 and trust tablet model no. 16529. Fixed when downgrade on Krita version 2.9.6
Comment 2 Halla Rempt 2015-09-11 08:14:00 UTC
Hi,

Could you check (with the zip version, that doesn't need installing) whether older versions of Krita still work for you? We've had more reports like this from people using genius or trust tablets with win10 and the latest krita. I only have win 10 on my sp3 tablet, the other windows test systems refuse to update, and I don't have genius or trust tablets to test with :-(
Comment 3 Markus L 2015-09-11 08:48:04 UTC
Yes, it worked. Older, installed or zipped works. And newer doesnt (installed or zipped)

Does MS visual studio debugging messages help? I open with that after crash. There´s something like these for QtCore4.dll:
"Symbol file not loaded" "Binary was not built with debug information."

And for kritaui.pdb " kritaui.pdb not loaded"
"Try one of the following options: -change existing pdb and binary search paths and retry" 

That kind of errors.
Comment 4 Halla Rempt 2015-09-11 11:16:38 UTC
No -- that just says there is no debug information. The weird thing is, the tablet handling code didn't change since 2.9.6 :-(.

What could help is the debug log, if you've got msvc or debugview.
Comment 5 Markus L 2015-09-11 11:34:15 UTC
This give Debugview (From when i started Krita and when it crash) :

[5232] shell\twinui\nowplayingsessionmanager\localprovider\baseprovider\lib\baseprovider.cpp(516)\NPSMDesktopProvider.dll!00007FFBECD7E7B8: (caller: 00007FFBECD749F9) ReturnHr[PreRelease](582) tid(db8) 80070490 Elementtiä ei löydy. 
[5512] libpng warning: Duplicate iCCP chunk
[5512] libpng warning: Duplicate iCCP chunk
[5512] libpng warning: Duplicate iCCP chunk
[5512] libpng warning: Duplicate iCCP chunk
[5232] shell\twinui\nowplayingsessionmanager\localprovider\baseprovider\lib\baseprovider.cpp(516)\NPSMDesktopProvider.dll!00007FFBECD7E7B8: (caller: 00007FFBECD749F9) ReturnHr[PreRelease](583) tid(2088) 80070490 Elementtiä ei löydy. 
[856] windows\dwm\udwm\toplevelwindow3d.cpp(396)\udwm.dll!00007FFC03C2ACA4: (caller: 00007FFC03C045AD) LogHr(18) tid(5b0) 80070057 Parametri ei kelpaa. 
[5512] WTPacketsPeek, Max=1, counts=1
[5512] # Getting current context: 
[5512] Context data: 
[5512] lc.lcName = 0x65f704bca0 
[5512] lc.lcDevice = 0 
[5512] lc.lcInOrgX = 0 
[5512] lc.lcInOrgY = 0 
[5512] lc.lcInExtX = 65535 
[5512] lc.lcInExtY = 65535 
[5512] lc.lcOutOrgX = 0 
[5512] lc.lcOutOrgY = 0 
[5512] lc.lcOutExtX = 65535 
[5512] lc.lcOutExtY = -65535 
[5512] lc.lcSysOrgX = 0 
[5512] lc.lcSysOrgY = 0 
[5512] lc.lcSysExtX = 3360 
[5512] lc.lcSysExtY = 1080 
[5512] Qt Desktop Geometry QRect(0,0 3360x1080) 
[5512] Desktop:
[5512]  Is Virtual Desktop true 
[5512]  Has 2 screens 
[5512]  Primary screen is  0 
[5512]  Desktop widget geometry is QRect(0,0 3360x1080) 
[5512]  Primary screen geom  QRect(0,0 1920x1080) 
[5512] Screen 0 geom QRect(0,0 1920x1080) available geom QRect(0,0 1920x1040) 
[5512] Screen 1 geom QRect(1920,0 1440x900) available geom QRect(1920,0 1440x900) 
[5512] qtDesktopRect = QRect(0,0 3360x1080) 
[5512] wintabDesktopRect = QRect(0,0 3360x1080) 
[5512] # Axes configuration 
[5512] tdd.minPressure = 0 tdd.maxPressure = 1023 
[5512] tdd.minTanPressure = 0 tdd.maxTanPressure = 1023 
[5512] qt_tablet_tilt_support = true 
[5512] tdd.minX = 0 tdd.maxX = 65535 
[5512] tdd.minY = 0 tdd.maxY = 65535 
[5512] tdd.minZ = 0 tdd.maxZ = 0 
[5512] # csr type: 0xf704c000
[5512] # Getting default context: 
[5512] Context data: 
[5512] lc.lcName = 0x65f704bd80 
[5512] lc.lcDevice = 0 
[5512] lc.lcInOrgX = 0 
[5512] lc.lcInOrgY = 0 
[5512] lc.lcInExtX = 65535 
[5512] lc.lcInExtY = 65535 
[5512] lc.lcOutOrgX = 0 
[5512] lc.lcOutOrgY = 0 
[5512] lc.lcOutExtX = 3360 
[5512] lc.lcOutExtY = 1080 
[5512] lc.lcSysOrgX = 0 
[5512] lc.lcSysOrgY = 0 
[5512] lc.lcSysExtX = 3360 
[5512] lc.lcSysExtY = 1080 
[5512] Qt Desktop Geometry QRect(0,0 3360x1080) 
[5512] Desktop:
[5512]  Is Virtual Desktop true 
[5512]  Has 2 screens 
[5512]  Primary screen is  0 
[5512]  Desktop widget geometry is QRect(0,0 3360x1080) 
[5512]  Primary screen geom  QRect(0,0 1920x1080) 
[5512] Screen 0 geom QRect(0,0 1920x1080) available geom QRect(0,0 1920x1040) 
[5512] Screen 1 geom QRect(1920,0 1440x900) available geom QRect(1920,0 1440x900) 
[5512] Fatal Error: Accessed global static 'KisPart *s_instance()' after destruction. Defined at C:\dev\desktop64\p\calligra\krita\ui\KisPart.cpp:189
[5232] shell\twinui\nowplayingsessionmanager\localprovider\baseprovider\lib\baseprovider.cpp(516)\NPSMDesktopProvider.dll!00007FFBECD7E7B8: (caller: 00007FFBECD749F9) ReturnHr[PreRelease](584) tid(db8) 80070490 Elementtiä ei löydy. 
[5232] shell\twinui\nowplayingsessionmanager\localprovider\baseprovider\lib\baseprovider.cpp(516)\NPSMDesktopProvider.dll!00007FFBECD7E7B8: (caller: 00007FFBECD749F9) ReturnHr[PreRelease](585) tid(db8) 80070490 Elementtiä ei löydy.
Comment 6 Markus L 2015-09-11 11:35:15 UTC
I have 2 monitors 24" and 19"
Comment 7 Halla Rempt 2015-09-12 08:33:13 UTC
Hm... And if you disable opengl, can you still reproduce the crash? Usually, when [5512] Fatal Error: Accessed global static 'KisPart *s_instance()' after destruction. Defined at C:\dev\desktop64\p\calligra\krita\ui\KisPart.cpp:189 is printed, it's because of a fault in the opengl driver, not the tablet itself.

In fact, all the lc,lcSys stuff and so shows that your tablet and multi-monitor setup is being recognized correctly.
Comment 8 Markus L 2015-09-12 08:42:31 UTC
Disabling opengl didnt help. Crash immediately, without any warning, when I touch tablet with pen. Drawing with mouse and using mouse Krita works normally.
Comment 9 Markus L 2016-01-17 20:08:30 UTC
No crashing, when I test new 3.0 pre-alpha version. Windows 10 64 Pro , same Trust tablet as no my earlier comments.
Comment 10 Markus L 2016-01-17 20:09:25 UTC
(In reply to Markus L from comment #9)
> No crashing, when I test new 3.0 pre-alpha version. Windows 10 64 Pro , same
> Trust tablet as no my earlier comments.

...ON my earlier comments.
Comment 11 Halla Rempt 2016-02-05 17:58:41 UTC
*** Bug 356591 has been marked as a duplicate of this bug. ***
Comment 12 Halla Rempt 2016-02-05 17:59:46 UTC
We had another report that 2.9 and trust don't go together, but since 3.0 works, I'll close this report as fixed... We cannot backport the tablet code to 2.9.
Comment 13 holle.leger 2016-05-21 14:01:22 UTC
Still having this same issue with 3.0 with my Yiynova tablet. Crashes immediately as soon as digitizer is in range.

Does not crash with 2.8, but this previous version is still unusable as the cursor stops functioning after 1-3 seconds over the canvas. Have to select a new color to get the cursor moving again, and even then it's just another 1-3 seconds before it times out again. :(
Comment 14 Halla Rempt 2016-05-23 12:00:04 UTC
There's no need to add the same message to every bug report you find that might sound related. Your issue with the Yiynova tablet is not relevant for this bug.
Comment 15 holle.leger 2016-05-23 14:16:51 UTC
I wasn't sure if either was still being actively watched since both were marked resolved.
Comment 16 Halla Rempt 2016-05-23 14:22:03 UTC
I get mail for every change to every krita bug :-). (So, yes, I get a lot of mail!)
Comment 17 Markus L 2016-06-06 18:19:15 UTC
Well, i found solution to my problem, Krita crashing with Trust tablet. Installing Linux to another harddisk.
Krita 3.0 works perfectly on Linux (Mint) using Trust graphic tablet. :)
Comment 18 Halla Rempt 2016-06-06 19:02:18 UTC
The last windows dev builds also work, but Linux is always better -- and on Linux, the driver was written by competent developers. Did you see https://krita.org/item/anatomy-of-a-bug-fix/ ?
Comment 19 Markus L 2016-06-06 19:47:14 UTC
Thank you for that link. Didnt have read that. You guys do awesome work! Thank you for get this awesome software. Yep, I understand, that you dont have any good reason to use too much time to try fix cheap components problem. Like with Trust, looks like they doesnt support any graphic tablet anymore. In Windows, my Trust crash Krita, but luckilly it works in Linux, so not have throw away "good enough" tablet :)

Now, finanlly can test awesome new animation feature! Thank you awesome guys! :)