[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205381: kbd-chooser's postinst exited with status 35584



I removed console-data from my test chroot, and ran kbd-chooser within
gdb to test if I could trigger the crash.  Here is the backtrace.  I
suspect this is the crash we see when no keyboard data udeb is
installed.

% gdb ./kbd-chooser
GNU gdb 5.3.90_2003-08-01-cvs-debian
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) run
Starting program: /usr/src/debian-installer/tools/kbd-chooser/kbd-chooser
capb backup
0 ok
version 2.0
0 ok
title Select a Keyboard Layout
0 ok
set debian-installer/serial-console no
0 ok
set debian-installer/serial-console no
0 ok
subst console-tools/archs choices [at] PC Style (AT connector)
0 ok
get console-tools/archs
0 [at] PC Style (AT connector)
input low console-tools/archs
0 ok
go
0 ok
get console-tools/archs
0 [at] PC Style (AT connector)

Program received signal SIGSEGV, Segmentation fault.
0x0804947c in insert_description (
    buf=0xbffff6d0 "[us] ýÿ¿8ùÿ¿\021¡\004\b\230Ì\005\b\230Ì\005\b8ùÿ¿D \004\b ", name=0x805cd00 "us", description=0x0) at kbd-chooser.c:214
warning: Source file is more recent than executable.

214             while (*t)
(gdb) bt
#0  0x0804947c in insert_description (
    buf=0xbffff6d0 "[us] ýÿ¿8ùÿ¿\021¡\004\b\230Ì\005\b\230Ì\005\b8ùÿ¿D \004\b ", name=0x805cd00 "us", description=0x0) at kbd-chooser.c:214
#1  0x0804a224 in keymap_select (arch=0x805aa98 "at",
    keymap=0xbffffb60 "Ðýÿ¿ ûÿ¿\b\001") at kbd-chooser.c:673
#2  0x0804a540 in main (argc=1, argv=0xbffffdd4) at kbd-chooser.c:757
(gdb)



Reply to: