Version: unknown (using KDE 3.5.2 Level "a" , SUSE 9.3 UNSUPPORTED) Compiler: gcc version 3.3.5 20050117 (prerelease) (SUSE Linux) OS: Linux (i686) release 2.6.11.4-21.11-smp ksvg crashes on the attached file. The crash can be repeated by opening the file in konqueror.
Created attachment 15760 [details] svg crashing ksvg
The crash is caused by the tag in the sodipodi namespace. The sodipodi namespace was not declared.
Created attachment 21250 [details] KSVGReader.cc.patch.diff Hi! A patch with a fix for this bug is in the attachment.
Created attachment 21251 [details] KSVGReader.cc.patch.diff The same patch just a bit better.
Created attachment 21252 [details] KSVGReader.cc.patch.diff more strict here (also checking attribute names). this patch should be it.
Created attachment 21256 [details] KSVGReader.cc.patch.diff Updated: namespace constraint (reserved prefixes)
As KSVG seems to be currently unmaintained (and removed for 4.x), I am not sure what's a good path is here... You might just want to get an account and just commit it, or pester someone on a mailing list such as kfm-devel w/it... Oh, and thanks for the patch..
Actually, I wrote the patch for me 'cause I will use my KDE version (3.5.7) at least for another couple of months (2007-10-23 is the current release date for KDE 4 stable). > Oh, and thanks for the patch.. Well, enjoy )
This is a confirmation that the bug still exists in KDE 3.5.10. (By the way, the patch does not look totally clean; there are some lines with seemingly needless whitespace-changes only.)
This component has been replaced with the QtSvg based "svgpart" in KDE 4. If this issue still needs to be addressed, please add a comment.