Bug 317985 - Braindump crash at startup
Summary: Braindump crash at startup
Status: RESOLVED WORKSFORME
Alias: None
Product: braindump
Classification: Applications
Component: application (show other bugs)
Version: 0.10.9
Platform: Compiled Sources All
: NOR crash
Target Milestone: ---
Assignee: Cyrille Berger
URL:
Keywords:
: 323247 325191 332217 333282 335553 336627 336649 342993 345899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-07 18:39 UTC by Andrius
Modified: 2021-01-06 04:34 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.12 KB, text/plain)
2013-08-25 18:00 UTC, Harald Schumacher
Details
New crash information added by DrKonqi (5.37 KB, text/plain)
2013-10-31 00:49 UTC, abulak
Details
the output of the "valgrind braindump --nofork" command (16.55 KB, text/plain)
2013-11-05 10:07 UTC, abulak
Details
some debugging with gdb (19.30 KB, text/plain)
2014-09-25 08:43 UTC, Jose P.
Details
New crash information added by DrKonqi (8.24 KB, text/plain)
2015-01-05 14:00 UTC, RJVB
Details
New crash information added by DrKonqi (9.48 KB, text/plain)
2015-03-12 17:28 UTC, Peter Snow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2013-04-07 18:39:12 UTC
Application: braindump (0.10.9)
KDE Platform Version: 4.10.2 (Compiled from sources)
Qt Version: 4.8.2
Operating System: WindowsNT Windows 7 i686

-- Information about the crash:
Braindump crashed at startup, it seems to be accessing a null pointer, attached backtrace.

The crash can be reproduced every time.

-- Backtrace:
Application: Braindump (braindump.exe), signal: EXCEPTION_ACCESS_VIOLATION


[unknown]![unknown]() [[unknown] @ -1] at 0x0
kowidgets.dll!KoResourceModel::rowCount() [t:\svn-src\calligra\libs\widgets\koresourcemodel.cpp @ 42] at 0x678dcbb6
QtGui4.dll!QHeaderView::initializeSections() [t:\svn-src\qt-4.8.2\src\gui\itemviews\qheaderview.cpp @ 1894] at 0x5afa2caa
QtGui4.dll!QHeaderView::doItemsLayout() [t:\svn-src\qt-4.8.2\src\gui\itemviews\qheaderview.cpp @ 1465] at 0x5afa12c8
QtGui4.dll!QTableView::updateGeometries() [t:\svn-src\qt-4.8.2\src\gui\itemviews\qtableview.cpp @ 2105] at 0x5afbe7bd
QtCore4.dll!QMetaObject::activate() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qobject.cpp @ 3549] at 0x5eeb2767
QtGui4.dll!QHeaderView::viewportEvent() [t:\svn-src\qt-4.8.2\src\gui\itemviews\qheaderview.cpp @ 2421] at 0x5afa4770
QtGui4.dll!QAbstractScrollAreaFilter::eventFilter() [t:\svn-src\qt-4.8.2\src\gui\widgets\qabstractscrollarea_p.h @ 116] at 0x5af1add1
QtCore4.dll!QCoreApplicationPrivate::sendThroughObjectEventFilters() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 1025] at 0x5ee9e057
QtGui4.dll!QApplicationPrivate::notify_helper() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 4547] at 0x5ab8079f
QtGui4.dll!QApplication::notify() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 4516] at 0x5ab80097
kdeui.dll!KApplication::notify() [t:\svn-src\kdelibs\kdeui\kernel\kapplication.cpp @ 312] at 0x61448590
QtCore4.dll!QCoreApplication::notifyInternal() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 928] at 0x5ee9debd
QtCore4.dll!QCoreApplication::sendEvent() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.h @ 231] at 0x5eea1706
QtGui4.dll!QWidgetPrivate::updateFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4974] at 0x5abbf33c
QtGui4.dll!QWidgetPrivate::resolveFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4907] at 0x5abbf06e
QtGui4.dll!QWidgetPrivate::updateFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4946] at 0x5abbf2f7
QtGui4.dll!QWidgetPrivate::resolveFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4907] at 0x5abbf06e
QtGui4.dll!QWidgetPrivate::updateFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4946] at 0x5abbf2f7
QtGui4.dll!QWidgetPrivate::resolveFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4907] at 0x5abbf06e
QtGui4.dll!QWidgetPrivate::updateFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4946] at 0x5abbf2f7
QtGui4.dll!QWidgetPrivate::resolveFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4907] at 0x5abbf06e
QtGui4.dll!QWidgetPrivate::updateFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4946] at 0x5abbf2f7
QtGui4.dll!QWidgetPrivate::resolveFont() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 4907] at 0x5abbf06e
QtGui4.dll!QWidget::setParent() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 10239] at 0x5abc843b
QtGui4.dll!QWidget::setWindowFlags() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 10077] at 0x5abc804d
oxygen.dll!qt_plugin_instance() [[unknown] @ -1] at 0x5ed14c66
QtGui4.dll!QWidget::event() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 8458] at 0x5abc632a
QtGui4.dll!QMenu::event() [t:\svn-src\qt-4.8.2\src\gui\widgets\qmenu.cpp @ 2470] at 0x5aee2057
QtGui4.dll!QApplicationPrivate::notify_helper() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 4552] at 0x5ab807ad
QtGui4.dll!QApplication::notify() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 4516] at 0x5ab80097
kdeui.dll!KApplication::notify() [t:\svn-src\kdelibs\kdeui\kernel\kapplication.cpp @ 312] at 0x61448590
QtCore4.dll!QCoreApplication::notifyInternal() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 928] at 0x5ee9debd
QtCore4.dll!QCoreApplication::sendEvent() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.h @ 231] at 0x5eea1706
QtGui4.dll!QWidget::ensurePolished() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 9711] at 0x5abc7772
QtGui4.dll!QWidget::event() [t:\svn-src\qt-4.8.2\src\gui\kernel\qwidget.cpp @ 8832] at 0x5abc62ff
QtGui4.dll!QMenu::event() [t:\svn-src\qt-4.8.2\src\gui\widgets\qmenu.cpp @ 2470] at 0x5aee2057
QtGui4.dll!QApplicationPrivate::notify_helper() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 4552] at 0x5ab807ad
QtGui4.dll!QApplication::notify() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 4516] at 0x5ab80097
kdeui.dll!KApplication::notify() [t:\svn-src\kdelibs\kdeui\kernel\kapplication.cpp @ 312] at 0x61448590
QtCore4.dll!QCoreApplication::notifyInternal() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 928] at 0x5ee9debd
QtCore4.dll!QCoreApplication::sendEvent() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.h @ 231] at 0x5eea1706
QtCore4.dll!QCoreApplicationPrivate::sendPostedEvents() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 1555] at 0x5ee9e83e
QtCore4.dll!qt_internal_proc() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qeventdispatcher_win.cpp @ 496] at 0x5eec3e79
USER32.dll!gapfnScSendMessage() [[unknown] @ -1] at 0x772062fa
USER32.dll!GetThreadDesktop() [[unknown] @ -1] at 0x77206d3a
USER32.dll!CharPrevW() [[unknown] @ -1] at 0x772077c4
USER32.dll!DispatchMessageW() [[unknown] @ -1] at 0x7720788a
QtCore4.dll!QEventDispatcherWin32::processEvents() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qeventdispatcher_win.cpp @ 810] at 0x5eec4e29
QtGui4.dll!QGuiEventDispatcherWin32::processEvents() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication_win.cpp @ 1202] at 0x5abda5df
QtCore4.dll!QEventLoop::exec() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qeventloop.cpp @ 204] at 0x5ee9c4b9
QtCore4.dll!QCoreApplication::exec() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 1187] at 0x5ee9e2cc
braindump.exe!main() [t:\svn-src\calligra\braindump\src\main.cpp @ 52] at 0x151ae8
braindump.exe!WinMain() [t:\svn-src\qt-4.8.2\src\winmain\qtmain_win.cpp @ 135] at 0x151125
braindump.exe!__tmainCRTStartup() [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 547] at 0x171a14
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


ntdll.dll!ZwWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77bd1f26
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


ntdll.dll!ZwDelayExecution() [[unknown] @ -1] at 0x77bcfd71
KERNELBASE.dll!Sleep() [[unknown] @ -1] at 0x757a4498
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x7599d98d
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x7599d87a
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


ntdll.dll!NtRemoveIoCompletion() [[unknown] @ -1] at 0x77bcf939
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


QtCore4.dll!QCoreApplication::compressEvent() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 1379] at 0x5ee9e5c0
QtGui4.dll!QApplication::compressEvent() [t:\svn-src\qt-4.8.2\src\gui\kernel\qapplication.cpp @ 1328] at 0x5ab7a357
QtCore4.dll!QCoreApplication::postEvent() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qcoreapplication.cpp @ 1340] at 0x5ee9e4bf
QtCore4.dll!qt_fast_timer_proc() [t:\svn-src\qt-4.8.2\src\corelib\kernel\qeventdispatcher_win.cpp @ 427] at 0x5eec3c97
WINMM.dll!DriverCallback() [[unknown] @ -1] at 0x74493af0
WINMM.dll!timeEndPeriod() [[unknown] @ -1] at 0x7449a535
WINMM.dll!timeEndPeriod() [[unknown] @ -1] at 0x7449a434
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


ntdll.dll!ZwWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77bd1f26
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


ntdll.dll!ZwWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77bd1f26
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x77bd013d
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x760d33aa
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ef2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77be9ec5

Reported using DrKonqi
Comment 1 Cyrille Berger 2013-04-08 08:31:14 UTC
Thank you for the report, unfortunately, braindump is only supported on Linux and
Comment 2 Andrius 2013-04-08 19:25:11 UTC
It doesn't seem to be anything non-portable, so please let me reopen this, so I can keep track of it and investigate further. If it is actually something really not portable then the CMake file should be fixed to reflect this by preventing windows build [IF (NOT WIN32)].
Comment 3 Jekyll Wu 2013-04-09 02:34:21 UTC
(In reply to comment #2)
> It doesn't seem to be anything non-portable, so please let me reopen this,
> so I can keep track of it and investigate further. If it is actually
> something really not portable then the CMake file should be fixed to reflect
> this by preventing windows build [IF (NOT WIN32)].

That has been disabled .

commit 7813e27c4fd0c6dc4c47137a6f05fde579900cd9
Author: Boudewijn Rempt <boud@valdyas.org>
Date:   18 hours ago

    Don't build braindump on Windows, it is unmaintained on that platform
---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6aa0eb6..ff832cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,6 +64,9 @@ option(CREATIVEONLY "compile only Karbon and Krita" OFF)
 #
 #eg:
 #option(BUILD_kexi "Build directory kexi" OFF) # kexi isn't buildable at the moment
+if(WIN32)
+    option(BUILD_braindump "Build directory braindump" OFF) # braindump is unmaintained on Windows.
+endif()
Comment 4 Cyrille Berger 2013-04-09 06:40:57 UTC
Andrius, well I can't reproduce on linux. It doesn't really show anything related to braindump code either. However, feel free to reopen, if either:
1) you can reproduce on linux
2) you are willing to investigate the matter on windows, in which case I will ask you to assign yourself to the bug

As for braindump to be re-enabled on windows, the requirement is to have a developer willing to maintain braindump on windows, meaning fixing bugs that only happen on windows.

Back to this bug, it crashes at koresourcemodel.cpp:42 : "int resourceCount = m_resourceAdapter->resources().count();" and m_resourceAdapter is not supposed to be null. There is actually an assert on line 30 of that file, in the constructor that check that. Since that assert is not triggered, it can mean that you have not build calligra/braindump with asserts, which I would recommend that you do, since it will pinpoint where exactly is the problem.
Comment 5 Cyrille Berger 2013-08-11 07:55:19 UTC
*** Bug 323247 has been marked as a duplicate of this bug. ***
Comment 6 Cyrille Berger 2013-08-11 08:04:04 UTC
Sounds like other got the crash on linux as well, still can't reproduce though.
Comment 7 Harald Schumacher 2013-08-25 18:00:07 UTC
Created attachment 81924 [details]
New crash information added by DrKonqi

braindump (0.10.9) on KDE Platform 4.10.5 "release 1" using Qt 4.8.4

- What I was doing when the application crashed:
After a plain new installation on Opensuse 12.3 opening braindump crashes with an access violation.

-- Backtrace (Reduced):
#6  0x00007f1e4458a566 in KoResourceModel::rowCount (this=0x47d26d0) at /usr/src/debug/calligra-2.7.1/libs/widgets/KoResourceModel.cpp:42
#7  0x00007f1e4304649e in QHeaderView::initializeSections() () from /usr/lib64/libQtGui.so.4
#8  0x00007f1e430465c9 in QHeaderView::doItemsLayout() () from /usr/lib64/libQtGui.so.4
#9  0x00007f1e4304628c in QHeaderView::length() const () from /usr/lib64/libQtGui.so.4
#10 0x00007f1e4305ef6a in QTableView::updateGeometries() () from /usr/lib64/libQtGui.so.4
Comment 8 Christoph Feck 2013-10-12 20:10:49 UTC
*** Bug 325191 has been marked as a duplicate of this bug. ***
Comment 9 abulak 2013-10-31 00:49:47 UTC
Created attachment 83243 [details]
New crash information added by DrKonqi

braindump (0.10.9) on KDE Platform 4.11.2 using Qt 4.8.5

- What I was doing when the application crashed:
Basically exactly the same crash as already reported.
I guess that Braindump has no maintainer at the moment?

-- Backtrace (Reduced):
#6  0x00007f972850d6a6 in KoResourceModel::rowCount (this=0x38cccc0) at /var/tmp/portage/app-office/calligra-2.7.4/work/calligra-2.7.4/libs/widgets/KoResourceModel.cpp:42
#7  0x00007f97275112fe in QHeaderView::initializeSections() () from /usr/lib64/qt4/libQtGui.so.4
#8  0x00007f9727516c09 in QHeaderView::doItemsLayout() () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f97275110ec in QHeaderView::length() const () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f9727536d0a in QTableView::updateGeometries() () from /usr/lib64/qt4/libQtGui.so.4
Comment 10 Cyrille Berger 2013-11-01 10:54:55 UTC
It has a maintener, what is lackingis a developer that can reproduce. Unfortunately, I have not been able to reproduce the crash. And I have been looking at the code, and it seems from the backtrace that there is a null pointer, but in the code that pointer is always initialised. So unfortunately, until I can reproduce, I can't fix the bug.
Comment 11 abulak 2013-11-03 20:28:31 UTC
I'd be glad to supply any details You need.

This is gentoo (mostly) stable, 

qt-4.8.5, 
kde-11.2
calligra-2.7.4
(I compiled only Krita and braindump out of whole suite)
Comment 12 Cyrille Berger 2013-11-04 13:57:04 UTC
Thanks. What could help is if someone had the opportunity to run it through valgrind and then post the log: "valgrind braindump --nofork"
Comment 13 abulak 2013-11-05 10:07:37 UTC
Created attachment 83348 [details]
the output of the "valgrind braindump --nofork" command
Comment 14 Cyrille Berger 2013-11-23 10:24:07 UTC
I try to install braindump in a virtual machine with a fresh opensue 13.1, and I still could not reproduce.
Comment 15 Andrius 2014-01-24 18:09:39 UTC
by debugging further with the pointer addresses I see that it's not a null pointer but a deleted pointer (to a KoResourceServerAdapter<KoAbstractGradient>) instead, that was deleted from a parent QObject dtor (QObjectPrivate::deleteChildren) ... 

I'm still trying to see if I find out anything else ...
Comment 16 Christoph Feck 2014-03-16 18:20:31 UTC
*** Bug 332217 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2014-05-29 23:15:57 UTC
*** Bug 335553 has been marked as a duplicate of this bug. ***
Comment 18 Cyrille Berger 2014-06-18 12:25:59 UTC
*** Bug 333282 has been marked as a duplicate of this bug. ***
Comment 19 Christoph Feck 2014-06-23 19:17:47 UTC
*** Bug 336627 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Feck 2014-06-24 09:36:49 UTC
*** Bug 336649 has been marked as a duplicate of this bug. ***
Comment 21 Jose P. 2014-09-22 21:16:58 UTC
Application: braindump (0.10.9)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.17.0-031700rc6-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
Crash at startup, command line:  braindump --nofork
I'm using Kubuntu 14.04 with trusty-proposed repos

The crash can be reproduced every time.

-- Backtrace:
Application: Braindump (braindump), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7c72b587c0 (LWP 22102))]

Thread 2 (Thread 0x7f7c4ea71700 (LWP 22110)):
#0  0x00007fffe93fecd6 in ?? ()
#1  0x00007f7c6f998920 in ?? () at kernel/qeventdispatcher_glib.cpp:591 from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f7c6f85f244 in qWarning (msg=<optimized out>) at global/qglobal.cpp:2511
#3  0x00007f7c6a8ca68d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7c6a8caf03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7c6a8cb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7c6f9987be in QEventDispatcherGlib::processEvents (this=0x7f7c481f7af0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f7c6f96a0af in QEventLoop::processEvents (this=this@entry=0x7f7c4ea70de0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7c6f96a3a5 in QEventLoop::exec (this=this@entry=0x7f7c4ea70de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7c6f866c5f in QThread::exec (this=this@entry=0x24b9de0) at thread/qthread.cpp:537
#10 0x00007f7c6f94b823 in QInotifyFileSystemWatcherEngine::run (this=0x24b9de0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f7c6f86932f in QThreadPrivate::start (arg=0x24b9de0) at thread/qthread_unix.cpp:349
#12 0x00007f7c6adaa182 in start_thread (arg=0x7f7c4ea71700) at pthread_create.c:312
#13 0x00007f7c6f21efbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f7c72b587c0 (LWP 22102)):
[KCrash Handler]
#6  0x0000000003049040 in ?? ()
#7  0x00007f7c71daf768 in KoResourceModel::rowCount (this=0x3ed0030) at /build/buildd/calligra-2.8.1-1/libs/widgets/KoResourceModel.cpp:49
#8  0x00007f7c70868119 in modelSectionCount (this=0x3ec4f40) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:216
#9  QHeaderView::initializeSections (this=this@entry=0x3ec4f10) at itemviews/qheaderview.cpp:1903
#10 0x00007f7c7086bc89 in QHeaderView::doItemsLayout (this=0x3ec4f10) at itemviews/qheaderview.cpp:1473
#11 0x00007f7c70867dfc in executePostedLayout (this=0x3ec4f40) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#12 QHeaderView::length (this=<optimized out>) at itemviews/qheaderview.cpp:512
#13 0x00007f7c7088ccbb in QTableView::updateGeometries (this=0x3ec0ab0) at itemviews/qtableview.cpp:2077
#14 0x00007f7c6f97f87a in QMetaObject::activate (sender=sender@entry=0x3ec91c0, m=m@entry=0x7f7c70e23aa0 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#15 0x00007f7c70862393 in QHeaderView::geometriesChanged (this=this@entry=0x3ec91c0) at .moc/release-shared/moc_qheaderview.cpp:287
#16 0x00007f7c7086c2a5 in QHeaderView::viewportEvent (this=0x3ec91c0, e=0x7fffe9322670) at itemviews/qheaderview.cpp:2430
#17 0x00007f7c6f96b646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x239b060, receiver=receiver@entry=0x3ec6220, event=event@entry=0x7fffe9322670) at kernel/qcoreapplication.cpp:1063
#18 0x00007f7c7035de0c in QApplicationPrivate::notify_helper (this=this@entry=0x239b060, receiver=receiver@entry=0x3ec6220, e=e@entry=0x7fffe9322670) at kernel/qapplication.cpp:4563
#19 0x00007f7c703644a0 in QApplication::notify (this=this@entry=0x7fffe9323580, receiver=receiver@entry=0x3ec6220, e=e@entry=0x7fffe9322670) at kernel/qapplication.cpp:4353
#20 0x00007f7c72580d1a in KApplication::notify (this=0x7fffe9323580, receiver=0x3ec6220, event=0x7fffe9322670) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f7c6f96b4dd in QCoreApplication::notifyInternal (this=0x7fffe9323580, receiver=receiver@entry=0x3ec6220, event=event@entry=0x7fffe9322670) at kernel/qcoreapplication.cpp:953
#22 0x00007f7c703a2ed9 in sendEvent (event=0x7fffe9322670, receiver=0x3ec6220) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QWidgetPrivate::updateFont (this=this@entry=0x3ec9b50, font=...) at kernel/qwidget.cpp:4974
#24 0x00007f7c703a3021 in setFont_helper (font=..., this=0x3ec9b50) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:436
#25 QWidgetPrivate::resolveFont (this=0x3ec9b50) at kernel/qwidget.cpp:4908
#26 0x00007f7c703a2e75 in QWidgetPrivate::updateFont (this=this@entry=0x3ec96c0, font=...) at kernel/qwidget.cpp:4962
#27 0x00007f7c703a3021 in setFont_helper (font=..., this=0x3ec96c0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:436
#28 QWidgetPrivate::resolveFont (this=0x3ec96c0) at kernel/qwidget.cpp:4908
#29 0x00007f7c703a2e75 in QWidgetPrivate::updateFont (this=this@entry=0x3ec0b20, font=...) at kernel/qwidget.cpp:4962
#30 0x00007f7c703a3021 in setFont_helper (font=..., this=0x3ec0b20) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:436
#31 QWidgetPrivate::resolveFont (this=0x3ec0b20) at kernel/qwidget.cpp:4908
#32 0x00007f7c703a2e75 in QWidgetPrivate::updateFont (this=this@entry=0x3ec06c0, font=...) at kernel/qwidget.cpp:4962
#33 0x00007f7c703a3021 in setFont_helper (font=..., this=0x3ec06c0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:436
#34 QWidgetPrivate::resolveFont (this=0x3ec06c0) at kernel/qwidget.cpp:4908
#35 0x00007f7c703a2e75 in QWidgetPrivate::updateFont (this=this@entry=0x3ec00e0, font=...) at kernel/qwidget.cpp:4962
#36 0x00007f7c703a3021 in setFont_helper (font=..., this=0x3ec00e0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:436
#37 QWidgetPrivate::resolveFont (this=this@entry=0x3ec00e0) at kernel/qwidget.cpp:4908
#38 0x00007f7c703ad7e4 in QWidget::event (this=this@entry=0x3ec0540, event=event@entry=0x7fffe9322e70) at kernel/qwidget.cpp:8476
#39 0x00007f7c7078f7bb in QMenu::event (this=0x3ec0540, e=0x7fffe9322e70) at widgets/qmenu.cpp:2481
#40 0x00007f7c7035de2c in QApplicationPrivate::notify_helper (this=this@entry=0x239b060, receiver=receiver@entry=0x3ec0540, e=e@entry=0x7fffe9322e70) at kernel/qapplication.cpp:4567
#41 0x00007f7c703644a0 in QApplication::notify (this=this@entry=0x7fffe9323580, receiver=receiver@entry=0x3ec0540, e=e@entry=0x7fffe9322e70) at kernel/qapplication.cpp:4353
#42 0x00007f7c72580d1a in KApplication::notify (this=0x7fffe9323580, receiver=0x3ec0540, event=0x7fffe9322e70) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007f7c6f96b4dd in QCoreApplication::notifyInternal (this=0x7fffe9323580, receiver=receiver@entry=0x3ec0540, event=event@entry=0x7fffe9322e70) at kernel/qcoreapplication.cpp:953
#44 0x00007f7c703aa24f in sendEvent (event=0x7fffe9322e70, receiver=0x3ec0540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QWidget::ensurePolished (this=this@entry=0x3ec0540) at kernel/qwidget.cpp:9726
#46 0x00007f7c703ad241 in QWidget::event (this=this@entry=0x3ec0540, event=event@entry=0x3ec03e0) at kernel/qwidget.cpp:8469
#47 0x00007f7c7078f7bb in QMenu::event (this=0x3ec0540, e=0x3ec03e0) at widgets/qmenu.cpp:2481
#48 0x00007f7c7035de2c in QApplicationPrivate::notify_helper (this=this@entry=0x239b060, receiver=receiver@entry=0x3ec0540, e=e@entry=0x3ec03e0) at kernel/qapplication.cpp:4567
#49 0x00007f7c703644a0 in QApplication::notify (this=this@entry=0x7fffe9323580, receiver=receiver@entry=0x3ec0540, e=e@entry=0x3ec03e0) at kernel/qapplication.cpp:4353
#50 0x00007f7c72580d1a in KApplication::notify (this=0x7fffe9323580, receiver=0x3ec0540, event=0x3ec03e0) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f7c6f96b4dd in QCoreApplication::notifyInternal (this=0x7fffe9323580, receiver=receiver@entry=0x3ec0540, event=event@entry=0x3ec03e0) at kernel/qcoreapplication.cpp:953
#52 0x00007f7c6f96eb3d in sendEvent (event=0x3ec03e0, receiver=0x3ec0540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2319020) at kernel/qcoreapplication.cpp:1577
#54 0x00007f7c6f96efe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#55 0x00007f7c6f998f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x2396120) at kernel/qeventdispatcher_glib.cpp:287
#57 0x00007f7c6a8cae04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f7c6a8cb048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f7c6a8cb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f7c6f9987a1 in QEventDispatcherGlib::processEvents (this=0x231a9a0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#61 0x00007f7c703ffbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f7c6f96a0af in QEventLoop::processEvents (this=this@entry=0x7fffe9323530, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f7c6f96a3a5 in QEventLoop::exec (this=this@entry=0x7fffe9323530, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f7c6f96fb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#65 0x00007f7c7035c37c in QApplication::exec () at kernel/qapplication.cpp:3828
#66 0x00000000004138ad in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/calligra-2.8.1-1/braindump/src/main.cpp:49

Possible duplicates by query: bug 336649, bug 336627, bug 335553, bug 333282, bug 325191.


(Report entered manually... for some reason, drkonqi didn't log again into bugzilla, and there is no button to do it again at the "send report" stage)
Comment 22 Jose P. 2014-09-22 21:37:28 UTC
valgrind output (drkonqi crashes too...)


$ valgrind braindump --nofork       
==23319== Memcheck, a memory error detector
==23319== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==23319== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==23319== Command: braindump --nofork
==23319== 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
braindump(23319) View::initGUI: Creating docker:  "ShapeCollectionDocker"
braindump(23319) View::initGUI: Creating docker:  "Shape Properties"
braindump(23319) View::initGUI: Creating docker:  "SnapGuide Properties"
braindump(23319) SpaceNavigatorDevice::start: starting spacenavigator device...
connect failed: No existe el archivo o el directorio [ = "No such file or directory"]
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
braindump(23319) HSpellDict::HSpellDict: HSpellDict::HSpellDict: Init failed
braindump(23319)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
braindump(23319)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
==23319== Invalid read of size 8
==23319==    at 0x586D765: KoResourceModel::rowCount(QModelIndex const&) const (in /usr/lib/libkowidgets.so.13.0.0)
==23319==    by 0x706A118: QHeaderView::initializeSections() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x706DC88: QHeaderView::doItemsLayout() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7069DFB: QHeaderView::length() const (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x708ECBA: QTableView::updateGeometries() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7C9B879: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x706E2A4: QHeaderView::viewportEvent(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7C87645: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x6B5FE0B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x6B6649F: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x5058D19: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==23319==    by 0x7C874DC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==  Address 0x68 is not stack'd, malloc'd or (recently) free'd
==23319== 
KCrash: Application 'braindump' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
==23319== Invalid read of size 4
==23319==    at 0x50B3FE0: startFromKdeinit(int, char const**) (kcrash.cpp:815)
==23319==    by 0x50B48B5: KCrash::startProcess(int, char const**, bool) (kcrash.cpp:571)
==23319==    by 0x50B53B0: KCrash::defaultCrashHandler(int) (kcrash.cpp:468)
==23319==    by 0x8329C2F: ??? (in /lib/x86_64-linux-gnu/libc-2.19.so)
==23319==    by 0x586D764: KoResourceModel::rowCount(QModelIndex const&) const (in /usr/lib/libkowidgets.so.13.0.0)
==23319==    by 0x706A118: QHeaderView::initializeSections() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x706DC88: QHeaderView::doItemsLayout() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7069DFB: QHeaderView::length() const (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x708ECBA: QTableView::updateGeometries() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7C9B879: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x706E2A4: QHeaderView::viewportEvent(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7C87645: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==  Address 0x128e7500 is 0 bytes inside a block of size 3 alloc'd
==23319==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23319==    by 0x50B3F40: startFromKdeinit(int, char const**) (kcrash.cpp:694)
==23319==    by 0x50B48B5: KCrash::startProcess(int, char const**, bool) (kcrash.cpp:571)
==23319==    by 0x50B53B0: KCrash::defaultCrashHandler(int) (kcrash.cpp:468)
==23319==    by 0x8329C2F: ??? (in /lib/x86_64-linux-gnu/libc-2.19.so)
==23319==    by 0x586D764: KoResourceModel::rowCount(QModelIndex const&) const (in /usr/lib/libkowidgets.so.13.0.0)
==23319==    by 0x706A118: QHeaderView::initializeSections() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x706DC88: QHeaderView::doItemsLayout() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7069DFB: QHeaderView::length() const (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x708ECBA: QTableView::updateGeometries() (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319==    by 0x7C9B879: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x706E2A4: QHeaderView::viewportEvent(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==23319== 
sock_file=/home/user/.kde/socket-hostname/kdeinit4__0

[1]+  Detenido                valgrind braindump --nofork  [ = "Stopped"]
$ QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
==23319== Thread 2 QInotifyFileSystemWatcherEngine:
==23319== Invalid read of size 2
==23319==    at 0x7CB4999: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xCC9BA60: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9BF7A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9C0EB: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0x7CB47BD: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C860AE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C863A4: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B82C5E: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C67822: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B8532E: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xC825181: start_thread (pthread_create.c:312)
==23319==    by 0x83EDFBC: clone (clone.S:111)
==23319==  Address 0x2bf71c46 is 6 bytes inside a block of size 16 free'd
==23319==    at 0x4C2C2BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23319==    by 0x7CB4998: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xCC9BA60: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9BF7A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9C0EB: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0x7CB47BD: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C860AE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C863A4: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B82C5E: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C67822: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B8532E: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xC825181: start_thread (pthread_create.c:312)
==23319== 
==23319== Invalid read of size 2
==23319==    at 0x7CB49A1: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xCC9BA60: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9BF7A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9C0EB: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0x7CB47BD: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C860AE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C863A4: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B82C5E: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C67822: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B8532E: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xC825181: start_thread (pthread_create.c:312)
==23319==    by 0x83EDFBC: clone (clone.S:111)
==23319==  Address 0x2bf71c44 is 4 bytes inside a block of size 16 free'd
==23319==    at 0x4C2C2BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23319==    by 0x7CB4998: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xCC9BA60: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9BF7A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0xCC9C0EB: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==23319==    by 0x7CB47BD: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C860AE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C863A4: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B82C5E: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7C67822: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0x7B8532E: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==23319==    by 0xC825181: start_thread (pthread_create.c:312)
==23319== 
Unable to start Dr. Konqi
Not forwarding the crash to Apport.
==23319== 
==23319== HEAP SUMMARY:
==23319==     in use at exit: 47,265,850 bytes in 452,173 blocks
==23319==   total heap usage: 2,944,420 allocs, 2,492,247 frees, 225,060,212 bytes allocated
==23319== 
==23319== LEAK SUMMARY:
==23319==    definitely lost: 6,048 bytes in 27 blocks
==23319==    indirectly lost: 62,972 bytes in 841 blocks
==23319==      possibly lost: 1,947,982 bytes in 24,357 blocks
==23319==    still reachable: 45,248,848 bytes in 426,948 blocks
==23319==         suppressed: 0 bytes in 0 blocks
==23319== Rerun with --leak-check=full to see details of leaked memory
==23319== 
==23319== For counts of detected and suppressed errors, rerun with: -v
==23319== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
Comment 23 Jose P. 2014-09-25 08:43:59 UTC
Created attachment 88834 [details]
some debugging with gdb

So, my guess is: it's an use after free or a double free, as indicated by the valgrind log posted by abulak and my own debugging. See file attached. The diff at the end shows that it's, in fact, either the same object, or a copy of that at the first breakpoint.

I talked to frinring at freenode and he said it looks like it's already patched in the newest versions, but these fixes haven't made it to distros (or, at least, to kubuntu 14.04):
http://quickgit.kde.org/?p=calligra.git&a=commit&h=138b95
$ LANG=C braindump --version
Qt: 4.8.6
KDE Development Platform: 4.13.3
Braindump: 0.10.9

I guess I'll have to file a bug report downstream... is this correct?
Thank you very much, KDE/Qt devs :)
Comment 24 RJVB 2015-01-05 14:00:25 UTC
Created attachment 90226 [details]
New crash information added by DrKonqi

braindump (0.10.9) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:

started braindump 2.8.5 (1:2.8.5-0ubuntu6~ubuntu14.04~ppa1) from a commandline. 
Amazing this bug hasn't even jumped a line or two since it was first reported ...

-- Backtrace (Reduced):
#7  0x00007ffc29af88e8 in KoResourceModel::rowCount (this=0x2e0e960) at /build/buildd/calligra-2.8.5/libs/widgets/KoResourceModel.cpp:49
#8  0x00007ffc284f1ce6 in modelSectionCount (this=0x2e03860) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:216
#9  QHeaderView::initializeSections (this=this@entry=0x2e03830) at itemviews/qheaderview.cpp:1903
#10 0x00007ffc284f5b49 in QHeaderView::doItemsLayout (this=0x2e03830) at itemviews/qheaderview.cpp:1473
#11 0x00007ffc284f198c in executePostedLayout (this=0x2e03860) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
Comment 25 Christoph Feck 2015-01-18 13:33:48 UTC
*** Bug 342993 has been marked as a duplicate of this bug. ***
Comment 26 Peter Snow 2015-03-12 17:28:13 UTC
Created attachment 91543 [details]
New crash information added by DrKonqi

braindump (0.10.9) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

I just launched Braindump from the menu for the first time.

I did this by typing Alt+F1 then I typed 'Braindump'. I then clicked "Run Braindump" which appeared as the only item in the KDE menu.

Within a few seconds the crash reporter appeared.

-- Backtrace (Reduced):
#8  0xb68a9bfc in modelSectionCount (this=0x9961f70) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:216
#9  QHeaderView::initializeSections (this=this@entry=0x9961f58) at itemviews/qheaderview.cpp:1903
#10 0xb68adcac in QHeaderView::doItemsLayout (this=0x9961f58) at itemviews/qheaderview.cpp:1473
#11 0xb68a985f in executePostedLayout (this=0x9961f70) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#12 QHeaderView::length (this=0x9961f58) at itemviews/qheaderview.cpp:512
Comment 27 Christoph Feck 2015-05-02 20:54:56 UTC
*** Bug 345899 has been marked as a duplicate of this bug. ***
Comment 28 Justin Zobel 2020-12-07 04:27:43 UTC
Thank you for the report, Andrius.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 29 Bug Janitor Service 2020-12-22 04:34:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 30 Bug Janitor Service 2021-01-06 04:34:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!