Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 229397 - Konqueror display directory, invokes libart, which bombs with an assertion failure
Summary: Konqueror display directory, invokes libart, which bombs with an assertion fa...
Alias: None
Product: Fedora
Classification: Fedora
Component: libart_lgpl
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact:
Whiteboard: bzcl34nup
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-20 20:28 UTC by David Tonhofer
Modified: 2008-05-06 19:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-05-06 19:16:10 UTC

Attachments (Terms of Use)

Description David Tonhofer 2007-02-20 20:28:32 UTC
Description of problem:

I want to run Konqueror to display a directory contents.
Konqueror invokes libart to draw an icon for a zip file using a 
SVG file, in this case /usr/share/icons/gnome/scalable/mimetypes/tgz.svg
which belongs to gnome-icon-theme- (see below). Drawing
sadly fails with an assertion error (maybe the SVG file is bad?)

Version-Release number of selected component (if applicable):

gnome-icon-theme-  (apparently the culprit)

How reproducible:


Steps to Reproduce:

1. Start Konqueror
2. Use large icons
3. Display a directory with a Zip file in it, so that a large icon for a
   Zip file must be used.
Actual results:

Konqueror crashes with assertion failure:

konqueror: art_render_gradient.c:338: art_render_gradient_linear_render_8:
Assertion `offset_fraction <= stops[ix].offset' failed.

Expected results:

Directory kontents should be displayed.

Additional info:

Stack trace at crash time (not much use):

#0  0x001d9402 in __kernel_vsyscall ()
#1  0x00202d40 in raise () from /lib/
#2  0x00204591 in abort () from /lib/
#3  0x001fc38b in __assert_fail () from /lib/
#4  0x007ae45b in art_render_gradient_radial () from /usr/lib/
#5  0x007ac3fa in art_render_invoke_callbacks () from /usr/lib/
#6  0x007aefa4 in art_render_svp () from /usr/lib/
#7  0x007b4676 in art_svp_render_aa () from /usr/lib/
#8  0x007af0ca in art_render_svp () from /usr/lib/
#9  0x007ace6e in art_render_invoke () from /usr/lib/
#10 0x030f5d07 in KSVGIconPainterHelper::applyLinearGradient () from
#11 0x030f65ae in KSVGIconPainterHelper::applyGradient () from
#12 0x030f6a52 in KSVGIconPainterHelper::applyGradient () from
#13 0x030f71e3 in KSVGIconPainterHelper::applyGradient () from
#14 0x030f78a6 in KSVGIconPainterHelper::drawPathInternal () from
#15 0x030f7b1c in KSVGIconPainterHelper::drawVPath () from /usr/lib/
#16 0x030f05fe in KSVGIconPainter::drawRectangle () from /usr/lib/
#17 0x030e849a in KSVGIconEngineHelper::handleTags () from /usr/lib/
#18 0x030e880b in KSVGIconEngineHelper::handleTags () from /usr/lib/
#19 0x030e880b in KSVGIconEngineHelper::handleTags () from /usr/lib/
#20 0x030e53d3 in KSVGIconEngine::load () from /usr/lib/
#21 0x030079d6 in KIconLoader::loadIcon () from /usr/lib/
#22 0x03700a43 in KMimeType::pixmap () from /usr/lib/
#23 0x0372c39f in KFileItem::pixmap () from /usr/lib/
#24 0x009a427b in KFileIVI::KFileIVI () from /usr/lib/
#25 0x00ced2e0 in KonqKfmIconView::slotNewItems () from
#26 0x00cf4b98 in KonqKfmIconView::qt_invoke () from /usr/lib/kde3/
#27 0x05adcbea in QObject::activate_signal () from /usr/lib/qt-3.3/lib/
#28 0x03730fd9 in KDirLister::newItems () from /usr/lib/
#29 0x0373253b in KDirLister::emitItems () from /usr/lib/
#30 0x03735ba7 in KDirListerCache::slotEntries () from /usr/lib/
#31 0x03739585 in KDirListerCache::qt_invoke () from /usr/lib/
#32 0x05adcbea in QObject::activate_signal () from /usr/lib/qt-3.3/lib/
#33 0x036872a4 in KIO::ListJob::entries () from /usr/lib/
#34 0x036974ab in KIO::ListJob::slotListEntries () from /usr/lib/
#35 0x0369783f in KIO::ListJob::qt_invoke () from /usr/lib/
#36 0x05adcbea in QObject::activate_signal () from /usr/lib/qt-3.3/lib/
#37 0x03676fd9 in KIO::SlaveInterface::listEntries () from /usr/lib/
#38 0x03678717 in KIO::SlaveInterface::dispatch () from /usr/lib/
#39 0x03679180 in KIO::SlaveInterface::dispatch () from /usr/lib/
#40 0x03673fed in KIO::Slave::gotInput () from /usr/lib/
#41 0x03676098 in KIO::Slave::qt_invoke () from /usr/lib/
#42 0x05adcbea in QObject::activate_signal () from /usr/lib/qt-3.3/lib/
#43 0x05add5c2 in QObject::activate_signal () from /usr/lib/qt-3.3/lib/
#44 0x05e69910 in QSocketNotifier::activated () from
#45 0x05afd7d0 in QSocketNotifier::event () from /usr/lib/qt-3.3/lib/
#46 0x05a73e6b in QApplication::internalNotify () from
#47 0x05a752e9 in QApplication::notify () from /usr/lib/qt-3.3/lib/
#48 0x02fb156e in KApplication::notify () from /usr/lib/
#49 0x05a67631 in QEventLoop::activateSocketNotifiers () from
#50 0x05a1c1c1 in QEventLoop::processEvents () from
---Type <return> to continue, or q <return> to quit---
#51 0x05a8d3f0 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/
#52 0x05a8d2a6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/
#53 0x05a7397f in QApplication::exec () from /usr/lib/qt-3.3/lib/
#54 0x00a39a74 in kdemain () from /usr/lib/
#55 0x08048472 in ?? ()
#56 0x001eff2c in __libc_start_main () from /lib/
#57 0x080483c1 in ?? ()

Lines obtained through 'strace konqueror' (very useful):

access("/usr/share/icons/gnome/scalable/mimetypes/tgz.svg", R_OK) = 0
open("/usr/share/icons/gnome/scalable/mimetypes/tgz.svg", O_RDONLY|O_LARGEFILE) = 17
fstat64(17, {st_mode=S_IFREG|0644, st_size=16764, ...}) = 0
fstat64(17, {st_mode=S_IFREG|0644, st_size=16764, ...}) = 0
fstat64(17, {st_mode=S_IFREG|0644, st_size=16764, ...}) = 0
read(17, "<?xml version=\"1.0\" encoding=\"UT"..., 16384) = 16384
read(17, "none;marker-start:none;marker-mi"..., 4096) = 380
fstat64(17, {st_mode=S_IFREG|0644, st_size=16764, ...}) = 0
fstat64(17, {st_mode=S_IFREG|0644, st_size=16764, ...}) = 0
write(2, "konqueror: art_render_gradient.c"..., 131konqueror:
art_render_gradient.c:338: art_render_gradient_linear_render_8: Assertion
`offset_fraction <= stops[ix].offset' failed.
) = 131
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(5111, 5111, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---


/usr/share/icons/gnome/scalable/mimetypes/tgz.svg seems to be the offending
file. It is a symlink to "package-x-generic.svg"

Removal of the symlink makes things work!

Comment 1 David Tonhofer 2007-06-29 23:19:18 UTC
See also

Comment 2 Bug Zapper 2008-04-04 06:19:13 UTC
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.

If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.

If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
the change.

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we are following is outlined here:

We will be following the process here: to ensure this
doesn't happen again.

And if you'd like to join the bug triage team to help make things
better, check out

Comment 3 Bug Zapper 2008-05-06 19:16:08 UTC
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.