I have problem with GDB

Program locks most of time when running inside of GDB.
(I compiled this C::B with fress SVN, with also --enable-debug flag)
death@eua:~> gdb codeblocks
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) r
Starting program: /usr/local/bin/codeblocks
[Thread debugging using libthread_db enabled]
[New Thread 47685905327792 (LWP 1680)]
[New Thread 1082132800 (LWP 1683)]
[New Thread 1090525504 (LWP 1684)]
[New Thread 1098918208 (LWP 1685)]
[New Thread 1107310912 (LWP 1686)]
[New Thread 1115703616 (LWP 1687)]
[New Thread 1124096320 (LWP 1689)]
[New Thread 1132489024 (LWP 1692)]
[Thread 1132489024 (zombie) exited]
thread_db_get_info: cannot get thread info: generic error
(gdb) bt
#0 0x0000000000000000 in ?? ()
Cannot access memory at address 0x0
(gdb)