# gdb info prog  internal error at catching new program

**URL:** <https://forums.suse.com/t/gdb-info-prog-internal-error-at-catching-new-program/32619>\
**Category:** SLES Updates\
**Created:** [June 29, 2018, 1:27am UTC](https://forums.suse.com/t/gdb-info-prog-internal-error-at-catching-new-program/32619 "2018-06-29T01:27:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zrlw](https://avatars.discourse-cdn.com/v4/letter/z/ba8739/32.png) [@zrlw](https://forums.suse.com/u/zrlw)\
**Post date:** [June 29, 2018, 1:27am UTC](https://forums.suse.com/t/gdb-info-prog-internal-error-at-catching-new-program/32619/1 "2018-06-29T01:27:02Z")

</div>

Hi, i don’t find suse bug report URL, post here wish some one help me.

$ gdb -v  
GNU gdb (GDB; SUSE Linux Enterprise 12) 7.11.1

$ cat t.c  
#include \<stdio.h\>  
#include \<string.h\>  
#include \<unistd.h\>  
main()  
{  
char\* exec\_args[]={"/bin/ls", “ppp”, NULL};  
execve(exec\_args[0], exec\_args, NULL);  
}

$ gcc -g t -o t.c  
$ gdb t  
(gdb) catch exec  
Catchpoint 1 (exec)  
(gdb) set follow-exec-mode new  
(gdb) start  
Temporary breakpoint 2 at 0x400545: file t.c, line 6.  
Starting program: /tmp/t

Temporary breakpoint 2, main () at t.c:6  
6 char\* exec\_args[]={"/bin/ls", “ppp”, NULL};  
(gdb) c  
Continuing.  
process 27690 is executing new program: /usr/bin/ls  
[New process 27690]

Thread 2.1 “ls” hit Catchpoint 1 (exec’d /usr/bin/ls), 0x00007ffff7ddd150 in \_start () from /lib64/ld-linux-x86-64.so.2  
Missing separate debuginfos, use: zypper install coreutils-debuginfo-8.25-12.8.x86\_64  
(gdb) info prog  
…/…/gdb/thread.c:982: internal-error: is\_thread\_state: Assertion `tp’ failed.  
A problem internal to GDB has been detected,  
further debugging may prove unreliable.

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [June 29, 2018, 10:15am UTC](https://forums.suse.com/t/gdb-info-prog-internal-error-at-catching-new-program/32619/2 "2018-06-29T10:15:51Z")

</div>

[QUOTE=zrlw;53246]Hi, i don’t find suse bug report URL, post here wish some one help me.

[/QUOTE]

If you have an active subscription then you can open a Service Request in SUSE Customer Center: [https://scc.suse.com/](https://scc.suse.com/)

Thomas
