Bug#326709: gpm: I think I have this problem again with libncursesw5 5.6+20080920-1
Florian Kulzer
florian.kulzer+debian at icfo.es
Fri Sep 26 19:37:25 UTC 2008
Package: gpm
Version: 1.20.4-2
Followup-For: Bug #326709
Hi,
I think this problem may have resurfaced with version 5.6+20080920-1 of
libncursesw5; for example, aptitude now segfaults when I use it in
interactive mode on a tty while gpm is active. Here is the debugging
output:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fc0781126f0 (LWP 7476)]
0x00007fc0778155a0 in cwidget::toplevel::timeout_thread::instance () from /usr/lib/libcwidget.so.3
(gdb) bt
#0 0x00007fc0778155a0 in cwidget::toplevel::timeout_thread::instance () from /usr/lib/libcwidget.so.3
#1 0x00007fc077a341e6 in endwin () from /lib/libncursesw.so.5
#2 0x00007fc0775919aa in cwidget::toplevel::suspend_without_signals () at toplevel.cc:1162
#3 0x00007fc077591b82 in cwidget::toplevel::suspend () at toplevel.cc:1181
#4 0x00007fc077592141 in cwidget::toplevel::shutdown () at toplevel.cc:1192
#5 0x00000000004b3a37 in ui_main () at ui.cc:2764
#6 0x000000000041b4f0 in main (argc=20, argv=0x7fff8013f808) at main.cc:759
Ron's demo code crashes like this:
Hello World !!!
Program received signal SIGSEGV, Segmentation fault.
0x00007fce4e2a8330 in ?? ()
(gdb) bt
#0 0x00007fce4e2a8330 in ?? ()
#1 <signal handler called>
#2 0x00007fce4e6e1ef5 in raise () from /lib/libc.so.6
#3 0x0000000000400845 in main () at demo.c:12
Downgrading libncursesw5 to version 5.6+20080830-1 or disabling the GPM
daemon is sufficient to prevent the segfaults.
Thanks for your time.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-flo (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gpm depends on:
ii debconf [debconf-2.0] 1.5.23 Debian configuration management sy
ii debianutils 2.30 Miscellaneous utilities specific t
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libgpm2 1.20.4-2 General Purpose Mouse - shared lib
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii ucf 3.0010 Update Configuration File: preserv
gpm recommends no packages.
gpm suggests no packages.
-- debconf information:
* gpm/responsiveness:
* gpm/repeat_type: none
* gpm/append:
gpm/restart: false
* gpm/sample_rate:
* gpm/type: exps2
* gpm/device: /dev/input/mice
More information about the pkg-gpm-devel
mailing list