diff options
-rw-r--r-- | glibc/critical_section.mdwn | 19 | ||||
-rw-r--r-- | glibc/mmap.mdwn | 402 | ||||
-rw-r--r-- | glibc/signal.mdwn | 4 | ||||
-rw-r--r-- | glibc/signal/discussion.mdwn | 1 | ||||
-rw-r--r-- | hurd/interface/io_map.mdwn | 11 | ||||
-rw-r--r-- | hurd/porting/guidelines.mdwn | 1 | ||||
-rw-r--r-- | microkernel/mach/external_pager_mechanism.mdwn | 14 | ||||
-rw-r--r-- | microkernel/mach/interface/vm_map.mdwn | 16 | ||||
-rw-r--r-- | open_issues/code_analysis.mdwn | 15 | ||||
-rw-r--r-- | open_issues/exec_memory_leaks.mdwn | 28 | ||||
-rw-r--r-- | open_issues/fork_deadlock.mdwn | 3357 | ||||
-rw-r--r-- | open_issues/git_nfs_mmap.mdwn | 4 | ||||
-rw-r--r-- | open_issues/glibc.mdwn | 20 | ||||
-rw-r--r-- | open_issues/glibc/mremap.mdwn | 2 | ||||
-rw-r--r-- | user/kam.mdwn | 8 |
15 files changed, 3784 insertions, 118 deletions
diff --git a/glibc/critical_section.mdwn b/glibc/critical_section.mdwn new file mode 100644 index 00000000..98ed86e9 --- /dev/null +++ b/glibc/critical_section.mdwn @@ -0,0 +1,19 @@ +[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +Quoting from `hurd/hurd/signal.h`: + +> A *critical section* is a section of code which cannot safely be interrupted +> to run a [[signal handler|signal]]; for example, code that holds any lock +> cannot be interrupted lest the signal handler try to take the same lock and +> deadlock result. + +[[!tag open_issue_glibc]]Checking the code for any violations would be a useful +task of [[open_issues/code_analysis]]/[[open_issues/formal_verification]]. diff --git a/glibc/mmap.mdwn b/glibc/mmap.mdwn index 09b0b65d..cddd0584 100644 --- a/glibc/mmap.mdwn +++ b/glibc/mmap.mdwn @@ -8,91 +8,379 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -There are two implementations of `mmap` for GNU Hurd: -`sysdeps/mach/hurd/mmap.c` (main implementation) and -`sysdeps/mach/hurd/dl-sysdep.c` (*Minimal mmap implementation sufficient for -initial loading of shared libraries.*). +The `mmap` call is generally supported on GNU Hurd, as indicated by +`_POSIX_MAPPED_FILES` (`sysconf (_SC_MAPPED_FILES)`). - * `MAP_COPY` - What exactly is that? `elf/dl-load.c` has some explanation. - <http://lkml.indiana.edu/hypermail/linux/kernel/0110.1/1506.html> +# Flags - It is only handled in `dl-sysdep.c`, when `flags & (MAP_COPY|MAP_PRIVATE)` - is used for `vm_map`'s `copy` parameter, and `mmap.c` uses `! (flags & - MAP_SHARED)` instead, which seems inconsistent? +*Flags contain mapping type, sharing type and options.* + * *Mapping type (must choose one and only one of these).* -# `io_map` Failure + * `MAP_FILE` (*Mapped from a file or device.*) -This is the [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. + * `MAP_ANON`/`MAP_ANONYMOUS` (*Allocated from anonymous virtual memory.*) -[[!tag open_issue_glibc]] + Even though it is not defined to zero (it is for the Linux kernel; why not + for us?), `MAP_FILE` is the default and can be omitted. -Review of `mmap` usage in generic bits of glibc, based on -a1bcbd4035ac2483dc10da150d4db46f3e1744f8 (2012-03-11), listing these cases -where failure (due to `io_map` failing; that is, invocations where a `fd` is -passed) is not properly handled. + * *Sharing types (must choose one and only one of these).* -`catgets/open_catalog.c`, `iconv/gconv_cache.c`, `intl/loadmsgcat.c`, -`locale/loadlocale.c` have fallback code for the `MAP_FAILED` case. + * `MAP_SHARED` (*Share changes.*) -[[tschwinge]]'s current plan is to make the following cases do the same (if -that is possible); probably by introducing a generic `mmap_or_read` function, -that first tries `mmap` (and that will succeed on Linux-based systems and also -on Hurd-based, if it's backed by [[hurd/libdiskfs]]), and if that fails tries -`mmap` on anonymous memory and then fills it by `read`ing the required data. -This is also what the [[hurd/exec]] server is doing (and is the reason that the -`./true` invocation on [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] -works, to my understanding): see `exec.c:prepare`, if `io_map` fails, -`e->filemap == MACH_PORT_NULL`; then `exec.c:map` (as invoked from -`exec.c:load_section`, `exec.c:check_elf`, `exec.c:do_exec`, or -`hashexec.c:check_hashbang`) will use `io_read` instead. + * `MAP_PRIVATE` (*Changes private; copy pages on write.*) -Doing so potentially means reading in a lot of unused data -- but we probably -can't do any better? + * `MAP_COPY` (*Virtual copy of region at mapping time.*) -In parallel (or even alternatively?), it should be researched how Linux (or any -other kernel) implements `mmap` on NFS and similar file systems, and then -implement the same in [[hurd/libnetfs]] and/or [[hurd/translator/nfs]], etc. + For us, `MAP_PRIVATE` is the default (is defined to zero), for the Linux + kernel, one of `MAP_SHARED` or `MAP_PRIVATE` has to be specified + explicitly. + + The Linux kernel does not support `MAP_COPY`, and as per the comment in + `elf/dl-load.c`, `MAP_PRIVATE | MAP_DENYWRITE` is Linux' replacement for + `MAP_COPY`. However, `MAP_DENYWRITE` is defunct (`mmap` manpage). + + In contrast to `MAP_COPY`, for `MAP_PRIVATE` *it is unspecified whether + changes made to the file after the `mmap` call are visible in the mapped + region* (`mmap` manpage). + + `MAP_COPY`: + + What exactly is that? `elf/dl-load.c` has some explanation. + <http://lkml.indiana.edu/hypermail/linux/kernel/0110.1/1506.html> + + It is only handled in `dl-sysdep.c`, when `flags & + (MAP_COPY|MAP_PRIVATE)` is used for + [[`vm_map`|microkernel/mach/interface/vm_map]]'s `copy` parameter, and + `mmap.c` uses `! (flags & MAP_SHARED)` instead, which seems + inconsistent? + + Usage in glibc: + + * `catgets/open_catalog.c:__open_catalog`, + `locale/loadlocale.c:_nl_load_locale`: *Linux seems to lack read-only + copy-on-write.* + + * `MAP_TYPE` (*Mask for type field.*/*Mask for type of mapping.*) + + [[!tag open_issue_glibc]]In `bits/mman.h` this is described and defined to + be a mask for the *mapping* type, in the `bits/mman.h` files corresponding + to Linux kernel it is described an defined to be a mask for the *sharing* + type. + + * *Other flags.* + + * `MAP_FIXED` (*Map address must be exactly as requested.*) + + If the memory region is already in use, an unmap is attempted before + (re-)mapping it. + + [[!tag open_issue_glibc]]The following text should be improved: + + `[glibc]/llio.texi` says: + + @var{address} gives a preferred starting address for the mapping. + @code{NULL} expresses no preference. Any previous mapping at that + address is automatically removed. [...] + + The comments in `misc/sys/mman.h`, `misc/mmap.c`, `misc/mmap64.c`, + `ports/sysdeps/unix/sysv/linux/hppa/mmap.c`, and + `sysdeps/mach/hurd/mmap.c` have a better wording: + + A successful `mmap' call + deallocates any previous mapping for the affected region. + + This is correct insofar that for `MAP_FIXED` indeed it is first + unmapped if already in use, and for the regular cases, an address will + be chosen that has no previous mapping. + + * `MAP_NOEXTEND` (*For `MAP_FILE`, don't change file size.*) + + Referenced in `[hurd]/TODO` as unimplemented. + + * `MAP_HASSEMPHORE` (*Region may contain semaphores.*) + + * `MAP_INHERIT` (*Region is retained after exec.*) + + * Linux-specific flags + + * `MAP_GROWSDOWN` (*Stack-like segment.*), `MAP_GROWSUP` (*Register + stack-like segment.*) + + See `mmap` manpage. + + * `MAP_DENYWRITE` (*`ETXTBSY`*) + + As per the comment in `elf/dl-load.c`, `MAP_PRIVATE | MAP_DENYWRITE` is + Linux' replacement for `MAP_COPY`. However, `MAP_DENYWRITE` is defunct + (`mmap` manpage). + + * `MAP_EXECUTABLE` (*Mark it as an executable.*) + + * `MAP_LOCKED` (*Lock the mapping.*) + + ... à la `mlock`. Not implemented for us, but probably + could[[open_issue_glibc]]. + + * `MAP_NORESERVE` (*Don't check for reservations.*) + + See `mmap` manpage. + + From [[hurd/porting/guidelines]]: *Not POSIX, but we could implement + it.* + + * `MAP_POPULATE` (*Populate (prefault) pagetables.*) + + From the `mmap` manpage: + + Populate (prefault) page tables for a mapping. For a file mapping, + this causes read-ahead on the file. Later accesses to the mapping + will not be blocked by page faults. MAP_POPULATE is only supported + for private mappings since Linux 2.6.23. + + Unknown Linux kernel version, `mm/mmap.c`: + + if (vm_flags & VM_LOCKED) { + if (!mlock_vma_pages_range(vma, addr, addr + len)) + mm->locked_vm += (len >> PAGE_SHIFT); + } else if ((flags & MAP_POPULATE) && !(flags & MAP_NONBLOCK)) + make_pages_present(addr, addr + len); + return addr; + + Is only advisory, so can worked around with `#define MAP_POPULATE 0`, + 8069478040336a7de3461be275432493cc7e4c91. + + * `MAP_NONBLOCK` (*Do not block on IO.*) + + From the `mmap` manpage: + + Only meaningful in conjunction with MAP_POPULATE. Don't perform + read-ahead: only create page tables entries for pages that are + already present in RAM. Since Linux 2.6.23, this flag causes + MAP_POPULATE to do nothing. One day the combination of + MAP_POPULATE and MAP_NONBLOCK may be reimplemented. + + * `MAP_STACK` (*Allocation is for a stack.*) -Here, also probably the whole mapping region [has to be -read](http://lists.gnu.org/archive/html/bug-hurd/2001-10/msg00306.html) at -`mmap` time. + See `mmap` manpage. -List of files without fallback code for the *`MAP_FAILED` due to `io_map` -failed* case: + * `MAP_HUGETLB` (*Create huge page mapping.*) - * `elf/cache.c` + See `mmap` manpage. - * `elf/dl-load.c` + * `MAP_32BIT` (*Only give out 32-bit addresses.*) - * `elf/dl-misc.c` + See `mmap` manpage. - * `elf/dl-profile.c` - * `elf/readlib.c` +# Implementation - * `elf/sprof.c` +Essentially, `mmap` is implemented by means of +[[`io_map`|hurd/interface/io_map]] (not for `MAP_ANON`) followed by +[[`vm_map`|microkernel/mach/interface/vm_map]]. - * `locale/loadarchive.c` +There are two implementations: `sysdeps/mach/hurd/mmap.c` (main implementation) +and `sysdeps/mach/hurd/dl-sysdep.c` (*Minimal mmap implementation sufficient +for initial loading of shared libraries.*). - * `locale/programs/locale.c` - * `locale/programs/locarchive.c` +## `mmap ("/dev/zero")` - * `nscd/connections.c` +[[!tag open_issue_glibc open_issue_hurd]]Do we implement that (equivalently to +`MAP_ANON`)? - * `nscd/nscd_helper.c` - * `nss/makedb.c` +## Mapping Size - * `nss/nss_db/db-open.c` +From the `mmap` manpage: - * Omitted: + A file is mapped in multiples of the page size. For a file that is not a + multiple of the page size, the remaining memory is zeroed when mapped, and + writes to that region are not written out to the file. The effect of + changing the size of the underlying file of a mapping on the pages that + correspond to added or removed regions of the file is unspecified. - * `nptl/` +[[!tag open_issue_glibc]]Do we implement that? - * `sysdeps/unix/sparc/` - * `sysdepts/unix/sysv/linux/` +## Use of a Mapped Region + +From the `mmap` manpage: + + Use of a mapped region can result in these signals: + + SIGSEGV Attempted write into a region mapped as read-only. + + SIGBUS Attempted access to a portion of the buffer that does not + correspond to the file (for example, beyond the end of the file, + including the case where another process has truncated the file). + +[[!tag open_issue_glibc]]Do we implement that? + + +# Usage in glibc itself + +Review of `mmap` usage in generic bits of glibc (omitted: `nptl/`, +`sysdeps/unix/sparc/`, `sysdepts/unix/sysv/linux/`), based on +a1bcbd4035ac2483dc10da150d4db46f3e1744f8 (2012-03-11). `MAP_FILE` is the +interesting case; `MAP_ANON` is generally fine. Some of the `mmap` usages in +glibc have fallback code for the `MAP_FAILED` case, some do not. + + catgets/open_catalog.c: (struct catalog_obj *) __mmap (NULL, st.st_size, PROT_READ, + catgets/open_catalog.c- MAP_FILE|MAP_COPY, fd, 0); + +Has fallback for `MAP_FAILED`. + + elf/cache.c: = mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); + elf/cache.c: = mmap (NULL, aux_cache_size, PROT_READ, MAP_PRIVATE, fd, 0); + +No fallback for `MAP_FAILED`. + + elf/dl-load.c: l->l_map_start = (ElfW(Addr)) __mmap ((void *) mappref, maplength, + elf/dl-load.c- c->prot, + elf/dl-load.c- MAP_COPY|MAP_FILE, + elf/dl-load.c- fd, c->mapoff); + elf/dl-load.c: && (__mmap ((void *) (l->l_addr + c->mapstart), + elf/dl-load.c- c->mapend - c->mapstart, c->prot, + elf/dl-load.c- MAP_FIXED|MAP_COPY|MAP_FILE, + elf/dl-load.c- fd, c->mapoff) + +No fallback for `MAP_FAILED`. + + elf/dl-misc.c: result = __mmap (NULL, *sizep, prot, + elf/dl-misc.c-#ifdef MAP_COPY + elf/dl-misc.c- MAP_COPY + elf/dl-misc.c-#else + elf/dl-misc.c- MAP_PRIVATE + elf/dl-misc.c-#endif + elf/dl-misc.c-#ifdef MAP_FILE + elf/dl-misc.c- | MAP_FILE + elf/dl-misc.c-#endif + elf/dl-misc.c- , fd, 0); + +No fallback for `MAP_FAILED`. + + elf/dl-profile.c: addr = (struct gmon_hdr *) __mmap (NULL, expected_size, PROT_READ|PROT_WRITE, + elf/dl-profile.c- MAP_SHARED|MAP_FILE, fd, 0); + +No fallback for `MAP_FAILED`. + + elf/readlib.c: file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED, + elf/readlib.c- fileno (file), 0); + +No fallback for `MAP_FAILED`. + + elf/sprof.c: result->symbol_map = mmap (NULL, max_offset - min_offset, + elf/sprof.c- PROT_READ, MAP_SHARED|MAP_FILE, symfd, + elf/sprof.c- min_offset); + elf/sprof.c: addr = mmap (NULL, st.st_size, PROT_READ, MAP_SHARED|MAP_FILE, fd, 0); + +No fallback for `MAP_FAILED`. + + iconv/gconv_cache.c: gconv_cache = __mmap (NULL, cache_size, PROT_READ, MAP_SHARED, fd, 0); + iconv/iconv_charmap.c: && ((addr = mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, + iconv/iconv_charmap.c- fd, 0)) != MAP_FAILED)) + iconv/iconv_prog.c: && ((addr = mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, + iconv/iconv_prog.c- fd, 0)) != MAP_FAILED)) + +Have fallback for `MAP_FAILED`. + + intl/loadmsgcat.c: data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, + intl/loadmsgcat.c- MAP_PRIVATE, fd, 0); + +Has fallback for `MAP_FAILED`. + + libio/fileops.c: p = __mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, + libio/fileops.c- fp->_fileno, 0); + libio/fileops.c: p = __mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fp->_fileno, 0); + +Has fallback for `MAP_FAILED`. + + locale/loadarchive.c: result = __mmap64 (NULL, mapsize, PROT_READ, MAP_FILE|MAP_COPY, fd, 0); + locale/loadarchive.c: result = __mmap64 (NULL, mapsize, PROT_READ, MAP_FILE|MAP_COPY, + locale/loadarchive.c- fd, 0); + locale/loadarchive.c: addr = __mmap64 (NULL, to - from, PROT_READ, MAP_FILE|MAP_COPY, + locale/loadarchive.c- fd, from); + +Some have fallback for `MAP_FAILED`. + + locale/programs/locale.c: void *mapped = mmap64 (NULL, st.st_size, PROT_READ, + locale/programs/locale.c- MAP_SHARED, fd, 0); + locale/programs/locale.c: && ((mapped = mmap64 (NULL, st.st_size, PROT_READ, + locale/programs/locale.c- MAP_SHARED, fd, 0)) + locale/programs/locale.c: addr = mmap64 (NULL, len, PROT_READ, MAP_SHARED, fd, 0); + locale/programs/locarchive.c: void *p = mmap64 (NULL, RESERVE_MMAP_SIZE, PROT_NONE, MAP_SHARED, fd, 0); + locale/programs/locarchive.c: p = mmap64 (p, total, PROT_READ | PROT_WRITE, MAP_SHARED | xflags, fd, 0); + locale/programs/locarchive.c: void *p = mmap64 (ah->addr + start, st.st_size - start, + locale/programs/locarchive.c- PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, + locale/programs/locarchive.c- ah->fd, start); + locale/programs/locarchive.c: ah->addr = mmap64 (ah->addr, st.st_size, PROT_READ | PROT_WRITE, + locale/programs/locarchive.c- MAP_SHARED | MAP_FIXED, ah->fd, 0); + locale/programs/locarchive.c: ah->addr = mmap64 (NULL, st.st_size, PROT_READ | PROT_WRITE, + locale/programs/locarchive.c- MAP_SHARED, ah->fd, 0); + locale/programs/locarchive.c: p = mmap64 (p, total, PROT_READ | PROT_WRITE, MAP_SHARED | xflags, fd, 0); + locale/programs/locarchive.c: ah->addr = mmap64 (p, st.st_size, PROT_READ | (readonly ? 0 : PROT_WRITE), + locale/programs/locarchive.c- MAP_SHARED | xflags, fd, 0); + locale/programs/locarchive.c: data[cnt].addr = mmap64 (NULL, st.st_size, PROT_READ, MAP_SHARED, + locale/programs/locarchive.c- fd, 0); + +No fallback for `MAP_FAILED`. + + nscd/connections.c: else if ((mem = mmap (NULL, dbs[cnt].max_db_size, + nscd/connections.c- PROT_READ | PROT_WRITE, + nscd/connections.c- MAP_SHARED, fd, 0)) + nscd/connections.c: || (mem = mmap (NULL, dbs[cnt].max_db_size, + nscd/connections.c- PROT_READ | PROT_WRITE, + nscd/connections.c- MAP_SHARED, fd, 0)) == MAP_FAILED) + nscd/nscd_helper.c: void *mapping = __mmap (NULL, mapsize, PROT_READ, MAP_SHARED, mapfd, 0); + +No fallback for `MAP_FAILED`. + + nss/makedb.c: const struct nss_db_header *header = mmap (NULL, st.st_size, PROT_READ, + nss/makedb.c- MAP_PRIVATE|MAP_POPULATE, fd, 0); + nss/nss_db/db-open.c: mapping->header = mmap (NULL, header.allocate, PROT_READ, + nss/nss_db/db-open.c- MAP_PRIVATE, fd, 0); + +No fallback for `MAP_FAILED`. + + posix/tst-mmap.c: ptr = mmap (NULL, 1000, PROT_READ, MAP_SHARED, fd, ps); + posix/tst-mmap.c: ptr = mmap64 (NULL, 1000, PROT_READ, MAP_SHARED, fd, ps); + rt/tst-mqueue3.c: void *mem = mmap (NULL, ps, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); + rt/tst-mqueue5.c: void *mem = mmap (NULL, ps, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); + rt/tst-shm.c: mem = mmap (NULL, 4000, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); + stdio-common/tst-fmemopen.c: if ((mmap_data = (char *) mmap (NULL, fs.st_size, PROT_READ, + stdio-common/tst-fmemopen.c- MAP_SHARED, fd, 0)) == MAP_FAILED) + +No fallback for `MAP_FAILED`. + + +## `io_map` Failure + +This is the [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. + +[[!tag open_issue_glibc open_issue_hurd]] +[[tschwinge]]'s current plan is to make the following cases do the same (if +that is possible); probably by introducing a generic `mmap_or_read` function, +that first tries `mmap` (and that will succeed on Linux-based systems and also +on Hurd-based, if it's backed by [[hurd/libdiskfs]]), and if that fails tries +`mmap` on anonymous memory and then fills it by `read`ing the required data. +This is also what the [[hurd/exec]] server is doing (and is the reason that the +`./true` invocation on [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] +works, to my understanding): see `exec.c:prepare`, if `io_map` fails, +`e->filemap == MACH_PORT_NULL`; then `exec.c:map` (as invoked from +`exec.c:load_section`, `exec.c:check_elf`, `exec.c:do_exec`, or +`hashexec.c:check_hashbang`) will use `io_read` instead. + +Doing so potentially means reading in a lot of unused data -- but we probably +can't do any better? + +In parallel (or even alternatively?), it should be researched how Linux (or any +other kernel) implements `mmap` on NFS and similar file systems, and then +implement the same in [[hurd/libnetfs]] and/or [[hurd/translator/nfs]], etc. + +Here, also probably the whole mapping region [[!message-id desc="has to be +read" "871yjkl50c.fsf@becket.becket.net"]] ([bug-hurd list +archive](http://lists.gnu.org/archive/html/bug-hurd/2001-10/msg00306.html)) at +`mmap` time. Then, only `MAP_PRIVATE` (or rather: `MAP_COPY`) is possible, but +not `MAP_SHARED`. diff --git a/glibc/signal.mdwn b/glibc/signal.mdwn index 727247ac..77df1c57 100644 --- a/glibc/signal.mdwn +++ b/glibc/signal.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2009, 2010, 2011 Free Software Foundation, +[[!meta copyright="Copyright © 2009, 2010, 2011, 2012 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -27,6 +27,8 @@ implemented in [[glibc]]. [[!taglink open_issue_glibc]] + * [[Critical_Section]]s + # Further Reading diff --git a/glibc/signal/discussion.mdwn b/glibc/signal/discussion.mdwn index 064c1c5b..8687e173 100644 --- a/glibc/signal/discussion.mdwn +++ b/glibc/signal/discussion.mdwn @@ -11,6 +11,7 @@ License|/fdl]]."]]"""]] # `_hurd_sigstates` +[[!tag open_issue_glibc]] In an [[hurd/translator/ext2fs]] instance with 1068 threads, `_hurd_sigstates` was a linked with with 1067 entries, in one with 351 threads, 351 entries. Is this noticeable already? Perhaps a different data structure is needed? diff --git a/hurd/interface/io_map.mdwn b/hurd/interface/io_map.mdwn new file mode 100644 index 00000000..11a59a51 --- /dev/null +++ b/hurd/interface/io_map.mdwn @@ -0,0 +1,11 @@ +[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +Used in [[glibc]] for implementing [[glibc/mmap]]. diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index 2618cd90..aabf0345 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -275,6 +275,7 @@ Oh, we should probably provide it. ## <a name="MAP_NORESERVE"> `MAP_NORESERVE` </a> Not POSIX, but we could implement it. +See [[glibc/mmap]]. ## <a name="O_DIRECT"> `O_DIRECT` </a> diff --git a/microkernel/mach/external_pager_mechanism.mdwn b/microkernel/mach/external_pager_mechanism.mdwn index 05a6cc56..54492b71 100644 --- a/microkernel/mach/external_pager_mechanism.mdwn +++ b/microkernel/mach/external_pager_mechanism.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2002, 2007, 2008, 2010, 2011 Free Software +[[!meta copyright="Copyright © 2002, 2007, 2008, 2010, 2011, 2012 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -23,8 +23,8 @@ latter. In Mach, a [[task]]'s [[virtual_address_space]] consists of references to [[memory_object]]s. -To associate a memory object with a portion of a task's -address space, `vm_map` is invoked on a capability designating +To associate a memory object with a portion of a task's address space, +[[`vm_map`|interface/vm_map]] is invoked on a capability designating the task and passing a reference to the memory object and the offset at which to install it. (The first time a task maps an object, Mach sends an initialization message @@ -69,8 +69,8 @@ it to the port set that it is listening on and returns a capability (a port send right) to the client. (C) The client attempts to map the object into its address space using -the `vm_map` RPC. It passes a reference to the port that the server gave -it to the vm server (typically Mach). +the [[`vm_map`|interface/vm_map]] RPC. It passes a reference to the port that +the server gave it to the vm server (typically Mach). (D) Since Mach has never seen the object before, it queues a `memory_object_init` on the given port along with a send right (the @@ -84,8 +84,8 @@ structures to manage the mapping and then invokes the `memory_object_ready` method on the control object. (F) The kernel sees that the manager is ready, sets up the appropriate -mappings in the client's address space and then replies to the `vm_map` RPC indicating -success. +mappings in the client's address space and then replies to the +[[`vm_map`|interface/vm_map]] RPC indicating success. There is nothing stopping others from playing *the kernel*. This is not a security problem: clients must [[trust]] the server from whom they diff --git a/microkernel/mach/interface/vm_map.mdwn b/microkernel/mach/interface/vm_map.mdwn new file mode 100644 index 00000000..7232209b --- /dev/null +++ b/microkernel/mach/interface/vm_map.mdwn @@ -0,0 +1,16 @@ +[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +Used in [[glibc]] for implementing [[glibc/mmap]], brk and sbrk, and *attempt +to map page zero redzoned* (`[glibc]/hurd/hurdstartup.c:_hurd_startup`). + +[[!tag open_issue_glibc open_issue_gnumach]]It has an awkward mention in +`[glibc]/sysdeps/mach/hurd/dl-sysdep.c:fmh`: *XXX loser kludge for vm\_map +kernel bug*. diff --git a/open_issues/code_analysis.mdwn b/open_issues/code_analysis.mdwn index a73f102c..98b9b1d5 100644 --- a/open_issues/code_analysis.mdwn +++ b/open_issues/code_analysis.mdwn @@ -37,11 +37,6 @@ There is a [[!FF_project 276]][[!tag bounty]] on some of these tasks. specifiers, and have it emit useful warnings in case these are pointing to uninitialized data (for *in* only). - * [[Port Sequence Numbers|microkernel/mach/ipc/sequence_numbering]]. If - these are used, care must be taken to update them reliably, [[!message-id - "1123688017.3905.22.camel@buko.sinrega.org"]]. This could be checked by a - static analysis tool. - * [[!wikipedia List_of_tools_for_static_code_analysis]] * [Engineering zero-defect software](http://esr.ibiblio.org/?p=4340), Eric @@ -99,6 +94,16 @@ There is a [[!FF_project 276]][[!tag bounty]] on some of these tasks. <mcsim> seems I made it work +## Hurd-specific Applications + + * [[Port Sequence Numbers|microkernel/mach/ipc/sequence_numbering]]. If + these are used, care must be taken to update them reliably, [[!message-id + "1123688017.3905.22.camel@buko.sinrega.org"]]. This could be checked by a + static analysis tool. + + * [[glibc]]'s [[glibc/critical_section]]s. + + # Dynamic * [[community/gsoc/project_ideas/Valgrind]] diff --git a/open_issues/exec_memory_leaks.mdwn b/open_issues/exec_memory_leaks.mdwn index 1a73ce9a..d504c4f0 100644 --- a/open_issues/exec_memory_leaks.mdwn +++ b/open_issues/exec_memory_leaks.mdwn @@ -10,8 +10,13 @@ License|/fdl]]."]]"""]] [[!tag open_issue_hurd]] -There are is some memory leak in [[`exec`|hurd/translator/exec]]. After twelve -hours worth of `fork/exec` ([[GCC]]'s `check-c` part of the testsuite), we got: +There are is some memory leak in [[`exec`|hurd/translator/exec]]. + + +# I + +After twelve hours worth of `fork/exec` ([[GCC]]'s `check-c` part of the +testsuite), we got: PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args 4 0 3 1 1 10 392M 262M 0.0 2:18.29 2hrs /hurd/exec @@ -22,3 +27,22 @@ quite noticeable. In comparison: 0 0 1 1 1 19 131M 1.14M 0.0 3:30.25 9:17.79 /hurd/proc 3 0 1 1 1 224 405M 12.6M 0.2 42:20.25 67min ext2fs --readonly --multiboot-command-line=root=device:hd0s6 --host-priv-port=1 --device-master-port=2 --exec-server-task=3 -T typed device:hd0s6 276 0 3 1 1 344 442M 28.2M 0.6 48:09.36 91min /hurd/ext2fs /dev/hd2s5 + + +# II + +After running the libtool testsuite for some time: + + PID TH# UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 4 0 3 1 1 11 334M 203M 60.8 3:19.73 4hrs /hurd/exec + 0 0.0 0:20.33 27:02.47 + 1 0.0 0:31.10 32:21.13 + 2 0.0 0:25.68 27:42.33 + 3 0.0 0:00.00 0:00.00 + 4 5.1 0:34.93 34:07.59 + 5 0.0 0:19.56 28:44.15 + 6 3.4 0:18.73 28:17.89 + 7 0.0 0:20.47 34:42.51 + 8 39.5 0:15.60 28:48.57 + 9 0.0 0:04.49 10:24.12 + 10 12.8 0:08.84 19:34.45 diff --git a/open_issues/fork_deadlock.mdwn b/open_issues/fork_deadlock.mdwn index c1fa9208..f8bf936e 100644 --- a/open_issues/fork_deadlock.mdwn +++ b/open_issues/fork_deadlock.mdwn @@ -14,55 +14,3363 @@ This started appearing when Jérémie's [[glibc]] signal patches were integrated very sporadically, but still now and then, `fork` will hang, as follows, and typically in `/bin/sh`. -From a `libtool` invocation: +# I - #0 0x0107b13c in swtch_pri () at /build/eglibc-Q9jlik/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + depbase=`echo ptr_chck.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ + /bin/dash ./libtool --tag=CC --mode=compile [...]/gcc/xgcc [...] [...]/boehm-gc/ptr_chck.c &&\ + mv -f $depbase.Tpo $depbase.Plo + + PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 9754 1000 9746 1695 480 2 134M 1.35M 0.0 0:00.05 0:00.04 make AR_FLAGS=rc CC_FOR_BUILD=gcc-4.6 CFLAGS=[...] + 10174 1000 9754 1695 480 2 146M 876K 0.0 0:00.00 0:00.00 /bin/dash -c depbase=`echo ptr_chck.lo | sed [...] + 10175 1000 10174 1695 480 2 146M 608K 0.0 0:00.00 0:00.00 /bin/dash -c depbase=`echo ptr_chck.lo | sed [...] + 10177 1000 10175 1695 480 2 146M 204K 96.0 0:50.97 71min /bin/dash -c depbase=`echo ptr_chck.lo | sed [...] + + +## 10174 + + Thread 2 (Thread 10174.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=104, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=104, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=104) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 10174.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1023f34 + msgh_bits = 5395 + remote_port = 110 + msgid = 21001 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x012091a5 in __io_read (io_object=110, data=0x1024840, dataCnt=0x1024844, offset=-1, amount=128) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_io_read.c:137 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 110, msgh_local_port = 107, msgh_seqno = 0, + msgh_id = 21001}, offsetType = {msgt_name = 11, msgt_size = 64, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, offset = -1, amountType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, amount = 128}, Out = {Head = {msgh_bits = 5395, + msgh_size = 0, msgh_remote_port = 110, msgh_local_port = 107, msgh_seqno = 0, msgh_id = 21001}, RetCodeType = {msgt_name = 11, + msgt_size = 64, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, + dataType = {msgtl_header = {msgt_name = 255, msgt_size = 255, msgt_number = 4095, msgt_inline = 1, msgt_longform = 1, + msgt_deallocate = 1, msgt_unused = 1}, msgtl_name = 8194, msgtl_size = 4097, msgtl_number = 128}, + data = '\000' <repeats 812 times>, "\021 \001\020o\000\000\000\364O\035\001\000\000\000\000\300B\002\001\070<\006\001\030\000\000\000/H\002\001\000\000\000\000\000\000\000\000TC\002\001XC\002\001\224G\002\001\020C\002\001\275\340\005\001\030\000\000\000p\337\005\001\224G\002\001XC\002\001\001", '\000' <repeats 11 times>, " W \001\030\000\000\000\271\314B\002\001\351\n\002\004\000\000\000\\\244!\001\220K\b\001\000\000\000\000\364O\035\001dG\002\001\b\240!\001pG\002\001\336>\006\001p\337\005\001\020\306\a\001 W \001\001\000\000\000XC\002\001\000\000\000\000\000\000\000\000\224G\002\001\000\000\000\000\000\000\000\000\224G\002\001\000\000\000\000\000\000\000\000/H\002\001 W \001\001", '\000' <repeats 403 times>"\330"...}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0107d321 in readfd (port=110) at fd-read.c:34 + nbytes = 0x0 + nread = 0 + data = 0x0 + offset = 0 + #3 0x01083880 in _hurd_ctty_input (port=110, ctty=0, rpc=0x102484c) at ctty-input.c:32 + err = <optimized out> + #4 0x0107cd44 in _hurd_fd_read (fd=0x1218e88, buf=0x1024914, offset=-1) at fd-read.c:39 + __ulink = {resource = {next = 0x0, prevp = 0x1218e8c}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x6e} + __ctty_ulink = {resource = {next = 0x1024880, prevp = 0x107c794}, thread = {next = 0x121a008, prevp = 0x70}, cleanup = 0x10471c4, + cleanup_data = 0x102db28} + ctty = 0 + crit = <optimized out> + __result = 16927684 + port = 110 + err = <optimized out> + data = 0x1024914 "\004" + nbytes = 0x10248e8 + nread = 128 + #5 0x01141652 in __libc_read (fd=3, buf=0x1024914, nbytes=128) at ../sysdeps/mach/hurd/read.c:27 + descriptor = <error reading variable descriptor (DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.)> + err = <optimized out> + #6 0x0804f53b in ?? () + No symbol table info available. + #7 0x0804f772 in ?? () + No symbol table info available. + #8 0x0804c26c in ?? () + No symbol table info available. + #9 0x0804b589 in ?? () + No symbol table info available. + #10 0x0804b61e in ?? () + No symbol table info available. + #11 0x0804bf31 in ?? () + No symbol table info available. + #12 0x08049b3f in ?? () + No symbol table info available. + #13 0x0108666b in __libc_start_main (main=0x8049a90, argc=3, ubp_av=0x1024bb4, init=0x80597b0, fini=0x80597a0, rtld_fini=0xf5c0, + stack_end=0x1024bac) at libc-start.c:257 + result = <optimized out> + #14 0x08049c95 in ?? () + No symbol table info available. + + +## 10175 + + Thread 2 (Thread 10175.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 No locals. - #1 0x0107c9c4 in __spin_lock_solid (lock=0x125080c) at spin-solid.c:27 + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=104, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=104, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=104) at msgserver.c:196 No locals. - #2 0x01091427 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 No locals. - #3 _hurd_sigstate_lock (ss=0x1250008) at hurdsig.c:172 + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 10175.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024638 + msgh_bits = 5395 + remote_port = 27 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=27, pid=-1, options=0, status=0x10247f4, sigcode=0x102476c, rusage=0x1024708, pid_status=0x1024770) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 132, msgh_remote_port = 27, msgh_local_port = 107, msgh_seqno = 0, + msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 132, + msgh_remote_port = 27, msgh_local_port = 107, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, + msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = { + msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, + status = 0, sigcodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, sigcode = 0, rusageType = {msgt_name = 2, msgt_size = 32, msgt_number = 18, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 0, tv_usec = 0}, + ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, + ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, + pid_statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, pid_status = 17243652}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110e49e in __wait4 (pid=-1, stat_loc=0x10247f4, options=0, usage=0x1024708) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x1b} + port = 27 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, + ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, + ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0} + sigcode = 0 + dummy = 16926356 + #3 0x0110e2c7 in __wait3 (stat_loc=..., options=0, usage=0x0) at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x080509f2 in ?? () + No symbol table info available. + #5 0x080519dc in ?? () + No symbol table info available. + #6 0x0804b9f6 in ?? () + No symbol table info available. + #7 0x0804b589 in ?? () + No symbol table info available. + #8 0x0804c83f in ?? () + No symbol table info available. + #9 0x0804f4e6 in ?? () + No symbol table info available. + #10 0x0804f772 in ?? () + No symbol table info available. + #11 0x0804c26c in ?? () + No symbol table info available. + #12 0x0804b589 in ?? () + No symbol table info available. + #13 0x0804b61e in ?? () + No symbol table info available. + #14 0x0804bf31 in ?? () + No symbol table info available. + #15 0x08049b3f in ?? () + No symbol table info available. + #16 0x0108666b in __libc_start_main (main=0x8049a90, argc=3, ubp_av=0x1024bb4, init=0x80597b0, fini=0x80597a0, rtld_fini=0xf5c0, + stack_end=0x1024bac) at libc-start.c:257 + result = <optimized out> + #17 0x08049c95 in ?? () + No symbol table info available. + + +## 10177 + + Thread 2 (Thread 10177.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=104, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=104, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=104) at msgserver.c:196 No locals. - #4 0x011261ec in _hurd_critical_section_unlock (our_lock=<optimized out>) at ../hurd/hurd/signal.h:235 + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 No locals. - #5 __fork () at ../sysdeps/mach/hurd/fork.c:706 - env = {{__jmpbuf = {18784244, 19197896, 1, 16925832, 16925460, 17980399}, __mask_was_saved = 0, __saved_mask = 33}} + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 10177.1): + #0 0x0105b81c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x0105d0a4 in __spin_lock_solid (lock=0x121a80c) at spin-solid.c:27 + No locals. + #2 0x01071e57 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + No locals. + #3 _hurd_sigstate_lock (ss=0x121a008) at hurdsig.c:172 + No locals. + #4 0x0110f51c in _hurd_critical_section_unlock (our_lock=<optimized out>) at ../hurd/hurd/signal.h:235 + No locals. + #5 __fork () at ../sysdeps/mach/hurd/fork.c:707 + env = {{__jmpbuf = {18698228, 18976712, 134622020, 16926728, 16926356, 17887007}, __mask_was_saved = 0, __saved_mask = 4294967295}} pid = 0 err = <optimized out> __PRETTY_FUNCTION__ = "__fork" - ss = 0x1250008 + ss = 0x121a008 threads = 0x0 nthreads = 0 stopped = 1 i = 6 - [...] + #6 0x08051704 in ?? () + No symbol table info available. + #7 0x0804b92c in ?? () + No symbol table info available. + #8 0x0804b589 in ?? () + No symbol table info available. + #9 0x0804c83f in ?? () + No symbol table info available. + #10 0x0804f4e6 in ?? () + No symbol table info available. + #11 0x0804f772 in ?? () + No symbol table info available. + #12 0x0804c26c in ?? () + No symbol table info available. + #13 0x0804b589 in ?? () + No symbol table info available. + #14 0x0804b61e in ?? () + No symbol table info available. + #15 0x0804bf31 in ?? () + No symbol table info available. + #16 0x08049b3f in ?? () + No symbol table info available. + #17 0x0108666b in __libc_start_main (main=0x8049a90, argc=3, ubp_av=0x1024bb4, init=0x80597b0, fini=0x80597a0, rtld_fini=0xf5c0, + stack_end=0x1024bac) at libc-start.c:257 + result = <optimized out> + #18 0x08049c95 in ?? () + No symbol table info available. + + +# II +Rebuilt the dash package locally with `DEB_BUILD_OPTIONS=nostrip`. -Another one in `dash`: + PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 22711 1000 22687 1698 453 2 134M 18.1M 0.0 0:02.78 0:07.81 make DESTDIR= RPATH_ENVVAR=LD_LIBRARY_PATH TARGET_SUBDIR=i686-unknown-gnu0.3 + 24924 0 3 1 1 3 130M 912K 0.0 0:00.00 0:00.00 /hurd/proxy-defpager + 26541 1000 22711 1698 453 2 146M 896K 0.0 0:00.00 0:00.00 /bin/dash -c if [ -d ../prev-gcc ]; then \^K cd ../prev-gcc && \^K make rea + 26554 1000 26541 1698 453 2 146M 1.42M 0.0 0:00.34 0:02.73 /bin/dash ./fixinc.sh /usr/include + 28134 1000 26554 1698 453 2 146M 284K 94.9 0:27.18 76min /bin/dash ./fixinc.sh /usr/include - #0 0x0105927c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + +## 26541 + + Thread 2 (Thread 26541.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 No locals. - #1 0x0105ac44 in __spin_lock_solid (lock=0x123580c) at spin-solid.c:27 + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=105, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=105, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=105) at msgserver.c:196 No locals. - #2 0x010701c7 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 26541.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024708 + msgh_bits = 5395 + remote_port = 27 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=27, pid=-1, options=0, status=0x1024890, sigcode=0x102483c, rusage=0x10247d8, pid_status=0x1024840) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 27, msgh_local_port = 101, msgh_seqno = 0, msgh_id = 24020}, + pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 27, + msgh_local_port = 101, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = {msgt_name = 2, + msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, status = 0, + sigcodeType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, sigcode = 40, rusageType = {msgt_name = 0, msgt_size = 18, msgt_number = 0, msgt_inline = 0, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 32, tv_usec = 17152883}, ru_stime = { + tv_sec = 16926556, tv_usec = 17687868}, ru_maxrss = 17243652, ru_ixrss = 18698228, ru_idrss = 17243488, ru_isrss = 18698228, + ru_minflt = 16926936, ru_majflt = 17888569, ru_nswap = 18980872, ru_inblock = 19046400, ru_oublock = 8, ru_msgsnd = 17, + ru_msgrcv = 16926872, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, pid_statusType = {msgt_name = 0, msgt_size = 0, + msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17243652}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110e49e in __wait4 (pid=-1, stat_loc=0x1024890, options=0, usage=0x10247d8) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x1b} + port = 27 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 134631884, tv_usec = 134546233}, ru_stime = {tv_sec = 18689656, tv_usec = 17}, ru_maxrss = 0, + ru_ixrss = 18708608, ru_idrss = 18689652, ru_isrss = 18708608, ru_minflt = 0, ru_majflt = 75, ru_nswap = 31, ru_inblock = 31, + ru_oublock = 31, ru_msgsnd = 0, ru_msgrcv = 18976712, ru_nsignals = 16926936, ru_nvcsw = 0, ru_nivcsw = 18698228} + sigcode = 31 + dummy = 16926564 + #3 0x0110e2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) + at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 No locals. - #3 _hurd_sigstate_lock (ss=0x1235008) at hurdsig.c:172 + #4 0x0805028a in waitproc (status=0x1024890, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 0 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x80651c0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x80651c0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804be00 in evalsubshell (n=0x80646f4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:470 + jp = 0x80651c0 + backgnd = 0 + status = 0 + #8 0x0804b5df in evaltree (n=0x80646f4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = -1 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b509 in evaltree (n=0x80646f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #10 0x0804b586 in evaltree (n=0x8064e14, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #11 0x0804b586 in evaltree (n=0x8064ff4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #12 0x0804b586 in evaltree (n=0x8065074, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #13 0x0804b8f1 in evalfor (n=n@entry=0x80635c4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x80650ac, lastp = 0x80650ac} + argp = <optimized out> + sp = 0x80650ac + smark = {stackp = 0x8064fa8, stacknxt = 0x80650a4 ";", stacknleft = 256} + #14 0x0804b51c in evaltree (n=0x80635c4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #15 0x0804b509 in evaltree (n=0x80635c4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #16 0x0804b509 in evaltree (n=0x806508c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #17 0x0804be81 in evalstring ( + s=0x102500d "if [ -d ../prev-gcc ]; then \\\n cd ../prev-gcc && \\\n make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \\\n libsubdir=. ; \\\nelse \\\n set -e; for ml in `cat fixinc_list`; do \\\n sysroot_headers_s"..., flags=0, flags@entry=4) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:168 + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + status = 0 + #18 0x08049b2f in main (argc=3, argv=0x1024b84) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:174 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927496, 16927424, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + login = <optimized out> + +## 26554 + + Thread 2 (Thread 26554.2): + #0 0x0105a7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105afc9 in __mach_msg (msg=0x1220f90, option=3, send_size=32, rcv_size=4096, rcv_name=116, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105b6f9 in __mach_msg_server_timeout (demux=0x106bf00 <msgport_server>, max_size=4096, rcv_name=116, option=0, timeout=0) + at msgserver.c:151 + request = 0x1221fa0 + reply = 0x1220f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105b7cb in __mach_msg_server (demux=0x106bf00 <msgport_server>, max_size=4096, rcv_name=116) at msgserver.c:196 + No locals. + #4 0x0106becf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 26554.1): + #0 0x01077a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024448 + msgh_bits = 5395 + remote_port = 114 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f89df in __proc_wait (process=114, pid=-1, options=0, status=0x10245d0, sigcode=0x102457c, rusage=0x1024518, pid_status=0x1024580) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 3, msgh_remote_port = 114, msgh_local_port = 117, msgh_seqno = 0, + msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 3, + msgh_remote_port = 114, msgh_local_port = 117, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, + msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = { + msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, + status = 0, sigcodeType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, sigcode = 117, rusageType = {msgt_name = 50, msgt_size = 89, msgt_number = 2, msgt_inline = 0, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 23100, tv_usec = 268509186}, + ru_stime = {tv_sec = 0, tv_usec = 268509186}, ru_maxrss = 0, ru_ixrss = 268509203, ru_idrss = 1, ru_isrss = 18694132, + ru_minflt = 16926232, ru_majflt = 17884684, ru_nswap = 116, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 1, ru_msgrcv = 16926168, + ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, pid_statusType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17239556}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110d49e in __wait4 (pid=-1, stat_loc=0x10245d0, options=0, usage=0x1024518) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1218fac + __link = {resource = {next = 0x0, prevp = 0x1218fb0}, thread = {next = 0x0, prevp = 0x121945c}, + cleanup = 0x1083b90 <_hurd_port_cleanup>, cleanup_data = 0x72} + port = 114 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 18685560, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, + ru_idrss = 18685556, ru_isrss = 0, ru_minflt = 0, ru_majflt = 75, ru_nswap = 31, ru_inblock = 31, ru_oublock = 31, ru_msgsnd = 0, + ru_msgrcv = 18972616, ru_nsignals = 16926232, ru_nvcsw = 268509186, ru_nivcsw = 18694132} + sigcode = 31 + dummy = 16925860 + #3 0x0110d2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) + at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 No locals. - #4 0x011048f0 in _hurd_critical_section_unlock (our_lock=0x1235008) at ../hurd/hurd/signal.h:235 - ss = 0x1235008 - pending = <optimized out> - #5 __fork () at ../sysdeps/mach/hurd/fork.c:706 - env = {{__jmpbuf = {18780148, 19087304, 134621988, 0, 16938700, 17842902}, __mask_was_saved = 0, __saved_mask = 4294967295}} + #4 0x0805028a in waitproc (status=0x10245d0, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 0 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x8063650) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x8063650) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804c470 in evalcommand (cmd=0x8066eb4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:824 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x806cfd0, stacknxt = 0x8082d64 "rm", stacknleft = 168560} + argp = <optimized out> + arglist = {list = 0x8082d6c, lastp = 0x8082de4} + varlist = {list = 0x0, lastp = 0x1024694} + argv = 0x8082df0 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 0, u = {index = 5, cmd = 0x5, func = 0x5}} + jp = 0x8063650 + lastarg = 0x0 + path = 0x1027951 "/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = -1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #8 0x0804b509 in evaltree (n=0x8066eb4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b586 in evaltree (n=0x8066fec, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #10 0x0804b8f1 in evalfor (n=n@entry=0x8066e1c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x807e36c, lastp = 0x8082d5c} + argp = <optimized out> + sp = 0x807f9fc + smark = {stackp = 0x806c998, stacknxt = 0x806cb94 "\001\002", stacknleft = 0} + #11 0x0804b51c in evaltree (n=0x8066e1c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #12 0x0804b509 in evaltree (n=0x8066e1c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #13 0x0804b586 in evaltree (n=0x8067064, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #14 0x0804b586 in evaltree (n=0x80670b4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #15 0x0804b586 in evaltree (n=0x8069bcc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #16 0x0804b586 in evaltree (n=0x8069c14, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #17 0x0804b586 in evaltree (n=0x8069c8c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #18 0x0804b586 in evaltree (n=0x8069ccc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #19 0x0804b586 in evaltree (n=0x806aa64, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #20 0x0804b586 in evaltree (n=0x806ab3c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #21 0x0804b586 in evaltree (n=0x806ab7c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #22 0x0804b586 in evaltree (n=0x806ba6c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #23 0x0804b586 in evaltree (n=0x806bb84, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #24 0x0804b586 in evaltree (n=0x806bbe4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #25 0x0804b586 in evaltree (n=0x806bcfc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #26 0x0804b586 in evaltree (n=0x806be2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #27 0x0804b586 in evaltree (n=0x806be84, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #28 0x0804b586 in evaltree (n=0x806c054, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #29 0x0804b586 in evaltree (n=0x806c2b4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #30 0x0804b586 in evaltree (n=0x806ca2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #31 0x0804b586 in evaltree (n=0x806cb64, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #32 0x0804b8f1 in evalfor (n=n@entry=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x806cb8c, lastp = 0x806cb8c} + argp = <optimized out> + sp = 0x806cb8c + smark = {stackp = 0x806c998, stacknxt = 0x806cb7c "/usr/include", stacknleft = 24} + #33 0x0804b51c in evaltree (n=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #34 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #35 0x08049b42 in main (argc=4, argv=0x1024b74) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18694132, 142560, 134607808, 16927480, 16927408, 134519464}, __mask_was_saved = 0, + __saved_mask = 18694132}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + login = <optimized out> + + +## 28134 + + Thread 2 (Thread 28134.2): + #0 0x0105a7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105afc9 in __mach_msg (msg=0x1220f90, option=3, send_size=32, rcv_size=4096, rcv_name=116, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105b6f9 in __mach_msg_server_timeout (demux=0x106bf00 <msgport_server>, max_size=4096, rcv_name=116, option=0, timeout=0) + at msgserver.c:151 + request = 0x1221fa0 + reply = 0x1220f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105b7cb in __mach_msg_server (demux=0x106bf00 <msgport_server>, max_size=4096, rcv_name=116) at msgserver.c:196 + No locals. + #4 0x0106becf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 28134.1): + #0 0x0105a81c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x0105c0a4 in __spin_lock_solid (lock=0x121980c) at spin-solid.c:27 + No locals. + #2 0x01070e57 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + No locals. + #3 _hurd_sigstate_lock (ss=0x1219008) at hurdsig.c:172 + No locals. + #4 0x0110e51c in _hurd_critical_section_unlock (our_lock=<optimized out>) at ../hurd/hurd/signal.h:235 + No locals. + #5 __fork () at ../sysdeps/mach/hurd/fork.c:707 + env = {{__jmpbuf = {18694132, 18972616, 0, 16926232, 16925860, 17882911}, __mask_was_saved = 0, __saved_mask = 0}} pid = 0 - err = 0 + err = <optimized out> __PRETTY_FUNCTION__ = "__fork" - ss = 0x1235008 + ss = 0x1219008 threads = 0x0 nthreads = 0 stopped = 1 i = 6 - [...] + #6 0x08051620 in forkshell (jp=jp@entry=0x8063650, n=n@entry=0x8066eb4, mode=mode@entry=0) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:934 + pid = <optimized out> + #7 0x0804c460 in evalcommand (cmd=0x8066eb4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:823 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x806cfd0, stacknxt = 0x8082d64 "rm", stacknleft = 168560} + argp = <optimized out> + arglist = {list = 0x8082d6c, lastp = 0x8082de4} + varlist = {list = 0x0, lastp = 0x1024694} + argv = 0x8082df0 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 0, u = {index = 5, cmd = 0x5, func = 0x5}} + jp = 0x8063650 + lastarg = 0x0 + path = 0x1027951 "/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = -1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #8 0x0804b509 in evaltree (n=0x8066eb4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b586 in evaltree (n=0x8066fec, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #10 0x0804b8f1 in evalfor (n=n@entry=0x8066e1c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x807e36c, lastp = 0x8082d5c} + argp = <optimized out> + sp = 0x807f9fc + smark = {stackp = 0x806c998, stacknxt = 0x806cb94 "\001\002", stacknleft = 0} + #11 0x0804b51c in evaltree (n=0x8066e1c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #12 0x0804b509 in evaltree (n=0x8066e1c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #13 0x0804b586 in evaltree (n=0x8067064, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #14 0x0804b586 in evaltree (n=0x80670b4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #15 0x0804b586 in evaltree (n=0x8069bcc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #16 0x0804b586 in evaltree (n=0x8069c14, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #17 0x0804b586 in evaltree (n=0x8069c8c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #18 0x0804b586 in evaltree (n=0x8069ccc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #19 0x0804b586 in evaltree (n=0x806aa64, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #20 0x0804b586 in evaltree (n=0x806ab3c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #21 0x0804b586 in evaltree (n=0x806ab7c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #22 0x0804b586 in evaltree (n=0x806ba6c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #23 0x0804b586 in evaltree (n=0x806bb84, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #24 0x0804b586 in evaltree (n=0x806bbe4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #25 0x0804b586 in evaltree (n=0x806bcfc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #26 0x0804b586 in evaltree (n=0x806be2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #27 0x0804b586 in evaltree (n=0x806be84, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #28 0x0804b586 in evaltree (n=0x806c054, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #29 0x0804b586 in evaltree (n=0x806c2b4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #30 0x0804b586 in evaltree (n=0x806ca2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #31 0x0804b586 in evaltree (n=0x806cb64, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #32 0x0804b8f1 in evalfor (n=n@entry=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x806cb8c, lastp = 0x806cb8c} + argp = <optimized out> + sp = 0x806cb8c + smark = {stackp = 0x806c998, stacknxt = 0x806cb7c "/usr/include", stacknleft = 24} + #33 0x0804b51c in evaltree (n=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #34 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #35 0x08049b42 in main (argc=4, argv=0x1024b74) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18694132, 142560, 134607808, 16927480, 16927408, 134519464}, __mask_was_saved = 0, + __saved_mask = 18694132}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + login = <optimized out> + + +# III + + PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 3524 1000 28449 1701 455 2 146M 1.07M 0.0 0:00.19 0:01.25 /bin/dash ./config.status + 4798 1000 3524 1701 455 2 134M 1.54M 0.0 0:00.07 0:00.05 make pch_build= + 4989 1000 4798 1701 455 2 146M 900K 0.0 0:00.00 0:00.00 ? + 5022 1000 4989 1701 455 2 146M 584K 0.0 0:00.00 0:00.00 ? + 5024 1000 5022 1701 455 2 146M 200K 98.6 0:01.59 2:48.24 ? + +In such cases, can be reasonabily sure that the question mark ones are +`/bin/dash`, too. + + +## 3524 + + Thread 2 (Thread 3524.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=106, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=106, option=0, timeout=0) at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=106) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 3524.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024768 + msgh_bits = 5395 + remote_port = 105 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=105, pid=-1, options=0, status=0x10248f0, sigcode=0x102489c, rusage=0x1024838, pid_status=0x10248a0) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 105, msgh_local_port = 109, msgh_seqno = 0, msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, + Out = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 105, msgh_local_port = 109, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, status = 0, + sigcodeType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, sigcode = 40, rusageType = {msgt_name = 0, msgt_size = 18, msgt_number = 0, + msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 32, tv_usec = 17152883}, ru_stime = {tv_sec = 16926652, tv_usec = 17687868}, ru_maxrss = 17243652, + ru_ixrss = 18698228, ru_idrss = 17243488, ru_isrss = 18698228, ru_minflt = 16927032, ru_majflt = 17888569, ru_nswap = 18980872, ru_inblock = 19042304, ru_oublock = 8, ru_msgsnd = 17, ru_msgrcv = 16926968, ru_nsignals = 0, + ru_nvcsw = 0, ru_nivcsw = 0}, pid_statusType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17243652}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110e49e in __wait4 (pid=-1, stat_loc=0x10248f0, options=0, usage=0x1024838) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x69} + port = 105 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 18689656, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 18689652, ru_isrss = 0, ru_minflt = 0, ru_majflt = 75, ru_nswap = 31, ru_inblock = 31, + ru_oublock = 31, ru_msgsnd = 0, ru_msgrcv = 18976712, ru_nsignals = 16927032, ru_nvcsw = 268509186, ru_nivcsw = 18698228} + sigcode = 31 + dummy = 16926660 + #3 0x0110e2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x0805028a in waitproc (status=0x10248f0, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 0 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x8063940) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x8063940) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804be00 in evalsubshell (n=0x8083abc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:470 + jp = 0x8063940 + backgnd = 0 + status = 0 + #8 0x0804b509 in evaltree (n=0x8083abc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b81b in evalcase (n=0x8075b3c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:428 + cp = 0x8083a9c + patp = 0x8083aac + arglist = {list = 0x8083d8c, lastp = 0x8083d8c} + smark = {stackp = 0x8083d48, stacknxt = 0x8083d74 "generate-headers:C", stacknleft = 464} + #10 0x0804b509 in evaltree (n=0x8075b3c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #11 0x0804b509 in evaltree (n=0x8075b3c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #12 0x0804b8f1 in evalfor (n=n@entry=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8083ccc, lastp = 0x8083d6c} + argp = <optimized out> + sp = 0x8083d6c + smark = {stackp = 0x8083b48, stacknxt = 0x8083ba4 ":F", stacknleft = 416} + #13 0x0804b51c in evaltree (n=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #14 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #15 0x08049b42 in main (argc=2, argv=0x1024bb4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927544, 16927472, 134519464}, __mask_was_saved = 0, __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, + sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, intr_port = 0, + context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 108, next = 0x121a008, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $6 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_self_sigstate() + warning: Can't wait for pid 3524: Keine Kind-Prozesse + $7 = {critical_section_lock = 0, lock = 0, thread = 23, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, intr_port = 105, + context = 0x0, active_resources = 0x1024880, cancel = 0, cancel_hook = 0} + + +## 4798 + + Thread 2 (Thread 4798.2): + #0 0x0105f7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105ffc9 in __mach_msg (msg=0x17fdf30, option=3, send_size=32, rcv_size=4096, rcv_name=122, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x010606f9 in __mach_msg_server_timeout (demux=0x1070f00 <msgport_server>, max_size=4096, rcv_name=122, option=0, timeout=0) at msgserver.c:151 + request = 0x17fef40 + reply = 0x17fdf30 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x010607cb in __mach_msg_server (demux=0x1070f00 <msgport_server>, max_size=4096, rcv_name=122) at msgserver.c:196 + No locals. + #4 0x01070ecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x011e3c20 in entry_point (start_routine=0x1070e60 <_hurd_msgport_receive>, arg=0x0) at ./pthread/pt-create.c:50 + No locals. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 4798.1): + #0 0x0107ca5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x15fe048 + msgh_bits = 5395 + remote_port = 104 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x0120a9df in __proc_wait (process=104, pid=-1, options=0, status=0x15fe1e0, sigcode=0x15fe17c, rusage=0x15fe118, pid_status=0x15fe180) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 104, msgh_local_port = 106, msgh_seqno = 0, msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, + Out = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 104, msgh_local_port = 106, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, status = 0, + sigcodeType = {msgt_name = 244, msgt_size = 143, msgt_number = 285, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, sigcode = 2, rusageType = {msgt_name = 1, msgt_size = 0, msgt_number = 0, + msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 1, tv_usec = 17903391}, ru_stime = {tv_sec = 23, tv_usec = 514}, ru_maxrss = 23060408, ru_ixrss = 31, + ru_idrss = 18714612, ru_isrss = 23068628, ru_minflt = 134641554, ru_majflt = 23060780, ru_nswap = 23060408, ru_inblock = 17903391, ru_oublock = 0, ru_msgsnd = 134675828, ru_msgrcv = 0, ru_nsignals = 155568, ru_nvcsw = 0, + ru_nivcsw = 17701606}, pid_statusType = {msgt_name = 144, msgt_size = 139, msgt_number = 264, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17260036}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0111249e in __wait4 (pid=-1, stat_loc=0x15fe1e0, options=0, usage=0x15fe118) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x25fac + __link = {resource = {next = 0x0, prevp = 0x25fb0}, thread = {next = 0x0, prevp = 0x122dc5c}, cleanup = 0x1088b90 <_hurd_port_cleanup>, cleanup_data = 0x68} + port = 104 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 134641554, tv_usec = 23060792}, ru_stime = {tv_sec = 17719530, tv_usec = 18724992}, ru_maxrss = 134641554, ru_ixrss = 17719434, ru_idrss = 135171864, ru_isrss = 0, ru_minflt = 17260036, + ru_majflt = 134571847, ru_nswap = 17259872, ru_inblock = 18714612, ru_oublock = 23060856, ru_msgsnd = 17424911, ru_msgrcv = 19060744, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0} + sigcode = 134570472 + dummy = 4836 + #3 0x01112269 in __libc_wait (stat_loc=0x15fe1e0) at ../sysdeps/unix/bsd/bsd4.4/wait.c:29 + No locals. + #4 0x080573c4 in ?? () + No symbol table info available. + #5 0x0805780c in ?? () + No symbol table info available. + #6 0x08060611 in ?? () + No symbol table info available. + #7 0x08060a6c in ?? () + No symbol table info available. + #8 0x0805f859 in ?? () + No symbol table info available. + #9 0x08060a6c in ?? () + No symbol table info available. + #10 0x0805f859 in ?? () + No symbol table info available. + #11 0x08060a6c in ?? () + No symbol table info available. + #12 0x0805f859 in ?? () + No symbol table info available. + #13 0x08060f3e in ?? () + No symbol table info available. + #14 0x0804b245 in ?? () + No symbol table info available. + #15 0x0108a66b in __libc_start_main (main=0x8049d30, argc=2, ubp_av=0x15ff328, init=0x80656d0, fini=0x80656c0, rtld_fini=0xf5c0, stack_end=0x15ff31c) at libc-start.c:257 + result = <optimized out> + #16 0x0804b9d1 in ?? () + No symbol table info available. + + (gdb) print _hurd_global_sigstate + $2 = (struct hurd_sigstate *) 0x122d008 + (gdb) print *_hurd_global_sigstate + $3 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x804d570, sa_sigaction = 0x804d570}, sa_mask = 1, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x804d570, sa_sigaction = 0x804d570}, sa_mask = 2, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x804d570, sa_sigaction = 0x804d570}, sa_mask = 4, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 11 times>, {__sigaction_handler = { + sa_handler = 0x804d570, sa_sigaction = 0x804d570}, sa_mask = 16384, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x8055670, sa_sigaction = 0x8055670}, sa_mask = 524288, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x804d570, sa_sigaction = 0x804d570}, sa_mask = 8388608, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x804d570, sa_sigaction = 0x804d570}, sa_mask = 16777216, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8057a60, sa_sigaction = 0x8057a60}, sa_mask = 536870912, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, + exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $4 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $5 = (struct hurd_sigstate *) 0x26808 + (gdb) print *_hurd_sigstates + $6 = {critical_section_lock = 0, lock = 0, thread = 124, next = 0x122d808, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $7 = (struct hurd_sigstate *) 0x122d808 + (gdb) print *_hurd_self_sigstate() + warning: Can't wait for pid 4798: Keine Kind-Prozesse + $8 = {critical_section_lock = 0, lock = 0, thread = 24, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 33 times>}, suspended = 0, intr_port = 104, context = 0x0, active_resources = 0x15fe160, cancel = 0, cancel_hook = 0} + + +## 4989 + + Thread 2 (Thread 4989.2): + #0 0x0105c7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105cfc9 in __mach_msg (msg=0x1222f90, option=3, send_size=32, rcv_size=4096, rcv_name=129, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105d6f9 in __mach_msg_server_timeout (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=129, option=0, timeout=0) at msgserver.c:151 + request = 0x1223fa0 + reply = 0x1222f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105d7cb in __mach_msg_server (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=129) at msgserver.c:196 + No locals. + #4 0x0106decf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 4989.1): + #0 0x01079a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1023e84 + msgh_bits = 5395 + remote_port = 139 + msgid = 21001 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x0120a1a5 in __io_read (io_object=139, data=0x1024790, dataCnt=0x1024794, offset=-1, amount=128) at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_io_read.c:137 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 44, msgh_remote_port = 139, msgh_local_port = 133, msgh_seqno = 0, msgh_id = 21001}, offsetType = {msgt_name = 11, msgt_size = 64, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, offset = -1, amountType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, amount = 128}, + Out = {Head = {msgh_bits = 5395, msgh_size = 44, msgh_remote_port = 139, msgh_local_port = 133, msgh_seqno = 0, msgh_id = 21001}, RetCodeType = {msgt_name = 11, msgt_size = 64, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, dataType = {msgtl_header = {msgt_name = 255, msgt_size = 255, msgt_number = 4095, msgt_inline = 1, msgt_longform = 1, msgt_deallocate = 1, + msgt_unused = 1}, msgtl_name = 8194, msgtl_size = 4097, msgtl_number = 128}, + data = "./detail/bin_search_tree_/node_iterators.hpp\npp\n\004\264\035\001\000\004\000\000\064\004\000\000\205", '\000' <repeats 12 times>, "\022\000\200\064\004\000\000\000\000\000\000\205\000\000\000\224\000\000\000\226N\000\000\002 \001\020\000\000\000\000\002 \001\020\001\000\000\000\f\b\000\024", '\000' <repeats 1008 times>, "\002 \001\020\000\000\000\000\002 \001\020\000\000\000\000\021 \001\020\211\000\000\000\364_\035\001\b\260!\001XC\002\001\070L\006\001\n\000\000\000Mg\006\b\000\000\000\000\004.\a\001\354C\002\001`-\a\001\364_\035\001\250C\002\001x\361\005\001\b\260!\001p\357\005\001,H\002\001\004.\a"...}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0107e321 in readfd (port=139) at fd-read.c:34 + nbytes = 0x0 + nread = 0 + data = 0x0 + offset = 0 + #3 0x01084880 in _hurd_ctty_input (port=139, ctty=0, rpc=0x102479c) at ctty-input.c:32 + err = <optimized out> + #4 0x0107dd44 in _hurd_fd_read (fd=0x1219d88, buf=0x1024880, offset=-1) at fd-read.c:39 + __ulink = {resource = {next = 0x0, prevp = 0x1219d8c}, thread = {next = 0x0, prevp = 0x121b45c}, cleanup = 0x1085b90 <_hurd_port_cleanup>, cleanup_data = 0x8b} + __ctty_ulink = {resource = {next = 0x10247d0, prevp = 0x107d794}, thread = {next = 0x121b008, prevp = 0x8c}, cleanup = 0x139e, cleanup_data = 0x8066840} + ctty = 0 + crit = <optimized out> + __result = 16927684 + port = 139 + err = <optimized out> + data = 0x1024880 "\364_\035\001\340h\006\b \307\001" + nbytes = 0x1024838 + nread = 128 + #5 0x01142652 in __libc_read (fd=3, buf=buf@entry=0x1024880, nbytes=nbytes@entry=128) at ../sysdeps/mach/hurd/read.c:27 + descriptor = <error reading variable descriptor (DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.)> + err = <optimized out> + #6 0x0804f480 in expbackq (flag=68, cmd=<optimized out>) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:542 + i = <optimized out> + buf = "\364_\035\001\340h\006\b \307\001\000\354H\002\001\065\360\r\001\214\211\035\001\002\000\000\000\b\000\000\000@\000\000\000\020\002\000\000@\000\000\000\374\001\000\000\225\343\033\001̈\035\001\252\313\033\001\264\345\033\001\000\002\000\000\000\000\000\000\000\000\000\000\254\343\033\001\200\210\035\001 \307\001\000Ĉ\035\001<N\006\b\000\000\000\000\214I\002\001\000\000\000\000\302a\005\b\000\000\000\000\003\000\000\000\064J\002\001\b\000\000" + dest = <optimized out> + startloc = 11 + in = {fd = 3, buf = 0x0, nleft = 0, jp = 0x8066840} + p = <optimized out> + syntax = 0x805b922 "" + smark = {stackp = 0x80668e8, stacknxt = 0x80668f4 "build_name=./det|i\006\b\374h\006\b/home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp", stacknleft = 496} + #7 argstr (p=0x8064e28 "", flag=68, flag@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:350 + spclchars = "=:\210\203\201\202\204\207" + reject = 0x8059b41 ":\210\203\201\202\204\207" + c = <optimized out> + breakall = 0 + inquotes = 0 + length = 0 + startloc = 68 + #8 0x0804f682 in expandarg (arg=arg@entry=0x8064e2c, arglist=arglist@entry=0x1024994, flag=flag@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:193 + sp = <optimized out> + p = <optimized out> + #9 0x0804c1d4 in evalcommand (cmd=0x8064e3c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:733 + spp = 0x1024994 + p = <optimized out> + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8066440, stacknxt = 0x806663c <incomplete sequence \321>, stacknleft = 0} + argp = 0x8064e2c + arglist = {list = 0x0, lastp = 0x102498c} + varlist = {list = 0x0, lastp = 0x1024994} + argv = 0x80668f0 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134584628, cmd = 0x8059934, func = 0x8059934}} + jp = <optimized out> + lastarg = 0x0 + path = 0x1028633 "PATH=/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = <optimized out> + execcmd = <optimized out> + status = 0 + nargv = <optimized out> + #10 0x0804b509 in evaltree (n=0x8064e3c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #11 0x0804b586 in evaltree (n=0x8064f2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #12 0x0804b8f1 in evalfor (n=n@entry=0x80618fc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8064fdc, lastp = 0x8066634} + argp = <optimized out> + sp = 0x806552c + smark = {stackp = 0x8064f00, stacknxt = 0x8064f5c "/home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp", stacknleft = 416} + #13 0x0804b51c in evaltree (n=0x80618fc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #14 0x0804b509 in evaltree (n=0x80618fc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #15 0x0804b509 in evaltree (n=0x8064f44, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #16 0x0804be81 in evalstring ( + s=0x1025eb5 "if [ ! -f stamp-pb ]; then \\\n cd ./ext/pb_ds && for h in /home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp /home/thomas/tmp"..., flags=0, + flags@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:168 + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + status = 0 + #17 0x08049b2f in main (argc=3, argv=0x1024bb4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:174 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18702324, 142560, 134607808, 16927544, 16927472, 134519464}, __mask_was_saved = 0, __saved_mask = 18702324}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121b808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 11 times>, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x1225808 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 131, next = 0x121b008, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $6 = (struct hurd_sigstate *) 0x121b008 + (gdb) print *_hurd_self_sigstate() + warning: Can't wait for pid 4989: Keine Kind-Prozesse + $7 = {critical_section_lock = 0, lock = 0, thread = 98, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 33 times>}, suspended = 0, intr_port = 139, context = 0x0, active_resources = 0x10247c0, cancel = 0, cancel_hook = 0} + + +## 5022 + + Thread 2 (Thread 5022.2): + #0 0x0105c7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105cfc9 in __mach_msg (msg=0x1222f90, option=3, send_size=32, rcv_size=4096, rcv_name=129, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105d6f9 in __mach_msg_server_timeout (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=129, option=0, timeout=0) at msgserver.c:151 + request = 0x1223fa0 + reply = 0x1222f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105d7cb in __mach_msg_server (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=129) at msgserver.c:196 + No locals. + #4 0x0106decf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 5022.1): + #0 0x01079a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024588 + msgh_bits = 5395 + remote_port = 105 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011fa9df in __proc_wait (process=105, pid=-1, options=0, status=0x1024710, sigcode=0x10246bc, rusage=0x1024658, pid_status=0x10246c0) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 132, msgh_remote_port = 105, msgh_local_port = 133, msgh_seqno = 0, msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, + Out = {Head = {msgh_bits = 5395, msgh_size = 132, msgh_remote_port = 105, msgh_local_port = 133, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, status = 0, + sigcodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, sigcode = 0, rusageType = {msgt_name = 2, msgt_size = 32, msgt_number = 18, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, + ru_minflt = 0, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, pid_statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17247748}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110f49e in __wait4 (pid=-1, stat_loc=0x1024710, options=0, usage=0x1024658) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x121afac + __link = {resource = {next = 0x0, prevp = 0x121afb0}, thread = {next = 0x0, prevp = 0x121b45c}, cleanup = 0x1085b90 <_hurd_port_cleanup>, cleanup_data = 0x69} + port = 105 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, + ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0} + sigcode = 0 + dummy = 16926180 + #3 0x0110f2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x0805028a in waitproc (status=0x1024710, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 1 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x8066840) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x8066840) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804bc58 in evalpipe (n=0x8064d4c, flags=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:566 + jp = 0x8066840 + lp = 0x0 + pipelen = <optimized out> + prevfd = <optimized out> + pip = {3, -1} + #8 0x0804b509 in evaltree (n=n@entry=0x8064d4c, flags=flags@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804c7df in evaltreenr (flags=1, n=0x8064d4c) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:324 + No locals. + #10 evalbackcmd (n=n@entry=0x8064d4c, result=result@entry=0x1024870) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:606 + pip = {3, 4} + jp = 0x8066840 + #11 0x0804f43b in expbackq (flag=68, cmd=0x8064d4c) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:529 + i = <optimized out> + buf = "\364_\035\001\340h\006\b \307\001\000\354H\002\001\065\360\r\001\214\211\035\001\002\000\000\000\b\000\000\000@\000\000\000\020\002\000\000@\000\000\000\374\001\000\000\225\343\033\001̈\035\001\252\313\033\001\264\345\033\001\000\002\000\000\000\000\000\000\000\000\000\000\254\343\033\001\200\210\035\001 \307\001\000Ĉ\035\001<N\006\b\000\000\000\000\214I\002\001\000\000\000\000\302a\005\b\000\000\000\000\003\000\000\000\064J\002\001\b\000\000" + dest = <optimized out> + startloc = 11 + in = {fd = -1, buf = 0x0, nleft = 0, jp = 0x0} + p = <optimized out> + syntax = 0x805b922 "" + smark = {stackp = 0x80668e8, stacknxt = 0x80668f4 "build_name=./det/bin/sed", stacknleft = 496} + #12 argstr (p=0x8064e28 "", flag=68, flag@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:350 + spclchars = "=:\210\203\201\202\204\207" + reject = 0x8059b41 ":\210\203\201\202\204\207" + c = <optimized out> + breakall = 0 + inquotes = 0 + length = 0 + startloc = 68 + #13 0x0804f682 in expandarg (arg=arg@entry=0x8064e2c, arglist=arglist@entry=0x1024994, flag=flag@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:193 + sp = <optimized out> + p = <optimized out> + #14 0x0804c1d4 in evalcommand (cmd=0x8064e3c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:733 + spp = 0x1024994 + p = <optimized out> + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8066440, stacknxt = 0x806663c <incomplete sequence \321>, stacknleft = 0} + argp = 0x8064e2c + arglist = {list = 0x0, lastp = 0x102498c} + varlist = {list = 0x0, lastp = 0x1024994} + argv = 0x80668f0 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134584628, cmd = 0x8059934, func = 0x8059934}} + jp = <optimized out> + lastarg = 0x0 + path = 0x1028633 "PATH=/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = <optimized out> + execcmd = <optimized out> + status = 0 + nargv = <optimized out> + #15 0x0804b509 in evaltree (n=0x8064e3c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #16 0x0804b586 in evaltree (n=0x8064f2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #17 0x0804b8f1 in evalfor (n=n@entry=0x80618fc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8064fdc, lastp = 0x8066634} + argp = <optimized out> + sp = 0x806552c + smark = {stackp = 0x8064f00, stacknxt = 0x8064f5c "/home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp", stacknleft = 416} + #18 0x0804b51c in evaltree (n=0x80618fc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #19 0x0804b509 in evaltree (n=0x80618fc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #20 0x0804b509 in evaltree (n=0x8064f44, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #21 0x0804be81 in evalstring ( + s=0x1025eb5 "if [ ! -f stamp-pb ]; then \\\n cd ./ext/pb_ds && for h in /home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp /home/thomas/tmp"..., flags=0, + flags@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:168 + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + status = 0 + #22 0x08049b2f in main (argc=3, argv=0x1024bb4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:174 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18702324, 142560, 134607808, 16927544, 16927472, 134519464}, __mask_was_saved = 0, __saved_mask = 18702324}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121b808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 11 times>, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x121b008 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 98, next = 0x1225808, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 17169692, exc_subcode = 1, code = 1, error = EKERN_INVALID_ADDRESS}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, + intr_port = 105, context = 0x0, active_resources = 0x10246a0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $6 = (struct hurd_sigstate *) 0x121b008 + (gdb) print *_hurd_self_sigstate() + warning: Can't wait for pid 5022: Keine Kind-Prozesse + $7 = {critical_section_lock = 0, lock = 0, thread = 98, next = 0x1225808, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 17169692, exc_subcode = 1, code = 1, error = EKERN_INVALID_ADDRESS}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, + intr_port = 105, context = 0x0, active_resources = 0x10246a0, cancel = 0, cancel_hook = 0} + + +## 5024 + + Thread 2 (Thread 5024.2): + #0 0x0105c7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105cfc9 in __mach_msg (msg=0x1222f90, option=3, send_size=32, rcv_size=4096, rcv_name=129, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105d6f9 in __mach_msg_server_timeout (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=129, option=0, timeout=0) at msgserver.c:151 + request = 0x1223fa0 + reply = 0x1222f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105d7cb in __mach_msg_server (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=129) at msgserver.c:196 + No locals. + #4 0x0106decf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 5024.1): + #0 0x0105c81c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x0105e0a4 in __spin_lock_solid (lock=0x121b80c) at spin-solid.c:27 + No locals. + #2 0x01072e57 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + No locals. + #3 _hurd_sigstate_lock (ss=0x121b008) at hurdsig.c:172 + No locals. + #4 0x0111051c in _hurd_critical_section_unlock (our_lock=<optimized out>) at ../hurd/hurd/signal.h:235 + No locals. + #5 __fork () at ../sysdeps/mach/hurd/fork.c:707 + env = {{__jmpbuf = {18702324, 18980808, 0, 16926552, 16926180, 17891103}, __mask_was_saved = 0, __saved_mask = 5}} + pid = 0 + err = <optimized out> + __PRETTY_FUNCTION__ = "__fork" + ss = 0x121b008 + threads = 0x0 + nthreads = 0 + stopped = 1 + i = 6 + #6 0x08051620 in forkshell (jp=jp@entry=0x8066840, n=0x8064e04, mode=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:934 + pid = <optimized out> + #7 0x0804bbf8 in evalpipe (n=0x8064d4c, flags=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:544 + jp = 0x8066840 + lp = 0x8064d64 + pipelen = <optimized out> + prevfd = <optimized out> + pip = {3, -1} + #8 0x0804b509 in evaltree (n=n@entry=0x8064d4c, flags=flags@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804c7df in evaltreenr (flags=1, n=0x8064d4c) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:324 + No locals. + #10 evalbackcmd (n=n@entry=0x8064d4c, result=result@entry=0x1024870) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:606 + pip = {3, 4} + jp = 0x8066840 + #11 0x0804f43b in expbackq (flag=68, cmd=0x8064d4c) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:529 + i = <optimized out> + buf = "\364_\035\001\340h\006\b \307\001\000\354H\002\001\065\360\r\001\214\211\035\001\002\000\000\000\b\000\000\000@\000\000\000\020\002\000\000@\000\000\000\374\001\000\000\225\343\033\001̈\035\001\252\313\033\001\264\345\033\001\000\002\000\000\000\000\000\000\000\000\000\000\254\343\033\001\200\210\035\001 \307\001\000Ĉ\035\001<N\006\b\000\000\000\000\214I\002\001\000\000\000\000\302a\005\b\000\000\000\000\003\000\000\000\064J\002\001\b\000\000" + dest = <optimized out> + startloc = 11 + in = {fd = -1, buf = 0x0, nleft = 0, jp = 0x0} + p = <optimized out> + syntax = 0x805b922 "" + smark = {stackp = 0x80668e8, stacknxt = 0x80668f4 "build_name=./det/bin/sed", stacknleft = 496} + #12 argstr (p=0x8064e28 "", flag=68, flag@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:350 + spclchars = "=:\210\203\201\202\204\207" + reject = 0x8059b41 ":\210\203\201\202\204\207" + c = <optimized out> + breakall = 0 + inquotes = 0 + length = 0 + startloc = 68 + #13 0x0804f682 in expandarg (arg=arg@entry=0x8064e2c, arglist=arglist@entry=0x1024994, flag=flag@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:193 + sp = <optimized out> + p = <optimized out> + #14 0x0804c1d4 in evalcommand (cmd=0x8064e3c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:733 + spp = 0x1024994 + p = <optimized out> + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8066440, stacknxt = 0x806663c <incomplete sequence \321>, stacknleft = 0} + argp = 0x8064e2c + arglist = {list = 0x0, lastp = 0x102498c} + varlist = {list = 0x0, lastp = 0x1024994} + argv = 0x80668f0 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134584628, cmd = 0x8059934, func = 0x8059934}} + jp = <optimized out> + lastarg = 0x0 + path = 0x1028633 "PATH=/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = <optimized out> + execcmd = <optimized out> + status = 0 + nargv = <optimized out> + #15 0x0804b509 in evaltree (n=0x8064e3c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #16 0x0804b586 in evaltree (n=0x8064f2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #17 0x0804b8f1 in evalfor (n=n@entry=0x80618fc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8064fdc, lastp = 0x8066634} + argp = <optimized out> + sp = 0x806552c + smark = {stackp = 0x8064f00, stacknxt = 0x8064f5c "/home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp", stacknleft = 416} + #18 0x0804b51c in evaltree (n=0x80618fc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #19 0x0804b509 in evaltree (n=0x80618fc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #20 0x0804b509 in evaltree (n=0x8064f44, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #21 0x0804be81 in evalstring ( + s=0x1025eb5 "if [ ! -f stamp-pb ]; then \\\n cd ./ext/pb_ds && for h in /home/thomas/tmp/gcc/hurd/master/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp /home/thomas/tmp"..., flags=0, + flags@entry=4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:168 + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + status = 0 + #22 0x08049b2f in main (argc=3, argv=0x1024bb4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:174 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18702324, 142560, 134607808, 16927544, 16927472, 134519464}, __mask_was_saved = 0, __saved_mask = 18702324}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "if", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121b808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 1, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 11 times>, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x121b008 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 1, lock = 0, thread = 98, next = 0x1225808, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $6 = (struct hurd_sigstate *) 0x121b008 + (gdb) print *_hurd_self_sigstate() + warning: Can't wait for pid 5024: Keine Kind-Prozesse + $7 = {critical_section_lock = 1, lock = 0, thread = 98, next = 0x1225808, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) thread 1 + [Switching to thread 1 (Thread 5024.1)] + #0 0x0105c81c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + 2 kernel_trap (__swtch_pri,-59,1) + (gdb) frame 5 + #5 __fork () at ../sysdeps/mach/hurd/fork.c:707 + 707 _hurd_critical_section_unlock (ss); + (gdb) print ss + $8 = (struct hurd_sigstate * volatile) 0x121b008 + (gdb) print _hurd_sigstates->next + $9 = (struct hurd_sigstate *) 0x1225808 + (gdb) print *_hurd_sigstates->next + $10 = {critical_section_lock = 0, lock = 0, thread = 131, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + + +# IV + + PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 13103 1000 13085 1702 457 2 146M 1.96M 0.0 0:00.64 0:02.75 /bin/dash /home/thomas/tmp/gcc/hurd/master/libjava/configure --cache-file=./c + 16929 1000 13103 1702 457 2 146M 1.09M 0.0 0:00.26 0:01.23 /bin/dash ./config.status + 18200 1000 16929 1702 457 2 146M 284K 91.0 0:41.74 75min /bin/dash ./config.status + + +## 13103 + + Thread 2 (Thread 13103.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=75, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 13103.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x10244d8 + msgh_bits = 5395 + remote_port = 74 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=74, pid=-1, options=0, status=0x1024660, sigcode=0x102460c, rusage=0x10245a8, pid_status=0x1024610) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 74, msgh_local_port = 77, msgh_seqno = 0, msgh_id = 24020}, + pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 74, + msgh_local_port = 77, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = {msgt_name = 2, + msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, status = 0, + sigcodeType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, sigcode = 40, rusageType = {msgt_name = 0, msgt_size = 18, msgt_number = 0, msgt_inline = 0, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 32, tv_usec = 17152883}, ru_stime = { + tv_sec = 16925996, tv_usec = 17687868}, ru_maxrss = 17243652, ru_ixrss = 18698228, ru_idrss = 17243488, ru_isrss = 18698228, + ru_minflt = 16926376, ru_majflt = 17888569, ru_nswap = 18980872, ru_inblock = 19046400, ru_oublock = 8, ru_msgsnd = 17, + ru_msgrcv = 16926312, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, pid_statusType = {msgt_name = 0, msgt_size = 0, + msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17243652}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110e49e in __wait4 (pid=-1, stat_loc=0x1024660, options=0, usage=0x10245a8) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x4a} + port = 74 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 18689656, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 134541677, + ru_idrss = 18689652, ru_isrss = 134585154, ru_minflt = 0, ru_majflt = 75, ru_nswap = 31, ru_inblock = 31, ru_oublock = 31, + ru_msgsnd = 0, ru_msgrcv = 18976712, ru_nsignals = 16926376, ru_nvcsw = 268509186, ru_nivcsw = 18698228} + sigcode = 31 + dummy = 16926004 + #3 0x0110e2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) + at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x0805028a in waitproc (status=0x1024660, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 0 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x80638b0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x80638b0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804c470 in evalcommand (cmd=0x808576c, flags=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:824 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8085d18, stacknxt = 0x8085e44 "/bin/dash", stacknleft = 208} + argp = <optimized out> + arglist = {list = 0x8085e54, lastp = 0x8085e6c} + varlist = {list = 0x0, lastp = 0x1024724} + argv = 0x8085e80 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 0, u = {index = -1, cmd = 0xffffffff, func = 0xffffffff}} + jp = 0x80638b0 + lastarg = 0x0 + path = 0x1027dd4 "/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = -1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #8 0x0804b509 in evaltree (n=0x808576c, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b586 in evaltree (n=0x80857c4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 1 + status = <optimized out> + #10 0x0804b509 in evaltree (n=0x80857c4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #11 0x0804b586 in evaltree (n=0x8085d7c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #12 0x0804b586 in evaltree (n=0x8085e2c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #13 0x0804b509 in evaltree (n=0x8085e2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #14 0x08051cbc in cmdloop (top=top@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80654d0, stacknxt = 0x80654ec "if", stacknleft = 480} + inter = <optimized out> + status = 0 + numeof = 0 + #15 0x08051e27 in dotcmd (argc=2, argv=0x80654e0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:337 + status = 0 + #16 0x0804bf47 in evalbltin (cmd=0x805afe0, argc=argc@entry=2, argv=argv@entry=0x80654e0, flags=flags@entry=0) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:900 + savecmdname = 0x102500a "/home/thomas/tmp/gcc/hurd/master/libjava/configure" + savehandler = 0x1024ae0 + jmploc = {loc = {{__jmpbuf = {0, 2, 1, 134632672, 16927008, 134528761}, __mask_was_saved = 0, __saved_mask = 0}}} + status = <optimized out> + i = 0 + #17 0x0804c5b1 in evalcommand (cmd=0x8064734, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:840 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x80645e0, stacknxt = 0x80647b4 ".", stacknleft = 40} + argp = <optimized out> + arglist = {list = 0x80647bc, lastp = 0x80654d4} + varlist = {list = 0x0, lastp = 0x10249c4} + argv = 0x80654e0 + argc = 2 + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134590432, cmd = 0x805afe0, func = 0x805afe0}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = 1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #18 0x0804b509 in evaltree (n=0x8064734, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #19 0x0804b509 in evaltree (n=0x8064734, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #20 0x0804b586 in evaltree (n=0x806478c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #21 0x0804b509 in evaltree (n=0x806478c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #22 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #23 0x08049b42 in main (argc=15, argv=0x1024b84) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927496, 16927424, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, + ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, + exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 76, next = 0x121a008, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 49, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 74, context = 0x0, active_resources = 0x10245f0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + warning: Can't wait for pid 13103: Keine Kind-Prozesse + $8 = (struct hurd_sigstate *) 0x121a008 + + +## 16929 + + Thread 2 (Thread 16929.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=86, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=86, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=86) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 16929.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024568 + msgh_bits = 5395 + remote_port = 82 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=82, pid=-1, options=0, status=0x10246f0, sigcode=0x102469c, rusage=0x1024638, pid_status=0x10246a0) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 132, msgh_remote_port = 82, msgh_local_port = 89, msgh_seqno = 0, + msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 132, + msgh_remote_port = 82, msgh_local_port = 89, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, + msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = { + msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, + status = 0, sigcodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, sigcode = 0, rusageType = {msgt_name = 2, msgt_size = 32, msgt_number = 18, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 0, tv_usec = 0}, + ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, + ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, + pid_statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, pid_status = 17243652}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110e49e in __wait4 (pid=-1, stat_loc=0x10246f0, options=0, usage=0x1024638) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x52} + port = 82 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, + ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, + ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0} + sigcode = 0 + dummy = 16926148 + #3 0x0110e2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) + at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x0805028a in waitproc (status=0x10246f0, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 0 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x8063998) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x8063998) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804bc58 in evalpipe (n=0x807a114, flags=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:566 + jp = 0x8063998 + lp = 0x0 + pipelen = <optimized out> + prevfd = <optimized out> + pip = {3, -1} + #8 0x0804b509 in evaltree (n=0x807a114, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b53b in evaltree (n=0x807a06c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:283 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #10 0x0804b509 in evaltree (n=0x807a06c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #11 0x0804b586 in evaltree (n=0x807ab6c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #12 0x0804b586 in evaltree (n=0x807ac2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #13 0x0804b586 in evaltree (n=0x807ad74, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #14 0x0804b586 in evaltree (n=0x807ae34, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #15 0x0804b586 in evaltree (n=0x807af74, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #16 0x0804b586 in evaltree (n=0x807b08c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #17 0x0804b586 in evaltree (n=0x807bd54, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #18 0x0804b8f1 in evalfor (n=n@entry=0x8079f04, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8085fd4, lastp = 0x8086034} + argp = <optimized out> + sp = 0x808600c + smark = {stackp = 0x8084180, stacknxt = 0x8085edc "Makefile", stacknleft = 2056} + #19 0x0804b51c in evaltree (n=0x8079f04, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #20 0x0804b509 in evaltree (n=0x8079f04, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #21 0x0804b509 in evaltree (n=0x807bd6c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #22 0x0804b81b in evalcase (n=0x8079ae4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:428 + cp = 0x8079c74 + patp = 0x8079c84 + arglist = {list = 0x8085ed4, lastp = 0x8085ed4} + smark = {stackp = 0x8084180, stacknxt = 0x8085ec4 "depfiles:C", stacknleft = 2080} + #23 0x0804b509 in evaltree (n=0x8079ae4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #24 0x0804b509 in evaltree (n=0x8079ae4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #25 0x0804b8f1 in evalfor (n=n@entry=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8085d84, lastp = 0x8085ebc} + argp = <optimized out> + sp = 0x8085eb4 + smark = {stackp = 0x8084180, stacknxt = 0x80857b4 ":F", stacknleft = 3888} + #26 0x0804b51c in evaltree (n=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #27 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #28 0x08049b42 in main (argc=2, argv=0x1024ba4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927528, 16927456, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, + ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, + exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 88, next = 0x121a008, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 23, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 82, context = 0x0, active_resources = 0x1024680, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $8 = (struct hurd_sigstate *) 0x121a008 + + +## 18200 + + Thread 2 (Thread 18200.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=86, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=86, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=86) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 18200.1): + #0 0x0105b81c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x0105d0a4 in __spin_lock_solid (lock=0x121a80c) at spin-solid.c:27 + No locals. + #2 0x01071e57 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + No locals. + #3 _hurd_sigstate_lock (ss=0x121a008) at hurdsig.c:172 + No locals. + #4 0x0110f51c in _hurd_critical_section_unlock (our_lock=<optimized out>) at ../hurd/hurd/signal.h:235 + No locals. + #5 __fork () at ../sysdeps/mach/hurd/fork.c:707 + env = {{__jmpbuf = {18698228, 18976712, 0, 16926520, 16926148, 17887007}, __mask_was_saved = 0, __saved_mask = 16926608}} + pid = 0 + err = <optimized out> + __PRETTY_FUNCTION__ = "__fork" + ss = 0x121a008 + threads = 0x0 + nthreads = 0 + stopped = 1 + i = 6 + #6 0x08051620 in forkshell (jp=jp@entry=0x8063998, n=0x807a1bc, mode=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:934 + pid = <optimized out> + #7 0x0804bbf8 in evalpipe (n=0x807a114, flags=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:544 + jp = 0x8063998 + lp = 0x807a12c + pipelen = <optimized out> + prevfd = <optimized out> + pip = {3, -1} + #8 0x0804b509 in evaltree (n=0x807a114, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b53b in evaltree (n=0x807a06c, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:283 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #10 0x0804b509 in evaltree (n=0x807a06c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #11 0x0804b586 in evaltree (n=0x807ab6c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #12 0x0804b586 in evaltree (n=0x807ac2c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #13 0x0804b586 in evaltree (n=0x807ad74, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #14 0x0804b586 in evaltree (n=0x807ae34, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #15 0x0804b586 in evaltree (n=0x807af74, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #16 0x0804b586 in evaltree (n=0x807b08c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #17 0x0804b586 in evaltree (n=0x807bd54, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #18 0x0804b8f1 in evalfor (n=n@entry=0x8079f04, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8085fd4, lastp = 0x8086034} + argp = <optimized out> + sp = 0x808600c + smark = {stackp = 0x8084180, stacknxt = 0x8085edc "Makefile", stacknleft = 2056} + #19 0x0804b51c in evaltree (n=0x8079f04, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #20 0x0804b509 in evaltree (n=0x8079f04, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #21 0x0804b509 in evaltree (n=0x807bd6c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #22 0x0804b81b in evalcase (n=0x8079ae4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:428 + cp = 0x8079c74 + patp = 0x8079c84 + arglist = {list = 0x8085ed4, lastp = 0x8085ed4} + smark = {stackp = 0x8084180, stacknxt = 0x8085ec4 "depfiles:C", stacknleft = 2080} + #23 0x0804b509 in evaltree (n=0x8079ae4, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #24 0x0804b509 in evaltree (n=0x8079ae4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #25 0x0804b8f1 in evalfor (n=n@entry=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:392 + arglist = {list = 0x8085d84, lastp = 0x8085ebc} + argp = <optimized out> + sp = 0x8085eb4 + smark = {stackp = 0x8084180, stacknxt = 0x80857b4 ":F", stacknleft = 3888} + #26 0x0804b51c in evaltree (n=0x80617f4, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = 0x804b830 <evalfor> + isor = <optimized out> + status = <optimized out> + #27 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #28 0x08049b42 in main (argc=2, argv=0x1024ba4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927528, 16927456, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "for", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 1, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, + ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, + exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 1, lock = 0, thread = 23, next = 0x1224808, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 88, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $8 = (struct hurd_sigstate *) 0x121a008 + + +# V + + PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 9057 1000 21254 1703 457 2 146M 944K 0.0 0:00.00 0:00.03 /bin/dash -c r=`${PWDCMD-pwd}`; export r; \^Ks=`cd ../master; ${PWDCMD-pwd}`; + 9076 1000 9057 1703 457 2 146M 1.41M 0.0 0:00.31 0:00.94 /bin/dash /home/thomas/tmp/gcc/hurd/master/libffi/configure --cache-file=./co + 10360 1000 9076 1703 457 2 146M 492K 0.0 0:00.00 0:00.00 /bin/dash /home/thomas/tmp/gcc/hurd/master/libffi/configure --cache-file=./co + 10362 1000 10360 1703 457 2 146M 200K 87.2 0:02.91 4:40.12 /bin/dash /home/thomas/tmp/gcc/hurd/master/libffi/configure --cache-file=./co + + +## 9057 + + Thread 2 (Thread 9057.2): + #0 0x0105c7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105cfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=59, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105d6f9 in __mach_msg_server_timeout (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=59, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105d7cb in __mach_msg_server (demux=0x106df00 <msgport_server>, max_size=4096, rcv_name=59) at msgserver.c:196 + No locals. + #4 0x0106decf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + + Thread 1 (Thread 9057.1): + #0 0x01079a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x10247f8 + msgh_bits = 5395 + remote_port = 27 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=27, pid=-1, options=0, status=0x1024980, sigcode=0x102492c, rusage=0x10248c8, pid_status=0x1024930) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 27, msgh_local_port = 68, msgh_seqno = 0, msgh_id = 24020}, + pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 0, msgh_remote_port = 27, + msgh_local_port = 68, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = {msgt_name = 2, + msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, status = 0, + sigcodeType = {msgt_name = 0, msgt_size = 0, msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, sigcode = 40, rusageType = {msgt_name = 0, msgt_size = 18, msgt_number = 0, msgt_inline = 0, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 32, tv_usec = 17156979}, ru_stime = { + tv_sec = 16926796, tv_usec = 17691964}, ru_maxrss = 17247748, ru_ixrss = 18702324, ru_idrss = 17247584, ru_isrss = 18702324, + ru_minflt = 16927176, ru_majflt = 17892665, ru_nswap = 18980872, ru_inblock = 19046400, ru_oublock = 8, ru_msgsnd = 17, + ru_msgrcv = 16927112, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, pid_statusType = {msgt_name = 0, msgt_size = 0, + msgt_number = 0, msgt_inline = 0, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, pid_status = 17247748}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110f49e in __wait4 (pid=-1, stat_loc=0x1024980, options=0, usage=0x10248c8) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1085b90 <_hurd_port_cleanup>, cleanup_data = 0x1b} + port = 27 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 18693752, tv_usec = 134639448}, ru_maxrss = 17693790, + ru_ixrss = 134541780, ru_idrss = 18693748, ru_isrss = 48, ru_minflt = 0, ru_majflt = 75, ru_nswap = 31, ru_inblock = 31, + ru_oublock = 31, ru_msgsnd = 0, ru_msgrcv = 18976712, ru_nsignals = 16927176, ru_nvcsw = 0, ru_nivcsw = 18702324} + sigcode = 31 + dummy = 16926804 + #3 0x0110f2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) + at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x0805028a in waitproc (status=0x1024980, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 0 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x8067328) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x8067328) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804c470 in evalcommand (cmd=0x806725c, flags=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:824 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8067128, stacknxt = 0x80672dc "/bin/dash", stacknleft = 72} + argp = <optimized out> + arglist = {list = 0x80672ec, lastp = 0x806ab74} + varlist = {list = 0x806abdc, lastp = 0x806abdc} + argv = 0x806ab80 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 0, u = {index = -1, cmd = 0xffffffff, func = 0xffffffff}} + jp = 0x8067328 + lastarg = 0x0 + path = 0x1027eb1 "/home/thomas/shared/command:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" + spclbltin = -1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #8 0x0804b509 in evaltree (n=0x806725c, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804b586 in evaltree (n=0x80672bc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 1 + status = <optimized out> + #10 0x0804b509 in evaltree (n=0x80672bc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #11 0x0804be81 in evalstring ( + s=0x10253ad "r=`${PWDCMD-pwd}`; export r; \\\ns=`cd ../master; ${PWDCMD-pwd}`; export s; \\\necho \"Checking multilib configuration for libffi...\"; \\\n/bin/dash ../master/mkinstalldirs i686-unknown-gnu0.3/libffi ; \\\n/ho"..., flags=0, flags@entry=4) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:168 + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "${PWDCMD-pwd}", stacknleft = 504} + status = 0 + #12 0x08049b2f in main (argc=3, argv=0x1024bd4) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:174 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18702324, 142560, 134607808, 16927576, 16927504, 134519464}, __mask_was_saved = 0, + __saved_mask = 18702324}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "${PWDCMD-pwd}", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, + sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 11 times>, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, + sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = { + ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 33 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 65, next = 0x121a008, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 43, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, suspended = 0, intr_port = 27, + context = 0x0, active_resources = 0x1024910, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $8 = (struct hurd_sigstate *) 0x121a008 + + +## 9076 + +Thread 2 (Thread 9076.2): +#0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 +No locals. +#1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=75, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> +#2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" +#3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75) at msgserver.c:196 +No locals. +#4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 +No locals. +#5 0x66688b92 in ?? () +No symbol table info available. + +Thread 1 (Thread 9076.1): +#0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1023b74 + msgh_bits = 5395 + remote_port = 94 + msgid = 21001 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" +#1 0x012091a5 in __io_read (io_object=94, data=0x1024480, dataCnt=0x1024484, offset=-1, amount=128) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_io_read.c:137 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 44, msgh_remote_port = 94, msgh_local_port = 77, msgh_seqno = 0, msgh_id = 21001}, + offsetType = {msgt_name = 11, msgt_size = 64, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, offset = -1, amountType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, amount = 128}, Out = {Head = {msgh_bits = 5395, msgh_size = 44, msgh_remote_port = 94, + msgh_local_port = 77, msgh_seqno = 0, msgh_id = 21001}, RetCodeType = {msgt_name = 11, msgt_size = 64, msgt_number = 1, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, dataType = {msgtl_header = { + msgt_name = 255, msgt_size = 255, msgt_number = 4095, msgt_inline = 1, msgt_longform = 1, msgt_deallocate = 1, + msgt_unused = 1}, msgtl_name = 8194, msgtl_size = 4097, msgtl_number = 128}, + data = "_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*\nol_pipe | $SED '\\''s/.* //'\\'' | sort | uniq > $export_symbols\n\377flags ${wl}-soname $wl$sLL=\201/bin\201/sh\203\nCC\201=\"\202\001CC=\"\nCXX\201=\"\202\001CXX=\"\nGFORTRAN\201=\"\202\001GFORTRAN=\"\nGCJ\201\244\211\a\001GCJ=\"\nAMDEP_T"...}} + msg_result = <optimized out> + msgh_size = <optimized out> +#2 0x0107d321 in readfd (port=94) at fd-read.c:34 + nbytes = 0x68018222 + nread = 1031894131 + data = 0x6f680a22 <Address 0x6f680a22 out of bounds> + offset = 4427717263544709889 +#3 0x01083880 in _hurd_ctty_input (port=94, ctty=0, rpc=0x102448c) at ctty-input.c:32 + err = <optimized out> +#4 0x0107cd44 in _hurd_fd_read (fd=0x1218c48, buf=0x1024570, offset=-1) at fd-read.c:39 + __ulink = {resource = {next = 0x0, prevp = 0x1218c4c}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x5e} + __ctty_ulink = {resource = {next = 0x10244c0, prevp = 0x107c794}, thread = {next = 0x121a008, prevp = 0x5f}, cleanup = 0x2878, + cleanup_data = 0x8063898} + ctty = 0 + crit = <optimized out> + __result = 16927680 + port = 94 + err = <optimized out> + data = 0x1024570 "_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*\nol_pipe | $SED '\\''s/.* //'\\'' | sort | uniq > $export_symbols\n_flags ${wl}-soname $wl$s\374E\002\001Q" + nbytes = 0x1024528 + nread = 128 +#5 0x01141652 in __libc_read (fd=8, buf=buf@entry=0x1024570, nbytes=nbytes@entry=128) at ../sysdeps/mach/hurd/read.c:27 + descriptor = <error reading variable descriptor (DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.)> + err = <optimized out> +#6 0x0804f480 in expbackq (flag=256, cmd=<optimized out>) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:542 + i = <optimized out> + buf = "_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*\nol_pipe | $SED '\\''s/.* //'\\'' | sort | uniq > $export_symbols\n_flags ${wl}-soname $wl$s" + dest = <optimized out> + startloc = 7784 + in = {fd = 8, buf = 0x0, nleft = 0, jp = 0x8063898} + p = <optimized out> + syntax = 0x805b802 "" + smark = {stackp = 0x80914f0, + stacknxt = 0x80914f4 "#\n# INIT-COMMANDS\n#\n\nsrcdir=\"../../../master/libffi\"\nhost=\"i686-unknown-gnu0.3\"\ntarget=\"i686-unknown-gnu0.3\"\nwith_multisubdir=\"\"\nwith_multisrctop=\"\"\nwith_target_subdir=\"i686-unknown-gnu0.3\"\nac_configu"..., stacknleft = 8704} +#7 argstr ( + p=0x808f72b "'\nprelink_cmds\201='\204'\nfile_list_spec\201='\204'\nvariables_saved_for_relink\201='\204'\nneed_lib_prefix\201='\204'\nneed_version\201='\204'\nversion_type\201='\204'\nrunpath_var\201='\204'\nshlibpath_var\201='\204'\nshlibpath_overrides_runpath\201='\204'\nli"..., + flag=flag@entry=256) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:350 + spclchars = "=:\210\203\201\202\204\207" + reject = 0x8059b42 "\210\203\201\202\204\207" + c = <optimized out> + breakall = 0 + inquotes = 0 + length = 0 + startloc = 256 +#8 0x0804f682 in expandarg (arg=0x80903a4, arglist=arglist@entry=0x0, flag=flag@entry=256) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:193 + sp = <optimized out> + p = <optimized out> +#9 0x08056028 in openhere (redir=<optimized out>) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:307 + pip = {3, 4} + len = 0 + p = 0x808ecec "#\n# INIT\201-COMMANDS\n#\n\nsrcdir\201=\"\202\001srcdir=\"\nhost\201=\"\202\001host=\"\ntarget\201=\"\202\001target=\"\nwith_multisubdir\201=\"\202\001with_multisubdir=\"\nwith_multisrctop\201=\"\202\001with_multisrctop=\"\nwith_target_subdir\201=\"\202\001with_target_subdir="... +#10 openredirect (redir=0x8064814) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:230 + fname = <optimized out> + sb = {st_fstype = 0, st_fsid = 0, st_ino = 33024, st_gen = 136, st_rdev = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 17689694, + st_size = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, + st_blksize = 0, st_blocks = 0, st_author = 6, st_flags = 44, st_spare = {0, 18708684, 0, 0, 48, 0, 0, 0}} + f = <optimized out> +#11 redirect (redir=redir@entry=0x80647bc, flags=flags@entry=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:121 + n = 0x8064814 + sv = 0x80b4540 + i = <optimized out> + fd = <optimized out> + p = <optimized out> +#12 0x080561c2 in redirectsafe (redir=0x80647bc, flags=flags@entry=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:424 + err = <optimized out> + saveint = 0 + savehandler = 0x1024950 + jmploc = {loc = {{__jmpbuf = {16926620, 1, 16926620, 0, 16926464, 134570321}, __mask_was_saved = 0, __saved_mask = 16926536}}} +#13 0x0804c19b in evalcommand (cmd=0x806483c, flags=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:725 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x808ece8, stacknxt = 0x80903b4 "cat", stacknleft = 4408} + argp = 0x0 + arglist = {list = 0x80903bc, lastp = 0x80903bc} + varlist = {list = 0x0, lastp = 0x10247a4} + argv = 0x80903c8 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134584628, cmd = 0x8059934, func = 0x8059934}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = <optimized out> + execcmd = <optimized out> + status = <optimized out> + nargv = <optimized out> +#14 0x0804b509 in evaltree (n=0x806483c, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> +#15 0x0804b586 in evaltree (n=0x806488c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 1 + status = <optimized out> +#16 0x08051cbc in cmdloop (top=top@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x8064788, stacknxt = 0x80647a4 "cat", stacknleft = 480} + inter = <optimized out> + status = 0 + numeof = 0 +#17 0x08051e27 in dotcmd (argc=2, argv=0x8064798) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:337 + status = 0 +#18 0x0804bf47 in evalbltin (cmd=0x805afe0, argc=argc@entry=2, argv=argv@entry=0x8064798, flags=flags@entry=0) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:900 + savecmdname = 0x102500a "/home/thomas/tmp/gcc/hurd/master/libffi/configure" + savehandler = 0x1024ae0 + jmploc = {loc = {{__jmpbuf = {0, 2, 1, 134629272, 16927008, 134528761}, __mask_was_saved = 0, __saved_mask = 0}}} + status = <optimized out> + i = 0 +#19 0x0804c5b1 in evalcommand (cmd=0x80646dc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:840 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8064588, stacknxt = 0x806475c ".", stacknleft = 40} + argp = <optimized out> + arglist = {list = 0x8064764, lastp = 0x806478c} + varlist = {list = 0x0, lastp = 0x10249c4} + argv = 0x8064798 + argc = 2 + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134590432, cmd = 0x805afe0, func = 0x805afe0}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = 1 + execcmd = 0 + status = 0 + nargv = <optimized out> +#20 0x0804b509 in evaltree (n=0x80646dc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> +#21 0x0804b509 in evaltree (n=0x80646dc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> +#22 0x0804b586 in evaltree (n=0x8064734, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> +#23 0x0804b509 in evaltree (n=0x8064734, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> +#24 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 +#25 0x08049b42 in main (argc=14, argv=0x1024b84) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927496, 16927424, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0x8056260 <onsig>, sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, + ss_size = 0, ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, + exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, + cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 76, next = 0x121a008, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 49, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 94, context = 0x0, active_resources = 0x10244b0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $8 = (struct hurd_sigstate *) 0x121a008 + + +## 10360 + + Thread 2 (Thread 10360.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=75, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 10360.1): + #0 0x01078a5c in _hurd_intr_rpc_msg_in_trap () at intr-msg.c:134 + err = <optimized out> + err = <optimized out> + user_option = 3 + user_timeout = 0 + m = 0x1024278 + msgh_bits = 5395 + remote_port = 74 + msgid = 24020 + __PRETTY_FUNCTION__ = "_hurd_intr_rpc_mach_msg" + #1 0x011f99df in __proc_wait (process=74, pid=-1, options=0, status=0x1024400, sigcode=0x10243ac, rusage=0x1024348, pid_status=0x10243b0) + at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_proc_wait.c:182 + Mess = {In = {Head = {msgh_bits = 5395, msgh_size = 132, msgh_remote_port = 74, msgh_local_port = 77, msgh_seqno = 0, + msgh_id = 24020}, pidType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, pid = -1, optionsType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, + msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, options = 0}, Out = {Head = {msgh_bits = 5395, msgh_size = 132, + msgh_remote_port = 74, msgh_local_port = 77, msgh_seqno = 0, msgh_id = 24020}, RetCodeType = {msgt_name = 2, msgt_size = 32, + msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode = -1, statusType = { + msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, + status = 0, sigcodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, + msgt_deallocate = 0, msgt_unused = 0}, sigcode = 0, rusageType = {msgt_name = 2, msgt_size = 32, msgt_number = 18, + msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, rusage = {ru_utime = {tv_sec = 0, tv_usec = 0}, + ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, + ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0}, + pid_statusType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, msgt_inline = 1, msgt_longform = 0, msgt_deallocate = 0, + msgt_unused = 0}, pid_status = 17243652}} + msg_result = <optimized out> + msgh_size = <optimized out> + #2 0x0110e49e in __wait4 (pid=-1, stat_loc=0x1024400, options=0, usage=0x1024348) at ../sysdeps/mach/hurd/wait4.c:35 + __p = 0x1219fac + __link = {resource = {next = 0x0, prevp = 0x1219fb0}, thread = {next = 0x0, prevp = 0x121a45c}, + cleanup = 0x1084b90 <_hurd_port_cleanup>, cleanup_data = 0x4a} + port = 74 + __result = <optimized out> + dead = <optimized out> + err = <optimized out> + ignored = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, + ru_isrss = 0, ru_minflt = 0, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, + ru_nsignals = 0, ru_nvcsw = 0, ru_nivcsw = 0} + sigcode = 0 + dummy = 16925396 + #3 0x0110e2c7 in __wait3 (stat_loc=stat_loc@entry=..., options=options@entry=0, usage=usage@entry=0x0) + at ../sysdeps/unix/bsd/bsd4.4/wait3.c:34 + No locals. + #4 0x0805028a in waitproc (status=0x1024400, block=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1139 + mask = 1 + oldmask = 1 + flags = 0 + err = <optimized out> + #5 dowait (block=block@entry=1, job=job@entry=0x8063898) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:1016 + status = <optimized out> + jp = <optimized out> + thisjob = 0x0 + state = <optimized out> + #6 0x080518dc in waitforjob (jp=jp@entry=0x8063898) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:976 + st = <optimized out> + #7 0x0804bc58 in evalpipe (n=0x8089934, flags=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:566 + jp = 0x8063898 + lp = 0x0 + pipelen = <optimized out> + prevfd = <optimized out> + pip = {8, -1} + #8 0x0804b509 in evaltree (n=n@entry=0x8089934, flags=flags@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804c7df in evaltreenr (flags=1, n=0x8089934) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:324 + No locals. + #10 evalbackcmd (n=n@entry=0x8089934, result=result@entry=0x1024560) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:606 + pip = {8, 9} + jp = 0x8063898 + #11 0x0804f43b in expbackq (flag=256, cmd=0x8089934) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:529 + i = <optimized out> + buf = "_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*\nol_pipe | $SED '\\''s/.* //'\\'' | sort | uniq > $export_symbols\n_flags ${wl}-soname $wl$s" + dest = <optimized out> + startloc = 7784 + in = {fd = -1, buf = 0x0, nleft = 0, jp = 0x0} + p = <optimized out> + syntax = 0x805b802 "" + smark = {stackp = 0x80914f0, + stacknxt = 0x80914f4 "#\n# INIT-COMMANDS\n#\n\nsrcdir=\"../../../master/libffi\"\nhost=\"i686-unknown-gnu0.3\"\ntarget=\"i686-unknown-gnu0.3\"\nwith_multisubdir=\"\"\nwith_multisrctop=\"\"\nwith_target_subdir=\"i686-unknown-gnu0.3\"\nac_configu"..., stacknleft = 8704} + #12 argstr ( + p=0x808f72b "'\nprelink_cmds\201='\204'\nfile_list_spec\201='\204'\nvariables_saved_for_relink\201='\204'\nneed_lib_prefix\201='\204'\nneed_version\201='\204'\nversion_type\201='\204'\nrunpath_var\201='\204'\nshlibpath_var\201='\204'\nshlibpath_overrides_runpath\201='\204'\nli"..., + flag=flag@entry=256) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:350 + spclchars = "=:\210\203\201\202\204\207" + reject = 0x8059b42 "\210\203\201\202\204\207" + c = <optimized out> + breakall = 0 + inquotes = 0 + length = 0 + startloc = 256 + #13 0x0804f682 in expandarg (arg=0x80903a4, arglist=arglist@entry=0x0, flag=flag@entry=256) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:193 + sp = <optimized out> + p = <optimized out> + #14 0x08056028 in openhere (redir=<optimized out>) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:307 + pip = {3, 4} + len = 0 + p = 0x808ecec "#\n# INIT\201-COMMANDS\n#\n\nsrcdir\201=\"\202\001srcdir=\"\nhost\201=\"\202\001host=\"\ntarget\201=\"\202\001target=\"\nwith_multisubdir\201=\"\202\001with_multisubdir=\"\nwith_multisrctop\201=\"\202\001with_multisrctop=\"\nwith_target_subdir\201=\"\202\001with_target_subdir="... + #15 openredirect (redir=0x8064814) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:230 + fname = <optimized out> + sb = {st_fstype = 0, st_fsid = 0, st_ino = 33024, st_gen = 136, st_rdev = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 17689694, + st_size = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, + st_blksize = 0, st_blocks = 0, st_author = 6, st_flags = 44, st_spare = {0, 18708684, 0, 0, 48, 0, 0, 0}} + f = <optimized out> + #16 redirect (redir=redir@entry=0x80647bc, flags=flags@entry=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:121 + n = 0x8064814 + sv = 0x80b4540 + i = <optimized out> + fd = <optimized out> + p = <optimized out> + #17 0x080561c2 in redirectsafe (redir=0x80647bc, flags=flags@entry=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:424 + err = <optimized out> + saveint = 0 + savehandler = 0x1024950 + jmploc = {loc = {{__jmpbuf = {16926620, 1, 16926620, 0, 16926464, 134570321}, __mask_was_saved = 0, __saved_mask = 16926536}}} + #18 0x0804c19b in evalcommand (cmd=0x806483c, flags=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:725 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x808ece8, stacknxt = 0x80903b4 "cat", stacknleft = 4408} + argp = 0x0 + arglist = {list = 0x80903bc, lastp = 0x80903bc} + varlist = {list = 0x0, lastp = 0x10247a4} + argv = 0x80903c8 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134584628, cmd = 0x8059934, func = 0x8059934}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = <optimized out> + execcmd = <optimized out> + status = <optimized out> + nargv = <optimized out> + #19 0x0804b509 in evaltree (n=0x806483c, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #20 0x0804b586 in evaltree (n=0x806488c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 1 + status = <optimized out> + #21 0x08051cbc in cmdloop (top=top@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x8064788, stacknxt = 0x80647a4 "cat", stacknleft = 480} + inter = <optimized out> + status = 0 + numeof = 0 + #22 0x08051e27 in dotcmd (argc=2, argv=0x8064798) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:337 + status = 0 + #23 0x0804bf47 in evalbltin (cmd=0x805afe0, argc=argc@entry=2, argv=argv@entry=0x8064798, flags=flags@entry=0) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:900 + savecmdname = 0x102500a "/home/thomas/tmp/gcc/hurd/master/libffi/configure" + savehandler = 0x1024ae0 + jmploc = {loc = {{__jmpbuf = {0, 2, 1, 134629272, 16927008, 134528761}, __mask_was_saved = 0, __saved_mask = 0}}} + status = <optimized out> + i = 0 + #24 0x0804c5b1 in evalcommand (cmd=0x80646dc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:840 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8064588, stacknxt = 0x806475c ".", stacknleft = 40} + argp = <optimized out> + arglist = {list = 0x8064764, lastp = 0x806478c} + varlist = {list = 0x0, lastp = 0x10249c4} + argv = 0x8064798 + argc = 2 + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134590432, cmd = 0x805afe0, func = 0x805afe0}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = 1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #25 0x0804b509 in evaltree (n=0x80646dc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #26 0x0804b509 in evaltree (n=0x80646dc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #27 0x0804b586 in evaltree (n=0x8064734, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #28 0x0804b509 in evaltree (n=0x8064734, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #29 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #30 0x08049b42 in main (argc=14, argv=0x1024b84) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927496, 16927424, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 0, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 0, lock = 0, thread = 49, next = 0x1224808, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 17165596, + exc_subcode = 1, code = 1, error = EKERN_INVALID_ADDRESS}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, + error = 0} <repeats 12 times>}, suspended = 0, intr_port = 74, context = 0x0, active_resources = 0x1024390, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 76, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $8 = (struct hurd_sigstate *) 0x121a008 + + +## 10362 + + Thread 2 (Thread 10362.2): + #0 0x0105b7cc in mach_msg_trap () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2 + No locals. + #1 0x0105bfc9 in __mach_msg (msg=0x1221f90, option=3, send_size=32, rcv_size=4096, rcv_name=75, timeout=0, notify=0) at msg.c:110 + ret = <optimized out> + #2 0x0105c6f9 in __mach_msg_server_timeout (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75, option=0, timeout=0) + at msgserver.c:151 + request = 0x1222fa0 + reply = 0x1221f90 + mr = <optimized out> + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #3 0x0105c7cb in __mach_msg_server (demux=0x106cf00 <msgport_server>, max_size=4096, rcv_name=75) at msgserver.c:196 + No locals. + #4 0x0106cecf in _hurd_msgport_receive () at msgportdemux.c:68 + No locals. + #5 0x66688b92 in ?? () + No symbol table info available. + #6 0x00000000 in ?? () + No symbol table info available. + + Thread 1 (Thread 10362.1): + #0 0x0105b81c in swtch_pri () at /media/erich/home/thomas/tmp/glibc/debian/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x0105d0a4 in __spin_lock_solid (lock=0x121a80c) at spin-solid.c:27 + No locals. + #2 0x01071e57 in __spin_lock (__lock=<optimized out>) at ../mach/lock-intern.h:55 + No locals. + #3 _hurd_sigstate_lock (ss=0x121a008) at hurdsig.c:172 + No locals. + #4 0x0110f51c in _hurd_critical_section_unlock (our_lock=<optimized out>) at ../hurd/hurd/signal.h:235 + No locals. + #5 __fork () at ../sysdeps/mach/hurd/fork.c:707 + env = {{__jmpbuf = {18698228, 18976712, 0, 16925768, 16925396, 17887007}, __mask_was_saved = 0, __saved_mask = 16925856}} + pid = 0 + err = <optimized out> + __PRETTY_FUNCTION__ = "__fork" + ss = 0x121a008 + threads = 0x0 + nthreads = 0 + stopped = 1 + i = 6 + #6 0x08051620 in forkshell (jp=jp@entry=0x8063898, n=0x808999c, mode=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/jobs.c:934 + pid = <optimized out> + #7 0x0804bbf8 in evalpipe (n=0x8089934, flags=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:544 + jp = 0x8063898 + lp = 0x808994c + pipelen = <optimized out> + prevfd = <optimized out> + pip = {8, -1} + #8 0x0804b509 in evaltree (n=n@entry=0x8089934, flags=flags@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #9 0x0804c7df in evaltreenr (flags=1, n=0x8089934) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:324 + No locals. + #10 evalbackcmd (n=n@entry=0x8089934, result=result@entry=0x1024560) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:606 + pip = {8, 9} + jp = 0x8063898 + #11 0x0804f43b in expbackq (flag=256, cmd=0x8089934) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:529 + i = <optimized out> + buf = "_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*\nol_pipe | $SED '\\''s/.* //'\\'' | sort | uniq > $export_symbols\n_flags ${wl}-soname $wl$s" + dest = <optimized out> + startloc = 7784 + in = {fd = -1, buf = 0x0, nleft = 0, jp = 0x0} + p = <optimized out> + syntax = 0x805b802 "" + smark = {stackp = 0x80914f0, + stacknxt = 0x80914f4 "#\n# INIT-COMMANDS\n#\n\nsrcdir=\"../../../master/libffi\"\nhost=\"i686-unknown-gnu0.3\"\ntarget=\"i686-unknown-gnu0.3\"\nwith_multisubdir=\"\"\nwith_multisrctop=\"\"\nwith_target_subdir=\"i686-unknown-gnu0.3\"\nac_configu"..., stacknleft = 8704} + #12 argstr ( + p=0x808f72b "'\nprelink_cmds\201='\204'\nfile_list_spec\201='\204'\nvariables_saved_for_relink\201='\204'\nneed_lib_prefix\201='\204'\nneed_version\201='\204'\nversion_type\201='\204'\nrunpath_var\201='\204'\nshlibpath_var\201='\204'\nshlibpath_overrides_runpath\201='\204'\nli"..., + flag=flag@entry=256) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:350 + spclchars = "=:\210\203\201\202\204\207" + reject = 0x8059b42 "\210\203\201\202\204\207" + c = <optimized out> + breakall = 0 + inquotes = 0 + length = 0 + startloc = 256 + #13 0x0804f682 in expandarg (arg=0x80903a4, arglist=arglist@entry=0x0, flag=flag@entry=256) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/expand.c:193 + sp = <optimized out> + p = <optimized out> + #14 0x08056028 in openhere (redir=<optimized out>) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:307 + pip = {3, 4} + len = 0 + p = 0x808ecec "#\n# INIT\201-COMMANDS\n#\n\nsrcdir\201=\"\202\001srcdir=\"\nhost\201=\"\202\001host=\"\ntarget\201=\"\202\001target=\"\nwith_multisubdir\201=\"\202\001with_multisubdir=\"\nwith_multisrctop\201=\"\202\001with_multisrctop=\"\nwith_target_subdir\201=\"\202\001with_target_subdir="... + #15 openredirect (redir=0x8064814) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:230 + fname = <optimized out> + sb = {st_fstype = 0, st_fsid = 0, st_ino = 33024, st_gen = 136, st_rdev = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 17689694, + st_size = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, + st_blksize = 0, st_blocks = 0, st_author = 6, st_flags = 44, st_spare = {0, 18708684, 0, 0, 48, 0, 0, 0}} + f = <optimized out> + #16 redirect (redir=redir@entry=0x80647bc, flags=flags@entry=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:121 + n = 0x8064814 + sv = 0x80b4540 + i = <optimized out> + fd = <optimized out> + p = <optimized out> + #17 0x080561c2 in redirectsafe (redir=0x80647bc, flags=flags@entry=3) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/redir.c:424 + err = <optimized out> + saveint = 0 + savehandler = 0x1024950 + jmploc = {loc = {{__jmpbuf = {16926620, 1, 16926620, 0, 16926464, 134570321}, __mask_was_saved = 0, __saved_mask = 16926536}}} + #18 0x0804c19b in evalcommand (cmd=0x806483c, flags=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:725 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x808ece8, stacknxt = 0x80903b4 "cat", stacknleft = 4408} + argp = 0x0 + arglist = {list = 0x80903bc, lastp = 0x80903bc} + varlist = {list = 0x0, lastp = 0x10247a4} + argv = 0x80903c8 + argc = <optimized out> + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134584628, cmd = 0x8059934, func = 0x8059934}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = <optimized out> + execcmd = <optimized out> + status = <optimized out> + nargv = <optimized out> + #19 0x0804b509 in evaltree (n=0x806483c, flags=flags@entry=2) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #20 0x0804b586 in evaltree (n=0x806488c, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 1 + status = <optimized out> + #21 0x08051cbc in cmdloop (top=top@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x8064788, stacknxt = 0x80647a4 "cat", stacknleft = 480} + inter = <optimized out> + status = 0 + numeof = 0 + #22 0x08051e27 in dotcmd (argc=2, argv=0x8064798) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:337 + status = 0 + #23 0x0804bf47 in evalbltin (cmd=0x805afe0, argc=argc@entry=2, argv=argv@entry=0x8064798, flags=flags@entry=0) + at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:900 + savecmdname = 0x102500a "/home/thomas/tmp/gcc/hurd/master/libffi/configure" + savehandler = 0x1024ae0 + jmploc = {loc = {{__jmpbuf = {0, 2, 1, 134629272, 16927008, 134528761}, __mask_was_saved = 0, __saved_mask = 0}}} + status = <optimized out> + i = 0 + #24 0x0804c5b1 in evalcommand (cmd=0x80646dc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:840 + localvar_stop = 0x0 + redir_stop = 0x0 + smark = {stackp = 0x8064588, stacknxt = 0x806475c ".", stacknleft = 40} + argp = <optimized out> + arglist = {list = 0x8064764, lastp = 0x806478c} + varlist = {list = 0x0, lastp = 0x10249c4} + argv = 0x8064798 + argc = 2 + sp = <optimized out> + cmdentry = {cmdtype = 2, u = {index = 134590432, cmd = 0x805afe0, func = 0x805afe0}} + jp = <optimized out> + lastarg = 0x0 + path = <optimized out> + spclbltin = 1 + execcmd = 0 + status = 0 + nargv = <optimized out> + #25 0x0804b509 in evaltree (n=0x80646dc, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #26 0x0804b509 in evaltree (n=0x80646dc, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #27 0x0804b586 in evaltree (n=0x8064734, flags=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:267 + checkexit = 0 + evalfn = <optimized out> + isor = 2 + status = <optimized out> + #28 0x0804b509 in evaltree (n=0x8064734, flags=flags@entry=0) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/eval.c:278 + checkexit = 0 + evalfn = <optimized out> + isor = <optimized out> + status = <optimized out> + #29 0x08051cbc in cmdloop (top=top@entry=1) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:245 + skip = <optimized out> + n = <optimized out> + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + inter = <optimized out> + status = 0 + numeof = 0 + #30 0x08049b42 in main (argc=14, argv=0x1024b84) at /home/thomas/tmp/dash/debian/dash-0.5.7/build-tmp/../src/main.c:178 + shinit = <optimized out> + state = 4 + jmploc = {loc = {{__jmpbuf = {18698228, 142560, 134607808, 16927496, 16927424, 134519464}, __mask_was_saved = 0, + __saved_mask = 18698228}}} + smark = {stackp = 0x80617e0, stacknxt = 0x80617e4 "eval", stacknleft = 504} + login = <optimized out> + + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121a808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 1, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x8056260 <onsig>, + sa_sigaction = 0x8056260 <onsig>}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 12 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_siglock + $3 = {held = 0, lock = 0, name = 0x0, queue = {head = 0x0, tail = 0x0}, holder = 0x0} + (gdb) print _hurd_sigstates + $4 = (struct hurd_sigstate *) 0x121a008 + (gdb) print *_hurd_sigstates + $5 = {critical_section_lock = 1, lock = 0, thread = 49, next = 0x1224808, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} <repeats 32 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 20 times>, {exc = 0, exc_code = 19013424, + exc_subcode = 85056, code = 1, error = 17261792}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 12 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_sigstates->next + $6 = (struct hurd_sigstate *) 0x1224808 + (gdb) print *_hurd_sigstates->next + $7 = {critical_section_lock = 0, lock = 0, thread = 76, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} <repeats 33 times>}, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} <repeats 33 times>}, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print _hurd_self_sigstate() + $8 = (struct hurd_sigstate *) 0x121a008 # IRC, OFTC, #debian-hurd, 2012-11-24 @@ -94,3 +3402,6 @@ Another one in `dash`: http://www.gnu.org/software/hurd/microkernel/mach/gnumach/memory_management.html <braunr> last part <youpi> perhaps watch has the same issue as the shell, yes + + +# [[!message-id "877govry7a.fsf@kepler.schwinge.homeip.net"]] diff --git a/open_issues/git_nfs_mmap.mdwn b/open_issues/git_nfs_mmap.mdwn index 21067022..e6726dfa 100644 --- a/open_issues/git_nfs_mmap.mdwn +++ b/open_issues/git_nfs_mmap.mdwn @@ -50,4 +50,6 @@ fails, and it isn't prepared to cope with that: This is the [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. There is a `NO_MMAP` conditional in Git's source code, but it is a compile-time -conditional. +conditional. The fallback code in `compat/mmap.c:git_mmap` only supports +`MAP_PRIVATE`, and simply `pread`s in the requested portion of a file. This +could be made a runtime fallback, too. diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index e2b968c9..26e04768 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -218,7 +218,8 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8 `RLIMIT_RTTIME`, `SEEK_DATA` (`unistd.h`), `SEEK_HOLE` (`unistd.h`) `clock_adjtime`, `fallocate`, `fallocate64`, `name_to_handle_at`, `open_by_handle_at`, `process_vm_readv`, `process_vm_writev`, `sendmmsg`, - `setns`, `sync_file_range` + `setns`, `sync_file_range`, [[`mremap`|mremap]] and [[several + `MAP_*`|glibc/mmap]] Check also the content of `gnu/stubs.h`, which lists all the functions marked as stub which only return `ENOSYS`. @@ -303,8 +304,6 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8 initialization <tschwinge> OK, that at least matches my understanding. - * [[`mremap`|mremap]] - * `futimesat` If we have all of 'em (check Linux kernel), `#define __ASSUME_ATFCTS`. @@ -316,21 +315,6 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8 Do we support `AT_FDCWD` et al.? (80b4e5f3ef231702b24d44c33e8dceb70abb3a06.) - * `MAP_POPULATE` (`mmap`, `sys/mman.h`) -- *Populate (prefault) - pagetables.* - - Some Linux kernel version, `mm/mmap.c`: - - if (vm_flags & VM_LOCKED) { - if (!mlock_vma_pages_range(vma, addr, addr + len)) - mm->locked_vm += (len >> PAGE_SHIFT); - } else if ((flags & MAP_POPULATE) && !(flags & MAP_NONBLOCK)) - make_pages_present(addr, addr + len); - return addr; - - Is only advisory, so can worked around with `#define MAP_POPULATE 0`, - 8069478040336a7de3461be275432493cc7e4c91. - * `t/opendirat`: `opendirat` (`scandirat`, `scandirat64`) Need changes equivalent to c55fbd1ea768f9fdef34a01377702c0d72cbc213 + diff --git a/open_issues/glibc/mremap.mdwn b/open_issues/glibc/mremap.mdwn index 874c7ae0..c17506d7 100644 --- a/open_issues/glibc/mremap.mdwn +++ b/open_issues/glibc/mremap.mdwn @@ -15,6 +15,8 @@ The Hurd does not currently support the `mremap` function. For the `MREMAP_MAYMOVE` case it is easy to work around; see `[binutils]/gold/mremap.c`, for example. +Also see the discussion of [[glibc/mmap]]. + [[!toc]] diff --git a/user/kam.mdwn b/user/kam.mdwn index 8ee68866..c16908c3 100644 --- a/user/kam.mdwn +++ b/user/kam.mdwn @@ -1,12 +1,12 @@ -[[!meta copyright="Copyright © 2008 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2008, 2012 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU Free Documentation License|/fdl]]."]]"""]] +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] [[!meta title="Karim Allah Ahmed"]] @@ -67,7 +67,7 @@ Stage 1: * (./) port OSF Mach's clustered pagein during 'page faults' ( [src]/vm/vm_fault.c ) * (./) port "cluster_size" attribute of memory objects from OSF Mach. -* (./) port "behavior" attribute of vm_map entries from OSF Mach. +* (./) port "behavior" attribute of [[`vm_map`|microkernel/mach/interface/vm_map]] entries from OSF Mach. ####29th of May - 2nd of June: |