From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: Norbert Preining <preining@logic.at>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.17-rc6-mm2, modpost segfaults
Date: Tue, 13 Jun 2006 17:25:36 -0700 [thread overview]
Message-ID: <20060613172536.964f30b7.rdunlap@xenotime.net> (raw)
In-Reply-To: <20060614000749.GB11977@gamma.logic.tuwien.ac.at>
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
next prev parent reply other threads:[~2006-06-14 0:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 0:07 Norbert Preining
2006-06-14 0:25 ` Randy.Dunlap [this message]
2006-06-14 0:34 ` Norbert Preining
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060613172536.964f30b7.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=preining@logic.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®