Bug 80270 - ksvg 3.4.0_beta1 crash
Bug#: 80270 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: dolio@cwru.edu
Component: KDE
URL: 
Summary: ksvg 3.4.0_beta1 crash
Keywords:  
Status Whiteboard: 
Opened: 2005-01-31 16:23 0000
Description:   Opened: 2005-01-31 16:23 0000
There seems to be a problem with either the ksvgplugin-3.4.0_beta1 or the
libksvg-3.4.0_beta1 ebuilds. When I install them with the split ebuilds, I am
unable to successfully view any svgs in the embedded konqueror view -- it just
causes a segfault.

I extracted the kdegraphics-3.3.91 package, did a ./configure, and a make, make
install in only the ksvg/ directory, and the plugin installed that way works,
so I suspect that one of the two split ebuilds is missing something critical
that prevents it from working. I'll see if I can do some experimenting on my
own and narrow down exactly what the problem is.

Reproducible: Always
Steps to Reproduce:
1. Install libksvg and ksvgplugin
2. Attempt to view an svg in the konqueror embedded viewer

Actual Results:  
Konqueror/the plugin segfaults. 

Expected Results:  
Display the svg

------- Comment #1 From Gregorio Guidi (RETIRED) 2005-02-04 09:18:32 0000 -------
I assume this was the same as bug 80272, please reopen if not. 

------- Comment #2 From Tom Shaw 2005-02-06 14:05:11 0000 -------
The svg backgrounds do work from the fix in bug 80272 but the preview
of the icon and previewing in the ksvgplugin plugin in konqueror still
causes all instances of konqueror to crash. I re-emerged libksvg and ksvgplugin
just incase but that didn't help.

------- Comment #3 From Dan Armak (RETIRED) 2005-02-09 10:03:07 0000 -------
Reproduced in beta2. This is because ksvglibartcanvas.desktop isn't installed.
I'll work on fixing it.

------- Comment #4 From Dan Armak (RETIRED) 2005-02-09 10:37:11 0000 -------
The problem is that the actual ksvg rendering backend, which uses libart and
lives in ksvg/plugin/backends/libart, isn't installed by either of the ebuilds.

Simone, do you know why the libksvg and ksvgplugin ebuilds are separate to
begin with? AFAICS they should be joined into a single ebuild called ksvg.
ksvgplugin has no extra deps.

------- Comment #5 From Simone Gotti (RETIRED) 2005-02-09 13:44:24 0000 -------
mmm. don't remember... and I can't find a reason. probably I did to much splits
in that days. :P

------- Comment #6 From Dan Armak (RETIRED) 2005-02-11 08:01:29 0000 -------
Added kde-base/ksvg ebuild, which replaces both libksvg and ksvgplugin.
Added move instructions ksvgplugin->ksvg, libksvg->ksvg, so that people don't
encounter the blocking deps when upgrading. To make sure they have both parts,
the ksvg I've committed has version 3.4.0_beta2-r1, so their next update cycle
should emerge it again to be on the safe side.