Bug 261103 - choqok crashes on restart after deleting twitter list
Summary: choqok crashes on restart after deleting twitter list
Status: RESOLVED WORKSFORME
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 0.9.98 (1.0 RC1)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-23 21:44 UTC by robert marshall
Modified: 2012-10-21 14:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
traceback from crash handler (5.59 KB, text/plain)
2010-12-23 22:01 UTC, robert marshall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robert marshall 2010-12-23 21:44:38 UTC
Version:           0.9.98 (1.0 RC1)
OS:                Linux

If you delete a twitter list which you are following in choqok, remove the user list in choqok and restart choqok it will crash on restart. Next time around it appears to start ok.

Reproducible: Always

Steps to Reproduce:
Using the web i/f create a twitter list, add user to list
In choqok navigate to the user list and add the new list. Reload the time line so there are tweets.
Back in the web interface, remove user from list and delete the list.
In choqok remove the user list (I selected the tab and )
I then restarted choqok - I was trying to play it safe!! in case what I had done caused problems.
choqok will crash on restart

Actual Results:  
Don't expect the crash!

Expected Results:  
Don't expect the crash!

I can supply a gdb backtrace if needed
Comment 1 robert marshall 2010-12-23 22:01:42 UTC
Created attachment 55195 [details]
traceback from crash handler

Now appears to be crashing most of time after a second test deletion (for the purposes of the bug report!)

kde 4.4.3
mandriva 2010
Comment 2 Pino Toscano 2010-12-24 18:36:36 UTC
Pasting the backtrace to ease searches:

Application: Choqok (choqok), signal: Segmentation fault
[KCrash Handler]
#6  0xb6bef73f in QHashData::rehash(int) () from /usr/lib/libQtCore.so.4
#7  0xb6cf001b in QMetaObject::addGuard(QObject**) () from /usr/lib/libQtCore.so.4
#8  0xb6cf1cab in QObject::installEventFilter(QObject*) () from /usr/lib/libQtCore.so.4
#9  0xb3a32ac4 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#10 0xb6543787 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb6536770 in ?? () from /usr/lib/libQtGui.so.4
#12 0xb653dabf in ?? () from /usr/lib/libQtGui.so.4
#13 0xb62200e4 in QWidgetPrivate::inheritStyle() () from /usr/lib/libQtGui.so.4
#14 0xb622ab20 in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib/libQtGui.so.4
#15 0xb622b09f in QWidget::setParent(QWidget*) () from /usr/lib/libQtGui.so.4
#16 0xb62011da in QLayout::addChildWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#17 0xb61db96d in QBoxLayout::insertWidget(int, QWidget*, int, QFlags<Qt::AlignmentFlag>) () from /usr/lib/libQtGui.so.4
#18 0xb718f525 in Choqok::UI::TimelineWidget::addPostWidgetToUi (this=0xe6d3c38, widget=0xfec8848) at /develop/Robert/choqok-0.9.98/libchoqok/ui/timelinewidget.cpp:239
#19 0xb718e53c in Choqok::UI::TimelineWidget::loadTimeline (this=0xe6d3c38) at /develop/Robert/choqok-0.9.98/libchoqok/ui/timelinewidget.cpp:101
#20 0xb718ee10 in Choqok::UI::TimelineWidget::TimelineWidget (this=0xe6d3c38, account=0x8abf8b0, timelineName=..., parent=0x8c002d0)
    at /develop/Robert/choqok-0.9.98/libchoqok/ui/timelinewidget.cpp:80
#21 0xb3347e74 in TwitterApiTimelineWidget::TwitterApiTimelineWidget (this=0xe6d3c38, account=0x8abf8b0, timelineName=..., parent=0x8c002d0)
    at /develop/Robert/choqok-0.9.98/helperlibs/twitterapihelper/twitterapitimelinewidget.cpp:30
#22 0xb3391a3a in TwitterTimelineWidget::TwitterTimelineWidget (this=0xe6d3c38, account=0x8abf8b0, timelineName=..., parent=0x8c002d0)
    at /develop/Robert/choqok-0.9.98/microblogs/twitter/twittertimelinewidget.cpp:28
#23 0xb337aa82 in TwitterMicroBlog::createTimelineWidget (this=0x8ad40e8, account=0x8abf8b0, timelineName=..., parent=0x8c002d0)
    at /develop/Robert/choqok-0.9.98/microblogs/twitter/twittermicroblog.cpp:101
#24 0xb718d03c in Choqok::UI::MicroBlogWidget::addTimelineWidgetToUi (this=0x8c002d0, name=...) at /develop/Robert/choqok-0.9.98/libchoqok/ui/microblogwidget.cpp:171
#25 0xb718b574 in Choqok::UI::MicroBlogWidget::initTimelines (this=0x8c002d0) at /develop/Robert/choqok-0.9.98/libchoqok/ui/microblogwidget.cpp:163
#26 0xb718b7bc in Choqok::UI::MicroBlogWidget::initUi (this=0x8c002d0) at /develop/Robert/choqok-0.9.98/libchoqok/ui/microblogwidget.cpp:97
#27 0xb333a88b in TwitterApiMicroBlogWidget::initUi (this=0x8c002d0) at /develop/Robert/choqok-0.9.98/helperlibs/twitterapihelper/twitterapimicroblogwidget.cpp:71
#28 0x080532df in MainWindow::addBlog (this=0x8a5fa48, account=0x8abf8b0, isStartup=true) at /develop/Robert/choqok-0.9.98/choqok/mainwindow.cpp:427
#29 0x080535f3 in MainWindow::loadAllAccounts (this=0x8a5fa48) at /develop/Robert/choqok-0.9.98/choqok/mainwindow.cpp:134
#30 0x0805386e in MainWindow::qt_metacall (this=0x8a5fa48, _c=QMetaObject::InvokeMetaMethod, _id=55, _a=0xbfcdcdcc) at /develop/Robert/choqok-0.9.98/build/choqok/mainwindow.moc:118
#31 0xb6cdfded in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#32 0xb6ceec5a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#33 0xb71823d7 in Choqok::AccountManager::allAccountsLoaded (this=0x8a70a10) at /develop/Robert/choqok-0.9.98/build/libchoqok/accountmanager.moc:108
#34 0xb7182c65 in Choqok::AccountManager::loadAllAccounts (this=0x8a70a10) at /develop/Robert/choqok-0.9.98/libchoqok/accountmanager.cpp:200
#35 0xb7183205 in Choqok::AccountManager::qt_metacall (this=0x8a70a10, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfcdd00c) at /develop/Robert/choqok-0.9.98/build/libchoqok/accountmanager.moc:83
#36 0xb6cdfded in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#37 0xb6ceec5a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#38 0xb6cf6935 in ?? () from /usr/lib/libQtCore.so.4
#39 0xb6cf6a6c in ?? () from /usr/lib/libQtCore.so.4
#40 0xb6ceb764 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#41 0xb61c6f1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0xb61cdd58 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0xb76a74a1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0xb6cdaa9e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0xb6d0ac8a in ?? () from /usr/lib/libQtCore.so.4
#46 0xb6d078f2 in ?? () from /usr/lib/libQtCore.so.4
#47 0xb5854cbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb58589f8 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb5858b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb6d075c1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0xb6287bda in ?? () from /usr/lib/libQtGui.so.4
#52 0xb6cd90fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb6cd9549 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0xb6cdd6d0 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#55 0xb61c6fc4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#56 0x080543fa in main (argc=1, argv=0xbfcdda14) at /develop/Robert/choqok-0.9.98/choqok/main.cpp:58
Comment 3 Adrián Chaves (Gallaecio) 2012-10-02 06:32:14 UTC
Does this still happen with a newer — stable — version of Choqok?
Comment 4 robert marshall 2012-10-21 14:59:28 UTC
No it no longer crashes for me - I think this report can be closed!