lkml.org 
[lkml]   [2006]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.17-rc6-mm2, modpost segfaults
On Wed, 14 Jun 2006 02:07:49 +0200 Norbert Preining wrote:

> Hi all!
>
> [please Cc]
>
> When building an external modules (pwc) I always get segfaults of
> modpost:
> /bin/sh: line 1: 6586 Segmentation fault (core dumped) scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers -o /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers vmlinux /src/kernel/pwc/pwc-10.0.12-rc1/pwc.o
> make[2]: *** [__modpost] Error 139
>
> the gdb modpost core backtrace gives:
>
> warning: Can't read pathname for load map: Input/output error.
> Reading symbols from /lib/tls/libc.so.6...done.
> Loaded symbols for /lib/tls/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Failed to read a valid object file image from memory.
> Core was generated by `scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/ker'.
> Program terminated with signal 11, Segmentation fault.
> #0 0xb7e471db in strlen () from /lib/tls/libc.so.6
> (gdb) bt
> #0 0xb7e471db in strlen () from /lib/tls/libc.so.6
> #1 0xb7e19b00 in vfprintf () from /lib/tls/libc.so.6
> #2 0xb7e38671 in vsnprintf () from /lib/tls/libc.so.6
> #3 0x08049229 in buf_printf ()
> #4 0x000001f4 in ?? ()
> #5 0x0804e6ad in _IO_stdin_used ()
> #6 0xbf815e88 in ?? ()
> #7 0xb7de9b6e in ?? () from /lib/tls/libc.so.6
> #8 0x00000027 in ?? ()
> #9 0x00000000 in ?? ()
> (gdb)
>
>
> Do I do something wrong?

Please try this patch and tell us if it works/helps.
http://lkml.org/lkml/2006/6/12/186


---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-14 02:25    [W:0.045 / U:4.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site