runtime error

Wenji Huang wenji.huang@oracle.com
Tue Apr 15 13:21:00 GMT 2008


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);


Best regards,
Wenji




More information about the Systemtap mailing list