This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14629] hpux internal-error when following fork or vfork


http://sourceware.org/bugzilla/show_bug.cgi?id=14629

--- Comment #3 from Roberto GimÃnez <chilabot at gmail dot com> 2012-09-26 20:33:49 UTC ---
Now running an application that does many forks, after some of them gdb throws:

19-stack-list-arguments 1
(gdb) 
19^done,stack-args=[frame={level="0",args=[{name="argc",value="5"},{name="argv",value="0x9fffffffffffef88"}]}]
(gdb) 
20-exec-continue
20^running
*running,thread-id="1"
(gdb) 
&"Detaching after fork from child process 14555.\n"
&"Detaching after fork from child process 14556.\n"
=thread-created,id="2",group-id="i1"
~"[New process 14533, lwp 6996756]\n"
=thread-created,id="3",group-id="i1"
~"[New process 14533, lwp 6996757]\n"
=thread-created,id="4",group-id="i1"
~"[New process 14533, lwp 6996758]\n"
=thread-created,id="5",group-id="i1"
~"[New process 14533, lwp 6996759]\n"
=thread-created,id="6",group-id="i1"
~"[New process 14533, lwp 6996760]\n"
=thread-created,id="7",group-id="i1"
~"[New process 14533, lwp 6996761]\n"
=thread-created,id="8",group-id="i1"
~"[New process 14533, lwp 6996762]\n"
=thread-created,id="9",group-id="i1"
~"[New process 14533, lwp 6996763]\n"
&"Detaching after fork from child process 14558.\n"
*running,thread-id="all"
&"Detaching after fork from child process 14565.\n"
~"[Switching to process 14533, lwp 6996758]\n"
&"warning: Failed to read register value for psr.\n"
&"warning: Failed to read register value for ip.\n"
&"warning: Failed to read register value for bsp.\n"
&"warning: Failed to read register value for bspstore.\n"
*stopped,frame={addr="0x9fffffff7ee48730",func="_fork_sys",args=[],from="/lib/hpux64/libc.so.1"},thread-id="4",stopped-threads="all"
21-stack-list-frames
20^error,msg="ttrace: Protocol error."
=thread-selected,id="4"
(gdb) 
&"warning: Failed to read register value for r12.\n"
&"warning: Failed to read register value for bsp.\n"
&"warning: Failed to read register value for cfm.\n"
&"warning: Failed to read register value for bspstore.\n"
&"warning: Failed to read register value for b0.\n"
&"warning: Failed to read register value for pfs.\n"
21^done,stack=[frame={level="0",addr="0x9fffffff7ee48730",func="_fork_sys",from="/lib/hpux64/libc.so.1"},frame={level="1",addr="0x60000000012534b0",func="??"},frame={level="2",addr="0x0000000000000000",func="??"}]
22-stack-list-arguments 1
(gdb) 
22^done,stack-args=[frame={level="0",args=[]},frame={level="1",args=[]},frame={level="2",args=[]}]
(gdb)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]