NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53991: X does not work on amd64/7.2 after pgoyette-compat



The following reply was made to PR kern/53991; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: isaki%pastel-flower.jp@localhost
Subject: Re: kern/53991: X does not work on amd64/7.2 after pgoyette-compat
Date: Tue, 19 Feb 2019 21:05:36 +0800 (PST)

 On Tue, 19 Feb 2019, Tetsuya Isaki wrote:
 
 > The following reply was made to PR kern/53991; it has been noted by GNATS.
 >
 > From: Tetsuya Isaki <isaki%pastel-flower.jp@localhost>
 > To: gnats-bugs%NetBSD.org@localhost, Paul Goyette <paul%whooppee.com@localhost>
 > Cc:
 > Subject: Re: kern/53991: X does not work on amd64/7.2 after pgoyette-compat
 > Date: Tue, 19 Feb 2019 21:14:05 +0900
 >
 > At Tue, 19 Feb 2019 05:48:34 +0800 (PST),
 > Paul Goyette wrote:
 > > Please use ktruss(1) (or ktrace/kdump) to determine the specific system
 > > call that is failing.
 >
 > Thank you for quick response.
 > I found the problem while I try to use ktruss.
 >
 > uim-xim (from pkgsrc/inputmethod/uim) cause a panic even without X.
 > So I was able to get a backtrace.  Does this help you?
 > By the way, my subject was not correct, sorry :(
 >
 > % uim-xim
 >  :
 >  1539 1 uim-xim open("/usr/pkg/lib/nss_nis.so.0", 0, ...) Err#2 ENOENT
 >  1539 1 uim-xim open("/usr/lib/nss_nis.so.0", 0, 0x6e) Err#2 ENOENT
 >  1539 1 uim-xim __sigprocmask14(0x3, 0x7f7fffabb940, 0) = 0
 >  1539 1 uim-xim __lwp_self() = 1
 >  1539 1 uim-xim __sigprocmask14(0x1, 0x7f7fffabb900, 0x7f7fffabb940) = 0
 >  1539 1 uim-xim open("/usr/X11R7/lib/nss_files.so.0", 0, 0x6e) Err#2 ENOENT
 >  1539 1 uim-xim open("/usr/pkg/lib/nss_files.so.0", 0, 0x70) Err#2 ENOENT
 >  1539 1 uim-xim open("/usr/lib/nss_files.so.0", 0, 0x6e) Err#2 ENOENT
 >  1539 1 uim-xim __sigprocmask14(0x3, 0x7f7fffabb940, 0) = 0
 >  1539 1 uim-xim __lwp_self() = 1
 >  1539 1 uim-xim __sigprocmask14(0x1, 0x7f7fffabb900, 0x7f7fffabb940) = 0
 >  1539 1 uim-xim open("/usr/X11R7/lib/nss_dns.so.0", 0, 0x6e) Err#2 ENOENT
 > uvm_fault(0xffff803279bfe170, 0x0, 1) -> e
 > fatal page fault in supervisor mode
 > trap type 6 code 0 rip 0xffffffff80a36ebd cs 0x8 rflags 0x10246 cr2 0x1
 > ilevel 0 rsp 0xffff87002e6a3e80
 > curlwp 0xffff8032a5ef2200 pid 1539.1 lowest kstack 0xffff87002e6a02c0
 > kernel: page fault trap, code=0
 > Stopped in pid 1539.1 (uim-xim) at netbsd:uipc_ctloutput+0x6e: cmpb $0,0(%rax)
 > db{0}> bt
 > uipc_ctloutput() at netbsd:uipc_ctloutput+0x6e
 > sosetopt() at netbsd:sosetopt+0x7d
 > sys_setsockopt() at netbsd:sys_setsockopt+0x8e
 > syscall() at netbsd:syscall+0x2d8
 > --- syscall (number 105) ---
 > 79da516d1c4a:
 > db{0}>
 
 It is not entirely clear that this is the same problem, since the
 original ("X won't start") problem did not lead to a panic.
 
 The panic would seem to be related to some compat70 changes made in
 kern/uipc_usrreq.c  I will have a closer look at it tomorrow morning
 (after I get some sleep).
 
 
 
 
 +------------------+--------------------------+----------------------------+
 | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
 | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
 | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
 +------------------+--------------------------+----------------------------+
 


Home | Main Index | Thread Index | Old Index