summaryrefslogtreecommitdiff
path: root/open_issues/wrong_reply_message_id.mdwn
blob: e84e2571f8c3226032f2c884dc185b3129360d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!meta copyright="Copyright © 2008, 2009 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]]."]]"""]]

[[!meta title="(ipc/mig) wrong reply message ID"]]

[[!tag open_issue_gnumach open_issue_mig open_issue_glibc]]

    <tschwinge> # settrans -P -a /servers/socket/2 /hurd/pfinet -i eth0 -a 192.168.10.61 -g 192.168.10.1 -m 255.255.255.0
    <tschwinge> Translator pid: 2289
    <tschwinge> Pausing...
    <tschwinge> pfinet: /build/buildd/hurd-20080607/build-tree/hurd/libports/create-internal.c:115: _ports_create_port_internal: Unexpected error: (ipc/mig) wrong reply message ID.
    <neal> it would be nice to print out the id when those sorts of errors occur.

This error code is `MIG_REPLY_MISMATCH` and can be returned in GNU Mach's
`kern/exception.c (exception_parse_reply)`, in MIG-generated code, see `user.c
(WriteCheckIdentity)`, and in glibc's `sysdeps/mach/hurd/ioctl.c (__ioctl)`.