Bug 280679 - Choqok crashes when updating timelines
Summary: Choqok crashes when updating timelines
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 01:07 UTC by Aitor
Modified: 2011-08-25 12:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aitor 2011-08-24 01:07:38 UTC
Application: choqok (1.1)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.1.0-rc2-ARCH-DELL_E4300 x86_64
Distribution: "Arch Linux"

-- Information about the crash:
From tonight everytime I have tried to update the timelines, Choqok crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Choqok (choqok), signal: Bus error
[KCrash Handler]
#6  0x00007fec57b9bffb in memcpy () from /lib/libc.so.6
#7  0x00007fec5a0eb9b2 in ?? () from /usr/lib/libkdeui.so.5
#8  0x00007fec5827a26f in QIODevice::write(char const*, long long) () from /usr/lib/libQtCore.so.4
#9  0x00007fec582646b5 in QDataStream::writeRawData(char const*, int) () from /usr/lib/libQtCore.so.4
#10 0x00007fec58264726 in QDataStream::writeBytes(char const*, unsigned int) () from /usr/lib/libQtCore.so.4
#11 0x00007fec5a0f03a5 in KPixmapCache::Private::writeData(QString const&, QPixmap const&) () from /usr/lib/libkdeui.so.5
#12 0x00007fec5a0f2920 in KPixmapCache::insert(QString const&, QPixmap const&) () from /usr/lib/libkdeui.so.5
#13 0x00007fec599efa41 in Choqok::MediaManager::slotImageFetched(KJob*) () from /usr/lib/libchoqok.so.1
#14 0x00007fec599efdd3 in Choqok::MediaManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libchoqok.so.1
#15 0x00007fec582ef7fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007fec5874b3e2 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0x00007fec5874b420 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0x00007fec554315e4 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0x00007fec5543900d in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0x00007fec55437971 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0x00007fec55437c40 in KIO::StoredTransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#22 0x00007fec582ef7fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0x00007fec554dd181 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#24 0x00007fec554da035 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#25 0x00007fec554cd22e in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#26 0x00007fec554cd98c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#27 0x00007fec582ef7fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0x00007fec55402337 in ?? () from /usr/lib/libkio.so.5
#29 0x00007fec554023dd in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#30 0x00007fec582f339e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007fec58ca4174 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00007fec58ca8fe1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007fec5a07e226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x00007fec582dcbbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0x00007fec582dff2f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#36 0x00007fec58307413 in ?? () from /usr/lib/libQtCore.so.4
#37 0x00007fec54c1829d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0x00007fec54c18a78 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0x00007fec54c18d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0x00007fec58307876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x00007fec58d471be in ?? () from /usr/lib/libQtGui.so.4
#42 0x00007fec582dbdb2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007fec582dbfb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x00007fec582e01ab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#45 0x000000000040d8ec in _start ()

Possible duplicates by query: bug 268180, bug 241126, bug 234087, bug 231448.

Reported using DrKonqi
Comment 1 Mehrdad Momeny 2011-08-24 01:28:02 UTC
Christoph:
This also seems a KIconCache problem! Just like 241126 268180 231448
However it happens with KDE 4.7

What do you think?
Comment 2 Christoph Feck 2011-08-25 11:36:51 UTC
Well, the crash is in KPixmapCache, which got replaced by KImageCache in KDE 4.5. Please port the MediaManager to KImageCache.

http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKImageCache.html
Comment 3 Mehrdad Momeny 2011-08-25 12:07:17 UTC
Thank you Christoph

*** This bug has been marked as a duplicate of bug 268815 ***
Comment 4 Mehrdad Momeny 2011-08-25 12:09:32 UTC
(In reply to comment #3)
> Thank you Christoph
> 
> *** This bug has been marked as a duplicate of bug 268815 ***

This was my fault :| two different bugs :D
Comment 5 Mehrdad Momeny 2011-08-25 12:13:04 UTC
Git commit a429cdc36e792a7c6831f9d6cf92b851a103ef69 by Mehrdad Momeny.
Committed on 25/08/2011 at 14:07.
Pushed by momeny into branch 'master'.

BUG:280679  Media Manager ported to KImageCache to fix this bug!
Thank you Christoph

M  +28   -7    plugins/shorteners/is_gd/is_gd.cpp
M  +6    -7    libchoqok/mediamanager.cpp
M  +23   -1    plugins/shorteners/is_gd/CMakeLists.txt

http://commits.kde.org/choqok/a429cdc36e792a7c6831f9d6cf92b851a103ef69