[Konversation-devel] [Bug 295918] New: With Akonadi disabled, reproducible Konversation crash when trying to connect

JR zorael at gmail.com
Tue Mar 13 13:03:56 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=295918

            Bug ID: 295918
          Severity: crash
           Version: 1.4
          Priority: NOR
          Assignee: konversation-devel at kde.org
           Summary: With Akonadi disabled, reproducible Konversation crash
                    when trying to connect
    Classification: Unclassified
                OS: Linux
          Reporter: zorael at gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: konversation

Application: konversation (1.4)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-17-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
Kubuntu 12.04b precise amd64, KDE 4.8.1 and Konversation 1.4 from Canonical
main repositories. Akonadi and Nepomuk is disabled by modifications to
~/.config/akonadi/akonadiserverrc and ~/.kde/share/config/nepomukserverrc
respectively.

- What I was doing when the application crashed:
I started Konversation but found that the server list did not automatically
show up as it was configured to be. Being impatient, I manually opened the
server list and tried to connect, upon doing which I experienced this crash. It
also appeared that the quick connect dialog could not be opened at all.

- How to reproduce:
1. Set Konversation to automatically open the Server List upon startup, then
exit
2. Disable Akonadi (and Nepomuk) and make sure to kill any of their running
processes
3. Start Konversation, observe that the server list does not show up
immediately
4. Open the server list manually and connect to a server

- Expected results:
5. Connection procedure starts normally

- What actually happened:
5. Crash with this backtrace

- Additional information:
It turns out the server list *did* automatically show up -- but only after
waiting fairly precisely 30 seconds. Connecting at that point worked without
issue and the quick connect dialog could also be opened normally.

I enabled debug output in kdebugdialog and started konversation via the
terminal. As usual I got the normal akonadi/mysqld traceback that all
Akonadi-aware KDE applications output, but when the server list finally
displayed it also said the following;
>"akonadiserver" crashed too often and will not be restarted! 
>konversation(4099)/libakonadi Akonadi::Control::Private::exec: Could not start/stop Akonadi! 
>konversation(4099)/kresources: Failed to start Akonadi 
>konversation(4099)/kdepimlibs (kabc): "Unable to open resource 'Akonadi Contacts'."

It seems that Konversation gives Akonadi ~30 seconds to start up before
automatically showing the server list. If you try to connect before it
timeouts, it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2ec2455840 (LWP 3836))]

Thread 2 (Thread 0x7f2ea985a700 (LWP 3837)):
#0  0x00007f2ebd2b5ab3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2ebec246df in QProcessManager::run (this=0x7f2ebef9d4e0) at
io/qprocess_unix.cpp:244
#2  0x00007f2ebeb47fbb in QThreadPrivate::start (arg=0x7f2ebef9d4e0) at
thread/qthread_unix.cpp:298
#3  0x00007f2eba475e9a in start_thread (arg=0x7f2ea985a700) at
pthread_create.c:308
#4  0x00007f2ebd2bc74d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2ec2455840 (LWP 3836)):
[KCrash Handler]
#6  Server::getViewContainer (this=<optimized out>) at
../../src/irc/server.cpp:3691
#7  0x00000000004b0d73 in Server::Server (this=0x1cc4fc0, parent=<optimized
out>, settings=...) at ../../src/irc/server.cpp:114
#8  0x000000000048a372 in connectTo (settings=..., this=0x17391d0,
flag=<optimized out>) at ../../src/connectionmanager.cpp:154
#9  ConnectionManager::connectTo (this=0x17391d0, flag=<optimized out>,
settings=...) at ../../src/connectionmanager.cpp:135
#10 0x000000000048a68d in ConnectionManager::connectTo (this=0x17391d0,
flag=Konversation::PromptToReuseConnection, serverGroupId=<optimized out>) at
../../src/connectionmanager.cpp:94
#11 0x000000000048dbfe in ConnectionManager::qt_metacall (this=0x17391d0,
_c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffdc019510) at
./connectionmanager.moc:140
#12 0x00007f2ebec5aad9 in QMetaObject::activate (sender=0x1c8d3b0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffdc019510) at
kernel/qobject.cpp:3566
#13 0x00000000005233ea in Konversation::ServerListDialog::connectTo
(this=<optimized out>, _t1=Konversation::PromptToReuseConnection, _t2=1) at
./serverlistdialog.moc:129
#14 0x0000000000526766 in Konversation::ServerListDialog::slotOk
(this=0x1c8d3b0) at ../../src/irc/serverlistdialog.cpp:134
#15 0x0000000000525b49 in Konversation::ServerListDialog::qt_metacall
(this=0x1c8d3b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7fffdc019870) at ./serverlistdialog.moc:107
#16 0x00007f2ebec5aad9 in QMetaObject::activate (sender=0x1c59a60, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffdc019870) at
kernel/qobject.cpp:3566
#17 0x00007f2ebe2eb4f0 in QTreeWidget::itemDoubleClicked (this=<optimized out>,
_t1=0x1a35ea0, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:228
#18 0x00007f2ebec5a8d1 in QMetaObject::activate (sender=0x1c59a60, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffdc0199c0) at
kernel/qobject.cpp:3547
#19 0x00007f2ebe2731f5 in QAbstractItemView::doubleClicked (this=<optimized
out>, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:355
#20 0x00007f2ebe2bf4a5 in QTreeView::mouseDoubleClickEvent (this=0x1c59a60,
event=0x7fffdc01a6c0) at itemviews/qtreeview.cpp:1898
#21 0x00007f2ebdd9cf7e in QWidget::event (this=0x1c59a60, event=0x7fffdc01a6c0)
at kernel/qwidget.cpp:8365
#22 0x00007f2ebe15dbc6 in QFrame::event (this=0x1c59a60, e=0x7fffdc01a6c0) at
widgets/qframe.cpp:557
#23 0x00007f2ebe271fbb in QAbstractItemView::viewportEvent (this=0x1c59a60,
event=0x7fffdc01a6c0) at itemviews/qabstractitemview.cpp:1644
#24 0x00007f2ebe2b9ab5 in QTreeView::viewportEvent (this=0x1c59a60,
event=0x7fffdc01a6c0) at itemviews/qtreeview.cpp:1257
#25 0x00007f2ebec46678 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0x1bd13a0, event=0x7fffdc01a6c0) at kernel/qcoreapplication.cpp:986
#26 0x00007f2ebdd4c67f in notify_helper (e=0x7fffdc01a6c0, receiver=0x1bd13a0,
this=0x15ad280) at kernel/qapplication.cpp:4551
#27 QApplicationPrivate::notify_helper (this=0x15ad280, receiver=0x1bd13a0,
e=0x7fffdc01a6c0) at kernel/qapplication.cpp:4527
#28 0x00007f2ebdd51edf in QApplication::notify (this=<optimized out>,
receiver=0x1bd13a0, e=0x7fffdc01a6c0) at kernel/qapplication.cpp:4098
#29 0x00007f2ebf6a6906 in KApplication::notify (this=0x7fffdc01e090,
receiver=0x1bd13a0, event=0x7fffdc01a6c0) at
../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f2ebec464ec in QCoreApplication::notifyInternal
(this=0x7fffdc01e090, receiver=0x1bd13a0, event=0x7fffdc01a6c0) at
kernel/qcoreapplication.cpp:876
#31 0x00007f2ebdd4d682 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=0x1bd13a0,
event=0x7fffdc01a6c0, alienWidget=0x1bd13a0, nativeWidget=0x1c8d3b0,
buttonDown=0x1bd13a0, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3166
#33 0x00007f2ebddcca15 in QETWidget::translateMouseEvent (this=0x1c8d3b0,
event=<optimized out>) at kernel/qapplication_x11.cpp:4614
#34 0x00007f2ebddcb9ce in QApplication::x11ProcessEvent (this=0x7fffdc01e090,
event=0x7fffdc01af90) at kernel/qapplication_x11.cpp:3732
#35 0x00007f2ebddf4e22 in x11EventSourceDispatch (s=0x15b4600, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f2ebacfddda in g_main_dispatch (context=0x15a9400) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:2510
#37 g_main_context_dispatch (context=0x15a9400) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:3047
#38 0x00007f2ebacfe1a0 in g_main_context_iterate (dispatch=1, block=<optimized
out>, context=0x15a9400, self=<optimized out>) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:3118
#39 g_main_context_iterate (context=0x15a9400, block=<optimized out>,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:3055
#40 0x00007f2ebacfe264 in g_main_context_iteration (context=0x15a9400,
may_block=1) at /build/buildd/glib2.0-2.31.20/./glib/gmain.c:3179
#41 0x00007f2ebec75a0f in QEventDispatcherGlib::processEvents (this=0x154aaf0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f2ebddf4aae in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f2ebec452d2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f2ebec45527 in QEventLoop::exec (this=0x1af6750, flags=...) at
kernel/qeventloop.cpp:204
#45 0x00007f2ea9da396a in Akonadi::Control::Private::exec() () from
/usr/lib/libakonadi-kde.so.4
#46 0x00007f2ea9da4170 in Akonadi::Control::start() () from
/usr/lib/libakonadi-kde.so.4
#47 0x00007f2eaa13ae56 in ?? () from /usr/lib/kde4/kabc_akonadi.so
#48 0x00007f2ebba76a35 in KRES::Resource::open() () from
/usr/lib/libkresources.so.4
#49 0x00007f2ec166b1e5 in KABC::StdAddressBook::Private::init(bool) () from
/usr/lib/libkabc.so.4
#50 0x00007f2ec166b8c0 in KABC::StdAddressBook::self(bool) () from
/usr/lib/libkabc.so.4
#51 0x00000000005d6e9a in Konversation::Addressbook::Addressbook
(this=0x19ffbb0) at ../../src/linkaddressbook/addressbook.cpp:41
#52 0x00000000005d6f11 in AddressbookSingleton (this=0x19ffbb0) at
../../src/linkaddressbook/addressbook.cpp:29
#53 operator-> (this=<optimized out>) at
../../src/linkaddressbook/addressbook.cpp:35
#54 Konversation::Addressbook::self () at
../../src/linkaddressbook/addressbook.cpp:50
#55 0x000000000047893a in MainWindow::MainWindow (this=0x1646810,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../src/mainwindow.cpp:530
#56 0x00000000004643ec in Application::newInstance (this=0x7fffdc01e090) at
../../src/application.cpp:208
#57 0x00007f2ebf6ac0b2 in KUniqueApplicationAdaptor::newInstance
(this=0x1741030, asn_id=..., args=...) at
../../kdeui/kernel/kuniqueapplication.cpp:442
#58 0x00007f2ebf6ac134 in qt_static_metacall (_a=0x7fffdc01d350, _id=<optimized
out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#59 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7fffdc01d350) at
./kuniqueapplication_p.moc:52
#60 0x00007f2ebf6ac27b in KUniqueApplicationAdaptor::qt_metacall
(this=0x1741030, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7fffdc01d350) at ./kuniqueapplication_p.moc:102
#61 0x00007f2ebe87237b in QDBusConnectionPrivate::deliverCall (this=0x1592120,
object=0x1741030, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#62 0x00007f2ebe87341d in QDBusConnectionPrivate::activateCall (this=0x1592120,
object=0x1741030, flags=337, msg=...) at qdbusintegrator.cpp:850
#63 0x00007f2ebe873e3b in QDBusConnectionPrivate::activateObject
(this=0x1592120, node=..., msg=..., pathStartPos=<optimized out>) at
qdbusintegrator.cpp:1423
#64 0x00007f2ebe873f2b in QDBusActivateObjectEvent::placeMetaCall
(this=0x1744790) at qdbusintegrator.cpp:1537
#65 0x00007f2ebec5fa96 in QObject::event (this=0x7fffdc01e090, e=<optimized
out>) at kernel/qobject.cpp:1195
#66 0x00007f2ebdd50414 in QApplication::event (this=0x7fffdc01e090,
e=0x1744790) at kernel/qapplication.cpp:2537
#67 0x00007f2ebdd4c6b4 in notify_helper (e=0x1744790, receiver=0x7fffdc01e090,
this=0x15ad280) at kernel/qapplication.cpp:4555
#68 QApplicationPrivate::notify_helper (this=0x15ad280,
receiver=0x7fffdc01e090, e=0x1744790) at kernel/qapplication.cpp:4527
#69 0x00007f2ebdd51533 in QApplication::notify (this=0x7fffdc01e090,
receiver=0x7fffdc01e090, e=0x1744790) at kernel/qapplication.cpp:4416
#70 0x00007f2ebf6a6906 in KApplication::notify (this=0x7fffdc01e090,
receiver=0x7fffdc01e090, event=0x1744790) at
../../kdeui/kernel/kapplication.cpp:311
#71 0x00007f2ebec464ec in QCoreApplication::notifyInternal
(this=0x7fffdc01e090, receiver=0x7fffdc01e090, event=0x1744790) at
kernel/qcoreapplication.cpp:876
#72 0x00007f2ebec4a2ba in sendEvent (event=0x1744790, receiver=0x7fffdc01e090)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#73 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x15492d0) at kernel/qcoreapplication.cpp:1500
#74 0x00007f2ebec755e3 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#75 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:279
#76 0x00007f2ebacfddda in g_main_dispatch (context=0x15a9400) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:2510
#77 g_main_context_dispatch (context=0x15a9400) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:3047
#78 0x00007f2ebacfe1a0 in g_main_context_iterate (dispatch=1, block=<optimized
out>, context=0x15a9400, self=<optimized out>) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:3118
#79 g_main_context_iterate (context=0x15a9400, block=<optimized out>,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.31.20/./glib/gmain.c:3055
#80 0x00007f2ebacfe264 in g_main_context_iteration (context=0x15a9400,
may_block=1) at /build/buildd/glib2.0-2.31.20/./glib/gmain.c:3179
#81 0x00007f2ebec75a0f in QEventDispatcherGlib::processEvents (this=0x154aaf0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#82 0x00007f2ebddf4aae in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#83 0x00007f2ebec452d2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#84 0x00007f2ebec45527 in QEventLoop::exec (this=0x7fffdc01e020, flags=...) at
kernel/qeventloop.cpp:204
#85 0x00007f2ebec4a5b7 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#86 0x0000000000446d4a in main (argc=5, argv=0x7fffdc01ef28) at
../../src/main.cpp:120

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Konversation-devel mailing list