Package: micro
Version: 2.0.3-1~bpo10+1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

a friend just suggested that I try the “micro” text editor.
I installed the software using “sudo apt-get install micro”.

I executed the command “micro” from a terminal. Instead of starting an 
editor, the terminal contents look all weird and only executing “reset” 
brings it into a usable state again. I see no text editor anywhere.

I managed to capture the error messages by redirecting the standard 
error to a file, which I have appended to this bug report.

-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-6-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages micro depends on:
ii  libc6  2.28-10

Versions of packages micro recommends:
ii  xclip  0.13-1

micro suggests no packages.

-- no debconf information
unexpected fault address 0x80cda9e9
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x80cda9e9 pc=0x9b2896]

goroutine 1 [running]:
runtime.throw(0x9fa5fc, 0x5)
        /usr/lib/go-1.11/src/runtime/panic.go:608 +0x70 fp=0x23d2de0 
sp=0x23d2dcc pc=0x52cb00
runtime.sigpanic()
        /usr/lib/go-1.11/src/runtime/signal_unix.go:397 +0x1e4 fp=0x23d2e04 
sp=0x23d2de0 pc=0x542224
github.com/zyedidia/micro/internal/display.(*BufWindow).Relocate(0x2231d00, 
0x9b2215)
        github.com/zyedidia/micro/internal/display/bufwindow.go:153 +0x126 
fp=0x23d2e40 sp=0x23d2e04 pc=0x9b2896
github.com/zyedidia/micro/internal/display.(*BufWindow).Resize(0x2231d00, 0x50, 
0x17)
        github.com/zyedidia/micro/internal/display/bufwindow.go:57 +0x32 
fp=0x23d2e4c sp=0x23d2e40 pc=0x9b2242
github.com/zyedidia/micro/internal/action.(*BufPane).Resize(0x2068d20, 0x50, 
0x17)
        <autogenerated>:1 +0x3e fp=0x23d2e5c sp=0x23d2e4c pc=0x9dc17e
github.com/zyedidia/micro/internal/action.(*Tab).Resize(0x2231ce0)
        github.com/zyedidia/micro/internal/action/tab.go:296 +0xd1 fp=0x23d2e8c 
sp=0x23d2e5c pc=0x9d5dd1
github.com/zyedidia/micro/internal/action.(*TabList).Resize(0x21ae820)
        github.com/zyedidia/micro/internal/action/tab.go:92 +0x210 fp=0x23d2ec4 
sp=0x23d2e8c pc=0x9d5070
github.com/zyedidia/micro/internal/action.(*TabList).HandleEvent(0x21ae820, 
0xc85970, 0x21a4040)
        github.com/zyedidia/micro/internal/action/tab.go:102 +0x1b8 
fp=0x23d2edc sp=0x23d2ec4 pc=0x9d5298
main.main()
        github.com/zyedidia/micro/cmd/micro/micro.go:316 +0x5b2 fp=0x23d2fd0 
sp=0x23d2edc pc=0x9f6b02
runtime.main()
        /usr/lib/go-1.11/src/runtime/proc.go:201 +0x289 fp=0x23d2ff0 
sp=0x23d2fd0 pc=0x52e619
runtime.goexit()
        /usr/lib/go-1.11/src/runtime/asm_386.s:1324 +0x1 fp=0x23d2ff4 
sp=0x23d2ff0 pc=0x558771

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
        /usr/lib/go-1.11/src/runtime/sigqueue.go:139 +0x157
os/signal.loop()
        /usr/lib/go-1.11/src/os/signal/signal_unix.go:23 +0x1b
created by os/signal.init.0
        /usr/lib/go-1.11/src/os/signal/signal_unix.go:29 +0x3d

goroutine 17 [select]:
github.com/zyedidia/tcell.(*tScreen).mainLoop(0x20dc420)
        github.com/zyedidia/tcell/tscreen.go:1411 +0x166
created by github.com/zyedidia/tcell.(*tScreen).Init
        github.com/zyedidia/tcell/tscreen.go:198 +0x623

goroutine 18 [IO wait]:
internal/poll.runtime_pollWait(0xa7a95fc0, 0x72, 0x5ae26a)
        /usr/lib/go-1.11/src/runtime/netpoll.go:173 +0x4c
internal/poll.(*pollDesc).wait(0x21501d4, 0x72, 0xffffff01, 0xc85150, 0x5c60e5)
        /usr/lib/go-1.11/src/internal/poll/fd_poll_runtime.go:85 +0x99
internal/poll.(*pollDesc).waitRead(0x21501d4, 0x2234001, 0x1000, 0x1000)
        /usr/lib/go-1.11/src/internal/poll/fd_poll_runtime.go:90 +0x33
internal/poll.(*FD).Read(0x21501c0, 0x2234000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/lib/go-1.11/src/internal/poll/fd_unix.go:169 +0x152
os.(*File).read(0x211df90, 0x2234000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/lib/go-1.11/src/os/file_unix.go:249 +0x3e
os.(*File).Read(0x211df90, 0x2234000, 0x1000, 0x1000, 0x1000, 0x1000, 0x0)
        /usr/lib/go-1.11/src/os/file.go:108 +0x52
github.com/zyedidia/tcell.(*tScreen).inputLoop(0x20dc420)
        github.com/zyedidia/tcell/tscreen.go:1464 +0x9b
created by github.com/zyedidia/tcell.(*tScreen).Init
        github.com/zyedidia/tcell/tscreen.go:199 +0x646

goroutine 9 [select]:
github.com/zyedidia/tcell.(*tScreen).PollEvent(0x20dc420, 0x23dd7e4, 0x21a4040)
        github.com/zyedidia/tcell/tscreen.go:819 +0x97
main.main.func3()
        github.com/zyedidia/micro/cmd/micro/micro.go:299 +0x33
created by main.main
        github.com/zyedidia/micro/cmd/micro/micro.go:296 +0x4a1

Reply via email to