public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork
@ 2012-09-26 20:52 chilabot at gmail dot com
  2012-10-01 16:29 ` [Bug c++/14631] " palves at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: chilabot at gmail dot com @ 2012-09-26 20:52 UTC (permalink / raw)
  To: gdb-prs


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

             Bug #: 14631
           Summary: hp ux internal-error: handle_inferior_event when
                    following vfork
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: chilabot@gmail.com
    Classification: Unclassified


Created attachment 6654
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6654
GDB log file

#include <unistd.h>

int main(int argc, char** argv) 
{
    vfork();
    return 0;
}


.
.
.
~"infrun.c:3172: internal-error: handle_inferior_event: Assertion `inf'
failed.\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"
~"infrun.c:3172: internal-error: handle_inferior_event: Assertion `inf'
failed.\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] 7+ messages in thread

* [Bug c++/14631] hp ux internal-error: handle_inferior_event when following vfork
  2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
@ 2012-10-01 16:29 ` palves at redhat dot com
  2012-10-01 18:24 ` chilabot at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: palves at redhat dot com @ 2012-10-01 16:29 UTC (permalink / raw)
  To: gdb-prs


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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> 2012-10-01 16:29:06 UTC ---
Does this one happen with current mainline?  Could you do the same test, but
with "set debug infrun 1", so we could see gdb's internal run control debug
output?

-- 
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] 7+ messages in thread

* [Bug c++/14631] hp ux internal-error: handle_inferior_event when following vfork
  2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
  2012-10-01 16:29 ` [Bug c++/14631] " palves at redhat dot com
@ 2012-10-01 18:24 ` chilabot at gmail dot com
  2012-10-01 18:27 ` chilabot at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: chilabot at gmail dot com @ 2012-10-01 18:24 UTC (permalink / raw)
  To: gdb-prs


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

--- Comment #2 from Roberto Giménez <chilabot at gmail dot com> 2012-10-01 18:24:13 UTC ---
mainline

$ gdb --version
GNU gdb (GDB) 7.5.50.20120926-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ia64-hp-hpux11.31".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.


This log is saved to: /var/tmp/gdb-cmds7096318269954903676.log


NB build: 201207171143


=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.5.50.20120926-cvs\n"
~"Copyright (C) 2012 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to
change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by
law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"ia64-hp-hpux11.31\".\nFor bug reporting
instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
&"/home/gimenero/.gdbinit: No such file or directory.\n"
(gdb) 
2-list-features
3-gdb-set print repeat 0
4-gdb-set backtrace limit 1024
5-gdb-set print elements 0
6-enable-pretty-printing
7-file-exec-and-symbols 
"/home/gimenero/gitRepos/repos/src/projects/hp/py.com.personal/builder/dist/Debug/GNU-Generic/builder"
2^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info"]
(gdb) 
3^done
(gdb) 
4^done
(gdb) 
5^done
(gdb) 
6^done
(gdb) 
7^done
8-file-list-exec-source-file
9cd /home/gimenero/gitRepos/repos/src/projects/buildsys
10-exec-arguments --src ../.. -a chila/lib/misc
11-break-insert -f
"/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:48"
12-break-insert -f
"/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:74"
13-break-insert -f
"/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:79"
(gdb) 
14-break-insert -t _start
8^done,line="30",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",macro-info="0"
(gdb) 
&"cd /home/gimenero/gitRepos/repos/src/projects/buildsys\n"
~"Working directory /home/gimenero/gitRepos/repos/src/projects/buildsys.\n"
9^done
(gdb) 
=cmd-param-changed,param="args",value="--src ../.. -a chila/lib/misc"
10^done
(gdb) 
11^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x4000000000185e21",func="main(int,
char**)",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="48",times="0",original-location="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:48"}
(gdb) 
12^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x4000000000186311",func="main(int,
char**)",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="74",times="0",original-location="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:74"}
(gdb) 
13^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x4000000000186371",func="main(int,
char**)",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="79",times="0",original-location="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:79"}
(gdb) 
14^error,msg="Function \"_start\" not defined."
15-break-insert -t main
(gdb) 
15^done,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x4000000000185de1",func="main(int,
char**)",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="39",times="0",original-location="main"}
16-exec-run
(gdb) 
=thread-group-started,id="i1",pid="530"
=thread-created,id="1",group-id="i1"
16^running
*running,thread-id="all"
(gdb) 
=library-loaded,id="/lib/hpux64/libpthread.so.1",target-name="/lib/hpux64/libpthread.so.1",host-name="/lib/hpux64/libpthread.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/opt/hp-gcc-4.7.0/lib/gcc/ia64-hp-hpux11.23/4.7.0/../../../hpux64/libstdc++.so.6",target-name="/opt/hp-gcc-4.7.0/lib/gcc/ia64-hp-hpux11.23/4.7.0/../../../hpux64/libstdc++.so.6",host-name="/opt/hp-gcc-4.7.0/lib/gcc/ia64-hp-hpux11.23/4.7.0/../../../hpux64/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/hpux64/libm.so.1",target-name="/lib/hpux64/libm.so.1",host-name="/lib/hpux64/libm.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/opt/hp-gcc-4.7.0/lib/gcc/ia64-hp-hpux11.23/4.7.0/../../../hpux64/libgcc_s.so.0",target-name="/opt/hp-gcc-4.7.0/lib/gcc/ia64-hp-hpux11.23/4.7.0/../../../hpux64/libgcc_s.so.0",host-name="/opt/hp-gcc-4.7.0/lib/gcc/ia64-hp-hpux11.23/4.7.0/../../../hpux64/libgcc_s.so.0",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/hpux64/libunwind.so.1",target-name="/lib/hpux64/libunwind.so.1",host-name="/lib/hpux64/libunwind.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/hpux64/libc.so.1",target-name="/lib/hpux64/libc.so.1",host-name="/lib/hpux64/libc.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/usr/lib/hpux64/libuca.so.1",target-name="/usr/lib/hpux64/libuca.so.1",host-name="/usr/lib/hpux64/libuca.so.1",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/usr/lib/hpux64/libdl.so.1",target-name="/usr/lib/hpux64/libdl.so.1",host-name="/usr/lib/hpux64/libdl.so.1",symbols-loaded="0",thread-group="i1"
=breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x4000000000185de1",func="main(int,
char**)",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="39",times="1",original-location="main"}
*stopped,reason="breakpoint-hit",disp="del",bkptno="4",frame={addr="0x4000000000185de1",func="main",args=[{name="argc",value="5"},{name="argv",value="0x9fffffffffffed70"}],file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="39"},thread-id="1",stopped-threads="all"
17-exec-continue
=breakpoint-deleted,id="4"
(gdb) 
17^running
No answer for: 16-exec-run


*running,thread-id="all"
(gdb) 
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x4000000000185e21",func="main(int,
char**)",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="48",times="1",original-location="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp:48"}
*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x4000000000185e21",func="main",args=[{name="argc",value="5"},{name="argv",value="0x9fffffffffffed70"}],file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="48"},thread-id="1",stopped-threads="all"
18-stack-list-frames
(gdb) 
18^done,stack=[frame={level="0",addr="0x4000000000185e21",func="main",file="../../../../py.com.personal/builder/main.cpp",fullname="/home/gimenero/gitRepos/repos/src/py.com.personal/builder/main.cpp",line="48"}]
No answer for: 17-exec-continue


19-stack-list-arguments 1
20-var-update --all-values * 
(gdb) 
19^done,stack-args=[frame={level="0",args=[{name="argc",value="5"},{name="argv",value="0x9fffffffffffed70"}]}]
21-stack-list-locals --simple-values
(gdb) 
20^done,changelist=[]
(gdb) 
21^done,locals=[{name="builder",type="py::com::personal::buildsys::task::Builder"},{name="taskLoader",type="py::com::personal::builder::TaskLoader"},{name="start",type="boost::posix_time::ptime"}]
22-var-create - @ builder
23-var-create - @ taskLoader
24-var-create - @ start
25-var-create - @ argc
26-var-create - @ argv
27-var-update --all-values * 
(gdb) 
22^done,name="var1",numchild="2",value="{...}",type="py::com::personal::buildsys::task::Builder",thread-id="1",has_more="0"
28-var-show-attributes "var1"
(gdb) 
23^done,name="var2",numchild="1",value="{...}",type="py::com::personal::builder::TaskLoader",thread-id="1",has_more="0"
29-var-show-attributes "var2"
(gdb) 
24^done,name="var3",numchild="1",value="{...}",type="boost::posix_time::ptime",thread-id="1",has_more="0"
30-var-show-attributes "var3"
(gdb) 
25^done,name="var4",numchild="0",value="5",type="int",thread-id="1",has_more="0"
31-var-show-attributes "var4"
(gdb) 
26^done,name="var5",numchild="1",value="0x9fffffffffffed70",type="char
**",thread-id="1",has_more="0"
32-var-show-attributes "var5"
(gdb) 
27^done,changelist=[]
(gdb) 
28^done,attr="noneditable"
(gdb) 
29^done,attr="noneditable"
(gdb) 
30^done,attr="noneditable"
(gdb) 
31^done,attr="editable"
33-var-evaluate-expression var4
(gdb) 
32^done,attr="editable"
34-var-evaluate-expression var5
(gdb) 
35-var-list-children --all-values "var2" 0 100
36-var-list-children --all-values "var3" 0 100
33^done,value="5"
(gdb) 
34^done,value="0x9fffffffffffed70"
(gdb) 
37-var-list-children --all-values "var5" 0 100
35^done,numchild="1",children=[child={name="var2.private",exp="private",numchild="12",value="",thread-id="1"}],has_more="0"
38-var-list-children --all-values "var2.private" 0 100
(gdb) 
36^done,numchild="1",children=[child={name="var3.boost::date_time::base_time<boost::posix_time::ptime,
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>
> >",exp="boost::date_time::base_time<boost::posix_time::ptime,
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>
>
>",numchild="2",value="{...}",type="boost::date_time::base_time<boost::posix_time::ptime,
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>
> >",thread-id="1"}],has_more="0"
39-var-show-attributes
"var3.boost::date_time::base_time<boost::posix_time::ptime,
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>
> >"
(gdb) 
37^done,numchild="1",children=[child={name="var5.*argv",exp="*argv",numchild="1",value="0x9fffffffffffef38
\"/home/gimenero/gitRepos/repos/src/projects/hp/py.com.personal/builder/dist/Debug/GNU-Generic/builder\"",type="char
*",thread-id="1"}],has_more="0"
40-var-show-attributes "var5.*argv"
(gdb) 
38^done,numchild="12",children=[child={name="var2.private.xmlConfigFile",exp="xmlConfigFile",numchild="2",value="{...}",type="boost::filesystem::path",thread-id="1"},child={name="var2.private.autoConfigFile",exp="autoConfigFile",numchild="2",value="{...}",type="boost::filesystem::path",thread-id="1"},child={name="var2.private.taskManager",exp="taskManager",numchild="2",value="{...}",type="py::com::personal::buildsys::task::TaskManager
&",thread-id="1"},child={name="var2.private.fileTaskMap",exp="fileTaskMap",numchild="1",value="{...}",type="py::com::personal::buildsys::file::FileTaskMap",thread-id="1"},child={name="var2.private.variables",exp="variables",numchild="1",value="{...}",type="py::com::personal::builder::VariableMap",thread-id="1"},child={name="var2.private.boostVersion",exp="boostVersion",numchild="2",value="{...}",type="std::string",thread-id="1"},child={name="var2.private.showPrefix",exp="showPrefix",numchild="0",value="false",type="bool",thread-id="1"},child={name="var2.private.noAutoGenDeps",exp="noAutoGenDeps",numchild="0",value="false",type="bool",thread-id="1"},child={name="var2.private.platform",exp="platform",numchild="0",value="py::com::personal::builder::PE_LINUX_AMD64",type="py::com::personal::builder::PlatformEnum",thread-id="1"},child={name="var2.private.configFiles",exp="configFiles",numchild="1",value="{...}",type="py::com::personal::buildsys::file::PathVec",thread-id="1"},child={name="var2.private.targets",exp="targets",numchild="1",value="{...}",type="py::com::personal::buildsys::file::PathVec",thread-id="1"},child={name="var2.private.opened",exp="opened",numchild="1",value="{...}",type="py::com::personal::buildsys::file::PathSet",thread-id="1"}],has_more="0"
41-var-show-attributes "var2.private.xmlConfigFile"
42-var-show-attributes "var2.private.autoConfigFile"
43-var-show-attributes "var2.private.taskManager"
44-var-show-attributes "var2.private.fileTaskMap"
45-var-show-attributes "var2.private.variables"
46-var-show-attributes "var2.private.boostVersion"
47-var-show-attributes "var2.private.showPrefix"
48-var-show-attributes "var2.private.noAutoGenDeps"
49-var-show-attributes "var2.private.platform"
50-var-show-attributes "var2.private.configFiles"
51-var-show-attributes "var2.private.targets"
52-var-show-attributes "var2.private.opened"
(gdb) 
39^done,attr="noneditable"
(gdb) 
40^done,attr="editable"
(gdb) 
41^done,attr="noneditable"
(gdb) 
42^done,attr="noneditable"
(gdb) 
43^done,attr="noneditable"
(gdb) 
44^done,attr="noneditable"
(gdb) 
45^done,attr="noneditable"
(gdb) 
46^done,attr="noneditable"
(gdb) 
47^done,attr="editable"
(gdb) 
48^done,attr="editable"
(gdb) 
49^done,attr="editable"
(gdb) 
50^done,attr="noneditable"
(gdb) 
51^done,attr="noneditable"
(gdb) 
52^done,attr="noneditable"
(gdb) 
&"set debug infrun 1\n"
^done
No command for record ^done


(gdb) 
53-exec-continue
&"infrun: clear_proceed_status_thread (process 530, lwp 9632898)\n"
&"infrun: proceed (addr=0xffffffffffffffff, signal=144, step=0)\n"
&"infrun: resume (step=1, signal=0), trap_expected=1, current thread [process
530, lwp 9632898] at 0x4000000000185e21\n"
53^running
*running,thread-id="1"
(gdb) 
&"infrun: wait_for_inferior ()\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = stopped, signal = SIGTRAP\n"
&"infrun: infwait_normal_state\n"
&"infrun: TARGET_WAITKIND_STOPPED\n"
&"infrun: stop_pc = 0x4000000000185e22\n"
&"infrun: no stepping, continue\n"
&"infrun: resume (step=0, signal=0), trap_expected=0, current thread [process
530, lwp 9632898] at 0x4000000000185e22\n"
&"infrun: prepare_to_wait\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = forked\n"
&"infrun: infwait_normal_state\n"
&"infrun: TARGET_WAITKIND_FORKED\n"
&"Detaching after fork from child process 569.\n"
&"infrun: resume (step=0, signal=0), trap_expected=0, current thread [process
530, lwp 9632898] at 0x9fffffffbee48730\n"
&"infrun: prepare_to_wait\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = forked\n"
&"infrun: infwait_normal_state\n"
&"infrun: TARGET_WAITKIND_FORKED\n"
&"Detaching after fork from child process 570.\n"
&"infrun: resume (step=0, signal=0), trap_expected=0, current thread [process
530, lwp 9632898] at 0x9fffffffbee48730\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="2",group-id="i1"
~"[New process 530, lwp 9632977]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="3",group-id="i1"
~"[New process 530, lwp 9632978]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="4",group-id="i1"
~"[New process 530, lwp 9632979]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="5",group-id="i1"
~"[New process 530, lwp 9632980]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="6",group-id="i1"
~"[New process 530, lwp 9632981]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="7",group-id="i1"
~"[New process 530, lwp 9632982]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="8",group-id="i1"
~"[New process 530, lwp 9632983]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
=thread-created,id="9",group-id="i1"
~"[New process 530, lwp 9632984]\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632898],\ninfrun:   status->kind = ignore\n"
&"infrun: TARGET_WAITKIND_IGNORE\n"
&"infrun: prepare_to_wait\n"
&"infrun: target_wait (-1, status) =\ninfrun:   530 [process 530, lwp
9632977],\ninfrun:   status->kind = forked\n"
&"infrun: infwait_normal_state\n"
&"infrun: TARGET_WAITKIND_FORKED\n"
&"infrun: Switching context from process 530, lwp 9632898 to process 530, lwp
9632977\n"
&"Detaching after fork from child process 572.\n"
&"infrun: resume (step=0, signal=0), trap_expected=0, current thread [process
530, lwp 9632977] at 0x9fffffffbee48730\n"
~"[Switching to process 530, lwp 9632977]\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="0x9fffffffbee48730",func="_fork_sys",args=[],from="/lib/hpux64/libc.so.1"},thread-id="2",stopped-threads="all"
54-stack-list-frames
53^error,msg="ttrace: Protocol error."
=thread-selected,id="2"
(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"
54^done,stack=[frame={level="0",addr="0x9fffffffbee48730",func="_fork_sys",from="/lib/hpux64/libc.so.1"},frame={level="1",addr="0x6000000001250dc0",func="??"},frame={level="2",addr="0x0000000000000000",func="??"}]
55-stack-list-arguments 1
56-var-update --all-values * 
(gdb) 
55^done,stack-args=[frame={level="0",args=[]},frame={level="1",args=[]},frame={level="2",args=[]}]
57-stack-list-locals --simple-values
(gdb) 
56^done,changelist=[{name="var5",in_scope="false",type_changed="false",has_more="0"},{name="var4",in_scope="false",type_changed="false",has_more="0"},{name="var3",in_scope="false",type_changed="false",has_more="0"},{name="var2",in_scope="false",type_changed="false",has_more="0"},{name="var1",in_scope="false",type_changed="false",has_more="0"}]
(gdb) 
57^done,locals=[]
58-var-update --all-values * 
(gdb) 
58^done,changelist=[]
(gdb) 


(In reply to comment #1)
> Does this one happen with current mainline?  Could you do the same test, but
> with "set debug infrun 1", so we could see gdb's internal run control debug
> output?

-- 
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] 7+ messages in thread

* [Bug c++/14631] hp ux internal-error: handle_inferior_event when following vfork
  2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
  2012-10-01 16:29 ` [Bug c++/14631] " palves at redhat dot com
  2012-10-01 18:24 ` chilabot at gmail dot com
@ 2012-10-01 18:27 ` chilabot at gmail dot com
  2012-10-01 18:31 ` palves at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: chilabot at gmail dot com @ 2012-10-01 18:27 UTC (permalink / raw)
  To: gdb-prs


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

Roberto Giménez <chilabot at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6654|0                           |1
        is obsolete|                            |

--- Comment #3 from Roberto Giménez <chilabot at gmail dot com> 2012-10-01 18:27:22 UTC ---
Created attachment 6660
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6660
GDB log file (with "set debug infrun 1")

-- 
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] 7+ messages in thread

* [Bug c++/14631] hp ux internal-error: handle_inferior_event when following vfork
  2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
                   ` (2 preceding siblings ...)
  2012-10-01 18:27 ` chilabot at gmail dot com
@ 2012-10-01 18:31 ` palves at redhat dot com
  2012-10-01 18:35 ` chilabot at gmail dot com
  2012-10-01 18:41 ` palves at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: palves at redhat dot com @ 2012-10-01 18:31 UTC (permalink / raw)
  To: gdb-prs


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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #4 from Pedro Alves <palves at redhat dot com> 2012-10-01 18:31:01 UTC ---
Thanks.  There's no internal-error in mainline then.  We instead see the same
^error as PR14629.

Not many active gdb people have HPUX access these days.  You may need
to debug this yourself.

-- 
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] 7+ messages in thread

* [Bug c++/14631] hp ux internal-error: handle_inferior_event when following vfork
  2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
                   ` (3 preceding siblings ...)
  2012-10-01 18:31 ` palves at redhat dot com
@ 2012-10-01 18:35 ` chilabot at gmail dot com
  2012-10-01 18:41 ` palves at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: chilabot at gmail dot com @ 2012-10-01 18:35 UTC (permalink / raw)
  To: gdb-prs


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

--- Comment #5 from Roberto Giménez <chilabot at gmail dot com> 2012-10-01 18:35:54 UTC ---
hpux is sad

(In reply to comment #4)
> Thanks.  There's no internal-error in mainline then.  We instead see the same
> ^error as PR14629.
> 
> Not many active gdb people have HPUX access these days.  You may need
> to debug this yourself.

-- 
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] 7+ messages in thread

* [Bug c++/14631] hp ux internal-error: handle_inferior_event when following vfork
  2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
                   ` (4 preceding siblings ...)
  2012-10-01 18:35 ` chilabot at gmail dot com
@ 2012-10-01 18:41 ` palves at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: palves at redhat dot com @ 2012-10-01 18:41 UTC (permalink / raw)
  To: gdb-prs


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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Pedro Alves <palves at redhat dot com> 2012-10-01 18:41:38 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] 7+ messages in thread

end of thread, other threads:[~2012-10-01 18:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26 20:52 [Bug c++/14631] New: hp ux internal-error: handle_inferior_event when following vfork chilabot at gmail dot com
2012-10-01 16:29 ` [Bug c++/14631] " palves at redhat dot com
2012-10-01 18:24 ` chilabot at gmail dot com
2012-10-01 18:27 ` chilabot at gmail dot com
2012-10-01 18:31 ` palves at redhat dot com
2012-10-01 18:35 ` chilabot at gmail dot com
2012-10-01 18:41 ` 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).