Open GoogleCodeExporter opened 9 years ago
Looks like an invalid pointer calling the libwebp library.
Looking at the KDE code for webp support, i think there's a potential bug in
file kimgio/webp.cpp:119
It reads:
size = WebPEncodeRGB(imageData, image.width(), image.height(), image.width() *
4, quality, &output);
but i think it should be:
size = WebPEncodeRGB(imageData, image.width(), image.height(), image.width() *
3, quality, &output);
Original comment by pascal.m...@gmail.com
on 3 May 2015 at 9:19
Forgot to mention the file's location:
https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/en
try/kimgio/webp.cpp
Original comment by pascal.m...@gmail.com
on 3 May 2015 at 9:26
@pascal
Thanks for checking out, I'll report back to KDE upstream.
Feel free to close this bug.
Original comment by Vdragon....@gmail.com
on 3 May 2015 at 9:32
Thanks! Do you have a link with the KDE bug report?
Original comment by pascal.m...@gmail.com
on 18 May 2015 at 5:16
@pascal
Here you are:
https://bugs.kde.org/show_bug.cgi?id=346123
Original comment by Vdragon....@gmail.com
on 18 May 2015 at 7:16
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