This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: runtime error
On Tue, 2008-04-15 at 17:19 +0800, Wenji Huang wrote:
> Hi Frank,
>
> Frank Ch. Eigler wrote:
> > Wenji Huang <wenji.huang@oracle.com> writes:
> >
> >
> >>Found that runtime error for latest source code, even the simplest
> >>stap script.
> >>
> >>[root@dhcp-beijing-cdc-10-182-120-233 wjhuang]# stap -vve 'probe begin
> >>{printf("hello world")}'
> >>SystemTap translator/driver (version 0.7/0.131 git branch master,
> >>commit 7eb702bf)
> >>[...]
> >
> >
> > The newly merged unwinder code is causing some difficulties, but I
> > haven't experienced anything more troublesome than pass-4 (module
> > building) errors so far - definitely not an oops.
> >
> > - FChE
> >
>
> I made some analysis about the problem. It can be reproduced in
> relocated kernel.
> If unset CONFIG_RELOCATABLE in kernel config, the problem will disapper.
> The NULL pointer could be cached in
> File: runtime/transport/symbols.c,
> Function: static int _stp_init_modules(void)
> Line: res = modules_op->start(NULL, &pos);
My fault. I told Frank to go ahead with the merge forgetting I still
had stuff in a local branch I had not checked in. I was out yesterday
and will be out part of today. But I'll get the relocatable support and
register renaming for 2.6.25 checked in.
Martin