Bug 175757 - application crash when saving screen shot
Summary: application crash when saving screen shot
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 14:03 UTC by Jithin Emmanuel
Modified: 2008-12-30 16:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash report (5.18 KB, text/plain)
2008-11-21 14:04 UTC, Jithin Emmanuel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jithin Emmanuel 2008-11-21 14:03:50 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

It crashes when taking trying to save screen shot. I am attaching the backtrace produced by bug reporter.
Comment 1 Jithin Emmanuel 2008-11-21 14:04:23 UTC
Created attachment 28726 [details]
crash report
Comment 2 Christophe Marin 2008-11-21 14:06:25 UTC
Comment on attachment 28726 [details]
crash report

Pasting the backtrace directly in a comment helps us when we're looking for duplicate bugs.

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb80a9430 in __kernel_vsyscall ()
#7  0xb69c2880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb69c4248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7910795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7910872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7910915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb75e4a54 in ?? () from /usr/lib/libkio.so.5
#13 0xb75e7cdd in KDirModel::qt_metacall () from /usr/lib/libkio.so.5
#14 0xb7a1da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7a1e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb75cbd93 in KDirLister::itemsDeleted () from /usr/lib/libkio.so.5
#17 0xb75d3779 in KDirLister::emitChanges () from /usr/lib/libkio.so.5
#18 0xb4a0c377 in KDirOperator::updateDir () from /usr/lib/libkfile.so.4
#19 0xb4a3634f in ?? () from /usr/lib/libkfile.so.4
#20 0xb4a36d63 in KFileWidget::qt_metacall () from /usr/lib/libkfile.so.4
#21 0xb7a1da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb7a1e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb4a21717 in KFileFilterCombo::filterChanged ()
   from /usr/lib/libkfile.so.4
#24 0xb4a21a03 in KFileFilterCombo::qt_metacall () from /usr/lib/libkfile.so.4
#25 0xb7a1da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7a1e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb7079e63 in QComboBox::activated () from /usr/lib/libQtGui.so.4
#28 0xb707c16e in ?? () from /usr/lib/libQtGui.so.4
#29 0xb707e3c5 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb70839ce in QComboBox::qt_metacall () from /usr/lib/libQtGui.so.4
#31 0xb7f81f9a in KComboBox::qt_metacall () from /usr/lib/libkdeui.so.5
#32 0xb4a219ba in KFileFilterCombo::qt_metacall () from /usr/lib/libkfile.so.4
#33 0xb7a1da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb7a1e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb730ef23 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb707bbf9 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb7a0804a in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
#38 0xb6d1f8ca in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#39 0xb6d28121 in QApplication::notify () from /usr/lib/libQtGui.so.4
#40 0xb7ed8b2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#41 0xb7a08e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#42 0xb6d273ae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#43 0xb6d9191e in ?? () from /usr/lib/libQtGui.so.4
#44 0xb6d90a25 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#45 0xb6dba7ea in ?? () from /usr/lib/libQtGui.so.4
#46 0xb66db6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb66deda3 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb66def61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb7a33478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#50 0xb6db9ee5 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb7a0752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb7a076ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#53 0xb718c907 in QDialog::exec () from /usr/lib/libQtGui.so.4
#54 0x080550e8 in _start ()
#0  0xb80a9430 in __kernel_vsyscall ()
Comment 3 Jithin Emmanuel 2008-11-21 14:17:14 UTC
When I saved the same stuff in a different folder it worked. First I did it in my home directory which already contained some pictures and I tried some 10 times it kept crashing when I was selecting jpeg from the type drop down list. Then I save it on my desktop which didnt have any pictures and it worled in the first try itself.
Comment 4 Richard Moore 2008-11-21 15:23:04 UTC
Looks like a kfiledialog problem.
Comment 5 Dario Andres 2008-11-23 15:14:25 UTC
Here Using KDE4.1.3 ,Qt4.4.3 on ArchLinux x86_64:
I can't reproduce it.(Saving the screenshot on a folder (no matter if it contains *.jpg/*.jpeg files , or not), selecting JPEG file in the file filter combo, and saving the image, doesn't trigger the crash).

May be it'ś related to some images in the folder in which your trying to save the screenshot?. Have you tried saving the images in another folder with another set of images already on it
Comment 6 Jithin Emmanuel 2008-11-23 17:55:20 UTC
I can reproduce the problem.
I tried it in another folder which had one picture in it, and it worked no crash.
Then I tried removing the pictures in my home folder and it worked, no crash.
Then I restored the pictures in my home folder and tried it crashed!!
These are the picture in my home folder which caused the crash
earth.jpeg  firefox.png  inqui.jpeg  okular.jpeg
Then I tired it in another folder with a number of pictures which were jpg and there also it worked.
Then in the picture list I remove png file and tested it crashed!!!

So I believe its the firefox.png which caused the crash.
Comment 7 FiNeX 2008-12-30 14:55:43 UTC
@Jithin: can you try using KDE 4.2 beta2 with debug symbols enabled:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 8 Dario Andres 2008-12-30 15:00:19 UTC
Hi Jithin: Can you start KSnapshot from Konsole, and after you have reproduced the crash, paste here the Konsole output ? (specially the "ASSERT" line). Thanks :)
Comment 9 Jithin Emmanuel 2008-12-30 16:53:18 UTC
I cannot reproduce the issue with kde 4.2 beta 2
Comment 10 Dario Andres 2008-12-30 16:55:13 UTC
@Jithin Emmanuel: thanks :) 
Closing as WORKSFORME