public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14629] New: hpux internal-error when following fork or vfork
@ 2012-09-26 14:54 chilabot at gmail dot com
2012-09-26 17:05 ` [Bug c++/14629] " palves at redhat dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: chilabot at gmail dot com @ 2012-09-26 14:54 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
Bug #: 14629
Summary: hpux internal-error when following fork or vfork
Product: gdb
Version: 7.5
Status: NEW
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: chilabot@gmail.com
Classification: Unclassified
Created attachment 6652
--> http://sourceware.org/bugzilla/attachment.cgi?id=6652
GDB log file
#include <unistd.h>
int main(int argc, char** argv)
{
fork();
return 0;
}
~"target.c:3242: internal-error: Can't determine the current address space of
thread process 19512\n\nA problem internal to GDB has been detected,\nfurther
debugging may prove unreliable.\nQuit this debugging session? "
~"(y or n) [answered Y; input not from terminal]\n"
~"target.c:3242: internal-error: Can't determine the current address space of
thread process 19512\n\nA problem internal to GDB has been detected,\nfurther
debugging may prove unreliable.\nCreate a core file of GDB? "
~"(y or n) [answered Y; input not from terminal]\n"
$ /usr/contrib/bin/machinfo
CPU info:
Intel(R) Itanium 2 9100 series processor (1.6 GHz, 24 MB)
2 cores, 4 logical processors per socket
533 MT/s bus, CPU version A1
Active processor count:
4 sockets
6 cores (1 to 2 per socket)
12 logical processors
LCPU attribute is enabled
Memory: 20366 MB (19.89 GB)
Firmware info:
Firmware revision: 9.048
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC firmware revision: 4.01
Platform info:
Model: "ia64 hp server rx8640"
Machine ID number: 8e73b9a5-cc23-11de-badc-8b8193cbace1
Machine serial number: USE49395AD
OS info:
Nodename: rx8kl
Release: HP-UX B.11.31
Version: U (unlimited-user license)
Machine: ia64
ID Number: 2389948837
vmunix _release_version:
@(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
@ 2012-09-26 17:05 ` palves at redhat dot com
2012-09-26 18:53 ` chilabot at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: palves at redhat dot com @ 2012-09-26 17:05 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |palves at redhat dot com
Resolution| |FIXED
Target Milestone|--- |7.6
--- Comment #1 from Pedro Alves <palves at redhat dot com> 2012-09-26 17:05:52 UTC ---
Thanks.
This has been fixed on mainline already:
commit 99eb1c237fa33bcfc0862513eaf7e2f1216a0c14
Author: Joel Brobecker <brobecker@gnat.com>
Date: Thu Aug 16 23:55:01 2012 +0000
fix internal_error during fork event handling.
and a couple commits more before that one.
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
2012-09-26 17:05 ` [Bug c++/14629] " palves at redhat dot com
@ 2012-09-26 18:53 ` chilabot at gmail dot com
2012-09-26 20:33 ` chilabot at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: chilabot at gmail dot com @ 2012-09-26 18:53 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
--- Comment #2 from Roberto Giménez <chilabot at gmail dot com> 2012-09-26 18:53:43 UTC ---
Oh, ok thanks.
(In reply to comment #1)
> Thanks.
>
> This has been fixed on mainline already:
>
> commit 99eb1c237fa33bcfc0862513eaf7e2f1216a0c14
> Author: Joel Brobecker <brobecker@gnat.com>
> Date: Thu Aug 16 23:55:01 2012 +0000
>
> fix internal_error during fork event handling.
>
> and a couple commits more before that one.
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
2012-09-26 17:05 ` [Bug c++/14629] " palves at redhat dot com
2012-09-26 18:53 ` chilabot at gmail dot com
@ 2012-09-26 20:33 ` chilabot at gmail dot com
2012-09-27 17:21 ` palves at redhat dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: chilabot at gmail dot com @ 2012-09-26 20:33 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
` (2 preceding siblings ...)
2012-09-26 20:33 ` chilabot at gmail dot com
@ 2012-09-27 17:21 ` palves at redhat dot com
2012-09-27 17:23 ` palves at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: palves at redhat dot com @ 2012-09-27 17:21 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |brobecker at adacore dot
| |com
Resolution|FIXED |
--- Comment #4 from Pedro Alves <palves at redhat dot com> 2012-09-27 17:21:56 UTC ---
Can you clarify what "now" means? Do you mean with current mainline?
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
` (3 preceding siblings ...)
2012-09-27 17:21 ` palves at redhat dot com
@ 2012-09-27 17:23 ` palves at redhat dot com
2012-09-27 19:47 ` chilabot at gmail dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: palves at redhat dot com @ 2012-09-27 17:23 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
--- Comment #5 from Pedro Alves <palves at redhat dot com> 2012-09-27 17:23:08 UTC ---
To be clear, I think you were referring to the
20^error,msg="ttrace: Protocol error."
error, right?
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
` (4 preceding siblings ...)
2012-09-27 17:23 ` palves at redhat dot com
@ 2012-09-27 19:47 ` chilabot at gmail dot com
2012-09-27 19:48 ` chilabot at gmail dot com
2012-10-01 18:42 ` palves at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: chilabot at gmail dot com @ 2012-09-27 19:47 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
--- Comment #6 from Roberto Giménez <chilabot at gmail dot com> 2012-09-27 19:47:44 UTC ---
(In reply to comment #4)
> Can you clarify what "now" means? Do you mean with current mainline?
Yes.
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
` (5 preceding siblings ...)
2012-09-27 19:47 ` chilabot at gmail dot com
@ 2012-09-27 19:48 ` chilabot at gmail dot com
2012-10-01 18:42 ` palves at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: chilabot at gmail dot com @ 2012-09-27 19:48 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
--- Comment #7 from Roberto Giménez <chilabot at gmail dot com> 2012-09-27 19:48:11 UTC ---
(In reply to comment #5)
> To be clear, I think you were referring to the
>
> 20^error,msg="ttrace: Protocol error."
>
> error, right?
Yes.
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14629] hpux internal-error when following fork or vfork
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
` (6 preceding siblings ...)
2012-09-27 19:48 ` chilabot at gmail dot com
@ 2012-10-01 18:42 ` palves at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: palves at redhat dot com @ 2012-10-01 18:42 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14629
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Pedro Alves <palves at redhat dot com> 2012-10-01 18:42:41 UTC ---
I've opened PR14653 to track the ttrace error issue.
Closing this as the original bug is fixed.
--
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-10-01 18:42 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26 14:54 [Bug c++/14629] New: hpux internal-error when following fork or vfork chilabot at gmail dot com
2012-09-26 17:05 ` [Bug c++/14629] " palves at redhat dot com
2012-09-26 18:53 ` chilabot at gmail dot com
2012-09-26 20:33 ` chilabot at gmail dot com
2012-09-27 17:21 ` palves at redhat dot com
2012-09-27 17:23 ` palves at redhat dot com
2012-09-27 19:47 ` chilabot at gmail dot com
2012-09-27 19:48 ` chilabot at gmail dot com
2012-10-01 18:42 ` palves at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).