[Bug 310501] New: KDevelop crashes when creating a class via template generator

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 310501] New: KDevelop crashes when creating a class via template generator

keks (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=310501

            Bug ID: 310501
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: [hidden email]
           Summary: KDevelop crashes when creating a class via template
                    generator
    Classification: Unclassified
                OS: Linux
          Reporter: [hidden email]
          Hardware: Fedora RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kdevelop

Application: kdevelop (4.4.60)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.6.7-5.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
If you create a new class via the new tempalte generator KDE gets a seg fault.
You can restart the application and then create it. But if you are trying the
class it crashes again and so on. This bug is reproducable.
I'm on git master and compiled it on my own.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f4d73997880 (LWP 1952))]

Thread 17 (Thread 0x7f4d60437700 (LWP 1991)):
#0  0x00000030c22eb5f3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000030ceb55b32 in QProcessManager::run (this=0x30ceecf520
<processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x30ceecf520
<processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00000030c2a07d15 in start_thread (arg=0x7f4d60437700) at
pthread_create.c:308
#4  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 16 (Thread 0x7f4d5f873700 (LWP 2003)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00000030cea7bc87 in wait (time=1000, this=0x2ff7240) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2ffbd00, time=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f4d740f8f4b in KDevelop::DUChainPrivate::CleanupThread::run() ()
from /usr/local/lib64/libkdevplatformlanguage.so.7
#4  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x2ffbce0) at
thread/qthread_unix.cpp:338
#5  0x00000030c2a07d15 in start_thread (arg=0x7f4d5f873700) at
pthread_create.c:308
#6  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 15 (Thread 0x7f4d4a6fa700 (LWP 2026)):
#0  0x00000030c22e97ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000030c5e47d44 in g_main_context_poll (n_fds=1, fds=0x7f4d44002ca0,
timeout=-1, context=0x7f4d440009a0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f4d440009a0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3285
#3  0x00000030c5e47e64 in g_main_context_iteration (context=0x7f4d440009a0,
may_block=1) at gmain.c:3351
#4  0x00000030ceba6176 in QEventDispatcherGlib::processEvents
(this=0x7f4d440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000030ceb76e2f in QEventLoop::processEvents
(this=this@entry=0x7f4d4a6f9d00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000030ceb770b8 in QEventLoop::exec (this=0x7f4d4a6f9d00, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00000030cea787f0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x3b261f0) at
thread/qthread_unix.cpp:338
#9  0x00000030c2a07d15 in start_thread (arg=0x7f4d4a6fa700) at
pthread_create.c:308
#10 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 14 (Thread 0x7f4d49ef9700 (LWP 2027)):
#0  0x00000030c2a0e12d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000030c5e840df in read (__nbytes=16, __buf=0x7f4d49ef8b10,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f4d44001dc0) at gwakeup.c:212
#3  0x00000030c5e478d4 in g_main_context_check
(context=context@entry=0x7f4d3c0009a0, max_priority=2147483647,
fds=fds@entry=0x7f4d3c002ea0, n_fds=n_fds@entry=1) at gmain.c:3129
#4  0x00000030c5e47ce2 in g_main_context_iterate
(context=context@entry=0x7f4d3c0009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#5  0x00000030c5e47e64 in g_main_context_iteration (context=0x7f4d3c0009a0,
may_block=1) at gmain.c:3351
#6  0x00000030ceba6176 in QEventDispatcherGlib::processEvents
(this=0x7f4d3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00000030ceb76e2f in QEventLoop::processEvents
(this=this@entry=0x7f4d49ef8d00, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000030ceb770b8 in QEventLoop::exec (this=0x7f4d49ef8d00, flags=...) at
kernel/qeventloop.cpp:204
#9  0x00000030cea787f0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#10 0x00000030cea7b7cc in QThreadPrivate::start (arg=0x3a4bd50) at
thread/qthread_unix.cpp:338
#11 0x00000030c2a07d15 in start_thread (arg=0x7f4d49ef9700) at
pthread_create.c:308
#12 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 13 (Thread 0x7f4d4956c700 (LWP 2033)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030d9386a77 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x30d9694660 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000030d9386aa9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00000030c2a07d15 in start_thread (arg=0x7f4d4956c700) at
pthread_create.c:308
#4  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 12 (Thread 0x7f4d43fff700 (LWP 2057)):
#0  0x00000030c2a0aacf in __pthread_mutex_unlock_usercnt (mutex=0x7f4cb8000a60,
decr=decr@entry=1) at pthread_mutex_unlock.c:52
#1  0x00000030c2a0ab2a in __GI___pthread_mutex_unlock (mutex=<optimized out>)
at pthread_mutex_unlock.c:297
#2  0x00000030c5e84dd1 in g_mutex_unlock (mutex=mutex@entry=0x7f4cb80009a0) at
gthread-posix.c:229
#3  0x00000030c5e47c1c in g_main_context_iterate
(context=context@entry=0x7f4cb80009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3238
#4  0x00000030c5e47e64 in g_main_context_iteration (context=0x7f4cb80009a0,
may_block=1) at gmain.c:3351
#5  0x00000030ceba6176 in QEventDispatcherGlib::processEvents
(this=0x7f4cb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00000030ceb76e2f in QEventLoop::processEvents
(this=this@entry=0x7f4d43ffecd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000030ceb770b8 in QEventLoop::exec (this=0x7f4d43ffecd0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00000030cea787f0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00000030ceb5763f in QInotifyFileSystemWatcherEngine::run (this=0x5390310)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00000030cea7b7cc in QThreadPrivate::start (arg=0x5390310) at
thread/qthread_unix.cpp:338
#11 0x00000030c2a07d15 in start_thread (arg=0x7f4d43fff700) at
pthread_create.c:308
#12 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 11 (Thread 0x7f4d4329c700 (LWP 2092)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x5532ee0, decr=decr@entry=1) at
pthread_mutex_unlock.c:49
#1  0x00000030c2a0ab2a in __GI___pthread_mutex_unlock (mutex=<optimized out>)
at pthread_mutex_unlock.c:297
#2  0x00000030c5e84dd1 in g_mutex_unlock (mutex=mutex@entry=0x5532e20) at
gthread-posix.c:229
#3  0x00000030c5e47d39 in g_main_context_poll (n_fds=3, fds=0x7f4cac0010c0,
timeout=-1, context=0x5532e20, priority=<optimized out>) at gmain.c:3583
#4  g_main_context_iterate (context=0x5532e20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#5  0x00000030c5e481a2 in g_main_loop_run (loop=0x5532db0) at gmain.c:3484
#6  0x00000030ca2cc546 in gdbus_shared_thread_func (user_data=0x5532df0) at
gdbusprivate.c:277
#7  0x00000030c5e6b5f5 in g_thread_proxy (data=0x5548ad0) at gthread.c:797
#8  0x00000030c2a07d15 in start_thread (arg=0x7f4d4329c700) at
pthread_create.c:308
#9  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 10 (Thread 0x7f4cabfff700 (LWP 2120)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003a3341672d in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x3a33e00ce0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x0000003a33416839 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00000030c2a07d15 in start_thread (arg=0x7f4cabfff700) at
pthread_create.c:308
#4  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 9 (Thread 0x7f4d4149b700 (LWP 2140)):
#0  0x00000030c22e97ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000030c5e47d44 in g_main_context_poll (n_fds=1, fds=0x7f4ca40016e0,
timeout=9270, context=0x7f4ca4000980, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f4ca4000980,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3285
#3  0x00000030c5e47e64 in g_main_context_iteration (context=0x7f4ca4000980,
may_block=1) at gmain.c:3351
#4  0x00000030ceba6176 in QEventDispatcherGlib::processEvents
(this=0x7f4ca4001700, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000030ceb76e2f in QEventLoop::processEvents
(this=this@entry=0x7f4d4149ad00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000030ceb770b8 in QEventLoop::exec (this=0x7f4d4149ad00, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00000030cea787f0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x2fce430) at
thread/qthread_unix.cpp:338
#9  0x00000030c2a07d15 in start_thread (arg=0x7f4d4149b700) at
pthread_create.c:308
#10 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 8 (Thread 0x7f4cb2223700 (LWP 2302)):
#0  0x00000030c5e84b25 in g_mutex_get_impl (mutex=0x7f4c600009a0) at
gthread-posix.c:120
#1  0x00000030c5e84dc9 in g_mutex_unlock (mutex=mutex@entry=0x7f4c600009a0) at
gthread-posix.c:229
#2  0x00000030c5e47969 in g_main_context_dispatch
(context=context@entry=0x7f4c600009a0) at gmain.c:3222
#3  0x00000030c5e47da8 in g_main_context_iterate
(context=context@entry=0x7f4c600009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#4  0x00000030c5e47e64 in g_main_context_iteration (context=0x7f4c600009a0,
may_block=1) at gmain.c:3351
#5  0x00000030ceba6176 in QEventDispatcherGlib::processEvents
(this=0x7f4c600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00000030ceb76e2f in QEventLoop::processEvents
(this=this@entry=0x7f4cb2222cd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000030ceb770b8 in QEventLoop::exec (this=0x7f4cb2222cd0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00000030cea787f0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00000030ceb5763f in QInotifyFileSystemWatcherEngine::run (this=0x2041e30)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00000030cea7b7cc in QThreadPrivate::start (arg=0x2041e30) at
thread/qthread_unix.cpp:338
#11 0x00000030c2a07d15 in start_thread (arg=0x7f4cb2223700) at
pthread_create.c:308
#12 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 7 (Thread 0x7f4cb1a22700 (LWP 2305)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030cea7bd2b in wait (time=18446744073709551615, this=0x21072f0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5939070,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e040aad1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x51ca700,
th=0x5012ea0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000030e040d31b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x5012ea0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x5012ea0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000030e040c18f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f4cb1a21d00, parent=0x51ca700, th=th@entry=0x5012ea0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00000030e040c21b in ThreadWeaver::Thread::run (this=0x5012ea0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x5012ea0) at
thread/qthread_unix.cpp:338
#9  0x00000030c2a07d15 in start_thread (arg=0x7f4cb1a22700) at
pthread_create.c:308
#10 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 6 (Thread 0x7f4cb09f9700 (LWP 2451)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030cea7bd2b in wait (time=18446744073709551615, this=0x2161b30) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x215ffb0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e040aad1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x215fde0,
th=0x505cdc0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000030e040d31b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x2160010, th=0x505cdc0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x2160010, th=0x505cdc0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x2160010, th=0x505cdc0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00000030e040c18f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f4cb09f8d00, parent=0x215fde0, th=th@entry=0x505cdc0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#8  0x00000030e040c21b in ThreadWeaver::Thread::run (this=0x505cdc0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#9  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x505cdc0) at
thread/qthread_unix.cpp:338
#10 0x00000030c2a07d15 in start_thread (arg=0x7f4cb09f9700) at
pthread_create.c:308
#11 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 5 (Thread 0x7f4cab7fe700 (LWP 2452)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030cea7bd2b in wait (time=18446744073709551615, this=0x2161b30) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x215ffb0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e040aad1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x215fde0,
th=0x7f4c50001a40) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000030e040d31b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x2160010, th=0x7f4c50001a40) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000030e040c18f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f4cab7fdd00, parent=0x215fde0, th=th@entry=0x7f4c50001a40)
at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#6  0x00000030e040c21b in ThreadWeaver::Thread::run (this=0x7f4c50001a40) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#7  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x7f4c50001a40) at
thread/qthread_unix.cpp:338
#8  0x00000030c2a07d15 in start_thread (arg=0x7f4cab7fe700) at
pthread_create.c:308
#9  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f4caaf10700 (LWP 2491)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030cea7bd2b in wait (time=18446744073709551615, this=0x21072f0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5939070,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e040aad1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x51ca700,
th=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000030e040d31b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00000030e040c18f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f4caaf0fd00, parent=0x51ca700, th=th@entry=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#10 0x00000030e040c21b in ThreadWeaver::Thread::run (this=0x6cb9b50) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#11 0x00000030cea7b7cc in QThreadPrivate::start (arg=0x6cb9b50) at
thread/qthread_unix.cpp:338
#12 0x00000030c2a07d15 in start_thread (arg=0x7f4caaf10700) at
pthread_create.c:308
#13 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f4caa70f700 (LWP 2492)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030cea7bd2b in wait (time=18446744073709551615, this=0x21072f0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5939070,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e040aad1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x51ca700,
th=0x64afc30) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000030e040d31b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x64afc30) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x64afc30) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000030e040d334 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x64afc30) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00000030e040c18f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f4caa70ed00, parent=0x51ca700, th=th@entry=0x64afc30) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#8  0x00000030e040c21b in ThreadWeaver::Thread::run (this=0x64afc30) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#9  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x64afc30) at
thread/qthread_unix.cpp:338
#10 0x00000030c2a07d15 in start_thread (arg=0x7f4caa70f700) at
pthread_create.c:308
#11 0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f4cb1221700 (LWP 3377)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000030cea7bd2b in wait (time=18446744073709551615, this=0x21072f0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5939070,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000030e040aad1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x51ca700,
th=0x7aab6d0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000030e040d31b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x20e42a0, th=0x7aab6d0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000030e040c18f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f4cb1220d00, parent=0x51ca700, th=th@entry=0x7aab6d0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#6  0x00000030e040c21b in ThreadWeaver::Thread::run (this=0x7aab6d0) at
/usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#7  0x00000030cea7b7cc in QThreadPrivate::start (arg=0x7aab6d0) at
thread/qthread_unix.cpp:338
#8  0x00000030c2a07d15 in start_thread (arg=0x7f4cb1221700) at
pthread_create.c:308
#9  0x00000030c22f22cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f4d73997880 (LWP 1952)):
[KCrash Handler]
#6  0x00007f4ca9649d10 in ?? ()
#7  0x00000030ceb8466c in QMetaType::construct (type=<optimized out>,
copy=0x7fff3101fc40) at kernel/qmetatype.cpp:1237
#8  0x00000030ceb9d516 in construct (x=0x7fff3101fcd0, copy=0x7fff3101fc40) at
kernel/qvariant.cpp:185
#9  0x00000030cfe009e8 in construct (x=0x7fff3101fcd0, copy=0x7fff3101fc40) at
kernel/qguivariant.cpp:182
#10 0x00000030ceb98a95 in QVariant::QVariant (this=0x7fff3101fcd0,
typeOrUserType=<optimized out>, copy=<optimized out>, flags=<optimized out>) at
kernel/qvariant.cpp:1686
#11 0x00007f4c47bc547b in qVariantSetValue<BlockContext> (t=..., v=...) at
/usr/include/QtCore/qvariant.h:473
#12 setValue<BlockContext> (avalue=..., this=0x90ba9b8) at
/usr/include/QtCore/qvariant.h:528
#13 ExtendsNode::render (this=0x90bb410, stream=0x7fff3101fea0, c=0x52eebf8) at
/usr/src/debug/grantlee-0.3.0/templates/loadertags/extends.cpp:151
#14 0x00007f4d73bf337e in Grantlee::NodeList::render (this=0x90bbc68,
stream=0x7fff3101fea0, c=0x52eebf8) at
/usr/src/debug/grantlee-0.3.0/templates/lib/node.cpp:161
#15 0x00007f4d73c00cff in Grantlee::TemplateImpl::render (this=<optimized out>,
stream=0x7fff3101fea0, c=0x52eebf8) at
/usr/src/debug/grantlee-0.3.0/templates/lib/template.cpp:91
#16 0x00007f4d742046f3 in KDevelop::TemplateRenderer::render(QString const&,
QString const&) const () from /usr/local/lib64/libkdevplatformlanguage.so.7
#17 0x00007f4d742061eb in
KDevelop::TemplateRenderer::renderFileTemplate(KDevelop::SourceFileTemplate
const&, KUrl const&, QHash<QString, KUrl> const&) () from
/usr/local/lib64/libkdevplatformlanguage.so.7
#18 0x00007f4d741fc19b in KDevelop::TemplateClassGenerator::generate() () from
/usr/local/lib64/libkdevplatformlanguage.so.7
#19 0x00007f4d4af412e1 in CppTemplateNewClass::generate (this=0x5665100) at
/home/marcel/tmp/kdevelop/languages/cpp/codegen/cppclasshelper.cpp:207
#20 0x00007f4d4be435af in KDevelop::TemplateClassAssistant::accept() () from
/usr/local/lib64/kde4/kdevfiletemplates.so
#21 0x00000030ceb8e89f in QMetaObject::activate (sender=0x8f2cb50, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#22 0x00000030d15a75c6 in KDialog::slotButtonClicked (this=0x8f2cb50,
button=4096) at /usr/src/debug/kdelibs-4.9.3/kdeui/dialogs/kdialog.cpp:900
#23 0x00000030d15a7bc4 in qt_static_metacall (_a=<optimized out>,
_id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at
/usr/src/debug/kdelibs-4.9.3/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:166
#24 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kdelibs-4.9.3/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:126
#25 0x00000030ceb8e89f in QMetaObject::activate (sender=0x6eace30, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff31020530) at
kernel/qobject.cpp:3547
#26 0x00000030ceb9334e in QSignalMapper::mapped (this=this@entry=0x6eace30,
_t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:114
#27 0x00000030ceb93555 in QSignalMapper::map (this=0x6eace30, sender=0x52ef3f0)
at kernel/qsignalmapper.cpp:266
#28 0x00000030ceb8e89f in QMetaObject::activate (sender=0x52ef3f0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff310206c0) at
kernel/qobject.cpp:3547
#29 0x00000030d042e6d2 in QAbstractButton::clicked (this=<optimized out>,
_t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#30 0x00000030d018387e in QAbstractButtonPrivate::emitClicked
(this=this@entry=0x8f2bb30) at widgets/qabstractbutton.cpp:548
#31 0x00000030d0183e80 in QAbstractButtonPrivate::click
(this=this@entry=0x8f2bb30) at widgets/qabstractbutton.cpp:541
#32 0x00000030d01840ec in QAbstractButton::mouseReleaseEvent (this=0x52ef3f0,
e=0x7fff31020f60) at widgets/qabstractbutton.cpp:1123
#33 0x00000030cfe19d00 in QWidget::event (this=0x52ef3f0, event=0x7fff31020f60)
at kernel/qwidget.cpp:8371
#34 0x00000030cfdca4cc in QApplicationPrivate::notify_helper (this=0x1dc0510,
receiver=0x52ef3f0, e=0x7fff31020f60) at kernel/qapplication.cpp:4557
#35 0x00000030cfdcf1ab in QApplication::notify (this=<optimized out>,
receiver=0x52ef3f0, e=0x7fff31020f60) at kernel/qapplication.cpp:4100
#36 0x00000030d16468f6 in KApplication::notify (this=0x7fff31021e70,
receiver=0x52ef3f0, event=0x7fff31020f60) at
/usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#37 0x00000030ceb780de in QCoreApplication::notifyInternal
(this=0x7fff31021e70, receiver=0x52ef3f0, event=0x7fff31020f60) at
kernel/qcoreapplication.cpp:915
#38 0x00000030cfdcb30b in QApplicationPrivate::sendMouseEvent
(receiver=0x52ef3f0, event=0x7fff31020f60, alienWidget=0x52ef3f0,
nativeWidget=0x6d70880, buttonDown=0x30d089d268 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at
../../src/corelib/kernel/qcoreapplication.h:231
#39 0x00000030cfe45a44 in QETWidget::translateMouseEvent
(this=this@entry=0x6d70880, event=event@entry=0x7fff310216d0) at
kernel/qapplication_x11.cpp:4528
#40 0x00000030cfe447d1 in QApplication::x11ProcessEvent (this=0x7fff31021e70,
event=0x7fff310216d0) at kernel/qapplication_x11.cpp:3651
#41 0x00000030cfe6a8fc in x11EventSourceDispatch (s=s@entry=0x1dc2e70,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x00000030c5e47a75 in g_main_dispatch (context=0x1dc1b00) at gmain.c:2715
#43 g_main_context_dispatch (context=context@entry=0x1dc1b00) at gmain.c:3219
#44 0x00000030c5e47da8 in g_main_context_iterate
(context=context@entry=0x1dc1b00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#45 0x00000030c5e47e64 in g_main_context_iteration (context=0x1dc1b00,
may_block=1) at gmain.c:3351
#46 0x00000030ceba6176 in QEventDispatcherGlib::processEvents (this=0x1d125c0,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#47 0x00000030cfe6a5de in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x00000030ceb76e2f in QEventLoop::processEvents
(this=this@entry=0x7fff31021aa0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00000030ceb770b8 in QEventLoop::exec (this=0x7fff31021aa0, flags=...) at
kernel/qeventloop.cpp:204
#50 0x00000030ceb7bea8 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#51 0x000000000040da8e in main (argc=<optimized out>, argv=<optimized out>) at
/home/marcel/tmp/kdevelop/app/main.cpp:503

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

Possible duplicates by query: bug 310064.

Reported using DrKonqi

--
You are receiving this mail because:
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 310501] KDevelop crashes when creating a class via template generator

Bugzilla from kevin@kfunk.org
https://bugs.kde.org/show_bug.cgi?id=310501

Kevin Funk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Kevin Funk <[hidden email]> ---


*** This bug has been marked as a duplicate of bug 310064 ***

--
You are receiving this mail because:
You are watching all bug changes.