ntadej / tano

Tano - an open IP TV player
http://tano.si/tano-player/
GNU General Public License v3.0
52 stars 23 forks source link

Empty channel list -> crash (#3088149) #19

Closed ntadej closed 13 years ago

ntadej commented 13 years ago

When I remove all items in the channel list, I get a crash:

0 0x08090221 in Channel::numberString (this=0x0) at /home/felix/progs/source/tano/src/channels/Channel.h:30

1 0x080a9cc1 in EditPlaylist::editItem (this=0x89fd858, item=0x0) at /home/felix/progs/source/tano/src/ui/EditPlaylist.cpp:300

2 0x080d98ef in EditPlaylist::qt_metacall (this=0x89fd858, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfffdcf4) at /home/felix/progs/source/tano/build/src/ui/moc_EditPlaylist.cxx:112

3 0xb72accfa in QMetaObject::metacall(QObject, QMetaObject::Call, int, void*) () from /usr/lib/libQtCore.so.4

4 0xb72bcb5f in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

5 0xb7c58e49 in QTreeWidget::currentItemChanged(QTreeWidgetItem, QTreeWidgetItem) () from /usr/lib/libQtGui.so.4

6 0xb7c58efa in ?? () from /usr/lib/libQtGui.so.4

7 0xb7c61b9f in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4

8 0xb72accfa in QMetaObject::metacall(QObject, QMetaObject::Call, int, void*) () from /usr/lib/libQtCore.so.4

9 0xb72bcb5f in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

10 0xb7c356e9 in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4

11 0xb7c3b784 in ?? () from /usr/lib/libQtGui.so.4

12 0xb7c3d71a in QItemSelectionModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4

13 0xb72accfa in QMetaObject::metacall(QObject, QMetaObject::Call, int, void*) () from /usr/lib/libQtCore.so.4

14 0xb72bcb5f in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

15 0xb7308c9f in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

16 0xb729e596 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

17 0xb7c5f15c in ?? () from /usr/lib/libQtGui.so.4

18 0xb7c60511 in QTreeWidgetItem::~QTreeWidgetItem() () from /usr/lib/libQtGui.so.4

19 0xb7c60642 in QTreeWidgetItem::~QTreeWidgetItem() () from /usr/lib/libQtGui.so.4

20 0x080d2323 in M3UHandler::deleteChannel (this=0x8bf95d0, i=0x8c60a30) at /home/felix/progs/source/tano/src/xml/M3UHandler.cpp:207

21 0x080c2c2f in PlaylistWidget::deleteItem (this=0x8bc6e60) at /home/felix/progs/source/tano/src/ui/PlaylistWidget.cpp:134

22 0x080a8b9e in EditPlaylist::deleteItem (this=0x89fd858) at /home/felix/progs/source/tano/src/ui/EditPlaylist.cpp:137

23 0x080d9857 in EditPlaylist::qt_metacall (this=0x89fd858, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffe498) at /home/felix/progs/source/tano/build/src/ui/moc_EditPlaylist.cxx:105

24 0xb72accfa in QMetaObject::metacall(QObject, QMetaObject::Call, int, void*) () from /usr/lib/libQtCore.so.4

25 0xb72bcb5f in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

26 0xb7658429 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4

27 0xb765868b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4

28 0xb7b34bd2 in QToolButton::nextCheckState() () from /usr/lib/libQtGui.so.4

29 0xb7a61e93 in ?? () from /usr/lib/libQtGui.so.4

30 0xb7a6218e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4

31 0xb7b34cbc in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4

32 0xb76b822a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4

33 0xb7a611ce in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4

34 0xb7b3643a in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4

35 0xb765f584 in QApplicationPrivate::notifyhelper(QObject, QEvent_) () from /usr/lib/libQtGui.so.4

36 0xb7664a89 in QApplication::notify(QObject, QEvent) () from /usr/lib/libQtGui.so.4

37 0xb72a669b in QCoreApplication::notifyInternal(QObject, QEvent) () from /usr/lib/libQtCore.so.4

38 0xb76604f7 in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool) () from /usr/lib/libQtGui.so.4

39 0xb76e814c in ?? () from /usr/lib/libQtGui.so.4

40 0xb76e6d6f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4

41 0xb7710062 in ?? () from /usr/lib/libQtGui.so.4

42 0xb6e14b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0

43 0xb6e15350 in ?? () from /usr/lib/libglib-2.0.so.0

44 0xb6e15604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0

45 0xb72d3c6c in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4

46 0xb770fc75 in ?? () from /usr/lib/libQtGui.so.4

47 0xb72a5859 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4

48 0xb72a5afa in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4

49 0xb72aa52f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4

50 0xb765d407 in QApplication::exec() () from /usr/lib/libQtGui.so.4

51 0x08079691 in main (argc=1, argv=0xbffff5b4) at /home/felix/progs/source/tano/src/main.cpp:40

SF.net Bug #3088149