(Content copied from [Bug 346123 of KDE Bug
Tracker](https://bugs.kde.org/show_bug.cgi?id=346123) since it may be libwebp's
issue)
When I drag the screenshot image from Ksnapshot to Google Chrome to share
Ksnapshot crashed.
gdb stacktrace:
Program received signal SIGSEGV, Segmentation fault.
0xb2d7192f in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
(gdb) backtrack
Undefined command: "backtrack". Try "help".
(gdb) backtrace
0 0xb2d7192f in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
1 0xb2d726d8 in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
2 0xb2d7274f in WebPPictureImportRGB ()
from /usr/lib/i386-linux-gnu/libwebp.so.5
3 0xb2d73462 in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
4 0xb2dc6c73 in ?? () from /usr/lib/kde4/plugins/imageformats/kimg_webp.so
5 0xb68e0b3d in QImageWriter::write (this=this@entry=0xbfffda58,
image=...) at image/qimagewriter.cpp:606
6 0xb68cd24c in QImageData::doImageIO (this=0x818d970,
image=image@entry=0xbfffdb00, writer=writer@entry=0xbfffda58,
quality=quality@entry=-1) at image/qimage.cpp:5240
7 0xb68cd3e5 in QImage::save (this=this@entry=0xbfffdb00,
device=device@entry=0xbfffdaf0, format=0x80ae640 "WEBP",
quality=quality@entry=-1) at image/qimage.cpp:5228
8 0xb68199d6 in QInternalMimeData::renderDataHelper (mimeType=...,
data=data@entry=0x831e0d0) at kernel/qdnd.cpp:482
9 0xb689a277 in QX11Data::xdndMimeDataForAtom (this=0x809da00, a=927,
mimeData=0x831e0d0, data=data@entry=0xbfffdc98,
atomFormat=atomFormat@entry=0xbfffdc90,
dataFormat=dataFormat@entry=0xbfffdc94) at kernel/qdnd_x11.cpp:488
10 0xb689affe in QX11Data::xdndHandleSelectionRequest (this=0x809da00,
req=req@entry=0xbfffde9c) at kernel/qdnd_x11.cpp:1868
11 0xb688e253 in QApplication::x11ProcessEvent (this=0xbfffed34,
event=event@entry=0xbfffde9c) at kernel/qapplication_x11.cpp:3946
12 0xb68b9524 in x11EventSourceDispatch (s=s@entry=0x809c3e0,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
13 0xb5d941e3 in g_main_dispatch (context=0x80a3f70,
context@entry=0x809c3e0)
at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
Program received signal SIGSEGV, Segmentation fault. 0xb2d7192f in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5 (gdb) backtrack Undefined command: "backtrack". Try "help". (gdb) backtrace
0 0xb2d7192f in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
1 0xb2d726d8 in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
2 0xb2d7274f in WebPPictureImportRGB ()
from /usr/lib/i386-linux-gnu/libwebp.so.5
3 0xb2d73462 in ?? () from /usr/lib/i386-linux-gnu/libwebp.so.5
4 0xb2dc6c73 in ?? () from /usr/lib/kde4/plugins/imageformats/kimg_webp.so
5 0xb68e0b3d in QImageWriter::write (this=this@entry=0xbfffda58,
6 0xb68cd24c in QImageData::doImageIO (this=0x818d970,
7 0xb68cd3e5 in QImage::save (this=this@entry=0xbfffdb00,
8 0xb68199d6 in QInternalMimeData::renderDataHelper (mimeType=...,
9 0xb689a277 in QX11Data::xdndMimeDataForAtom (this=0x809da00, a=927,
10 0xb689affe in QX11Data::xdndHandleSelectionRequest (this=0x809da00,
11 0xb688e253 in QApplication::x11ProcessEvent (this=0xbfffed34,
12 0xb68b9524 in x11EventSourceDispatch (s=s@entry=0x809c3e0,
13 0xb5d941e3 in g_main_dispatch (context=0x80a3f70,
14 g_main_context_dispatch (context=context@entry=0x80a3f70)
15 0xb5d94468 in g_main_context_iterate (context=context@entry=0x80a3f70,
16 0xb5d94528 in g_main_context_iteration (context=0x80a3f70, may_block=1)
17 0xb732793b in QEventDispatcherGlib::processEvents (this=this@entry=
18 0xb68b95de in QGuiEventDispatcherGlib::processEvents (this=0x807bdf0,
19 0xb72f6823 in QEventLoop::processEvents (this=this@entry=0x833c918,
20 0xb72f6b49 in QEventLoop::exec (this=this@entry=0x833c918, flags=...)
21 0xb689f3a6 in QDragManager::drag (this=0x81cd138, o=o@entry=0x817c770)
22 0xb6817677 in QDrag::start (this=0x817c770, request=...)
23 0x080580f2 in _start ()
Original issue reported on code.google.com by
Vdragon....@gmail.com
on 3 May 2015 at 10:19