[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 298903] New: "format files" craches for large amount of files
From:       Marcel Hellwig <keks () cookiesoft ! de>
Date:       2012-04-27 12:10:21
Message-ID: bug-298903-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 298903
          Severity: major
           Version: unspecified
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: "format files" craches for large amount of files
    Classification: Unclassified
                OS: Linux
          Reporter: keks@cookiesoft.de
          Hardware: Compiled Sources
            Status: UNCONFIRMED
         Component: astyle
           Product: kdevelop

Hello everyone,

I have to major problems when I click right on the project and then choose
format files.

The first one is

File '/home/marcel/tmp/cppcms/framework/trunk/skin1.cpp' is not readable
    vs.
ls: cannot access /home/marcel/tmp/cppcms/framework/trunk/skin1.cpp: No such
file or directory (it does not exist!)

this happens with skin1.cpp skin2.cpp and skin3.cpp. They all do not exist in
that directory, but in the build directory. I think it knows, that the build
dir does not belong to the project itself and then it tries to find it in the
root directory of the project. < Fix it! (:

The second one is, that kdev craches if you try to format a large amount of
files at once (in my case >3500). See crash log

Reproducible: Always

Steps to Reproduce:
1. Open a project with a lot of files (files to be formatted)
2. Rightclick on the project root and click format files
3. see the crash dialog 
Actual Results:  
Crash with Sig6 (ABRT)

Expected Results:  
hmm... (:

Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f83350d6880 (LWP 7609))]

Thread 14 (Thread 0x7f83249bf700 (LWP 7651)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218
#1  0x000000334ae7b997 in wait (time=1000, this=0x1d82490) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2c52dc0, time=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f83353c0c6b in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x2c52da0) at
/home/marcel/tmp/kdevplatform/language/duchain/duchain.cpp:282
#4  0x000000334ae7b53b in QThreadPrivate::start (arg=0x2c52da0) at
thread/qthread_unix.cpp:298
#5  0x0000003954607d14 in start_thread (arg=0x7f83249bf700) at
pthread_create.c:309
#6  0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 13 (Thread 0x7f830f51e700 (LWP 7660)):
#0  0x000000395460e0ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003346082a1f in read (__nbytes=16, __buf=0x7f830f51db60,
__fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x7f8308001c00) at gwakeup.c:212
#3  0x000000334604741a in g_main_context_check
(context=context@entry=0x7f83080009a0, max_priority=2147483647,
fds=fds@entry=0x7f8308002ea0, n_fds=n_fds@entry=1) at gmain.c:2957
#4  0x0000003346047922 in g_main_context_iterate
(context=context@entry=0x7f83080009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3120
#5  0x0000003346047aa4 in g_main_context_iteration (context=0x7f83080009a0,
may_block=1) at gmain.c:3184
#6  0x000000334afa3a06 in QEventDispatcherGlib::processEvents
(this=0x7f83080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x000000334af7495f in QEventLoop::processEvents
(this=this@entry=0x7f830f51dd20, flags=...) at kernel/qeventloop.cpp:149
#8  0x000000334af74be8 in QEventLoop::exec (this=0x7f830f51dd20, flags=...) at
kernel/qeventloop.cpp:204
#9  0x000000334ae785a0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#10 0x000000334ae7b53b in QThreadPrivate::start (arg=0x3681850) at
thread/qthread_unix.cpp:298
#11 0x0000003954607d14 in start_thread (arg=0x7f830f51e700) at
pthread_create.c:309
#12 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f830ed1d700 (LWP 7661)):
#0  0x0000003954609b28 in __pthread_mutex_lock (mutex=0x7f8300000a60) at
pthread_mutex_lock.c:51
#1  0x00000033460836c1 in g_mutex_lock (mutex=mutex@entry=0x7f83000009a0) at
gthread-posix.c:208
#2  0x00000033460471ab in g_main_context_query
(context=context@entry=0x7f83000009a0, max_priority=2147483647,
timeout=timeout@entry=0x7f830ed1cbcc, fds=fds@entry=0x7f8300002ea0,
n_fds=n_fds@entry=1) at gmain.c:2882
#3  0x00000033460478f9 in g_main_context_iterate
(context=context@entry=0x7f83000009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3105
#4  0x0000003346047aa4 in g_main_context_iteration (context=0x7f83000009a0,
may_block=1) at gmain.c:3184
#5  0x000000334afa3a06 in QEventDispatcherGlib::processEvents
(this=0x7f83000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x000000334af7495f in QEventLoop::processEvents
(this=this@entry=0x7f830ed1cd20, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000334af74be8 in QEventLoop::exec (this=0x7f830ed1cd20, flags=...) at
kernel/qeventloop.cpp:204
#8  0x000000334ae785a0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x000000334ae7b53b in QThreadPrivate::start (arg=0x366a460) at
thread/qthread_unix.cpp:298
#10 0x0000003954607d14 in start_thread (arg=0x7f830ed1d700) at
pthread_create.c:309
#11 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f8307fff700 (LWP 7667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000334e584ab7 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x334e891980) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x000000334e584ae9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003954607d14 in start_thread (arg=0x7f8307fff700) at
pthread_create.c:309
#4  0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f83073ee700 (LWP 7668)):
#0  g_mutex_unlock (mutex=mutex@entry=0x7f82fc0009a0) at gthread-posix.c:227
#1  0x00000033460473e9 in g_main_context_check
(context=context@entry=0x7f82fc0009a0, max_priority=2147483647,
fds=fds@entry=0x7f82fc0029b0, n_fds=n_fds@entry=1) at gmain.c:3034
#2  0x0000003346047922 in g_main_context_iterate
(context=context@entry=0x7f82fc0009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3120
#3  0x0000003346047aa4 in g_main_context_iteration (context=0x7f82fc0009a0,
may_block=1) at gmain.c:3184
#4  0x000000334afa3a06 in QEventDispatcherGlib::processEvents
(this=0x7f82fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000334af7495f in QEventLoop::processEvents
(this=this@entry=0x7f83073edcf0, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000334af74be8 in QEventLoop::exec (this=0x7f83073edcf0, flags=...) at
kernel/qeventloop.cpp:204
#7  0x000000334ae785a0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x000000334af553df in QInotifyFileSystemWatcherEngine::run (this=0x52a4a30)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000334ae7b53b in QThreadPrivate::start (arg=0x52a4a30) at
thread/qthread_unix.cpp:298
#10 0x0000003954607d14 in start_thread (arg=0x7f83073ee700) at
pthread_create.c:309
#11 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f8305924700 (LWP 7689)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000356df7e685 in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x356e952740) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x000000356df7e6e9 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003954607d14 in start_thread (arg=0x7f8305924700) at
pthread_create.c:309
#4  0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f8306125700 (LWP 7690)):
#0  g_mutex_unlock (mutex=mutex@entry=0x7f82f8017700) at gthread-posix.c:229
#1  0x00000033460473e9 in g_main_context_check
(context=context@entry=0x7f82f8017700, max_priority=2147483647,
fds=fds@entry=0x7f82f8017370, n_fds=n_fds@entry=1) at gmain.c:3034
#2  0x0000003346047922 in g_main_context_iterate
(context=context@entry=0x7f82f8017700, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3120
#3  0x0000003346047aa4 in g_main_context_iteration (context=0x7f82f8017700,
may_block=1) at gmain.c:3184
#4  0x000000334afa3a06 in QEventDispatcherGlib::processEvents
(this=0x7f82f80013e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000334af7495f in QEventLoop::processEvents
(this=this@entry=0x7f8306124d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000334af74be8 in QEventLoop::exec (this=0x7f8306124d20, flags=...) at
kernel/qeventloop.cpp:204
#7  0x000000334ae785a0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x000000334ae7b53b in QThreadPrivate::start (arg=0x5374820) at
thread/qthread_unix.cpp:298
#9  0x0000003954607d14 in start_thread (arg=0x7f8306125700) at
pthread_create.c:309
#10 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f82adbaf700 (LWP 7725)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000334ae7ba3b in wait (time=18446744073709551615, this=0x528b1c0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x528b340,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000335a40aa81 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x528b070,
th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000335a40d2cb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x000000335a40c13f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f82adbaed20, parent=0x528b070, th=th@entry=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#11 0x000000335a40c1cb in ThreadWeaver::Thread::run (this=0x589f4e0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#12 0x000000334ae7b53b in QThreadPrivate::start (arg=0x589f4e0) at
thread/qthread_unix.cpp:298
#13 0x0000003954607d14 in start_thread (arg=0x7f82adbaf700) at
pthread_create.c:309
#14 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f82ad3ae700 (LWP 7728)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000334ae7ba3b in wait (time=18446744073709551615, this=0x528b1c0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x528b340,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000335a40aa81 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x528b070,
th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000335a40d2cb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x000000335a40c13f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f82ad3add20, parent=0x528b070, th=th@entry=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#12 0x000000335a40c1cb in ThreadWeaver::Thread::run (this=0x528dd90) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#13 0x000000334ae7b53b in QThreadPrivate::start (arg=0x528dd90) at
thread/qthread_unix.cpp:298
#14 0x0000003954607d14 in start_thread (arg=0x7f82ad3ae700) at
pthread_create.c:309
#15 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f82a7fff700 (LWP 7830)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000334ae7ba3b in wait (time=18446744073709551615, this=0x528b1c0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x528b340,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000335a40aa81 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x528b070,
th=0x51d0790) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000335a40d2cb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x51d0790) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x51d0790) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000335a40c13f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f82a7ffed20, parent=0x528b070, th=th@entry=0x51d0790) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#7  0x000000335a40c1cb in ThreadWeaver::Thread::run (this=0x51d0790) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#8  0x000000334ae7b53b in QThreadPrivate::start (arg=0x51d0790) at
thread/qthread_unix.cpp:298
#9  0x0000003954607d14 in start_thread (arg=0x7f82a7fff700) at
pthread_create.c:309
#10 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f82a77fe700 (LWP 7831)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000334ae7ba3b in wait (time=18446744073709551615, this=0x528b1c0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x528b340,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000335a40aa81 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x528b070,
th=0x51d6b00) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000335a40d2cb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x528b3d0, th=0x51d6b00) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000335a40c13f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f82a77fdd20, parent=0x528b070, th=th@entry=0x51d6b00) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#6  0x000000335a40c1cb in ThreadWeaver::Thread::run (this=0x51d6b00) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#7  0x000000334ae7b53b in QThreadPrivate::start (arg=0x51d6b00) at
thread/qthread_unix.cpp:298
#8  0x0000003954607d14 in start_thread (arg=0x7f82a77fe700) at
pthread_create.c:309
#9  0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f82a6ffd700 (LWP 7836)):
#0  0x000000395460e04d in write () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003346082a91 in g_wakeup_signal (wakeup=<optimized out>) at
gwakeup.c:235
#2  0x000000334af78f0a in QCoreApplication::postEvent (receiver=0x7f83369c4960,
event=0x7f829937f040, priority=<optimized out>) at
kernel/qcoreapplication.cpp:1322
#3  0x000000334af7d905 in QMetaMethod::invoke (this=this@entry=0x7f82a6ff88c0,
object=object@entry=0x7f83369c4960, connectionType=2570579968,
connectionType@entry=Qt::QueuedConnection, returnValue=..., val0=..., val1=...,
val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...)
at kernel/qmetaobject.cpp:1703
#4  0x000000334af7fb0c in QMetaObject::invokeMethod (obj=0x7f83369c4960,
member=<optimized out>, type=Qt::QueuedConnection, ret=..., val0=..., val1=...,
val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...)
at kernel/qmetaobject.cpp:1179
#5  0x00007f83367b0840 in invokeMethod (val9=..., val8=..., val7=..., val6=...,
val5=..., val4=..., val3=..., val2=..., val1=..., val0=...,
type=Qt::QueuedConnection, member=0x7f83367b9f04 "doInternalSlot",
obj=0x7f83369c4960) at /usr/include/QtCore/qobjectdefs.h:418
#6  KDevelop::ForegroundLock::relock (this=0x7f82a6ff8d1f) at
/home/marcel/tmp/kdevplatform/interfaces/foregroundlock.cpp:186
#7  0x00007f8335396ccf in KDevelop::ParseJob::translateDUChainToRevision
(this=0x7f82992a2280, context=0x7f82993140c0) at
/home/marcel/tmp/kdevplatform/language/backgroundparser/parsejob.cpp:418
#8  0x00007f830fb11b2b in CPPInternalParseJob::run (this=0x7f82992a3e00) at
/home/marcel/tmp/kdevelop/languages/cpp/cppparsejob.cpp:436
#9  0x00007f830fb19c8e in PreprocessJob::sourceNeeded (this=0x7f82992722a0,
_fileName=..., type=<optimized out>, sourceLine=18, skipCurrentPath=<optimized
out>) at /home/marcel/tmp/kdevelop/languages/cpp/preprocessjob.cpp:579
#10 0x00007f831403a444 in rpp::pp::handle_include
(this=this@entry=0x7f82a6ffa1e0, skip_current_path=false, input=...,
output=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#11 0x00007f831403aeba in rpp::pp::handle_directive
(this=this@entry=0x7f82a6ffa1e0, directive=directive@entry=318945, input=...,
output=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#12 0x00007f831403b15a in rpp::pp::operator() (this=this@entry=0x7f82a6ffa1e0,
input=..., output=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#13 0x00007f831403b3e2 in rpp::pp::processFileInternal
(this=this@entry=0x7f82a6ffa1e0, fileName=..., fileContents=..., result=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#14 0x00007f831403b45d in rpp::pp::processFile (this=0x7f82a6ffa1e0,
fileName=..., data=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#15 0x00007f830fb1b1c2 in PreprocessJob::run (this=0x7f82992722a0) at
/home/marcel/tmp/kdevelop/languages/cpp/preprocessjob.cpp:245
#16 0x00007f830fb0fa95 in CPPParseJob::parseForeground (this=0x7f8299270ea0) at
/home/marcel/tmp/kdevelop/languages/cpp/cppparsejob.cpp:176
#17 0x00007f830fb19c8e in PreprocessJob::sourceNeeded (this=0x56965b0,
_fileName=..., type=<optimized out>, sourceLine=21, skipCurrentPath=<optimized
out>) at /home/marcel/tmp/kdevelop/languages/cpp/preprocessjob.cpp:579
#18 0x00007f831403a444 in rpp::pp::handle_include
(this=this@entry=0x7f82a6ffbba0, skip_current_path=false, input=...,
output=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#19 0x00007f831403aeba in rpp::pp::handle_directive
(this=this@entry=0x7f82a6ffbba0, directive=directive@entry=318945, input=...,
output=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#20 0x00007f831403b15a in rpp::pp::operator() (this=this@entry=0x7f82a6ffbba0,
input=..., output=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#21 0x00007f831403b3e2 in rpp::pp::processFileInternal
(this=this@entry=0x7f82a6ffbba0, fileName=..., fileContents=..., result=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#22 0x00007f831403b45d in rpp::pp::processFile (this=0x7f82a6ffbba0,
fileName=..., data=...) at
/home/marcel/tmp/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#23 0x00007f830fb1b1c2 in PreprocessJob::run (this=0x56965b0) at
/home/marcel/tmp/kdevelop/languages/cpp/preprocessjob.cpp:245
#24 0x000000335a40c93a in ThreadWeaver::JobRunHelper::runTheJob
(this=this@entry=0x7f82a6ffccb0, th=th@entry=0x51d1e40,
job=job@entry=0x56965b0) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Job.cpp:106
#25 0x000000335a40cab1 in ThreadWeaver::Job::execute (this=0x56965b0,
th=0x51d1e40) at /usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Job.cpp:135
#26 0x000000335a40dac3 in ThreadWeaver::JobCollectionJobRunner::execute
(this=0x6a1b230, t=0x51d1e40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/JobCollection.cpp:82
#27 0x000000335a40c10f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f82a6ffcd20, parent=0x1d859c0, th=th@entry=0x51d1e40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:95
#28 0x000000335a40c1cb in ThreadWeaver::Thread::run (this=0x51d1e40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#29 0x000000334ae7b53b in QThreadPrivate::start (arg=0x51d1e40) at
thread/qthread_unix.cpp:298
#30 0x0000003954607d14 in start_thread (arg=0x7f82a6ffd700) at
pthread_create.c:309
#31 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f82a67fc700 (LWP 7837)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000334ae7ba3b in wait (time=18446744073709551615, this=0x1d87cc0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1c3e810,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000335a40aa81 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d859c0,
th=0x7f8298001a40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000335a40d2cb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1d54fc0, th=0x7f8298001a40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000335a40d2e4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1d54fc0, th=0x7f8298001a40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000335a40c13f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f82a67fbd20, parent=0x1d859c0, th=th@entry=0x7f8298001a40)
at /usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#7  0x000000335a40c1cb in ThreadWeaver::Thread::run (this=0x7f8298001a40) at
/usr/src/debug/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#8  0x000000334ae7b53b in QThreadPrivate::start (arg=0x7f8298001a40) at
thread/qthread_unix.cpp:298
#9  0x0000003954607d14 in start_thread (arg=0x7f82a67fc700) at
pthread_create.c:309
#10 0x00000039542f194d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f83350d6880 (LWP 7609)):
[KCrash Handler]
#6  0x0000003954235915 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00000039542370c8 in __GI_abort () at abort.c:91
#8  0x000000395422e692 in __assert_fail_base (fmt=0x39543783e8 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f8316fca588
"isInAsm == false", file=file@entry=0x7f8316fcaf88
"/home/marcel/tmp/kdevelop/formatters/astyle/lib/ASFormatter.cpp",
line=line@entry=745, function=function@entry=0x7f8316fcb420 "virtual
std::string astyle::ASFormatter::nextLine()") at assert.c:94
#9  0x000000395422e742 in __GI___assert_fail (assertion=0x7f8316fca588 "isInAsm
== false", file=0x7f8316fcaf88
"/home/marcel/tmp/kdevelop/formatters/astyle/lib/ASFormatter.cpp", line=745,
function=0x7f8316fcb420 "virtual std::string astyle::ASFormatter::nextLine()")
at assert.c:103
#10 0x00007f8316fc2a70 in astyle::ASFormatter::nextLine (this=0x3589870) at
/home/marcel/tmp/kdevelop/formatters/astyle/lib/ASFormatter.cpp:745
#11 0x00007f8316facffb in AStyleFormatter::formatSource (this=0x3589870,
text=..., leftContext=..., rightContext=...) at
/home/marcel/tmp/kdevelop/formatters/astyle/astyle_formatter.cpp:54
#12 0x00007f8316fa48fd in AStylePlugin::formatSourceWithStyle
(this=this@entry=0x3589520, s=..., text=..., mime=..., leftContext=...,
rightContext=...) at
/home/marcel/tmp/kdevelop/formatters/astyle/astyle_plugin.cpp:96
#13 0x00007f8316fa43f7 in AStylePlugin::formatSource (this=0x3589520, text=...,
url=..., mime=..., leftContext=..., rightContext=...) at
/home/marcel/tmp/kdevelop/formatters/astyle/astyle_plugin.cpp:101
#14 0x00007f8336547e12 in KDevelop::SourceFormatterController::formatFiles
(this=this@entry=0x1d884a0, list=...) at
/home/marcel/tmp/kdevplatform/shell/sourceformattercontroller.cpp:511
#15 0x00007f8336549d6f in KDevelop::SourceFormatterController::formatFiles
(this=0x1d884a0) at
/home/marcel/tmp/kdevplatform/shell/sourceformattercontroller.cpp:481
#16 0x000000334af8c09f in QMetaObject::activate (sender=0x1d96420, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff0b02cdf0) at
kernel/qobject.cpp:3547
#17 0x000000334cfc42a2 in QAction::triggered (this=this@entry=0x1d96420,
_t1=false) at .moc/release-shared/moc_qaction.cpp:276
#18 0x000000334cfc4490 in QAction::activate (this=0x1d96420, event=<optimized
out>) at kernel/qaction.cpp:1257
#19 0x000000334d3fd063 in QMenuPrivate::activateCausedStack
(this=this@entry=0x4f94950, causedStack=..., action=action@entry=0x1d96420,
action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at
widgets/qmenu.cpp:1028
#20 0x000000334d403379 in QMenuPrivate::activateAction (this=0x4f94950,
action=0x1d96420, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1120
#21 0x000000347a2fed10 in KMenu::mouseReleaseEvent (this=0x7fff0b02e6e0,
e=0x7fff0b02d990) at /usr/src/debug/kdelibs-4.8.2/kdeui/widgets/kmenu.cpp:464
#22 0x000000334d019d00 in QWidget::event (this=0x7fff0b02e6e0,
event=0x7fff0b02d990) at kernel/qwidget.cpp:8362
#23 0x000000334d40462b in QMenu::event (this=0x7fff0b02e6e0, e=0x7fff0b02d990)
at widgets/qmenu.cpp:2469
#24 0x000000334cfca47c in QApplicationPrivate::notify_helper
(this=this@entry=0x186ba80, receiver=receiver@entry=0x7fff0b02e6e0,
e=e@entry=0x7fff0b02d990) at kernel/qapplication.cpp:4554
#25 0x000000334cfcf20b in QApplication::notify (this=<optimized out>,
receiver=0x7fff0b02e6e0, e=0x7fff0b02d990) at kernel/qapplication.cpp:4097
#26 0x000000347a2459f6 in KApplication::notify (this=0x7fff0b030460,
receiver=0x7fff0b02e6e0, event=0x7fff0b02d990) at
/usr/src/debug/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#27 0x000000334af7595e in QCoreApplication::notifyInternal
(this=0x7fff0b030460, receiver=0x7fff0b02e6e0, event=0x7fff0b02d990) at
kernel/qcoreapplication.cpp:876
#28 0x000000334cfcb2bb in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x7fff0b02e6e0,
event=0x7fff0b02d990, alienWidget=0x0, nativeWidget=0x7fff0b02e6e0,
buttonDown=0x334da9dd88, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3165
#30 0x000000334d04585c in QETWidget::translateMouseEvent
(this=this@entry=0x7fff0b02e6e0, event=event@entry=0x7fff0b02e100) at
kernel/qapplication_x11.cpp:4457
#31 0x000000334d044721 in QApplication::x11ProcessEvent (this=0x7fff0b030460,
event=0x7fff0b02e100) at kernel/qapplication_x11.cpp:3646
#32 0x000000334d06a73c in x11EventSourceDispatch (s=s@entry=0x186f000,
callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#33 0x00000033460475cc in g_main_dispatch (context=0x186b5d0) at gmain.c:2515
#34 g_main_context_dispatch (context=context@entry=0x186b5d0) at gmain.c:3052
#35 0x00000033460479e8 in g_main_context_iterate
(context=context@entry=0x186b5d0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3123
#36 0x0000003346047aa4 in g_main_context_iteration (context=0x186b5d0,
may_block=1) at gmain.c:3184
#37 0x000000334afa39e6 in QEventDispatcherGlib::processEvents (this=0x183aa70,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x000000334d06a41e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#39 0x000000334af7495f in QEventLoop::processEvents
(this=this@entry=0x7fff0b02e4e0, flags=...) at kernel/qeventloop.cpp:149
#40 0x000000334af74be8 in QEventLoop::exec (this=0x7fff0b02e4e0, flags=...) at
kernel/qeventloop.cpp:204
#41 0x000000334d401055 in QMenu::exec (this=0x7fff0b02e6e0, p=..., action=0x0)
at widgets/qmenu.cpp:2113
#42 0x00007f83168f01bf in ProjectTreeView::popupContextMenu (this=0x5266140,
pos=...) at
/home/marcel/tmp/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:315
#43 0x000000334af8c09f in QMetaObject::activate (sender=0x5266140, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff0b02e870) at
kernel/qobject.cpp:3547
#44 0x000000334d00cd92 in QWidget::customContextMenuRequested
(this=this@entry=0x5266140, _t1=...) at .moc/release-shared/moc_qwidget.cpp:373
#45 0x000000334d01a4dd in QWidget::event (this=0x5266140, event=0x7fff0b02f3d0)
at kernel/qwidget.cpp:8532
#46 0x000000334d3c3a66 in QFrame::event (this=0x5266140, e=0x7fff0b02f3d0) at
widgets/qframe.cpp:557
#47 0x000000334d4d1023 in QAbstractItemView::viewportEvent (this=0x5266140,
event=0x7fff0b02f3d0) at itemviews/qabstractitemview.cpp:1644
#48 0x000000334d514651 in QTreeView::viewportEvent (this=0x5266140,
event=0x7fff0b02f3d0) at itemviews/qtreeview.cpp:1257
#49 0x000000334af75ac6 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0x52648e0, event=0x7fff0b02f3d0) at kernel/qcoreapplication.cpp:986
#50 0x000000334cfca44c in QApplicationPrivate::notify_helper
(this=this@entry=0x186ba80, receiver=receiver@entry=0x52648e0,
e=e@entry=0x7fff0b02f3d0) at kernel/qapplication.cpp:4550
#51 0x000000334cfcef15 in QApplication::notify (this=<optimized out>,
receiver=0x52648e0, e=0x7fff0b02f3d0) at kernel/qapplication.cpp:4176
#52 0x000000347a2459f6 in KApplication::notify (this=0x7fff0b030460,
receiver=0x52648e0, event=0x7fff0b02f3d0) at
/usr/src/debug/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#53 0x000000334af7595e in QCoreApplication::notifyInternal
(this=0x7fff0b030460, receiver=0x52648e0, event=0x7fff0b02f3d0) at
kernel/qcoreapplication.cpp:876
#54 0x000000334d0459f1 in sendSpontaneousEvent (event=0x7fff0b02f3d0,
receiver=0x52648e0) at ../../src/corelib/kernel/qcoreapplication.h:234
#55 QETWidget::translateMouseEvent (this=this@entry=0x52919c0,
event=event@entry=0x7fff0b02fb10) at kernel/qapplication_x11.cpp:4528
#56 0x000000334d044721 in QApplication::x11ProcessEvent (this=0x7fff0b030460,
event=0x7fff0b02fb10) at kernel/qapplication_x11.cpp:3646
#57 0x000000334d06a73c in x11EventSourceDispatch (s=s@entry=0x186f000,
callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#58 0x00000033460475cc in g_main_dispatch (context=0x186b5d0) at gmain.c:2515
#59 g_main_context_dispatch (context=context@entry=0x186b5d0) at gmain.c:3052
#60 0x00000033460479e8 in g_main_context_iterate
(context=context@entry=0x186b5d0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3123
#61 0x0000003346047aa4 in g_main_context_iteration (context=0x186b5d0,
may_block=1) at gmain.c:3184
#62 0x000000334afa39e6 in QEventDispatcherGlib::processEvents (this=0x183aa70,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0x000000334d06a41e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#64 0x000000334af7495f in QEventLoop::processEvents
(this=this@entry=0x7fff0b02fee0, flags=...) at kernel/qeventloop.cpp:149
#65 0x000000334af74be8 in QEventLoop::exec (this=0x7fff0b02fee0, flags=...) at
kernel/qeventloop.cpp:204
#66 0x000000334af79718 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#67 0x0000000000409418 in main (argc=<optimized out>, argv=<optimized out>) at
/home/marcel/tmp/kdevelop/app/main.cpp:479

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

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic