Bug 235300 - Crash on removing image asset in Gluon
Summary: Crash on removing image asset in Gluon
Status: RESOLVED NOT A BUG
Alias: None
Product: gluon
Classification: Applications
Component: gluoncreator (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Arjen Hiemstra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 22:16 UTC by Sean Tilley
Modified: 2011-03-30 21:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Tilley 2010-04-24 22:16:13 UTC
Application: gluoncreator (0.70.0 (X-Ray))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Tried to remove an image asset that had a broken link (was in a different folder and wasn't properly working to begin with), and Gluon crashed. Attached is the output, although I wasn't able to get any debugging symbols.

 -- Backtrace:
Application: Gluon Creator (gluoncreator), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77bc710 (LWP 26832))]

Thread 3 (Thread 0xb21c9b70 (LWP 26848)):
#0  0x00c93422 in __kernel_vsyscall ()
#1  0x0028a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x03337c97 in ?? () from /usr/lib/libQtScript.so.4
#3  0x03337ce1 in ?? () from /usr/lib/libQtScript.so.4
#4  0x0028596e in start_thread (arg=0xb21c9b70) at pthread_create.c:300
#5  0x06a31a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4ebfb70 (LWP 26849)):
#0  0x00c93422 in __kernel_vsyscall ()
#1  0x06a23b86 in *__GI___poll (fds=0x6ab9ff4, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x088a2502 in ?? () from /usr/lib/libpulse.so.0
#3  0x0888ea59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x08890a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x08890ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x088a22a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x056d2e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0028596e in start_thread (arg=0xb4ebfb70) at pthread_create.c:300
#9  0x06a31a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77bc710 (LWP 26832)):
[KCrash Handler]
#6  0x00443e67 in QObject::parent (this=0x911ff78, child=...) at /usr/include/qt4/QtCore/qobject.h:250
#7  GluonCreator::ProjectModel::parent (this=0x911ff78, child=...) at /home/sean/Downloads/gluon-gluon/creator/lib/models/projectmodel.cpp:135
#8  0x016110cd in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#9  0x0161c4a9 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4
#10 0x0161f5bd in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#11 0x0108c6b6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x01488fd3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x01523382 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x015d7bd7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x01618f7c in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x01525c65 in ?? () from /usr/lib/libQtGui.so.4
#17 0x005b9cda in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x0102e4b9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x010350f9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x04d90f2a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x005baa3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x010959d6 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#23 0x0126c7d7 in ?? () from /usr/lib/libQtGui.so.4
#24 0x01085b93 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#25 0x0108ce76 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x014a7bc7 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x04e82b04 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#28 0x04eca88f in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x0102e4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x010350f9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x04d90f2a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x005baa3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x005bd473 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#34 0x005bd5dd in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#35 0x005e6adf in ?? () from /usr/lib/libQtCore.so.4
#36 0x00deb5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00def2d8 in ?? () from /lib/libglib-2.0.so.0
#38 0x00def4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x005e65d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x010ee135 in ?? () from /usr/lib/libQtGui.so.4
#41 0x005bd841 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0x0022b60b in GluonEngine::Game::runGameFixedUpdate(int, int) () from /usr/lib/libGluonEngine.so.0.70.0
#43 0x08055711 in GluonEngine::Game::runGame (this=0x902e7c8, checked=true) at /home/sean/Downloads/gluon-gluon/engine/game.h:98
#44 GluonCreator::MainWindow::playPauseGame (this=0x902e7c8, checked=true) at /home/sean/Downloads/gluon-gluon/creator/mainwindow.cpp:264
#45 0x08050cf5 in GluonCreator::MainWindow::qt_metacall (this=0x902e7c8, _c=QMetaObject::InvokeMetaMethod, _id=52, _a=0xbfa50948)
    at /home/sean/Downloads/gluon-gluon/build/creator/moc_mainwindow.cpp:100
#46 0x005bfc9a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#47 0x005ce3d5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#48 0x01027bd9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#49 0x01029dcc in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#50 0x0151cbd2 in QToolButton::nextCheckState() () from /usr/lib/libQtGui.so.4
#51 0x01439cb3 in ?? () from /usr/lib/libQtGui.so.4
#52 0x01439fae in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#53 0x0151d09c in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#54 0x0108c7f8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#55 0x01438d4e in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#56 0x0151fbca in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#57 0x0102e4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#58 0x010359f7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#59 0x04d90f2a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#60 0x005baa3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#61 0x01034952 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#62 0x010c0088 in ?? () from /usr/lib/libQtGui.so.4
#63 0x010bf511 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#64 0x010ee60a in ?? () from /usr/lib/libQtGui.so.4
#65 0x00deb5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#66 0x00def2d8 in ?? () from /lib/libglib-2.0.so.0
#67 0x00def4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#68 0x005e65d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#69 0x010ee135 in ?? () from /usr/lib/libQtGui.so.4
#70 0x005b9059 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#71 0x005b94aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#72 0x005bd69f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#73 0x0102e577 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#74 0x08051a06 in main (argc=1, argv=0xbfa51b14) at /home/sean/Downloads/gluon-gluon/creator/main.cpp:71

Reported using DrKonqi
Comment 1 Sean Tilley 2010-04-24 23:24:04 UTC
Full output with debugging symbols.

Thread 3 (Thread 0xb219ab70 (LWP 31606)):
#0  0x00164422 in __kernel_vsyscall ()
#1  0x006a1015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02910c97 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x29ea1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0x02910ce1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x29ea1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x0069c96e in start_thread (arg=0xb219ab70) at pthread_create.c:300
#5  0x035eba0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4d6cb70 (LWP 31607)):
#0  0x00164422 in __kernel_vsyscall ()
#1  0x035ddb86 in *__GI___poll (fds=0x3673ff4, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x01f6c502 in ?? () from /usr/lib/libpulse.so.0
#3  0x01f58a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x01f5aa13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x01f5aae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x01f6c2a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x01fb9e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0069c96e in start_thread (arg=0xb4d6cb70) at pthread_create.c:300
#9  0x035eba0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb778d710 (LWP 31585)):
[KCrash Handler]
#6  0x00164422 in __kernel_vsyscall ()
#7  0x03548651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0354ba82 in *__GI_abort () at abort.c:92
#9  0x001c22dc in qt_message_output (msgType=QtFatalMsg, buf=0xa540730 "ASSERT: \"d\" in file /usr/include/qt4/QtCore/qscopedpointer.h, line 112") at global/qglobal.cpp:2250
#10 0x001c24aa in qt_message (msgType=<value optimized out>, msg=0x3352fc "ASSERT: \"%s\" in file %s, line %d", ap=0xbfd6fa64 "w\346v") at global/qglobal.cpp:2296
#11 0x001c25b9 in qFatal (msg=0x3352fc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#12 0x001c2645 in qt_assert (assertion=0x76e677 "d", file=0x76e000 "/usr/include/qt4/QtCore/qscopedpointer.h", line=112) at global/qglobal.cpp:2013
#13 0x0075dec0 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x957f2dc) at /usr/include/qt4/QtCore/qscopedpointer.h:112
#14 0x007638a4 in QObject::parent (this=0x957f2d8) at /usr/include/qt4/QtCore/qobject.h:250
#15 0x007646dd in GluonCreator::ProjectModel::parent (this=0x983ef48, child=...) at /home/sean/Downloads/gluon-gluon/creator/lib/models/projectmodel.cpp:135
#16 0x0151f0cd in QModelIndex::parent (this=0x98bff10, painter=0xbfd6ffac, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#17 QTreeView::drawRow (this=0x98bff10, painter=0xbfd6ffac, option=..., index=...) at itemviews/qtreeview.cpp:1471
#18 0x0152a4a9 in QTreeView::drawTree (this=0x98bff10, painter=0xbfd6ffac, region=...) at itemviews/qtreeview.cpp:1433
#19 0x0152d5bd in QTreeView::paintEvent (this=0x98bff10, event=0xbfd70864) at itemviews/qtreeview.cpp:1266
#20 0x00f9a6b6 in QWidget::event (this=0x98bff10, event=0xbfd70864) at kernel/qwidget.cpp:8144
#21 0x01396fd3 in QFrame::event (this=0x98bff10, e=0xbfd70864) at widgets/qframe.cpp:557
#22 0x01431382 in QAbstractScrollArea::viewportEvent (this=0x7b61, e=0x6) at widgets/qabstractscrollarea.cpp:1036
#23 0x014e5bd7 in QAbstractItemView::viewportEvent (this=0x98bff10, event=0xbfd70864) at itemviews/qabstractitemview.cpp:1610
#24 0x01526f7c in QTreeView::viewportEvent (this=0x98bff10, event=0xbfd70864) at itemviews/qtreeview.cpp:1248
#25 0x01433c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9849ce0, o=0x97c4ff0, e=0xbfd70864) at widgets/qabstractscrollarea_p.h:100
#26 QAbstractScrollAreaFilter::eventFilter (this=0x9849ce0, o=0x97c4ff0, e=0xbfd70864) at widgets/qabstractscrollarea_p.h:116
#27 0x002cccda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x95399a8, receiver=0x97c4ff0, event=0xbfd70864) at kernel/qcoreapplication.cpp:819
#28 0x00f3c4b9 in QApplicationPrivate::notify_helper (this=0x95399a8, receiver=0x97c4ff0, e=0xbfd70864) at kernel/qapplication.cpp:4296
#29 0x00f430f9 in QApplication::notify (this=0xbfd715f8, receiver=0x97c4ff0, e=0xbfd70864) at kernel/qapplication.cpp:4265
#30 0x01bccf2a in KApplication::notify (this=0xbfd715f8, receiver=0x97c4ff0, event=0xbfd70864) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x002cda3b in QCoreApplication::notifyInternal (this=0xbfd715f8, receiver=0x97c4ff0, event=0xbfd70864) at kernel/qcoreapplication.cpp:704
#32 0x00fa39d6 in QCoreApplication::sendSpontaneousEvent (this=0x9886a80, pdev=0x974185c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9741818)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#33 QWidgetPrivate::drawWidget (this=0x9886a80, pdev=0x974185c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9741818) at kernel/qwidget.cpp:5339
#34 0x0117a7d7 in QWidgetBackingStore::sync (this=0x9741818) at painting/qbackingstore.cpp:1283
#35 0x00f93b93 in QWidgetPrivate::syncBackingStore (this=0x9707830) at kernel/qwidget.cpp:1672
#36 0x00f9ae76 in QWidget::event (this=0x97209e0, event=0xa516e68) at kernel/qwidget.cpp:8291
#37 0x013b5bc7 in QMainWindow::event (this=0x97209e0, event=0xa516e68) at widgets/qmainwindow.cpp:1433
#38 0x01cbeb04 in KMainWindow::event (this=0x97209e0, ev=0xa516e68) at ../../kdeui/widgets/kmainwindow.cpp:1103
#39 0x01d0688f in KXmlGuiWindow::event (this=0x97209e0, ev=0xa516e68) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#40 0x00f3c4dc in QApplicationPrivate::notify_helper (this=0x95399a8, receiver=0x97209e0, e=0xa516e68) at kernel/qapplication.cpp:4300
#41 0x00f430f9 in QApplication::notify (this=0xbfd715f8, receiver=0x97209e0, e=0xa516e68) at kernel/qapplication.cpp:4265
#42 0x01bccf2a in KApplication::notify (this=0xbfd715f8, receiver=0x97209e0, event=0xa516e68) at ../../kdeui/kernel/kapplication.cpp:302
#43 0x002cda3b in QCoreApplication::notifyInternal (this=0xbfd715f8, receiver=0x97209e0, event=0xa516e68) at kernel/qcoreapplication.cpp:704
#44 0x002d0473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9523ce0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9523ce0) at kernel/qcoreapplication.cpp:1345
#46 0x002d05dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#47 0x002f9adf in QCoreApplication::sendPostedEvents (s=0x953b588) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0x953b588) at kernel/qeventdispatcher_glib.cpp:276
#49 0x03f065e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x03f0a2d8 in ?? () from /lib/libglib-2.0.so.0
#51 0x03f0a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x002f95d5 in QEventDispatcherGlib::processEvents (this=0x95239c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#53 0x00ffc135 in QGuiEventDispatcherGlib::processEvents (this=0x95239c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x002cc059 in QEventLoop::processEvents (this=0xbfd71554, flags=) at kernel/qeventloop.cpp:149
#55 0x002cc4aa in QEventLoop::exec (this=0xbfd71554, flags=...) at kernel/qeventloop.cpp:201
#56 0x002d069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0x00f3c577 in QApplication::exec () at kernel/qapplication.cpp:3579
#58 0x080518f7 in main (argc=1, argv=0xbfd717b4) at /home/sean/Downloads/gluon-gluon/creator/main.cpp:71
Comment 2 Arjen Hiemstra 2010-05-04 15:53:20 UTC
Eek! This one is one of those bugs that I wanted to fix before alpha but apparently got through. Oh well... I'll take a look at it tomorrow and see if I can fix it.
Comment 3 Laszlo Papp 2011-03-30 21:49:19 UTC
Me, Dan and Giulio could not reproduce this bug after a short discussion about it on IRC. (that model has changed beyond recognition)

If it can somehow be reproduced, feel free to open it and provide a step by step scenario with thread backtrace containing debug symbols and valgrind output, thank you.