Version: unspecified (using KDE 4.6.1) OS: Linux gluon_qtplayer git master 914e12220df0247246f4f154270e76bbca5efdf5 crashes if you run it with an not existing project Reproducible: Always Steps to Reproduce: - run "gluon_qtplayer /does/not/exists" Actual Results: - it crashes Expected Results: - it should show me an error in the konsole or an error dialog that the target does not exists (gdb) bt all #0 GluonEngine::Scene::sceneContents (this=0x0) at /var/tmp/portage/media-libs/gluon-9999/work/gluon-9999/engine/scene.cpp:87 #1 0x00007ffff7bcef8b in GluonEngine::Game::setCurrentScene (this=0x6ca1c0, newCurrentScene=0x0) at /var/tmp/portage/media-libs/gluon-9999/work/gluon-9999/engine/game.cpp:285 #2 0x0000000000404ff8 in GluonPlayer::MainWindow::startGame (this=0x7fffffffda70) at /var/tmp/portage/media-libs/gluon-9999/work/gluon-9999/player/qt/mainwindow.cpp:148 #3 0x000000000040529c in GluonPlayer::MainWindow::qt_metacall (this=0x7fffffffda70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffd080) at /var/tmp/portage/media-libs/gluon-9999/work/gluon-9999_build/player/qt/mainwindow.moc:87 #4 0x00007ffff762605f in QMetaObject::activate (sender=0x9c0820, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278 #5 0x00007ffff762d35f in QSingleShotTimer::timerEvent (this=0x9c0820) at kernel/qtimer.cpp:308 #6 0x00007ffff7625829 in QObject::event (this=0x9c0820, e=<value optimized out>) at kernel/qobject.cpp:1181 #7 0x00007ffff69360a4 in QApplicationPrivate::notify_helper (this=0x60eb90, receiver=0x9c0820, e=0x7fffffffd780) at kernel/qapplication.cpp:4462 #8 0x00007ffff693b3a1 in QApplication::notify (this=<value optimized out>, receiver=0x9c0820, e=0x7fffffffd780) at kernel/qapplication.cpp:4341 #9 0x00007ffff760f72b in QCoreApplication::notifyInternal (this=0x7fffffffdaa0, receiver=0x9c0820, event=0x7fffffffd780) at kernel/qcoreapplication.cpp:731 #10 0x00007ffff76407f6 in sendEvent (this=0x613920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #11 QTimerInfoList::activateTimers (this=0x613920) at kernel/qeventdispatcher_unix.cpp:604 #12 0x00007ffff763d0b4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #13 0x00007ffff4cbc262 in g_main_dispatch (context=0x6125f0) at gmain.c:2149 #14 g_main_context_dispatch (context=0x6125f0) at gmain.c:2702 #15 0x00007ffff4cbca40 in g_main_context_iterate (context=0x6125f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780 #16 0x00007ffff4cbccdd in g_main_context_iteration (context=0x6125f0, may_block=1) at gmain.c:2843 #17 0x00007ffff763d7cf in QEventDispatcherGlib::processEvents (this=0x60fd60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #18 0x00007ffff69e79fe in QGuiEventDispatcherGlib::processEvents ( this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #19 0x00007ffff760e1f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #20 0x00007ffff760e435 in QEventLoop::exec (this=0x7fffffffda10, flags=...) at kernel/qeventloop.cpp:201 #21 0x00007ffff7613939 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #22 0x00000000004045af in main (argc=2, argv=0x7fffffffdbd8) at /var/tmp/portage/media-libs/gluon-9999/work/gluon-9999/player/qt/main.cpp:34
Git commit fe496835aec48d17f1d10d2ff7f3921a4a8d6b00 by Laszlo Papp. Committed on 08/03/2011 at 21:41. Pushed by lpapp into branch 'master'. BUG: 267987 New: gluon_qtplayer crashes with not existing target M +8 -0 player/qt/main.cpp http://commits.kde.org/gluon/fe496835aec48d17f1d10d2ff7f3921a4a8d6b00