[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Bug#27755: krash when viewing /home or /mnt/win_d as user in konqueror
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-06-27 1:05:36
[Download RAW message or body]

On Mittwoch, 27. Juni 2001 02:17 crazycrusoe@yahoo.com wrote:

> #4  0x40d8d143 in abort () from /lib/libc.so.6
> #5  0x40796a59 in qFatal () from /usr/lib/libqt.so.2
> #6  0x40562f1d in locateLocal () from /usr/lib/libkdecore.so.3
> #7  0x401c9010 in KIO::PreviewJob::determineNextFile ()
>    from /usr/lib/libksycoca.so.3
> #8  0x401c7e48 in KIO::PreviewJob::startPreview ()

I've seen another report with that same backtrace. The thumbnail resource 
doesn't seem to be registered. Does the attached patch help? (Apply in 
kdelibs/kio, recompile, install and restart kdeinit or KDE).

Cheers,
Carsten Pfeiffer
["thumbnail.patch" (text/x-c)]

? thumbnail.patch
? previewjob.loT
? ksasl/Makefile
? ksasl/Makefile.in
? ksasl/auth_ANONYMOUS/Makefile
? ksasl/auth_ANONYMOUS/Makefile.in
? ksasl/auth_CRAM-MD5/Makefile
? ksasl/auth_CRAM-MD5/Makefile.in
? ksasl/auth_DIGEST-MD5/Makefile
? ksasl/auth_DIGEST-MD5/Makefile.in
? ksasl/auth_PLAIN/Makefile
? ksasl/auth_PLAIN/Makefile.in
Index: previewjob.cpp
===================================================================
RCS file: /home/kde/kdelibs/kio/previewjob.cpp,v
retrieving revision 1.15
diff -u -p -B -w -r1.15 previewjob.cpp
--- previewjob.cpp	2001/06/26 02:55:53	1.15
+++ previewjob.cpp	2001/06/27 01:05:28
@@ -178,9 +178,11 @@ void PreviewJob::startPreview()
     KConfigGroupSaver cgs( config, "PreviewSettings" );
     d->maximumSize = config->readNumEntry( "MaximumImageSize", 1024*1024 /* 1MB */ );
 
+    if (bNeedCache || d->bSave)
+        KGlobal::dirs()->addResourceType( "thumbnails", "share/thumbnails/" );
+
     if (bNeedCache)
     {
-        KGlobal::dirs()->addResourceType( "thumbnails", "share/thumbnails/" );
         if (d->width == d->height)
         {
             if (d->width == 48)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic