Bug 180998 - konqueror crashes on "view image"
Summary: konqueror crashes on "view image"
Status: RESOLVED DUPLICATE of bug 180761
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 18:21 UTC by stefnn
Modified: 2012-10-19 13:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stefnn 2009-01-16 18:21:13 UTC
Version:            (using Devel)
Compiler:          gcc version 4.1.2  
OS:                Linux
Installed from:    Compiled sources

How to reproduce:
Open a webpage with images (e.g. http://kde.org/). Now right click on a image and select to view that image.
(or even enter the image url directly in the address bar).

Now knofity shows the "Transfering" info and konqueror crashes.

Expected behaviour: konqueror shows the image and continues konquering of course :)
Comment 1 stefnn 2009-01-16 18:27:50 UTC
update:

this bug even affects other apps: if i do
 gwenview "http://kde.org/media/images/top-kde.jpg"

gwenview also crashes on loading the image. Seems as if it is a problem in the kio code? 
(But it affects a web-browser most, since its very likely that you click on a image to view from time to time ...)
Comment 2 Maksim Orlovich 2009-01-16 19:06:53 UTC
backtrace?
Comment 3 Dario Andres 2009-01-16 20:07:49 UTC
Also, what KDE version (or SVN revision) are you using ?
Comment 4 stefnn 2009-01-16 20:16:47 UTC
this happens to me with every recent version (tried kde-4.1.85 and kde-4.1.96).
Compiled without debug info (so backtrace won't help).
Doesn't it crash for you? (Since i always had that problem with the kde4.2 devel i suspected that it is not specific to my setup).
Comment 5 Dario Andres 2009-01-16 20:24:36 UTC
Here using:

Qt: 4.4.3 + qt-copy-patches-910240
KDE: 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090106))
kdelibs svn rev. 911862 / kdebase svn rev. 911862
kdegraphics svn rev. 905508
on ArchLinux x86_64 - Kernel 2.6.28

I can't reproduce the crash when doing:
gwenview "http://kde.org/media/images/top-kde.jpg"  (comment 1)
Comment 6 stefnn 2009-01-16 21:25:54 UTC
hm, when debugging gwenview "http://kde.org/media/images/top-kde.jpg", i get:

....
(no debugging symbols found)
(no debugging symbols found)
gwenview(13193) Gwenview::ImageSequence::frameSize: No frame loaded 
QWidget::setMinimumSize: (/QLabel) Negative sizes (-1,-1) are not possible
gwenview(13193): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
gwenview(13193): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
gwenview(13193) Gwenview::ImageSequence::frameAt: index is too high 0 

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb626a700 (LWP 13193)]
0xb7e6e8d8 in ?? () from /usr/kde/4.2/lib/libgwenviewlib.so.4


and also when debugging konqueror "http://kde.org/media/images/top-kde.jpg":

...
(no debugging symbols found)
(no debugging symbols found)
konqueror(13245) Gwenview::ImageSequence::frameSize: No frame loaded 
QWidget::setMinimumSize: (/QLabel) Negative sizes (-1,-1) are not possible
konqueror(13245) Gwenview::ImageSequence::frameAt: index is too high 0 

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb6563700 (LWP 13245)]
0xb121a8d8 in ?? () from /usr/kde/4.2/lib/libgwenviewlib.so.4


using:
Qt: 4.4.2
KDE: 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1))
Gwenview: 2.2.0
Comment 7 Dario Andres 2009-01-16 21:29:29 UTC
It seems to be a gwenview:

[Switching to Thread 0xb6563700 (LWP 13245)] 0xb121a8d8 in ?? () from /usr/kde/4.2/lib/libgwenviewlib.so.4 

However you need debug symbols. 
May you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 8 stefnn 2009-01-16 21:50:07 UTC
Thanks for your help!

Actually i tracked it down now to bug #180761. Which is fixed in svn 911418. Which explains why you did not see this. 

Updated gwenview to latest svn fixed it for me.


*** This bug has been marked as a duplicate of bug 180761 ***