depmod(-2.1.23) dumps core on linux 2.1.24

Markus Kossmann (mk@emil.inka.de)
Sun, 02 Feb 1997 17:52:46 +0100


emil:/home/mk/modutils-2.1.23 # depmod -a
Segmentation fault (core dumped)
emil:/home/mk/modutils-2.1.23 # gdb `which depmod` core
GDB is free software and you are welcome to 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.
GDB 4.16 (i486-unknown-linux --target i486-linux),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `depmod -a'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.5.4.21...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x804a95c in SYMBOLS::add (this=0xbfffd54c,
name=0x804c736 "mod_use_count_", module=0x804fe08,
status=SYM_DEFINI,
module_requis=@0xbfffa62c, is_common=0) at symbol.cc:52
52 hashval = (hashval << 1) + *pt++;
(gdb) where
#0 0x804a95c in SYMBOLS::add (this=0xbfffd54c,
name=0x804c736 "mod_use_count_", module=0x804fe08,
status=SYM_DEFINI,
module_requis=@0xbfffa62c, is_common=0) at symbol.cc:52
#1 0x8049110 in depmod_addksyms (mods=@0xbffff55c, syms=@0xbfffd54c)
at depmod.cc:26
#2 0x8049330 in depmod_main (argc=2, argv=0xbffff5a8) at depmod.cc:131
#3 0x804904c in main (argc=2, argv=0xbffff5a8) at main.cc:21
#4 0x8048fbb in ___crt_dummy__ ()
(gdb)

-- 
------------------------------------------------------------------------------
Markus			           <mk@emil.inka.de> (Markus Kossmann)