NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/46553: terminfo stopped working on sparc machines
>Number: 46553
>Category: lib
>Synopsis: terminfo stopped working on sparc machines
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 06 12:05:00 +0000 2012
>Originator: Martin Husemann
>Release: NetBSD 6.99.7
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 6.99.7 NetBSD 6.99.7 (NELLY32) #13: Wed Jun 6
13:24:29 CEST 2012
martin%emmas.aprisoft.de@localhost:/nelly/usr/src/sys/arch/sparc64/compile/NELLY32
sparc
Architecture: sparc
Machine: sparc
>Description:
On sparc (32bit) the terminfo.cdb file is not usable:
432 1 infocmp CALL open(0x40306040,0,0xffffffe8)
432 1 infocmp NAMI "/usr/share/misc/terminfo.cdb"
432 1 infocmp RET open 3
432 1 infocmp CALL __fstat50(3,0xffff9410)
432 1 infocmp RET __fstat50 0, -27632/0xffff9410
432 1 infocmp CALL read(3,0xffff94b0,0x28)
432 1 infocmp GIO fd 3 read 40 bytes
"NBCDB\n\0\^ANetBSD terminfo\0 \M^T\^U\08\n\0\0\M-F\f\0\0\^A\0\0\0"
432 1 infocmp RET read 40/0x28, -27472/0xffff94b0
432 1 infocmp CALL mmap(0,0x15d6b8,1,1,3,0,0,0)
432 1 infocmp RET mmap 1077936128/0x40400000, 1431224/0x15d6b8
432 1 infocmp CALL close(3)
432 1 infocmp RET close 0, 1431224/0x15d6b8
432 1 infocmp CALL munmap(0x40400000,0x15d6b8)
432 1 infocmp RET munmap 0, 1431224/0x15d6b8
432 1 infocmp CALL write(2,0xffff91b0,9)
432 1 infocmp GIO fd 2 wrote 9 bytes
"infocmp: "
432 1 infocmp RET write 9, -28240/0xffff91b0
432 1 infocmp CALL write(2,0xffff9218,0x31)
432 1 infocmp GIO fd 2 wrote 49 bytes
"no terminal definition found in internal database"
432 1 infocmp RET write 49/0x31, -28136/0xffff9218
432 1 infocmp CALL write(2,0x22f6b,1)
432 1 infocmp GIO fd 2 wrote 1 bytes
"\n"
432 1 infocmp RET write 1, 143211/0x22f6b
>How-To-Repeat:
Just try to boot -current on sparc and use a non-builtin terminfo entry.
See also the failing automatic tests on the releng site.
>Fix:
Home |
Main Index |
Thread Index |
Old Index