[haiku-bugs] Re: [Haiku] #5498: bfs_shell : stray processes stay active

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Sat, 11 Jun 2011 15:24:40 -0000

#5498: bfs_shell : stray processes stay active
----------------------------+----------------------------
   Reporter:  mmadia        |      Owner:  bonefish
       Type:  bug           |     Status:  reopened
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by mmadia):

 Here's a new block of stats from today.  It seems that any process with TT
 = "??" or STAT = "IW" is an abandoned process (21775, 25457, 27007, 60066,
 63667, 65200, 69804, 87355, 88822, 90320)

 {{{
 [mmadia@1156 ~]$ uptime
 11:18AM  up 12 days, 20:49, 9 users, load averages: 0.88, 0.81, 0.57

 [mmadia@1156 ~]$ ps -aux | grep /
 mmadia 21775  0.0  0.0 12288     0  ??  IW   -         0:00.00
 
/Build-O-Matic/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -n /Build-O-Matic/output/gener
 mmadia 25457  0.0  0.0 12288     0  ??  IW   -         0:00.00
 
/Build-O-Matic/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -n /Build-O-Matic/output/gener
 mmadia 27007  0.0  0.0 12288     0  ??  IW   -         0:00.00
 
/Build-O-Matic/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -n --start-offset 65536 /Build
 mmadia 60066  0.0  0.0 12288     0  ??  IW   -         0:00.00
 
/Build-O-Matic/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -n /Build-O-Matic/output/gener
 mmadia 63667  0.0  0.0 12288     0  ??  IW   -         0:00.00
 
/Build-O-Matic/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -n /Build-O-Matic/output/gener
 mmadia 65200  0.0  0.0 12288     0  ??  IW   -         0:00.00
 
/Build-O-Matic/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -n --start-offset 65536 /Build
 mmadia 69804  0.0  0.0 12288     0  ??  IW   -         0:00.00 /storage
 /haiku-releases/r1alpha3/BOM-
 
alpha3/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -
 mmadia 87355  0.0  0.0 11264     0  ??  IW   -         0:00.00 /storage
 /haiku-releases/r1alpha3/BOM-
 
alpha3/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -
 mmadia 88822  0.0  0.0 11264     0  ??  IW   -         0:00.00 /storage
 /haiku-releases/r1alpha3/BOM-
 
alpha3/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -
 mmadia 90320  0.0  0.0  8192     0   0- IW   -         0:00.00 /storage
 /haiku-releases/r1alpha3/BOM-
 
alpha3/output/generated.x86gcc2/objects/freebsd/x86/release/tools/bfs_shell/bfs_shell
 -
 mmadia 66875  0.0  0.0  3500  1444   2  S+   11:15AM   0:00.00 grep /
 [mmadia@1156 ~]$
 }}}

 Oddly, there seems to be an issue with gdb on my FreeBSD box ...
 {{{
 [mmadia@1156 ~]$ gdb program 21775
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 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 "i386-marcel-freebsd"...program: No such file
 or directory.

 Attaching to process 21775
 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-
 svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without
 legacy link_map support enabled.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n)
 }}}

 {{{
 [mmadia@1156 ~]$ gdb --pid 25457
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 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 "i386-marcel-freebsd".
 Attaching to process 25457
 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-
 svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without
 legacy link_map support enabled.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n)
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5498#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: