[kontact] [Bug 337876] kontact immediately crashes (SIGSEGV) on startup

Pali Rohár pali.rohar at gmail.com
Sat Feb 28 13:18:41 GMT 2015


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

Thorsten Glaser <t.glaser at tarent.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://bugs.debian.org/cgi-
                   |                            |bin/bugreport.cgi?bug=75637
                   |                            |6

didi.debian at cknow.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |didi.debian at cknow.org

Pali Rohár <pali.rohar at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |montel at kde.org,
                   |                            |pali.rohar at gmail.com

--- Comment #2 from Thorsten Glaser <t.glaser at tarent.de> ---
Thanks, that helped (I’m on i386, but it’s apparently an mi bug).

I filed this as: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756376
Crossreferencing on both sides.

--- Comment #3 from Thorsten Glaser <t.glaser at tarent.de> ---
Thanks, that helped (I’m on i386, but it’s apparently an mi bug).

I filed this as: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756376
Crossreferencing on both sides.

Haha… submitting this, I get:

An unexpected error occurred. This could be a temporary problem, or some code
is behaving incorrectly. If this problem persists, please email this page to
sysadmin at kde.org with details of what you were doing at the time this message
appeared. 

URL: https://bugs.kde.org/process_bug.cgi

undef error - This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line
84. 
  Traceback:

--- Comment #4 from didi.debian at cknow.org ---
It looks like I got this issue too, but it looks like I got a better backtrace:

Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5ff18b2900 (LWP 1882))]

Thread 3 (Thread 0x7f5fd5131700 (LWP 1883)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5fec6767d2 in WTF::TCMalloc_PageHeap::scavengerThread
(this=<optimized out>) at wtf/FastMalloc.cpp:2499
#2  0x00007f5fec676809 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007f5fe952c0a4 in start_thread (arg=0x7f5fd5131700) at
pthread_create.c:309
#4  0x00007f5feedc704d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f5fd4820700 (LWP 1884)):
#0  0x00007f5fe908d62a in g_mutex_get_impl (mutex=0x7f5fd00009a0) at
/tmp/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:120
#1  0x00007f5fe908d9b9 in g_mutex_unlock (mutex=mutex at entry=0x7f5fd00009a0) at
/tmp/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:228
#2  0x00007f5fe904b680 in g_main_context_prepare
(context=context at entry=0x7f5fd00009a0, priority=priority at entry=0x7f5fd481fba8)
at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3350
#3  0x00007f5fe904bf03 in g_main_context_iterate
(context=context at entry=0x7f5fd00009a0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#4  0x00007f5fe904c0ec in g_main_context_iteration (context=0x7f5fd00009a0,
may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#5  0x00007f5fef53e017 in QEventDispatcherGlib::processEvents
(this=0x7f5fd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f5fef50f4f1 in QEventLoop::processEvents
(this=this at entry=0x7f5fd481fce0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5fef50f805 in QEventLoop::exec (this=this at entry=0x7f5fd481fce0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5fef40dc39 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#9  0x00007f5fef41039f in QThreadPrivate::start (arg=0x1353520) at
thread/qthread_unix.cpp:349
#10 0x00007f5fe952c0a4 in start_thread (arg=0x7f5fd4820700) at
pthread_create.c:309
#11 0x00007f5feedc704d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f5ff18b2900 (LWP 1882)):
[KCrash Handler]
#6  0x00007f5fef525b6b in QObject::connect (sender=0x7f5f8d3506f8 <vtable for
KMailPlugin+24>, signal=signal at entry=0x7f5ff14e0a6e "2destroyed()",
receiver=receiver at entry=0x16b2d50, method=method at entry=0x7f5ff14e0a5d
"1partDestroyed()", type=type at entry=Qt::AutoConnection) at
kernel/qobject.cpp:2574
#7  0x00007f5ff14de3f9 in connect (atype=Qt::AutoConnection,
amember=0x7f5ff14e0a5d "1partDestroyed()", asignal=0x7f5ff14e0a6e
"2destroyed()", asender=<optimized out>, this=0x16b2d50) at
/usr/include/qt4/QtCore/qobject.h:339
#8  KontactInterface::Plugin::part (this=0x16b2d50) at
../../kontactinterface/plugin.cpp:195
#9  0x00007f5ff10a5a81 in Kontact::MainWindow::selectPlugin (this=0x148a900,
plugin=0x16b2d50) at ../../../kontact/src/mainwindow.cpp:815
#10 0x00007f5ff10a36ec in Kontact::MainWindow::loadSettings
(this=this at entry=0x148a900) at ../../../kontact/src/mainwindow.cpp:984
#11 0x00007f5ff10a8d52 in Kontact::MainWindow::initObject
(this=this at entry=0x148a900) at ../../../kontact/src/mainwindow.cpp:247
#12 0x00007f5ff10a9458 in Kontact::MainWindow::MainWindow (this=0x148a900,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../kontact/src/mainwindow.cpp:154
#13 0x0000000000404084 in KontactApp::newInstance (this=0x7fff797985e0) at
../../../kontact/src/main.cpp:135
#14 0x00007f5ff0c5887a in KUniqueApplicationAdaptor::newInstance
(this=0x14e62b0, asn_id=..., args=...) at
../../kdeui/kernel/kuniqueapplication.cpp:442
#15 0x00007f5ff0c58915 in KUniqueApplicationAdaptor::qt_static_metacall
(_o=_o at entry=0x14e62b0, _id=_id at entry=0, _a=_a at entry=0x7fff79797c90,
_c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#16 0x00007f5ff0c58b23 in qt_static_metacall (_a=0x7fff79797c90, _id=0,
_c=QMetaObject::InvokeMetaMethod, _o=0x14e62b0) at
./kuniqueapplication_p.moc:100
#17 KUniqueApplicationAdaptor::qt_metacall (this=0x14e62b0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff79797c90) at
./kuniqueapplication_p.moc:101
#18 0x00007f5fee11ebf6 in QDBusConnectionPrivate::deliverCall
(this=this at entry=0x1331180, object=object at entry=0x14e62b0, msg=...,
metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#19 0x00007f5fee11fd29 in QDBusConnectionPrivate::activateCall
(this=this at entry=0x1331180, object=0x14e62b0, flags=flags at entry=337, msg=...)
at qdbusintegrator.cpp:856
#20 0x00007f5fee120798 in QDBusConnectionPrivate::activateObject
(this=0x1331180, node=..., msg=..., pathStartPos=<optimized out>) at
qdbusintegrator.cpp:1427
#21 0x00007f5fee12091b in QDBusActivateObjectEvent::placeMetaCall
(this=0x14f3580) at qdbusintegrator.cpp:1541
#22 0x00007f5fef528f41 in QObject::event (this=this at entry=0x7fff797985e0,
e=e at entry=0x14f3580) at kernel/qobject.cpp:1222
#23 0x00007f5fef514ebc in QCoreApplication::event
(this=this at entry=0x7fff797985e0, e=e at entry=0x14f3580) at
kernel/qcoreapplication.cpp:1765
#24 0x00007f5feff21cf3 in QApplication::event (this=0x7fff797985e0,
e=0x14f3580) at kernel/qapplication.cpp:2549
#25 0x00007f5feff1cc0c in QApplicationPrivate::notify_helper
(this=this at entry=0x13503e0, receiver=receiver at entry=0x7fff797985e0,
e=e at entry=0x14f3580) at kernel/qapplication.cpp:4570
#26 0x00007f5feff23360 in QApplication::notify (this=this at entry=0x7fff797985e0,
receiver=receiver at entry=0x7fff797985e0, e=e at entry=0x14f3580) at
kernel/qapplication.cpp:4356
#27 0x00007f5ff0c5179a in KApplication::notify (this=0x7fff797985e0,
receiver=0x7fff797985e0, event=0x14f3580) at
../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f5fef51086d in QCoreApplication::notifyInternal
(this=0x7fff797985e0, receiver=receiver at entry=0x7fff797985e0,
event=event at entry=0x14f3580) at kernel/qcoreapplication.cpp:953
#29 0x00007f5fef513f41 in sendEvent (event=0x14f3580, receiver=0x7fff797985e0)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x130f1d0) at
kernel/qcoreapplication.cpp:1577
#31 0x00007f5fef5143d3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1470
#32 0x00007f5fef53deb3 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x1340a60) at
kernel/qeventdispatcher_glib.cpp:280
#34 0x00007f5fe904be04 in g_main_dispatch (context=0x1350780) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#35 g_main_context_dispatch (context=context at entry=0x1350780) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#36 0x00007f5fe904c048 in g_main_context_iterate
(context=context at entry=0x1350780, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#37 0x00007f5fe904c0ec in g_main_context_iteration (context=0x1350780,
may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#38 0x00007f5fef53dffd in QEventDispatcherGlib::processEvents (this=0x13106b0,
flags=...) at kernel/qeventdispatcher_glib.cpp:425
#39 0x00007f5feffbc2c6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f5fef50f4f1 in QEventLoop::processEvents
(this=this at entry=0x7fff797984f0, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f5fef50f805 in QEventLoop::exec (this=this at entry=0x7fff797984f0,
flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f5fef514f67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#43 0x00007f5feff1b1fc in QApplication::exec () at kernel/qapplication.cpp:3828
#44 0x0000000000403660 in main (argc=1, argv=0x7fff79798728) at
../../../kontact/src/main.cpp:219

--- Comment #5 from didi.debian at cknow.org ---
Tried to report it with KDE's bug reporting assistant (BRA), but got an error.
Anyway, this was the additional info the BRA provided (backtrace was the same
as already reported by me):

Application: kontact (4.12.4)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.14-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Tried to start Kontact and it crashed immediately.
Sune on #debian-kde asked whether it was the same report as this one and it
surely looks like it. Already posted the backtrace, but now doing it again with
KDE's Crash Reporting Assistant since it may provide some more info.
Starting KMail standalone worked, as in it didn't crash immediately. Haven't
really used it though as in sending a mail or sth like that.

The crash can be reproduced every time.

--- Comment #6 from didi.debian at cknow.org ---
downgrading libkontactinterface4 to 4.12.4-1 fixed the issue for me too.

Got the same issue on this bug tracker as in comment#3 LOL

--- Comment #7 from didi.debian at cknow.org ---
Apparently the bug was introduced in commit
9122c2841ea25abd598308f6b8c3c303e6f74570

--- Comment #8 from Pali Rohár <pali.rohar at gmail.com> ---
Looks like commit 9122c2841ea25abd598308f6b8c3c303e6f74570 should be reason for
crash. It adds new virtual function which modify virtual table for all objects.
So it changes ABI of KontactInterface::Plugin class.

I can confirm this crash. When I use kontact from kdepim KDE4.4 compiled
against kdepimlibs KDE4.4 and upgraded kdepimlibs to KDE4.14, then I see same
crash.

I think that kdepimlibs should be backward compatible and should not change ABI
without increasing MAJOR version.

Commit 9122c2841ea25abd598308f6b8c3c303e6f74570 increased just PATH version,
which broke ABI compatibility...

CCing Montel Laurent who is author of that problematic commit. Can you comment
to this bug?

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


More information about the Kdepim-bugs mailing list