Bug 255043 - debugger freeze on step by step.
Summary: debugger freeze on step by step.
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.1.60
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-23 15:29 UTC by stompdagger1
Modified: 2010-10-28 15:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stompdagger1 2010-10-23 15:29:54 UTC
Application: kdevelop (4.1.60)
KDE Platform Version: 4.5.2 (KDE 4.5.2) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed: debugging a program that uses QT4

- Unusual behavior I noticed: the debugger was running but pressing F10 or clicking an of the buttons from the toolbar were either disabled or non responding.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7f9e7f934760 (LWP 2119))]

Thread 5 (Thread 0x7f9e6b1e1710 (LWP 2120)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f9e7e0efbf1 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f9e7a4d881a in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa899b0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchain.cpp:283
#3  0x00007f9e7e0ef5c5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f9e7cb82d5c in start_thread (arg=0x7f9e6b1e1710) at pthread_create.c:301
#5  0x00007f9e7ce6a5ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f9e57825710 (LWP 2216)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9e6b42c8e0 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007f9e6b42c919 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007f9e7cb82d5c in start_thread (arg=0x7f9e57825710) at pthread_create.c:301
#4  0x00007f9e7ce6a5ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f9e62d43710 (LWP 3763)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9e7e0efc8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f9e75649126 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f9e7564b4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f9e7564a3cf in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f9e7564a458 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f9e7e0ef5c5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f9e7cb82d5c in start_thread (arg=0x7f9e62d43710) at pthread_create.c:301
#8  0x00007f9e7ce6a5ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f9e559f3710 (LWP 3764)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9e7e0efc8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f9e75649126 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f9e7564b4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f9e7564a3cf in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f9e7564a458 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f9e7e0ef5c5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f9e7cb82d5c in start_thread (arg=0x7f9e559f3710) at pthread_create.c:301
#8  0x00007f9e7ce6a5ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9e7f934760 (LWP 2119)):
[KCrash Handler]
#6  0x00007f9e7cdcb7c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f9e7cdccc46 in abort () at abort.c:92
#8  0x00007f9e7ce06473 in __libc_message (do_abort=2, fmt=0x7f9e7cec5c60 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007f9e7ce0b906 in malloc_printerr (action=3, str=0x7f9e7cec5f98 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f9e7ce107bc in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f9e7cdce3b1 in __run_exit_handlers (status=0, listp=0x7f9e7d0ff4a8, run_list_atexit=true) at exit.c:78
#12 0x00007f9e7cdce405 in exit (status=2119) at exit.c:100
#13 0x00007f9e7cdb7ce4 in __libc_start_main (main=0x405440 <main(int, char**)>, argc=1, ubp_av=0x7fff29f55cf8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff29f55ce8) at libc-start.c:258
#14 0x0000000000404b29 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 254364, bug 253841, bug 252212, bug 251003, bug 250807.

Reported using DrKonqi
Comment 1 Niko Sams 2010-10-26 08:14:38 UTC
Is the backtrace related to your debugger freeze? I think it isn't.

If you can reproduce, please post console output (enable gdb, debugger and shell output in kdebugdialog)
Comment 2 Milian Wolff 2010-10-28 15:04:35 UTC
the crash was probably some memory corruption / .kdevduchain cache corruption leading to a crash in free. Please do what niko said and report a second bug.