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

            Bug ID: 386747
           Summary: Crash on startup when loading svg files with radial
                    gradients in it
           Product: krita
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: File formats
          Assignee: krita-bugs-n...@kde.org
          Reporter: victor.wahlst...@initiali.se
  Target Milestone: ---

This is a 100% crash for me, using Ubuntu 17.04 (Qt 5.7.1). The crash occurs
when it processes preset_icons.svg. Specifically, it crashes after processing
radialGradient tags.

When the crash happens it will first assert in the KoGradientBackground
constructor: Q_ASSERT(d->gradient->coordinateMode() ==
QGradient::ObjectBoundingMode);

Of the 3 svg files in master, only preset_icons.svg contain radialGradient
tags. 

The crash goes away if g->setCoordinateMode(QGradient::ObjectBoundingMode); is
set in the else block for "radialGradient" tags in SvgParser::parseGradient().
Not a solution, but maybe it can help identify the real cause.

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

Reply via email to