depmod segfaulting

Lonni J Friedman netllama at gmail.com
Wed Aug 29 14:56:54 UTC 2007


On 8/29/07, Andy Green <andy at warmcat.com> wrote:
> Somebody in the thread at some point said:
>
> > Anyone else seeing depmod segfault with the latest Fedora 7 kernel?
> > Every time it runs, it segfaults.
> >
> > I ran it through strace, but this is what it shows before dying:
>
> The strace just shows it peering into directories and then closing the
> handle.
>
> If you install the debuginfo RPM
>
> # yum --enablerepo=fedora-debuginfo install module-init-tools-debuginfo
>
> and gdb
>
> # yum install gdb
>
> and run it through gdb
>
> # gdb --args depmod -a
> ... blah blah...
> (gdb) run
>
> and see if you get a nice backtrace
>
> -Andy

########
(gdb) run
Starting program: /sbin/depmod -a

Program received signal SIGSEGV, Segmentation fault.
0x0059aee8 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0x0059aee8 in strcmp () from /lib/libc.so.6
#1  0x0804ba7c in load_section32 (hdr=0xb1601b8, secname=0x8059c47
"__ksymtab_strings", size=0xbf9510e8,
    conv=0) at moduleops_core.c:18
#2  0x0804c064 in load_symbols32 (module=0xadbfe88) at moduleops_core.c:34
#3  0x0804ae48 in main (argc=2, argv=Cannot access memory at address 0x5aadd37c
) at depmod.c:687
#4  0x00542f70 in __libc_start_main () from /lib/libc.so.6
#5  0x08048ea1 in _start ()
#######

I'm guessing that #3 is the problem (cannot access memory at address).
 I guess I could file a bug if no one else has any suggestions?
thanks




More information about the fedora-list mailing list