Bug 349680 - segfault when launched under gnome
Summary: segfault when launched under gnome
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-28 09:45 UTC by pcfe
Modified: 2015-07-28 10:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.90 KB, text/plain)
2015-07-06 15:07 UTC, pcfe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pcfe 2015-06-28 09:45:51 UTC
Application: kontact (4.14.9)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.0.5-300.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
- What I was doing when the application crashed:
I wanted to give gnome under F22 x86_64 a spin but use kdepim.
crashed upon launching.

- Custom settings of the application:
this is a gnome desktop, kdepim worked fine under KDE

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f40887c2900 (LWP 13047))]

Thread 4 (Thread 0x7f403aa24700 (LWP 13048)):
#0  0x0000003f8380c530 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f408d92bf61 in JSC::BlockAllocator::blockFreeingThreadMain() () at /lib64/libQtWebKit.so.4
#2  0x00007f408dc2a6d6 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQtWebKit.so.4
#3  0x0000003f83807555 in start_thread () at /lib64/libpthread.so.0
#4  0x0000003f82d01f3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f402f0a9700 (LWP 13053)):
#0  0x0000003f82cf22ed in read () at /lib64/libc.so.6
#1  0x00007f408b4c6f45 in  () at /usr/lib64/nvidia/tls/libnvidia-tls.so.346.72
#2  0x0000003f8488db00 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#3  0x0000003f848498b4 in g_main_context_check () at /lib64/libglib-2.0.so.0
#4  0x0000003f84849d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#5  0x0000003f84849ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#6  0x00000035ad9ba4ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#7  0x00000035ad988791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#8  0x00000035ad988b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#9  0x00000035ad878289 in QThread::exec() () at /lib64/libQtCore.so.4
#10 0x00000035ad968863 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#11 0x00000035ad87aaac in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#12 0x0000003f83807555 in start_thread () at /lib64/libpthread.so.0
#13 0x0000003f82d01f3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f402e8a8700 (LWP 13055)):
#0  0x0000003f82cf666d in poll () at /lib64/libc.so.6
#1  0x0000003f84849dbc in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x0000003f84849ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00000035ad9ba4ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x00000035ad988791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00000035ad988b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00000035ad878289 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x00000035ad87aaac in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#8  0x0000003f83807555 in start_thread () at /lib64/libpthread.so.0
#9  0x0000003f82d01f3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f40887c2900 (LWP 13047)):
[KCrash Handler]
#6  0x00007f407e9a6994 in Adwaita::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const () at /usr/lib64/qt4/plugins/styles/adwaita.so
#7  0x00000039e2cc3e7d in TodoCompleteDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () at /lib64/libeventviews.so.4
#8  0x00000035af53702f in QTreeView::indexRowSizeHint(QModelIndex const&) const () at /lib64/libQtGui.so.4
#9  0x00000035af53a664 in QTreeViewPrivate::itemHeight(int) const () at /lib64/libQtGui.so.4
#10 0x00000035af53b7e6 in QTreeViewPrivate::updateScrollBars() () at /lib64/libQtGui.so.4
#11 0x00000035af545351 in QTreeView::updateGeometries() () at /lib64/libQtGui.so.4
#12 0x00000035af4f4d6d in QAbstractItemView::doItemsLayout() () at /lib64/libQtGui.so.4
#13 0x00000035af543bb5 in QTreeView::doItemsLayout() () at /lib64/libQtGui.so.4
#14 0x00000035af4f8bdc in QAbstractItemView::timerEvent(QTimerEvent*) () at /lib64/libQtGui.so.4
#15 0x00000035af54406a in QTreeView::timerEvent(QTimerEvent*) () at /lib64/libQtGui.so.4
#16 0x00000035ad9a3d33 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#17 0x00000035af0187ac in QWidget::event(QEvent*) () at /lib64/libQtGui.so.4
#18 0x00000035af3dd6fe in QFrame::event(QEvent*) () at /lib64/libQtGui.so.4
#19 0x00000035af462f0b in QAbstractScrollArea::event(QEvent*) () at /lib64/libQtGui.so.4
#20 0x00000035af5028fb in QAbstractItemView::event(QEvent*) () at /lib64/libQtGui.so.4
#21 0x00000035aefc43ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#22 0x00000035aefcb206 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#23 0x00000035b145505a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#24 0x00000035ad989f1d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#25 0x00000035ad9bc9a0 in QTimerInfoList::activateTimers() () at /lib64/libQtCore.so.4
#26 0x00000035ad9b9b11 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#27 0x0000003f84849a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#28 0x0000003f84849e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#29 0x0000003f84849ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#30 0x00000035ad9ba4ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#31 0x00000035af06a626 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#32 0x00000035ad988791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#33 0x00000035ad988b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#34 0x00000035ad98e6a9 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#35 0x0000000000403787 in main ()

Reported using DrKonqi
Comment 1 pcfe 2015-07-06 15:07:05 UTC
Created attachment 93501 [details]
New crash information added by DrKonqi

kontact (4.14.9) on KDE Platform 4.14.9 using Qt 4.8.6

- What I was doing when the application crashed:

1. alt-F2
2. run the script ~/bin/startworking by typing 'startworking' into the alt-F2 launcher box

actual result:
other applications start fine but kontact segfaulted

expected result:
kontact works under gnome, like it dies under KDE

additional info:
if I run kontact from a shell while under gnome, I get;
pcfe@karhu ~ $ kontact &
[1] 4675
pcfe@karhu ~ $ loaded the Generic plugin 
kontact(4676)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions! 
kontact(4676)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "KOrganizer/Part"  not found 
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kontact' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
KCrash: Connect sock_file=/home/pcfe/.kde/socket-karhu.internal.pcfe.net/kdeinit4__0

-- Backtrace (Reduced):
#6  0x00007f536c244994 in Adwaita::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const () at /usr/lib64/qt4/plugins/styles/adwaita.so
#7  0x0000003bb40c3e7d in TodoCompleteDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const (this=0x1643350, option=..., index=...) at ../../calendarviews/todo/tododelegates.cpp:105
#8  0x00000035af53702f in QTreeView::indexRowSizeHint(QModelIndex const&) const () at /lib64/libQtGui.so.4
#9  0x00000035af53a664 in QTreeViewPrivate::itemHeight(int) const () at /lib64/libQtGui.so.4
#10 0x00000035af53b7e6 in QTreeViewPrivate::updateScrollBars() () at /lib64/libQtGui.so.4
Comment 2 Christoph Feck 2015-07-28 10:23:00 UTC
Crash is in Adwaita widget style. Please report to Adwaita developers.