Package: tig
Version: 0.7-1
Severity: normal

tig segfaults if started in pager mode. Test case:

    % tig < /dev/null

Backtrace (I build tig with debug symbols from the debian sources, using
'make all-debug').

| Program received signal SIGSEGV, Segmentation fault.
| update_view_title (view=0x0) at tig.c:1363
| 1363        if (view->lines || view->pipe) {
| (gdb) bt
| #0  update_view_title (view=0x0) at tig.c:1363
| #1  0x0804bf42 in report (
|     msg=0x80514a4 "No pager content, press %s to run command from
|     prompt") at tig.c:3795
|     #2  0x0804f43a in main (argc=1, argv=0xbfd62ee4) at tig.c:2151

Looking at view_driver (apparently inlined into main), it seems that no
view is setup before calling report() into main), it seems that no view
is setup before calling report() into main), it seems that no view is
setup before calling report()...


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tig depends on:
ii  git-core                     1:1.5.2.1-1 fast, scalable, distributed revisi
ii  libc6                        2.5-9+b1    GNU C Library: Shared libraries
ii  libncurses5                  5.6-3       Shared libraries for terminal hand

tig recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to