[Kde-imaging] next beta release ?

Andi Clemens andi.clemens at gmx.net
Sun Nov 23 19:34:30 CET 2008


Me neither, but somehow it goes one step too far. Take two images and run in 
GDB with a breakpoint set in the loop. It will pass the loop three times, 
which is too much and crash.
With Java-style iterators it works...
I used git blame on the file, no patch by Laurent was made so it must be 
broken a long time (or worked and now stopped for unknown reasons).

Andi

On Sunday 23 November 2008 18:59:47 Gilles Caulier wrote:
> Const iterator patch is Laurent Montel fixes. I don't have checked why it
> crash.
>
> Fast workaround is to revert patch in plugin... But i will check why it
> crash. I cannot see a reason for that.
>
> Gilles
>
> 2008/11/23 Andi Clemens <andi.clemens at gmx.net>
>
> > One way to fix this would be to use Iterator objects in
> > sendimages.cpp:147
> >
> > QListIterator<EmailItem> it(d->settings.itemsList);
> > while (it.hasNext())
> > {
> >  d->attachementFiles.append(it.peekNext().orgUrl);
> >  d->settings.setEmailUrl(it.peekNext().orgUrl, it.peekNext().orgUrl);
> >  it.next();
> > }
> >
> > But sure there must be a solution when using non Java-style iterators,
> > too. In the last days a lot of iterators were changed to the
> > const_iterators. Maybe this is why it crashes now?
> > I always like to use the Java-style iterators if possible, they are more
> > save
> > (but also slower in some cases).
> >
> > Andi
> >
> > On Sunday 23 November 2008 00:15:24 Angelo Naselli wrote:
> > > Il sabato 22 novembre 2008 16:18:30 Gilles Caulier ha scritto:
> > > > Hi all,
> > > >
> > > > It's fine for you to release digiKam 0.10.0-beta6 tomorow ?
> > > >
> > > > Same for kipi-plugins 0.2.0-beta4... without PrintWizard and
> > > > IpodExport plugins not yet fully finalized...
> > >
> > > Sendimages now crashes.
> > > (gdb) bt
> > > #0  0x00007f407d26ce60 in QUrl::QUrl () from /usr/lib64/libQtCore.so.4
> > > #1  0x00007f407d67e449 in KUrl::KUrl () from /usr/lib64/libkdecore.so.5
> > > #2  0x00007f406ddf5b50 in QList<KUrl>::node_construct (this=0x2cbb090,
> > >     n=0x2cc3840, t=@0xffd00fd00000018)
> > >     at /usr/lib/qt4/include/QtCore/qlist.h:332
> > > #3  0x00007f406ddf5d0c in QList<KUrl>::append (this=0x2cbb090,
> > >     t=@0xffd00fd00000018) at /usr/lib/qt4/include/QtCore/qlist.h:418
> > > #4  0x00007f406ddfd634 in KIPISendimagesPlugin::SendImages::sendImages
> > > ( this=0x2c548f0)
> > >     at /home/angelo/src/KDE/trunk/trunk/graphics/kipi-
> > > plugins/sendimages/sendimages.cpp:147
> > > #5  0x00007f406ddef70e in Plugin_SendImages::slotActivate
> >
> > (this=0x2b81710)
> >
> > >     at /home/angelo/src/KDE/trunk/trunk/graphics/kipi-
> > > plugins/sendimages/plugin_sendimages.cpp:120
> > > #6  0x00007f406ddf011e in Plugin_SendImages::qt_metacall
> > > (this=0x2b81710, _c=QMetaObject::InvokeMetaMethod, _id=0,
> > > _a=0x7fff86d12c40) at
> > > /home/angelo/src/KDE/trunk/trunk/build/graphics/kipi-
> > > plugins/sendimages/plugin_sendimages.moc:67
> > > #7  0x00007f407d2cfc54 in QMetaObject::activate ()
> > >    from /usr/lib64/libQtCore.so.4
> > > #8  0x00007f407c55ad47 in QAction::triggered ()
> > >    from /usr/lib64/libQtGui.so.4
> > > #9  0x00007f407c55b514 in QAction::activate ()
> > >    from /usr/lib64/libQtGui.so.4
> > > #10 0x00007f407c8f2f7d in ?? () from /usr/lib64/libQtGui.so.4
> > > #11 0x00007f407dc86351 in KMenu::mouseReleaseEvent ()
> > > ---Type <return> to continue, or q <return> to quit---
> > >    from /usr/lib64/libkdeui.so.5
> > > #12 0x00007f407c5b30e9 in QWidget::event () from
> > > /usr/lib64/libQtGui.so.4 #13 0x00007f407c8f57fb in QMenu::event () from
> > > /usr/lib64/libQtGui.so.4 #14 0x00007f407c560a2d in
> > > QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
> > > #15 0x00007f407c56901c in QApplication::notify ()
> > >    from /usr/lib64/libQtGui.so.4
> > > #16 0x00007f407dbd151b in KApplication::notify ()
> > >    from /usr/lib64/libkdeui.so.5
> > > #17 0x00007f407d2bb87f in QCoreApplication::notifyInternal ()
> > >    from /usr/lib64/libQtCore.so.4
> > > #18 0x00007f407c5683c8 in QApplicationPrivate::sendMouseEvent ()
> > >    from /usr/lib64/libQtGui.so.4
> > > #19 0x00007f407c5ccb04 in ?? () from /usr/lib64/libQtGui.so.4
> > > #20 0x00007f407c5cb3a7 in QApplication::x11ProcessEvent ()
> > >    from /usr/lib64/libQtGui.so.4
> > > #21 0x00007f407c5f1f84 in ?? () from /usr/lib64/libQtGui.so.4
> > > #22 0x00007f4076fbb8d2 in g_main_context_dispatch ()
> > >    from /usr/lib64/libglib-2.0.so.0
> > > #23 0x00007f4076fbf05d in ?? () from /usr/lib64/libglib-2.0.so.0
> > > #24 0x00007f4076fbf21b in g_main_context_iteration ()
> > >    from /usr/lib64/libglib-2.0.so.0
> > > #25 0x00007f407d2e3c1f in QEventDispatcherGlib::processEvents ()
> > >    from /usr/lib64/libQtCore.so.4
> > > #26 0x00007f407c5f172f in ?? () from /usr/lib64/libQtGui.so.4
> > > #27 0x00007f407d2ba1a2 in QEventLoop::processEvents ()
> > > ---Type <return> to continue, or q <return> to quit---
> > >    from /usr/lib64/libQtCore.so.4
> > > #28 0x00007f407d2ba32d in QEventLoop::exec ()
> > >    from /usr/lib64/libQtCore.so.4
> > > #29 0x00007f407d2bc7dd in QCoreApplication::exec ()
> > >    from /usr/lib64/libQtCore.so.4
> > > #30 0x0000000000436f43 in ?? ()
> > > #31 0x00007f407bd5f316 in __libc_start_main () from /lib64/libc.so.6
> > > #32 0x0000000000420629 in _start ()
> > > (gdb)
> > >
> > > > Best
> > > >
> > > > Gilles Caulier
> >
> > _______________________________________________
> > Kde-imaging mailing list
> > Kde-imaging at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-imaging



More information about the Kde-imaging mailing list