Current-Users archive

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

Re: Blank screen when build packages



On Mon, 7 Jun 2021 at 18:21, David H. Gutteridge <david%gutteridge.ca@localhost> wrote:
>
>
>
> On Mon, 7 Jun 2021 at 18:15:43 +0200, Roland Illig wrote:
> > Am 07.06.2021 um 16:12 schrieb Dmitrii Postolov:
> > > Hi! Sorry for my bad English...
> > >
> > > NetBSD 9.99.83 GENERIC Sun Jun 6 2021
> > >
> > > After install NetBSD 9.99.83 and download and unpack pkgsrc-current,
> > I try to build some apps
> > > from pkgsrc, for example 'editors/nano'. Afrer 'make install clean'
> > the app begin to build but
> > > after some time the screen is blank and build stop. There is no this
> > problem in
> > > NetBSD 9.2_STABLE and pkgsrc-current.
> > >
> > > How can I resolve this problem in NetBSD 9.99.x?
> > >
> > > Video: https://disk.yandex.ru/i/ruKLubdmfKYpHQ
> >
> > Hi Dimitrii,
> >
> > that video indeed looks interesting.  The most interesting detail is
> > at
> > 00:20.  There, the screen does not become black at once, and the lines
> > do not scroll up with constant speed.
> >
> > My guess is that some program changes the foreground and background
> > colors of the terminal, so that the remaining build commands are still
> > shown, but the colors are "black on black", which of course looks
> > invisible.
> >
> > To verify this assumption, please try this command:
> >
> > make install clean 2>&1 | tr -d '\033'
> >
> > This removes any ANSI escape sequences from the output.  Now all build
> > commands should be visible.
>
> This is probably PR 56223.

I wonder whether this is related to a similar problem I am having when
running wip/neovim-git on the console - whilst vi and vim both work
OK, nvim hangs:

(gdb) thread apply all bt

Thread 2 (LWP 1257 of process 1257 ""):
#0  0x0000781cc4644b7a in _sys___kevent50 () from /usr/lib/libc.so.12
#1  0x0000781cc5a07a27 in __kevent50 () from /usr/lib/libpthread.so.1
#2  0x0000781cc7a1d21f in uv__io_poll (loop=loop@entry=0x950940
<main_loop>, timeout=<optimized out>) at src/unix/kqueue.c:230
#3  0x0000781cc7a0f58a in uv_run (loop=loop@entry=0x950940
<main_loop>, mode=UV_RUN_ONCE) at src/unix/core.c:385
#4  0x00000000004d46a3 in loop_poll_events (loop=0x950940 <main_loop>,
ms=ms@entry=-1) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/event/loop.c:62
#5  0x000000000059d34f in inbuf_poll (ms=ms@entry=-1,
events=events@entry=0x781cc897d000) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/os/input.c:415
#6  0x000000000059d7bd in os_inchar (buf=buf@entry=0x0,
maxlen=maxlen@entry=0, ms=ms@entry=-1,
tb_change_cnt=tb_change_cnt@entry=0, events=0x781cc897d000) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/os/input.c:128
#7  0x00000000006146fa in state_enter (s=s@entry=0x7f7fff08f940) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/state.c:54
#8  0x00000000005748c6 in normal_enter (cmdwin=cmdwin@entry=false,
noexmode=noexmode@entry=false) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/normal.c:464
#9  0x000000000054340c in main (argc=<optimized out>, argv=<optimized
out>) at /usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/main.c:562

Thread 1 (LWP 1259 of process 1257 ""):
#0  0x0000781cc4644b7a in _sys___kevent50 () from /usr/lib/libc.so.12
#1  0x0000781cc5a07a27 in __kevent50 () from /usr/lib/libpthread.so.1
#2  0x0000781cc7a1d21f in uv__io_poll (loop=loop@entry=0x781cc37ff9c0,
timeout=<optimized out>) at src/unix/kqueue.c:230
#3  0x0000781cc7a0f58a in uv_run (loop=loop@entry=0x781cc37ff9c0,
mode=UV_RUN_ONCE) at src/unix/core.c:385
#4  0x00000000004d46a3 in loop_poll_events
(loop=loop@entry=0x781cc37ff9c0, ms=ms@entry=-1) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/event/loop.c:62
#5  0x00000000006312fe in tui_main (bridge=0x781cc8880000,
ui=0x781cc8939500) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/tui/tui.c:463
#6  0x00000000006371da in ui_thread_run (data=<optimized out>) at
/usr/pkgsrc/wip/neovim-git/work/neovim/src/nvim/ui_bridge.c:105
#7  0x0000781cc5a0c1af in ?? () from /usr/lib/libpthread.so.1
#8  0x0000781cc4698620 in ?? () from /usr/lib/libc.so.12
#9  0x00010102464c457f in ?? ()
#10 0x0000000000000000 in ?? ()https://github.com/tree-sitter/tree-sitter

Chavdar

(in case one wants to build wip/neovim-git, it needs tree-sitter,
which I haven't seen available anywhere in pkgsrc[-wip], but it builds
cleanly from https://github.com/tree-sitter/tree-sitter - more
low-lying fruit to pick up).

>
> Dave
>
>


-- 
----


Home | Main Index | Thread Index | Old Index