[Bug 1851235] Re: Tig crashes when searching if used as git pager
Brian Murray
brian at ubuntu.com
Thu Mar 5 11:11:05 UTC 2020
** Bug watch added: Debian Bug tracker #944123
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944123
** Also affects: tig (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944123
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1851235
Title:
Tig crashes when searching if used as git pager
Status in tig package in Ubuntu:
New
Status in tig package in Debian:
Unknown
Bug description:
export GIT_PAGER="tig"
git log
or just
git log | tig
Then, write '/' and hit enter, tig will crash.
This is the backtrace when launching it as
git log | gdb -ex r -ex "set logging on" -ex "bt full" -ex quit --args
tig
So it looks like more a readline issue
#0 0x00007ffff7f84a20 in _rl_update_final () at ./display.c:2972
full_lines = 0
woff = 0
botline_length = <optimized out>
#1 0x00007ffff7f8b695 in rl_newline (count=<optimized out>, key=<optimized out>) at ./text.c:1105
No locals.
#2 0x00007ffff7f6d707 in _rl_dispatch_subseq (key=13, map=<optimized out>, got_subseq=<optimized out>) at ./readline.c:852
r = 0
newkey = <optimized out>
macro = <optimized out>
func = 0x7ffff7f8b5d0 <rl_newline>
cxt = <optimized out>
#3 0x00007ffff7f6dbf5 in _rl_dispatch (key=<optimized out>, map=<optimized out>) at ./readline.c:798
No locals.
#4 0x00007ffff7f6dcc5 in readline_internal_char () at ./readline.c:632
lastc = 13
eof_found = <optimized out>
c = <optimized out>
code = <optimized out>
lk = 0
r = <optimized out>
#5 0x00007ffff7f6e4ed in readline_internal_charloop () at ./readline.c:659
eof = 1
--Type <RET> for more, q to quit, c to continue without paging-- eof = <optimized out>
#6 readline_internal () at ./readline.c:671
No locals.
#7 readline (prompt=prompt at entry=0x5555555928da "/") at ./readline.c:377
value = <optimized out>
#8 0x000055555557200d in read_prompt (prompt=prompt at entry=0x5555555928da "/") at src/prompt.c:499
line = 0x0
last_entry = <optimized out>
#9 0x000055555557a2f6 in search_view (view=0x5555555ea9e0 <pager_view>, request=REQ_SEARCH) at src/search.c:240
prompt = 0x5555555928da "/"
search = <optimized out>
#10 0x000055555556134d in view_driver (request=REQ_SEARCH, view=0x5555555ea9e0 <pager_view>) at src/tig.c:296
i = <optimized out>
i = <optimized out>
line = <optimized out>
nviews = <optimized out>
next_view = <optimized out>
#11 main (argc=<optimized out>, argv=<optimized out>) at src/tig.c:840
codeset = <optimized out>
pager_mode = true
request = <optimized out>
view = <optimized out>
A debugging session is active.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: tig 2.4.1-1build1
ProcVersionSignature: Ubuntu 4.18.0-21.22~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 4 13:37:48 2019
SourcePackage: tig
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tig/+bug/1851235/+subscriptions
More information about the Ubuntu-sponsors
mailing list