https://bugs.kde.org/show_bug.cgi?id=524206

            Bug ID: 524206
           Summary: Crash when setting a color via palette/hex/eyedropper
                    while a Layer Style color dialog is open
    Classification: Applications
           Product: krita
      Version First 5.3.2.1
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Resource Management
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 195099
  --> https://bugs.kde.org/attachment.cgi?id=195099&action=edit
My latest crash logs.

DESCRIPTION
Krita crashes immediately when I change a color while a color dialog is open
inside 
Layer Style (e.g. the Stroke effect's color picker). This happens whether I set
the 
color by clicking a palette swatch, typing a hex value, or using the
eyedropper/screen 
color sampler.

STEPS TO REPRODUCE
1. Right-click a layer > Layer Style
2. Enable an effect that has a color option (e.g. Stroke)
3. Click the color swatch to open the color dialog, then either click a color
in the 
palette dock, type a hex value and press Enter, or use the eyedropper

OBSERVED RESULT
Krita crashes instantly (Access Violation).

EXPECTED RESULT
The color updates and the dialog stays open.

SOFTWARE/OS VERSIONS
Windows 10/11 (64-bit)

ADDITIONAL INFORMATION
Reproducible on both 5.3.2.1 and 5.3.3. Also reproducible with the stock
Default 
palette, not just a custom one, so it doesn't seem to be a corrupted resource
file.

Every crash log entry shares the same stack trace, bottoming out in:
KoColorSet::getClosestSwatchInfo -> KisPaletteModel::indexForClosest -> 
KisPaletteView::closestColor -> KisDlgInternalColorSelector::slotColorUpdated

It's an Access Violation reading from offset 0x20, which looks like a null
pointer 
dereference. I have 10+ crash log entries with this identical signature over
the past 
month, triggered through several different paths (palette swatch click, hex
input, 
eyedropper, and the dual-color button). Happy to attach kritacrash.log
excerpts.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to