Your message dated Thu, 02 Jan 2020 07:04:05 +0000
with message-id <[email protected]>
and subject line Bug#905785: fixed in elvish 0.13+ds1-1
has caused the Debian Bug report #905785,
regarding elvish crashed after pressing "Ctrl + n" twice
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
905785: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905785
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: elvish
Version: 0.12+ds1-1
Severity: normal

We have a 100% chance to reproduce this crash.

1. $ elvish
2. type Ctrl + n twice
3. elvish crashed.


~ ❯❯❯ elvish
~>

runtime error: invalid memory address or nil pointer dereference
goroutine 1 [running]:
github.com/elves/elvish/sys.DumpStack(0xc42033c8d8, 0x1)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/sys/dumpstack.go:10
 +0xa2
github.com/elves/elvish/program/shell.rescue()
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/shell/shell.go:60
 +0xc5
panic(0x87e080, 0xbbc240)
        /usr/lib/go-1.10/src/runtime/panic.go:502 +0x229
github.com/elves/elvish/eval.catch(0xc42033d748, 0xc42022c420)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/eval/frame.go:190
 +0x266
panic(0x87e080, 0xbbc240)
        /usr/lib/go-1.10/src/runtime/panic.go:502 +0x229
github.com/elves/elvish/edit/edcore.(*navigation).List(0xc42017fe00, 0x2b, 
0xc42017fe00, 0x7f6e37627258)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/navigation.go:346
 +0x80
github.com/elves/elvish/edit/edcore.(*editorRenderer).Render(0xc42028ade0, 
0xc4200a25f0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/render.go:242
 +0x10b4
github.com/elves/elvish/edit/ui.Render(0x970700, 0xc42028ade0, 0x55, 0x971660)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/ui/render.go:16
 +0x10b
github.com/elves/elvish/edit/edcore.(*editor).refresh(0xc420204000, 0x970101, 
0xc42017fef0, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/edit.go:268
 +0x2db
github.com/elves/elvish/edit/edcore.(*editor).CallFn(0xc420204000, 0x970780, 
0xc42017fef0, 0x0, 0x0, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/api.go:121
 +0x27e
github.com/elves/elvish/edit/edcore.(*navigation).defaultFn(0xc42017fe00, 
0xc420204000)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/navigation.go:165
 +0xbf
github.com/elves/elvish/edit/edcore.initNavigation.func4()
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/navigation.go:65
 +0x33
reflect.Value.call(0x84a480, 0xc420180560, 0x13, 0x90d4f8, 0x4, 0x0, 0x0, 0x0, 
0x60, 0x84a480, ...)
        /usr/lib/go-1.10/src/reflect/value.go:447 +0x969
reflect.Value.Call(0x84a480, 0xc420180560, 0x13, 0x0, 0x0, 0x0, 0x7f6e46213000, 
0x0, 0xc4201cc000)
        /usr/lib/go-1.10/src/reflect/value.go:308 +0xa4
github.com/elves/elvish/eval.(*BuiltinFn).Call(0xc42017ff40, 0xc42022c420, 0x0, 
0x0, 0x0, 0xc420196210, 0x8ecf00, 0xc420597700)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/eval/builtin_fn.go:184
 +0x55c
github.com/elves/elvish/eval.(*Frame).Call(0xc42022c420, 0x970780, 
0xc42017ff40, 0x0, 0x0, 0x0, 0xc420196210, 0x0, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/eval/frame.go:143
 +0xbb
github.com/elves/elvish/edit/edcore.(*editor).CallFn(0xc420204000, 0x970780, 
0xc42017ff40, 0x0, 0x0, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/api.go:115
 +0x257
github.com/elves/elvish/edit/edcore.(*editor).ReadLine(0xc420204000, 0x0, 0x0, 
0x0, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/edcore/edit.go:500
 +0x9af
github.com/elves/elvish/program/shell.interact.func1(0x895fc0, 0xc4202a0a60, 
0x13, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/shell/interact.go:41
 +0x2f
github.com/elves/elvish/program/shell.interact(0xc4201a4320, 0xc420024340, 
0x13, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/shell/interact.go:51
 +0x219
github.com/elves/elvish/program/shell.(*Shell).Main(0xc42006ce40, 0xc420092170, 
0x0, 0x0, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/shell/shell.go:48
 +0x1a7
github.com/elves/elvish/program.Main(0xc420092170, 0x1, 0x1, 0x0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/program.go:119
 +0x180
main.main()
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/main.go:14
 +0x45

goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
        /usr/lib/go-1.10/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
        /usr/lib/go-1.10/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
        /usr/lib/go-1.10/src/os/signal/signal_unix.go:28 +0x41

goroutine 4 [chan receive]:
github.com/elves/elvish/eval.init.13.func1()
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/eval/port.go:49
 +0x53
created by github.com/elves/elvish/eval.init.13
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/eval/port.go:48
 +0x49

goroutine 7 [select, locked to thread]:
runtime.gopark(0x936b28, 0x0, 0x90f4b4, 0x6, 0x18, 0x1)
        /usr/lib/go-1.10/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc420040750, 0xc4201a8180)
        /usr/lib/go-1.10/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
        /usr/lib/go-1.10/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
        /usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1

goroutine 35 [chan receive]:
github.com/elves/elvish/program/shell.handleSignals.func1(0xc4201a80c0)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/shell/shell.go:70
 +0xb8
created by github.com/elves/elvish/program/shell.handleSignals
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/program/shell/shell.go:69
 +0x7c

goroutine 38 [chan receive]:
github.com/elves/elvish/edit/prompt.(*prompt).loop(0xc42018e180)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/prompt/prompt.go:76
 +0xd1
created by github.com/elves/elvish/edit/prompt.makePrompt
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/prompt/prompt.go:69
 +0x1b4

goroutine 39 [chan receive]:
github.com/elves/elvish/edit/prompt.(*prompt).loop(0xc42018e200)
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/prompt/prompt.go:76
 +0xd1
created by github.com/elves/elvish/edit/prompt.makePrompt
        
/build/elvish-AbOowp/elvish-0.12+ds1/obj-x86_64-linux-gnu/src/github.com/elves/elvish/edit/prompt/prompt.go:69
 +0x1b4

execing recovery shell /bin/sh
$

--- End Message ---
--- Begin Message ---
Source: elvish
Source-Version: 0.13+ds1-1

We believe that the bug you reported is fixed in the latest version of
elvish, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shengjing Zhu <[email protected]> (supplier of updated elvish package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 02 Jan 2020 14:10:39 +0800
Source: elvish
Architecture: source
Version: 0.13+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Shengjing Zhu <[email protected]>
Closes: 905785
Changes:
 elvish (0.13+ds1-1) unstable; urgency=medium
 .
   * New upstream version 0.13+ds1
     + Fix crash when pressing Ctrl+n twice (Closes: #905785)
   * Update elvish.1 manpage for 0.13 release
Checksums-Sha1:
 922590179f7b1640a47fe7267cb343f76679677d 1573 elvish_0.13+ds1-1.dsc
 f3bd80026724c1bdd1a3b2e2d4fefed27aa409e1 359408 elvish_0.13+ds1.orig.tar.xz
 88bfd9289af86450ada56fa97b9a37692372ab5c 5292 elvish_0.13+ds1-1.debian.tar.xz
 5391c1821e5137d06734c03fcf813cf628955fca 5182 elvish_0.13+ds1-1_amd64.buildinfo
Checksums-Sha256:
 1c6260093df79b0650825367f77024a7da1a16c6d80f5cc310896f76b0a125c6 1573 
elvish_0.13+ds1-1.dsc
 b3a9d7cea8a64dc4f3d4ceb338e26925daf255e9f7a609671c554755030d307b 359408 
elvish_0.13+ds1.orig.tar.xz
 2f6a0e48c9f08f27c4b22a6454c5f5546752cc11a6903a108541d8912cbd8090 5292 
elvish_0.13+ds1-1.debian.tar.xz
 00587c269afe149f5becc6928f2758d19d67ebd576a125b4b7e1d2fffa743375 5182 
elvish_0.13+ds1-1_amd64.buildinfo
Files:
 1e969e1e4e7b879743527e81dfa50e29 1573 shells optional elvish_0.13+ds1-1.dsc
 51931b89532d7fcc357b16e388a6b705 359408 shells optional 
elvish_0.13+ds1.orig.tar.xz
 048e6a5fbdac5ffd8467f103da2f4000 5292 shells optional 
elvish_0.13+ds1-1.debian.tar.xz
 a60077c8dc023315d4bc8270dad82569 5182 shells optional 
elvish_0.13+ds1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIYEARYIAC4WIQTiXc95jUQrjt9HgU3EhUo4GOCwFgUCXg2SXBAcemhzakBkZWJp
YW4ub3JnAAoJEMSFSjgY4LAWyZQBAJT0wYMCjj/DFECFWGn6l1cxX23IFcD9b2+x
tMYubYdrAP9BBfcKUuVq6ny4S/ucceQALLOaFcYDplmu7Pv1zNVSBA==
=Jwod
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to