| Summary: | After updating the windows binary factory builder, krita crashes all the time in Vc code | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | acc4commissions |
| Component: | File formats | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
acc4commissions
2020-01-28 10:09:27 UTC
Could you also attach the contents of help->system information for bug reports and help->show krita log for bug reports? Also, I cannot reproduce on Windows or on Linux. Could you try and see what happens if you run Krita with a clean configuration? It doesn't crash in git 7572e2d and before. Seems like it's a new bug introduced just today.
---
help->system information for bug reports :
Krita
Version: 4.3.0-prealpha (git d7ddbb8)
Languages: en_US, en, en_US, en, en_US, en, en_US, en, en_US, en
Hidpi: false
Qt
Version (compiled): 5.12.5
Version (loaded): 5.12.5
OS Information
Build ABI: x86_64-little_endian-llp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: winnt
Kernel Version: 6.1.7601
Pretty Productname: Windows 7 SP 1 (6.1)
Product Type: windows
Product Version: 7sp1
OpenGL Info
Vendor: "ATI Technologies Inc."
Renderer: "Radeon RX 560 Series"
Version: "3.0.13586 Compatibility Profile Context 19.12.2 26.20.15002.61"
Shading language: "4.60"
Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CompatibilityProfile)
Current format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::sRGBColorSpace, profile QSurfaceFormat::NoProfile)
Version: 3.0
Supports deprecated functions true
is OpenGL ES: false
QPA OpenGL Detection Info
supportsDesktopGL: true
supportsAngleD3D11: true
isQtPreferAngle: false
Hardware Information
GPU Acceleration: auto
Memory: 16351 Mb
Number of Cores: 8
Swap Location: C:/Users/(---------)/AppData/Local/Temp
Current Settings
Current Swap Location: C:/Users/(---------)/AppData/Local/Temp
Undo Enabled: 1
Undo Stack Limit: 530
Use OpenGL: 1
Use OpenGL Texture Buffer: 1
Use AMD Vectorization Workaround: 0
Canvas State: OPENGL_SUCCESS
Autosave Interval: 120
Use Backup Files: 1
Number of Backups Kept: 1
Backup File Suffix: ~
Backup Location: Same Folder as the File
Use Win8 Pointer Input: 0
Use RightMiddleTabletButton Workaround: 0
Levels of Detail Enabled: 0
Use Zip64: 0
Display Information
Number of screens: 1
Screen: 0
Name: \\.\DISPLAY1
Depth: 32
Scale: 1
Resolution in pixels: 2560x1440
Manufacturer:
Model:
Refresh Rate: 60
---
The krita usage log is insanely long, so here's the session that crashed... :
SESSION: 28 Jan 2020 18:59:25 +0900. Executing C:\Krita Nightly\krita-nightly-x64-v4.3.0-prealpha-1027-gd7ddbb8c1f\bin\krita.exe
Krita Version: 4.3.0-prealpha (git d7ddbb8), Qt version compiled: 5.12.5, loaded: 5.12.5. Process ID: 6336
-- -- -- -- -- -- -- --
28 Jan 2020 18:59:53 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185c6eab8ea9879000010.webp. Real location: D:/References/518185c6eab8ea9879000010.webp. Batchmode: 0
28 Jan 2020 18:59:53 +0900: Loaded image from image/jpeg. Size: 800 * 1067 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 18:59:55 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185c069beddf458000005.webp. Real location: D:/References/518185c069beddf458000005.webp. Batchmode: 0
28 Jan 2020 18:59:55 +0900: Loaded image from image/jpeg. Size: 800 * 1067 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 18:59:56 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185756bb3f7ce29000004.webp. Real location: D:/References/518185756bb3f7ce29000004.webp. Batchmode: 0
28 Jan 2020 18:59:56 +0900: Loaded image from image/jpeg. Size: 800 * 1067 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 18:59:58 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185846bb3f7d429000015.webp. Real location: D:/References/518185846bb3f7d429000015.webp. Batchmode: 0
28 Jan 2020 18:59:58 +0900: Loaded image from image/jpeg. Size: 800 * 436 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 18:59:59 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/5181857669bedd1f59000000.webp. Real location: D:/References/5181857669bedd1f59000000.webp. Batchmode: 0
28 Jan 2020 18:59:59 +0900: Loaded image from image/jpeg. Size: 600 * 800 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 19:00:01 +0900: Importing image/webp to application/x-krita. Location: D:/References/nintchdbpict000294830642.webp. Real location: D:/References/nintchdbpict000294830642.webp. Batchmode: 0
28 Jan 2020 19:00:01 +0900: Loaded image from image/webp. Size: 640 * 960 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
28 Jan 2020 19:00:03 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/5165e325ecad04757800001b.webp. Real location: D:/References/5165e325ecad04757800001b.webp. Batchmode: 0
28 Jan 2020 19:00:03 +0900: Loaded image from image/jpeg. Size: 800 * 300 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 19:00:05 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/51818b6fecad04b137000033.webp. Real location: D:/References/51818b6fecad04b137000033.webp. Batchmode: 0
28 Jan 2020 19:00:05 +0900: Loaded image from image/jpeg. Size: 800 * 600 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 19:00:07 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185b7eab8ea477900001e.webp. Real location: D:/References/518185b7eab8ea477900001e.webp. Batchmode: 0
28 Jan 2020 19:00:07 +0900: Loaded image from image/jpeg. Size: 800 * 1067 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 19:00:09 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185bceab8ea1c79000017.webp. Real location: D:/References/518185bceab8ea1c79000017.webp. Batchmode: 0
28 Jan 2020 19:00:09 +0900: Loaded image from image/jpeg. Size: 800 * 1067 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 19:00:11 +0900: Importing image/jpeg to application/x-krita. Location: D:/References/518185beeab8eaff7b000006.webp. Real location: D:/References/518185beeab8eaff7b000006.webp. Batchmode: 0
28 Jan 2020 19:00:11 +0900: Loaded image from image/jpeg. Size: 800 * 1067 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (c2). Layers: 2
28 Jan 2020 19:01:21 +0900: Exporting Document: D:/References/518185beeab8eaff7b000006.jpg as image/jpeg. 800 * 1067 pixels, 2 layers, 101 frames, 24 framerate. Export configuration: No configuration
28 Jan 2020 19:01:23 +0900: Converting from application/x-krita to image/jpeg. Location: D:/References/518185beeab8eaff7b000006.jpg. Real location: D:/References/518185beeab8eaff7b000006.jpg. Batchmode: 0. Configuration: <!DOCTYPE params>
<params>
<param type="internal" name="baseline">true</param>
<param type="internal" name="exif">true</param>
<param type="string" name="filters"><![CDATA[]]></param>
<param type="internal" name="forceSRGB">false</param>
<param type="internal" name="iptc">true</param>
<param type="internal" name="optimize">true</param>
<param type="internal" name="progressive">false</param>
<param type="internal" name="quality">100</param>
<param type="internal" name="saveProfile">true</param>
<param type="internal" name="smoothing">0</param>
<param type="internal" name="storeAuthor">false</param>
<param type="internal" name="storeMetaData">false</param>
<param type="internal" name="subsampling">0</param>
<param type="color" name="transparencyFillcolor"><![CDATA[<!DOCTYPE color>
<color>
<RGB r="1" g="1" b="1" space="sRGB-elle-V2-g10.icc"/>
</color>
]]></param>
<param type="internal" name="xmp">true</param>
</params>
(In reply to Boudewijn Rempt from comment #2) > Also, I cannot reproduce on Windows or on Linux. Could you try and see what > happens if you run Krita with a clean configuration? If you mean by 'a clean configuration' = deleting kritarc file, it doesn't make any difference. I think it's actually the build that has been broken... I cannot even start Krita, and I also get errors in Vc. *** Bug 416896 has been marked as a duplicate of this bug. *** *** Bug 416898 has been marked as a duplicate of this bug. *** This turns out to be an issue with the CPU of the machine we build on:
19:39:42 < bcooksley> I wonder
19:39:48 < bcooksley> the new builders are Ryzen 7 boxes
19:39:55 <@boud> oh...
19:39:57 < bcooksley> they'll have all the latest CPU features
19:40:11 < bcooksley> Vc wouldn't be trying to use instructions that aren't valid on older machines would it?
19:40:30 <@boud> I don't know, but this makes me suspcious!
19:40:31 < bcooksley> 3rd gen Ryzen 7s even, the absolute latest you can get
19:40:39 * tiar does pat-pat
19:40:59 <@boud> tiar: je vous en remercie, beaucoup
19:41:32 < bcooksley> it's very nice having Octa Core processors for our builders i'll say that much :)
19:41:45 < bcooksley> (and double the storage too, so hopefully no more disk space issues for a long time)
19:41:59 < bcooksley> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx
mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor
ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core
19:41:59 < bcooksley> perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a
rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf
xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic
v_vmsave_vmload vgif umip rdpid overflow_recov succor smca
19:41:59 < bcooksley> bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
19:42:07 < bcooksley> is the relevant section from /proc/cpuinfo
19:42:16 <@boud> bcooksley: maybe I should get one of those devices, if not for me, then for vir or dmitryK|log...
19:42:38 < bcooksley> compared with the older machines...
19:42:39 < bcooksley> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf
tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe
popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm
19:42:39 < bcooksley> 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1
hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp
hwp_notify hwp_act_window hwp_epp flush_l1d
19:42:59 <@boud> oh gosh
19:42:59 <@boud> oh gosh
19:43:02 <@boud> yes...
19:43:18 < bcooksley> I see sse4* stuff
19:43:22 <@boud> We had bug reports before from arch users with ryzen machines who had crashes
19:43:54 < bcooksley> probably the same cause, just in reverse now...
19:44:10 < bcooksley> the Appimages and Windows builds probably work perfectly for them now :D
19:45:32 <@boud> well...
19:45:57 < bcooksley> got a demo .kra I can test trying to save a jpeg with?
19:46:03 <@boud> I guess I need to ping Vir, and after that, tell our community that releases are not going to be forthcoming
19:46:15 < bcooksley> (to see if it works on a Ryzen machine)
19:46:22 <@boud> bcooksley: it's easy enough; start the latest nightly build, create an image, save it as jpeg, crash.
19:46:32 < bcooksley> even a blank image?
19:46:34 <@boud> no need to even draw anything
19:47:49 < bcooksley> push comes to shove on Vc, I can always provision the remaining Intel machine into the Binary Factory
19:48:03 < bcooksley> that will only work as long as you don't need Webkit or Webengine though
19:48:09 < bcooksley> as it only has 8GB of RAM
19:48:14 <@boud> that would help, I'm sure, but we still need to get to the bottom of this problem
19:48:27 <@boud> though, webkit/webengine, nah, not going to ship that!
19:48:34 < bcooksley> and 8GB isn't enough to build either of those two pesky things
19:48:55 < bcooksley> I have to throw 24GB RAM at the problem
19:49:03 < bcooksley> to make webengine build on Windows in debug mode
19:50:08 -!- Bollebib [~Instantbi@178-118-189-121.access.telenet.be] has joined #krita
19:51:41 < tiar> bcooksley: no problem, Krita doesn't build on Windows in Debug mode anyway :D
19:51:50 < sKreamer> ::krita:: Krita General Help :: Re: Problem, How do I transform a layer w/o transforming mas @ https://forum.kde.org/viewtopic.php?f=139&t=163655&p=427890#p427890 (by
ahabgreybeard)
19:51:52 < tiar> ...maybe that's the reason it doesn't build though...
19:52:23 < bcooksley> boud: drawing a line and saving a jpeg both completed perfectly on the builder itself
19:52:42 < bcooksley> congrats, it's a supported CPU instruction issue :)
19:53:03 < bcooksley> probably just a case of telling Vc, ignore SSE4 support being available, don't use it
19:53:52 < bcooksley> hopefully that isn't too hard to do
19:54:06 < bcooksley> is there a way to easily test the Python support?
19:54:40 <@boud> bcooksley: oh, thanks! I can try to figure out a way around that, or rather, tell dmitryK|log to figure it out :-)
19:55:05 < bcooksley> hopefully Vc has some defines you can pass to it
19:55:13 < bcooksley> the above flags should hopefully help with that diagnosis
19:56:16 < bcooksley> I can provide the flags for an older 6th Gen Intel i7 machine if that helps in scoping out compatibility
19:56:35 < bcooksley> i've no access to anything aside from Ryzen 3rd Gen alas, but someone in your community likely does :)
19:56:37 <@boud> yes, please, and Ill make a note and delegate :-)
19:56:49 < bcooksley> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm
constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma
cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm
19:56:49 < bcooksley> 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx
rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
This was fixed accidentally by an update of Vc, it seems... |