ports/50555: mc-4.6.0_2 is broken on alpha
Sergey Amelyuschenko
adminu5 at mail.ru
Thu Apr 3 00:30:18 UTC 2003
>Number: 50555
>Category: ports
>Synopsis: mc-4.6.0_2 is broken on alpha
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 02 16:30:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergey Amelyuschenko
>Release: FreeBSD 4.8-RC alpha
>Organization:
>Environment:
System: FreeBSD 4.8-RC FreeBSD 4.8-RC #8: Tue Apr 1 07:39:56 IRKST 2003
adminu5 at mail.ru:/usr/obj/usr/src/sys/ALPHA alpha
>Description:
After upgrading mc port from 4.5.54_2 to 4.6.0_2 using of cvsup and
portupgrade procedure I have in result broken mc. When I run mc it hangs.
The only way to kill it is to execute "killall mc" from another console.
Since CPU utilization is pretty high when mc is "hung", I think something
is looping. If I roll back to mc-4.5.54_2, it works fine, so it is not
kernel-related.
I ran mc under truss trying to figure out what it is doing.
Here is the tail of log truss mc on alpha:
---
...
sigaction(SIGSYS,0x11ffb850,0x11ffb870) = 0 (0x0)
__getcwd(0x12013a000,0x400) = 0 (0x0)
sigaction(SIGSYS,0x11ffb870,0x0) = 0 (0x0)
stat("/usr/home/user",0x11ffb928) = 0 (0x0)
stat("/",0x11ffb9a0) = 0 (0x0)
ioctl(1,CONS_GETINFO,0x12011b018) ERR#25 'Inappropriate ioctl for device'
ioctl(1,TIOCGETA,0x12011cb2c) ERR#25 'Inappropriate ioctl for device'
subshell.c: couldn't get terminal settings: Inappropriate ioctl for device
writev(0x2,0x11ffb9f8,0x4) = 75 (0x4b)
sigaction(SIGCHLD,0x11ffba28,0x0) = 0 (0x0)
stat("/usr/home/user/.mc",0x11ffb9c8) = 0 (0x0)
sigaction(SIGTSTP,0x0,0x120131410) = 0 (0x0)
issetugid() = 0 (0x0)
issetugid() = 0 (0x0)
getuid() = 1001 (0x3e9)
issetugid() = 0 (0x0)
getuid() = 1001 (0x3e9)
access("/usr/home/user/.terminfo/x/xterm",4) ERR#2 'No such file or directory'
access("/usr/share/misc/terminfo/x/xterm",4) ERR#2 'No such file or directory'
issetugid() = 0 (0x0)
stat("/usr/home/user/.termcap.db",0x11ffa948) ERR#2 'No such file or directory'
open("/usr/home/user/.termcap.db",0x0,00) ERR#2 'No such file or directory'
open("/usr/home/user/.termcap",0x0,00) ERR#2 'No such file or directory'
stat("/usr/share/misc/termcap.db",0x11ffa948) = 0 (0x0)
open("/usr/share/misc/termcap.db",0x0,00) = 3 (0x3)
fcntl(0x3,0x2,0x1) = 0 (0x0)
read(0x3,0x120141000,0x104) = 260 (0x104)
lseek(3,0x76000,0) = 483328 (0x76000)
read(0x3,0x120142000,0x2000) = 8192 (0x2000)
break(0x120146000) = 0 (0x0)
lseek(3,0x90000,0) = 589824 (0x90000)
read(0x3,0x120144000,0x2000) = 8192 (0x2000)
close(3) = 0 (0x0)
ioctl(1,TIOCGETA,0x11ffb928) ERR#25 'Inappropriate ioctl for device'
ioctl(2,TIOCGETA,0x11ffb8e8) ERR#25 'Inappropriate ioctl for device'
ioctl(1,TIOCGWINSZ,0x11ffb9a8) ERR#25 'Inappropriate ioctl for device'
ioctl(0,TIOCGWINSZ,0x11ffb9a8) = 0 (0x0)
ioctl(0,TIOCGETA,0x12011c5d0) = 0 (0x0)
sigprocmask(0x1,0x11ffb988,0x16059b1bc) = 0 (0x0)
open("/dev/tty",0x2,054026330674) = 3 (0x3)
ioctl(3,TIOCGETA,0x1605893e0) = 0 (0x0)
ioctl(3,TIOCGETA,0x11ffb9c8) = 0 (0x0)
ioctl(3,TIOCSETAW,0x11ffb9c8) = 0 (0x0)
sigprocmask(0x3,0x16059b1bc,0x0) = 0 (0x0)
ioctl(3,TIOCGETA,0x12011c5fc) = 0 (0x0)
ioctl(3,TIOCSETAW,0x12011c5fc) = 0 (0x0)
ioctl(3,TIOCSETA,0x12011c5fc) = 0 (0x0)
sigprocmask(0x1,0x11ffb9c8,0x16059b1bc) = 0 (0x0)
break(0x120148000) = 0 (0x0)
sigprocmask(0x3,0x16059b1bc,0x0) = 0 (0x0)
sigaction(SIGINT,0x11ffba08,0x11ffba28) = 0 (0x0)
access("/usr/home/user/.mc/ini",4) = 0 (0x0)
open("/usr/home/user/.mc/ini",0x0,0666) = 4 (0x4)
fstat(4,0x11ffa728) = 0 (0x0)
break(0x12014a000) = 0 (0x0)
read(0x4,0x120148000,0x2000) = 3109 (0xc25)
break(0x12014c000) = 0 (0x0)
read(0x4,0x120148000,0x2000) = 0 (0x0)
close(4) = 0 (0x0)
getuid() = 1001 (0x3e9)
geteuid() = 1001 (0x3e9)
getgid() = 0 (0x0)
getegid() = 0 (0x0)
open("/usr/local/share/mc/mc.charsets",0x0,0666) = 4 (0x4)
fstat(4,0x11ffb758) = 0 (0x0)
read(0x4,0x120148000,0x2000) = 213 (0xd5)
read(0x4,0x120148000,0x2000) = 0 (0x0)
lseek(4,0x0,0) = 213 (0xd5)
lseek(4,0x0,0) = 0 (0x0)
read(0x4,0x120148000,0x2000) = 213 (0xd5)
read(0x4,0x120148000,0x2000) = 0 (0x0)
close(4) = 0 (0x0)
sigprocmask(0x1,0x11ffba18,0x16059b1bc) = 0 (0x0)
1;32r(B)032;1Hm37m40mm0mm
K
write(1,0x1605862e0,48) = 48 (0x30)
sigprocmask(0x3,0x16059b1bc,0x0) = 0 (0x0)
SIGNAL 15
SIGNAL 15
process exit, rval = 15
---
>How-To-Repeat:
cvsup ports as of 04/01/03 and install /usr/ports/misc/mc port on alpha system.
Run mc and it will hang.
>Fix:
When I roll back to mc-4.5.54_2, it works fine.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list