[Bug 294849] New: If mysql connection is dropped, all akonadi tasks failed, restart akonadi drive to crash

Bruno Friedmann brunofr at ioda.net
Sun Feb 26 09:10:48 GMT 2012


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

           Summary: If mysql connection is dropped, all akonadi tasks
                    failed, restart akonadi drive to crash
           Product: Akonadi
           Version: 4.8
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Nepomuk Feeder Agents
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: brunofr at ioda.net
                CC: vkrause at kde.org


Application: akonadi_nepomuktag_resource (4.8)
KDE Platform Version: 4.8.00 (4.8.0 "release 2"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I use a centralized mysql
server, at some moment in the night the mysql server is down (backup purpose,
failure whatever)
I use the option UNIX_SOCKET=/var/run/mysql/mysql.sock in the akonadi
definition.

Once that occur you receive each time a notification about failure to connect &
sync imap folders. Then you stop akonadi and restart it.

The crash occur in less than a minute.
Shouldn't akonadi & nepomuk agent be resistant against network failures.
Notifying the fact they can't contact the server is okay, Crashes not really
:-)

The crash can be reproduced every time.

-- Backtrace:
Application: Tags of type Nepomuk Tags (Virtual Folders)
(akonadi_nepomuktag_resource), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f6330d837ca in lockInline (this=0x8695c8) at
/usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x8695c8, this=<synthetic pointer>) at
/usr/include/QtCore/qmutex.h:109
#8  Soprano::Client::SocketHandler::~SocketHandler (this=0x7d70e0,
__in_chrg=<optimized out>) at
/usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:58
#9  0x00007f6330d83909 in Soprano::Client::SocketHandler::~SocketHandler
(this=0x7d70e0, __in_chrg=<optimized out>) at
/usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:61
#10 0x00007f6336c8d52d in QThreadStorageData::set (this=0x875f80, p=0xbec3a0)
at thread/qthreadstorage.cpp:165
#11 0x00007f6330d81290 in
qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=<optimized out>,
t=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:92
#12 setLocalData (t=0xbec3a0, this=<optimized out>) at
/usr/include/QtCore/qthreadstorage.h:155
#13 Soprano::Client::ClientConnection::socketForCurrentThread (this=0x87e750)
at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:95
#14 0x00007f6330d81309 in
Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized
out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:800
#15 0x00007f6330d808ca in Soprano::Client::LocalSocketClient::connect
(this=0x7f5218, name=...) at
/usr/src/debug/soprano-2.7.4/client/localsocketclient.cpp:141
#16 0x00007f633668fc21 in init (forced=true, this=0x7f51f0) at
/usr/src/debug/kdelibs-4.8.0/nepomuk/core/nepomukmainmodel.cpp:102
#17 Nepomuk::MainModel::init (this=0x7e3e60) at
/usr/src/debug/kdelibs-4.8.0/nepomuk/core/nepomukmainmodel.cpp:176
#18 0x00007f6336685859 in Nepomuk::ResourceManager::init (this=0x7f28e0) at
/usr/src/debug/kdelibs-4.8.0/nepomuk/core/resourcemanager.cpp:331
#19 0x00007f6336688b65 in
Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0x866fe0,
success=<optimized out>) at
/usr/src/debug/kdelibs-4.8.0/nepomuk/core/resourcemanager.cpp:221
#20 0x00007f6336688cbb in Nepomuk::ResourceManager::qt_metacall (this=0x7f28e0,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8314d8f0) at
/usr/src/debug/kdelibs-4.8.0/build/nepomuk/resourcemanager.moc:107
#21 0x00007f63355c4f6b in QDBusConnectionPrivate::deliverCall (this=0x6e8a80,
object=0x7f28e0, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:947
#22 0x00007f6336da5926 in QObject::event (this=0x7f28e0, e=<optimized out>) at
kernel/qobject.cpp:1204
#23 0x00007f6333892e84 in notify_helper (e=0x8aa8b0, receiver=0x7f28e0,
this=0x639ce0) at kernel/qapplication.cpp:4550
#24 QApplicationPrivate::notify_helper (this=0x639ce0, receiver=0x7f28e0,
e=0x8aa8b0) at kernel/qapplication.cpp:4522
#25 0x00007f6333897d03 in QApplication::notify (this=0x7fff8314e330,
receiver=0x7f28e0, e=0x8aa8b0) at kernel/qapplication.cpp:4411
#26 0x00007f633772d786 in KApplication::notify (this=0x7fff8314e330,
receiver=0x7f28e0, event=0x8aa8b0) at
/usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#27 0x00007f6336d8c89c in QCoreApplication::notifyInternal
(this=0x7fff8314e330, receiver=0x7f28e0, event=0x8aa8b0) at
kernel/qcoreapplication.cpp:876
#28 0x00007f6336d9013a in sendEvent (event=0x8aa8b0, receiver=0x7f28e0) at
kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x6187a0) at kernel/qcoreapplication.cpp:1500
#30 0x00007f6336dbb4c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:279
#32 0x00007f633100c58d in g_main_dispatch (context=0x63bce0) at gmain.c:2425
#33 g_main_context_dispatch (context=0x63bce0) at gmain.c:2995
#34 0x00007f633100cd88 in g_main_context_iterate (context=0x63bce0,
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#35 0x00007f633100cf59 in g_main_context_iteration (context=0x63bce0,
may_block=1) at gmain.c:3136
#36 0x00007f6336dbb8ef in QEventDispatcherGlib::processEvents (this=0x618060,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f63339362de in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f6336d8b682 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f6336d8b8d7 in QEventLoop::exec (this=0x7fff8314e2b0, flags=...) at
kernel/qeventloop.cpp:204
#40 0x00007f6336d90435 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#41 0x00007f6337177cb7 in Akonadi::ResourceBase::init (r=0x7d6e80) at
/usr/src/debug/kdepimlibs-4.8.0/akonadi/resourcebase.cpp:408
#42 0x000000000040b8d6 in Akonadi::ResourceBase::init<NepomukTagResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/akonadi/resourcebase.h:188
#43 0x00007f6335dab23d in __libc_start_main (main=0x406110 <main(int, char**)>,
argc=3, ubp_av=0x7fff8314e448, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff8314e438) at libc-start.c:226
#44 0x0000000000406141 in _start () at ../sysdeps/x86_64/elf/start.S:113

This bug may be a duplicate of or related to bug 294765.

Possible duplicates by query: bug 294765, bug 291935, bug 291753, bug 290260.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list