Bug 189468

Summary: Plasma crashes when renaming a file/folder in folderview plasmoid and use the cut/copy actions.
Product: [Unmaintained] plasma4 Reporter: Vangelis <cyberang3l>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andresbajotierra, aseigo, big_n, darktears31, nicola.degara
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vangelis 2009-04-12 17:22:07 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I have three folderview plasmoids on my activity. One showing my Desktop, one more showing my home folder and the last one showing a remote folder using fish.

When I want to copy one of the filenames, I am right clicking on it (file or folder) inside the folderview plasmoid, pressing rename and then I use the right click context menu again to copy or cut the filename.
When I press the copy or cut options, plasma workspace instantly crashes and it is never coming back nor the kde bug report dialog is coming up with some backtrace.
I have to press alt+f2 to run the "plasma" command using the krunner.

If I use the rename procedure and then the shortcuts (ctrl+X, ctrl+C) to cut or copy, everything is working fine without having the crash.

I use KDE 4.2.2 in Kubuntu Jaunty x86_64 and the QT version is 4.5.0
Comment 1 Vangelis 2009-04-12 17:38:52 UTC
I just reproduced the same crash while doing something else...
I added the plasmoid named "tarmoid" (http://www.kde-look.org/content/show.php/Tarmoid?content=102106).
When I`m dragging files or folders on it from withing dolphin, everything is working fine.

When I drag files from the folderview plasmoids then I have exactly the same crash as described above.
Comment 2 Nicola 2009-04-13 13:54:37 UTC
Hi,
 can you please unzip the tarmoid.plasmoid file and run it in debug mode and add the log here?

Create a new directory plasmoid and unzip the plasmoid inside.

#> cd plasmoid (inside you should see after the unzip contents|metatdata.desktop|README)

After, run the following command, and it will open the plasmoid in debug mode. 

#> zip -r ../Tarmoid_0_2_2.plasmoid * && plasmapkg -r ../Tarmoid_0_2_2.plasmoid && plasmapkg -i ../Tarmoid_0_2_2.plasmoid && plasmoidviewer -c desktop Tarmoid

Try to perform the same operation that cause the bug that you are mentioning and copy in this ticket the console output.

Bye

Nicola
Comment 3 Vangelis 2009-04-16 11:56:13 UTC
Do I have to create the directory in some specific folder?

I tried it but it doesn`t work...

That`s my output:

:~/Desktop/plasmoid$ zip -r ../Tarmoid_0_2_2.plasmoid * && plasmapkg -r ../Tarmoid_0_2_2.plasmoid && plasmapkg -i ../Tarmoid_0_2_2.plasmoid && plasmoidviewer -c desktop Tarmoid
updating: contents/ (stored 0%)
updating: contents/code/ (stored 0%)
updating: contents/code/main.py (deflated 57%)
updating: metadata.desktop (deflated 45%)
updating: README (deflated 49%)
Removal of Tarmoid failed.
Comment 4 Vangelis 2009-04-16 12:06:03 UTC
I ran the second command on my own (it was not running because of the failure to run the first command) and the plasmoid ran in a window without problem.

Then I added it on my plasma activity and it worked fine even when I dropped files from the folderview plasmoid.
Maybe it was a bug in the previous version? (0.2.1)

Anyway the first bug with the "renaming" and right clicking after, in the folderview plasmoids still exists so it could be a coincidence in a combination with a tarmoid bug to have a similar kind of crash.
Comment 5 Vangelis 2009-04-16 12:26:46 UTC
I just reproduced the bug initially described in two more different pc`s so two more friends of mine can confirm this too...

One of the pc`s had a similar setup like mine (KDE 4.2.2 in Kubuntu Jaunty x86_64, QT 4.5.0) and the other one had a KDE 4.2.2 Kubuntu intrepid x86_64 installation using QT 4.4.3

Thanks
Comment 6 kubuntu-user 2009-04-27 17:58:46 UTC
I can confirm the bug with kubuntu 9.04 Jaunty Jackalope 32bit. But the crash happens before the user selects an menu item. It crashes after clicking the right mouse button.

https://bugs.launchpad.net/ubuntu/+bug/366977
Comment 7 Aaron J. Seigo 2009-04-28 02:20:36 UTC
backtrace ends in an assert in qgraphicsview:

#2  0xb62582c8 in abort () from /lib/libc.so.6
#3  0xb65204af in qt_message_output (msgType=QtFatalMsg,
    buf=0x89e0c90 "ASSERT: \"!popupWidgets.contains(widget)\" in file graphicsview/qgraphicsscene.cpp, line 831") at global/qglobal.cpp:2017
#4  0xb6520526 in qFatal (msg=0xb6674ab4 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2216
#5  0xb6520965 in qt_assert (assertion=0xb7007164 "!popupWidgets.contains(widget)",
    file=0xb7006e14 "graphicsview/qgraphicsscene.cpp", line=831) at global/qglobal.cpp:1786
#6  0xb6f289c3 in QGraphicsScenePrivate::addPopup (this=0x8149030, widget=0x87e2038)
    at graphicsview/qgraphicsscene.cpp:831
#7  0xb6f1593c in QGraphicsItemPrivate::setVisibleHelper (this=0x88e8c88, newVisible=true,
    explicitly=true, update=true) at graphicsview/qgraphicsitem.cpp:1570
#8  0xb6f15c16 in QGraphicsItem::setVisible (this=0x87e2040, visible=true)
    at graphicsview/qgraphicsitem.cpp:1622
#9  0xb6f6ad6f in QGraphicsProxyWidget::eventFilter (this=0x87e2038, object=0x89ddf48,
    event=0xbfffbc18) at graphicsview/qgraphicsproxywidget.cpp:906
#10 0xb661da10 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x806ea58,
    receiver=0x89ddf48, event=0xbfffbc18) at kernel/qcoreapplication.cpp:726
#11 0xb68a1d32 in QApplicationPrivate::notify_helper (this=0x806ea58, receiver=0x89ddf48,
    e=0xbfffbc18) at kernel/qapplication.cpp:4053
#12 0xb68a3c6e in QApplication::notify (this=0x8066098, receiver=0x89ddf48, e=0xbfffbc18)
    at kernel/qapplication.cpp:4022
#13 0xb76ba32d in KApplication::notify (this=0x8066098, receiver=0x89ddf48, event=0xbfffbc18)
    at /home/aseigo/kde4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#14 0xb661f64b in QCoreApplication::notifyInternal (this=0x8066098, receiver=0x89ddf48,
    event=0xbfffbc18) at kernel/qcoreapplication.cpp:606
#15 0xb689e73d in QCoreApplication::sendEvent (receiver=0x89ddf48, event=0xbfffbc18)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 0xb69074f7 in QWidgetPrivate::show_helper (this=0x89dd1a8) at kernel/qwidget.cpp:6728
#17 0xb6907e2c in QWidget::setVisible (this=0x89ddf48, visible=true) at kernel/qwidget.cpp:6947
#18 0xb68e6f58 in QWidget::show (this=0x89ddf48)
    at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#19 0xb6d61390 in QMenu::popup (this=0x89ddf48, p=@0xbfffc584, atAction=0x0)
    at widgets/qmenu.cpp:1918
#20 0xb6d61415 in QMenu::exec (this=0x89ddf48, p=@0xbfffc584, action=0x0)
    at widgets/qmenu.cpp:1990
#21 0xb77c9fdd in KTextEdit::contextMenuEvent (this=0x8419998, event=0xbfffc56c)                
    at /home/aseigo/kde4/KDE/kdelibs/kdeui/widgets/ktextedit.cpp:579                            
#22 0xb690348e in QWidget::event (this=0x8419998, event=0xbfffc56c) at kernel/qwidget.cpp:7680
#23 0xb6d155c4 in QFrame::event (this=0x8419998, e=0xbfffc56c) at widgets/qframe.cpp:559
#24 0xb6db3157 in QAbstractScrollArea::viewportEvent (this=0x8419998, e=0xbfffc56c)
    at widgets/qabstractscrollarea.cpp:962
#25 0xb6db5d46 in QAbstractScrollAreaPrivate::viewportEvent (this=0x88588c0, event=0xbfffc56c)
    at widgets/qabstractscrollarea_p.h:100
#26 0xb6db5d74 in QAbstractScrollAreaFilter::eventFilter (this=0x8f523e0, o=0x8842420,
    e=0xbfffc56c) at widgets/qabstractscrollarea_p.h:111
#27 0xb661da10 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x806ea58,
    receiver=0x8842420, event=0xbfffc56c) at kernel/qcoreapplication.cpp:726
#28 0xb68a1d32 in QApplicationPrivate::notify_helper (this=0x806ea58, receiver=0x8842420,
    e=0xbfffc56c) at kernel/qapplication.cpp:4053
#29 0xb68a324d in QApplication::notify (this=0x8066098, receiver=0x8842420, e=0xbfffc56c)
    at kernel/qapplication.cpp:3846
#30 0xb76ba32d in KApplication::notify (this=0x8066098, receiver=0x8842420, event=0xbfffc56c)
    at /home/aseigo/kde4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#31 0xb661f64b in QCoreApplication::notifyInternal (this=0x8066098, receiver=0x8842420,
    event=0xbfffc56c) at kernel/qcoreapplication.cpp:606
#32 0xb689e73d in QCoreApplication::sendEvent (receiver=0x8842420, event=0xbfffc56c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#33 0xb6f6a94a in QGraphicsProxyWidget::contextMenuEvent (this=0x8068dd8, event=0xbfffcc68)
    at graphicsview/qgraphicsproxywidget.cpp:970
#34 0xb6f18837 in QGraphicsItem::sceneEvent (this=0x8068de0, event=0xbfffcc68)
    at graphicsview/qgraphicsitem.cpp:4981
#35 0xb6f54c55 in QGraphicsWidget::sceneEvent (this=0x8068dd8, event=0xbfffcc68)
    at graphicsview/qgraphicswidget.cpp:1110
#36 0xb6f23f68 in QGraphicsScenePrivate::sendEvent (this=0x8149030, item=0x8068de0,
    event=0xbfffcc68) at graphicsview/qgraphicsscene.cpp:1159
#37 0xb6f34bd2 in QGraphicsScene::contextMenuEvent (this=0x814b368,
    contextMenuEvent=0xbfffcc68) at graphicsview/qgraphicsscene.cpp:3961
#38 0xb6f33ab4 in QGraphicsScene::event (this=0x814b368, event=0xbfffcc68)
    at graphicsview/qgraphicsscene.cpp:3771
#39 0xb68a1d55 in QApplicationPrivate::notify_helper (this=0x806ea58, receiver=0x814b368,
    e=0xbfffcc68) at kernel/qapplication.cpp:4057
#40 0xb68a2109 in QApplication::notify (this=0x8066098, receiver=0x814b368, e=0xbfffcc68)
    at kernel/qapplication.cpp:3604
#41 0xb76ba32d in KApplication::notify (this=0x8066098, receiver=0x814b368, event=0xbfffcc68)   
    at /home/aseigo/kde4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307                          
#42 0xb661f64b in QCoreApplication::notifyInternal (this=0x8066098, receiver=0x814b368,
    event=0xbfffcc68) at kernel/qcoreapplication.cpp:606
#43 0xb689e73d in QCoreApplication::sendEvent (receiver=0x814b368, event=0xbfffcc68)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#44 0xb6f43780 in QGraphicsView::contextMenuEvent (this=0x870b030, event=0xbfffd364)
    at graphicsview/qgraphicsview.cpp:2923
#45 0xb690348e in QWidget::event (this=0x870b030, event=0xbfffd364) at kernel/qwidget.cpp:7680
#46 0xb6d155c4 in QFrame::event (this=0x870b030, e=0xbfffd364) at widgets/qframe.cpp:559
#47 0xb6db3157 in QAbstractScrollArea::viewportEvent (this=0x870b030, e=0xbfffd364)
    at widgets/qabstractscrollarea.cpp:962
#48 0xb6f43c53 in QGraphicsView::viewportEvent (this=0x870b030, event=0xbfffd364)
    at graphicsview/qgraphicsview.cpp:2897
#49 0xb6db5d46 in QAbstractScrollAreaPrivate::viewportEvent (this=0x87123e8, event=0xbfffd364)
    at widgets/qabstractscrollarea_p.h:100
#50 0xb6db5d74 in QAbstractScrollAreaFilter::eventFilter (this=0x8719550, o=0x870af60,
    e=0xbfffd364) at widgets/qabstractscrollarea_p.h:111
#51 0xb661da10 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x806ea58,
    receiver=0x870af60, event=0xbfffd364) at kernel/qcoreapplication.cpp:726
#52 0xb68a1d32 in QApplicationPrivate::notify_helper (this=0x806ea58, receiver=0x870af60,
    e=0xbfffd364) at kernel/qapplication.cpp:4053
#53 0xb68a324d in QApplication::notify (this=0x8066098, receiver=0x870af60, e=0xbfffd364)
    at kernel/qapplication.cpp:3846
#54 0xb76ba32d in KApplication::notify (this=0x8066098, receiver=0x870af60, event=0xbfffd364)
    at /home/aseigo/kde4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#55 0xb661f64b in QCoreApplication::notifyInternal (this=0x8066098, receiver=0x870af60,
    event=0xbfffd364) at kernel/qcoreapplication.cpp:606
#56 0xb68ada17 in QCoreApplication::sendSpontaneousEvent (receiver=0x870af60, event=0xbfffd364)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#57 0xb6924064 in QETWidget::translateMouseEvent (this=0x870b030, event=0xbfffe9e0)
    at kernel/qapplication_x11.cpp:4454
#58 0xb6925113 in QApplication::x11ProcessEvent (this=0x8066098, event=0xbfffe9e0)
    at kernel/qapplication_x11.cpp:3444
#59 0xb694fe91 in x11EventSourceDispatch (s=0x807b720, callback=0, user_data=0x0)
    at kernel/qguieventdispatcher_glib.cpp:146
#60 0xb51159a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0xb5119063 in ?? () from /usr/lib/libglib-2.0.so.0


looks like a fun one for the trolls :)
Comment 8 Alexis MENARD 2009-05-18 15:55:10 UTC
I am able to reproduce it in Plasma, but i didn't find a way to isolate it with Qt only. This is the example i have which reproduce the KFileItemDelegate, the QTextEdit and the double context menu.

I find out that if you comment commitData in the hacked event filter of KFileItemDelegate then it doesn't crash. I tried to repoduce it here but no way to make it crash... Perhaps i miss something, anyone want to help me, because the ASSERT in the QGraphicsView should not happen, it means a broken state, especially by filtering events that the proxy widget might need...

#include <QtGui>

class MyTextEdit : public QTextEdit
{
    Q_OBJECT
public:
    MyTextEdit(QWidget *parent = 0) : QTextEdit(parent)
    {}
};

class MyDelegate : public QItemDelegate
{
 Q_OBJECT

public:
     MyDelegate(QObject *parent = 0) : QItemDelegate(parent)
     {}

     QWidget *createEditor(QWidget *parent,
         const QStyleOptionViewItem &/* option */,
         const QModelIndex &/* index */) const
     {
         MyTextEdit *editor = new MyTextEdit(parent);

         return editor;
     }

     void setEditorData(QWidget *editor, const QModelIndex &index) const
     {
        /*QString value = index.model()->data(index, Qt::EditRole).toString();*/

        MyTextEdit *textEdit = static_cast<MyTextEdit*>(editor);

        textEdit->setText(QLatin1String("Crap"));
     }

    void setModelData(QWidget *editor, QAbstractItemModel *model,
                                        const QModelIndex &index) const
     {
         /*MyTextEdit *editor = static_cast<MyTextEdit*>(editor);

         model->setData(index, editor->text(), Qt::EditRole);*/
     }

     void updateEditorGeometry(QWidget *editor,
         const QStyleOptionViewItem &option, const QModelIndex &/* index */) const
     {
         editor->setGeometry(option.rect);
     }

    bool eventFilter(QObject *object, QEvent *event)
    {
        MyTextEdit *editor = qobject_cast<MyTextEdit*>(object);
        if (!editor)
            return false;

        switch (event->type())
        {
        case QEvent::KeyPress:
        {
            QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
            switch (keyEvent->key())
            {
            case Qt::Key_Tab:
            case Qt::Key_Backtab:
                emit commitData(editor);
                emit closeEditor(editor, NoHint);
                return true;

            case Qt::Key_Enter:
            case Qt::Key_Return:
                if (editor->toPlainText().isEmpty())
                    return true; // So a newline doesn't get inserted

                emit commitData(editor);
                emit closeEditor(editor, SubmitModelCache);
                return true;

            case Qt::Key_Escape:
                emit closeEditor(editor, RevertModelCache);
                return true;

            default:
                return false;
            } // switch (keyEvent->key())
        } // case QEvent::KeyPress

        case QEvent::FocusOut:
        {
            qDebug()<<"FocusOut";
            emit commitData(editor);
            emit closeEditor(editor, NoHint);
            return false;
        }

        default:
            return false;
        } // switch (event->type())
    }

};

class MyView : public QGraphicsWidget
{
public:

    MyView( QGraphicsItem *parent = 0)
      : QGraphicsWidget( parent )
    {
        m_delegate = new MyDelegate(this);
        resize(200, 200);
        setAcceptHoverEvents(true);
        setAcceptDrops(true);
        setCacheMode(NoCache);
        setFocusPolicy(Qt::StrongFocus);
    }


    void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
    {
        QStyleOptionViewItemV4 option;
        initStyleOption(&option);

        option.font                = font();
        option.decorationAlignment = Qt::AlignTop | Qt::AlignHCenter;
        option.decorationPosition  = QStyleOptionViewItem::Top;
        option.decorationSize      = QSize(16,16);
        option.displayAlignment    = Qt::AlignHCenter;
        option.textElideMode       = Qt::ElideRight;
        option.locale              = QLocale::system();
        option.widget              = 0;
        option.viewItemPosition    = QStyleOptionViewItemV4::OnlyOne;

        option.rect = QRect(0, 0, 50, 50);

        QWidget *editor = m_delegate->createEditor(0, option, QModelIndex());
        editor->setAttribute(Qt::WA_NoSystemBackground);
        editor->installEventFilter(m_delegate);

        QGraphicsProxyWidget *proxy = new QGraphicsProxyWidget(this);
        proxy->setWidget(editor);

        m_delegate->updateEditorGeometry(editor, option, QModelIndex());
        m_delegate->setEditorData(editor, QModelIndex());
        editor->show();
        editor->setFocus();
    }

    MyDelegate *m_delegate;
};

int main ( int argc,  char **argv)
{
    QApplication app(argc, argv);
    QGraphicsScene scene;
    QGraphicsView view(&scene);
    MyView *myView = new MyView;
    scene.addItem(myView);
    view.show();
    return app.exec();
}

#include "main.moc"
Comment 9 Dario Andres 2009-05-19 15:49:25 UTC
I wonder if this could be related to bug 179460 too.
Comment 10 kubuntu-user 2011-05-01 19:17:53 UTC
KDE 4.6.2 (Kubuntu Natty) is affected by this bug again!!!

https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/366977
Comment 11 kubuntu-user 2011-05-01 19:18:44 UTC
Could someone please adjust the Status!?
Comment 12 Dario Andres 2011-05-01 19:23:33 UTC
[Comment from a bug report cleaner]
There is another report with a similar description affecting 4.6.x: bug 268465 (new case of bug 222118).
If you provide a backtrace of your crash then we could determine which version of the bug is it.
Regards
Comment 13 kubuntu-user 2011-05-01 21:31:31 UTC
Hi Dario,

here is my backtrace:

Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb11c1720 (LWP 1370))]

Thread 4 (Thread 0xae596b70 (LWP 1382)):
#0  0xb37977b5 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb7713656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb36ac54c in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb672b577 in QEventDispatcherGlib::processEvents (this=0xa3e9b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb66fd289 in QEventLoop::processEvents (this=0xae596280, flags=...) at kernel/qeventloop.cpp:149
#5  0xb66fd522 in QEventLoop::exec (this=0xae596280, flags=...) at kernel/qeventloop.cpp:201
#6  0xb66072a0 in QThread::exec (this=0xa3e7278) at thread/qthread.cpp:492
#7  0xb66defdb in QInotifyFileSystemWatcherEngine::run (this=0xa3e7278) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb6609da2 in QThreadPrivate::start (arg=0xa3e7278) at thread/qthread_unix.cpp:320
#9  0xb3793e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb770573e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa73a6b70 (LWP 1385)):
#0  0xb37977af in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb7713656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb36aa5e6 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb36abdde in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb36ac524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb672b577 in QEventDispatcherGlib::processEvents (this=0xa42ed68, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb66fd289 in QEventLoop::processEvents (this=0xa73a6280, flags=...) at kernel/qeventloop.cpp:149
#7  0xb66fd522 in QEventLoop::exec (this=0xa73a6280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb66072a0 in QThread::exec (this=0xa42d690) at thread/qthread.cpp:492
#9  0xb66defdb in QInotifyFileSystemWatcherEngine::run (this=0xa42d690) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6609da2 in QThreadPrivate::start (arg=0xa42d690) at thread/qthread_unix.cpp:320
#11 0xb3793e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb770573e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa61bab70 (LWP 1390)):
#0  0xb36aa550 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb36abdde in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb36ac92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xa6ac6304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0xb36d52df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb3793e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb770573e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb11c1720 (LWP 1370)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0xb6e0de9f in KTextEdit::contextMenuEvent (this=0xa8cc3c0, event=0xbf836dbc) at ../../kdeui/widgets/ktextedit.cpp:621
#9  0xb5cb1cd8 in QWidget::event (this=0xa8cc3c0, event=0xbf836dbc) at kernel/qwidget.cpp:8426
#10 0xb60a2f63 in QFrame::event (this=0xa8cc3c0, e=0xbf836dbc) at widgets/qframe.cpp:557
#11 0xb61315d2 in QAbstractScrollArea::viewportEvent (this=0xa8cc3c0, e=0xbf836dbc) at widgets/qabstractscrollarea.cpp:1043
#12 0xb6133ed5 in viewportEvent (this=0xa1d7108, o=0xa5be510, e=0xbf836dbc) at widgets/qabstractscrollarea_p.h:100
#13 QAbstractScrollAreaFilter::eventFilter (this=0xa1d7108, o=0xa5be510, e=0xbf836dbc) at widgets/qabstractscrollarea_p.h:116
#14 0xb66fe25a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9ffb658, receiver=0xa5be510, event=0xbf836dbc) at kernel/qcoreapplication.cpp:846
#15 0xb5c58d00 in QApplicationPrivate::notify_helper (this=0x9ffb658, receiver=0xa5be510, e=0xbf836dbc) at kernel/qapplication.cpp:4458
#16 0xb5c5dc62 in QApplication::notify (this=0x9ff2578, receiver=0xa5be510, e=0xbf836dbc) at kernel/qapplication.cpp:4102
#17 0xb6d053ca in KApplication::notify (this=0x9ff2578, receiver=0xa5be510, event=0xbf836dbc) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb66fe0bb in QCoreApplication::notifyInternal (this=0x9ff2578, receiver=0xa5be510, event=0xbf836dbc) at kernel/qcoreapplication.cpp:731
#19 0xb62b3522 in sendEvent (this=0xa89ba20, event=0xbf83748c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QGraphicsProxyWidget::contextMenuEvent (this=0xa89ba20, event=0xbf83748c) at graphicsview/qgraphicsproxywidget.cpp:1041
#21 0xb6294548 in QGraphicsItem::sceneEvent (this=0xa89ba28, event=0xbf83748c) at graphicsview/qgraphicsitem.cpp:6691
#22 0xb62efbd7 in QGraphicsWidget::sceneEvent (this=0xa89ba20, event=0xbf83748c) at graphicsview/qgraphicswidget.cpp:1191
#23 0xb62bd950 in QGraphicsScenePrivate::sendEvent (this=0x9ffbee0, item=0xa89ba28, event=0xbf83748c) at graphicsview/qgraphicsscene.cpp:1207
#24 0xb62be090 in QGraphicsScene::contextMenuEvent (this=0x9ffc848, contextMenuEvent=0xbf83748c) at graphicsview/qgraphicsscene.cpp:3596
#25 0xb62d150c in QGraphicsScene::event (this=0x9ffc848, event=0xbf83748c) at graphicsview/qgraphicsscene.cpp:3394
#26 0xb5c58d24 in QApplicationPrivate::notify_helper (this=0x9ffb658, receiver=0x9ffc848, e=0xbf83748c) at kernel/qapplication.cpp:4462
#27 0xb5c5d8ce in QApplication::notify (this=0x9ff2578, receiver=0x9ffc848, e=0xbf83748c) at kernel/qapplication.cpp:3862
#28 0xb6d053ca in KApplication::notify (this=0x9ff2578, receiver=0x9ffc848, event=0xbf83748c) at ../../kdeui/kernel/kapplication.cpp:311
#29 0xb66fe0bb in QCoreApplication::notifyInternal (this=0x9ff2578, receiver=0x9ffc848, event=0xbf83748c) at kernel/qcoreapplication.cpp:731
#30 0xb62e5361 in sendEvent (this=0xa7e1c28, event=0xbf837bcc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QGraphicsView::contextMenuEvent (this=0xa7e1c28, event=0xbf837bcc) at graphicsview/qgraphicsview.cpp:2890
#32 0xb5cb1cd8 in QWidget::event (this=0xa7e1c28, event=0xbf837bcc) at kernel/qwidget.cpp:8426
#33 0xb60a2f63 in QFrame::event (this=0xa7e1c28, e=0xbf837bcc) at widgets/qframe.cpp:557
#34 0xb61315d2 in QAbstractScrollArea::viewportEvent (this=0xa7e1c28, e=0xbf837bcc) at widgets/qabstractscrollarea.cpp:1043
#35 0xb62ee36f in QGraphicsView::viewportEvent (this=0xa7e1c28, event=0xbf837bcc) at graphicsview/qgraphicsview.cpp:2864
#36 0xb6133ed5 in viewportEvent (this=0xa7bea68, o=0xa305a90, e=0xbf837bcc) at widgets/qabstractscrollarea_p.h:100
#37 QAbstractScrollAreaFilter::eventFilter (this=0xa7bea68, o=0xa305a90, e=0xbf837bcc) at widgets/qabstractscrollarea_p.h:116
#38 0xb66fe25a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9ffb658, receiver=0xa305a90, event=0xbf837bcc) at kernel/qcoreapplication.cpp:846
#39 0xb5c58d00 in QApplicationPrivate::notify_helper (this=0x9ffb658, receiver=0xa305a90, e=0xbf837bcc) at kernel/qapplication.cpp:4458
#40 0xb5c5dc62 in QApplication::notify (this=0x9ff2578, receiver=0xa305a90, e=0xbf837bcc) at kernel/qapplication.cpp:4102
#41 0xb6d053ca in KApplication::notify (this=0x9ff2578, receiver=0xa305a90, event=0xbf837bcc) at ../../kdeui/kernel/kapplication.cpp:311
#42 0xb66fe0bb in QCoreApplication::notifyInternal (this=0x9ff2578, receiver=0xa305a90, event=0xbf837bcc) at kernel/qcoreapplication.cpp:731
#43 0xb5ce3343 in sendSpontaneousEvent (this=0xa7e1c28, event=0xbf8380cc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 QETWidget::translateMouseEvent (this=0xa7e1c28, event=0xbf8380cc) at kernel/qapplication_x11.cpp:4561
#45 0xb5ce1746 in QApplication::x11ProcessEvent (this=0x9ff2578, event=0xbf8380cc) at kernel/qapplication_x11.cpp:3678
#46 0xb5d0cb84 in x11EventSourceDispatch (s=0x9ffe6f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb36abaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb36ac270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb36ac524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb672b53c in QEventDispatcherGlib::processEvents (this=0x9f88ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0xb5d0c775 in QGuiEventDispatcherGlib::processEvents (this=0x9f88ac0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb66fd289 in QEventLoop::processEvents (this=0xbf838394, flags=...) at kernel/qeventloop.cpp:149
#53 0xb66fd522 in QEventLoop::exec (this=0xbf838394, flags=...) at kernel/qeventloop.cpp:201
#54 0xb6701ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0xb5c568e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#56 0xb77db5a5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#57 0x080485cb in _start ()
Comment 14 Dario Andres 2011-05-02 00:15:50 UTC
[Comment from a bug report cleaner]
Ok. That matches bug 268465. Please post your case and your backtrace into that bug report. Additionally, in the Kubuntu bug tracker, add a reference to bug 268465. 
This report should remain closed
Thanks
Comment 15 kubuntu-user 2011-05-02 18:35:40 UTC
I did so, thanks. But someone should re-open bug 222118.
Comment 16 kubuntu-user 2011-05-02 18:46:11 UTC
Sorry, my mistake. You mean bug 268465. This is open.