This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [RFC PATCH] Fix segmentation fault of listing kprocess.create


> Hi,
> 
> I got the Segmentation fault when executing stap -L 
> kprocess.create for latest
> source. The same issue happens on FC11 32bits and RHEL5U2 
> (64bits 2.6.32 kernel),
> with elfutils 0.141-0.143. But  'probe 
> kprocess.create{print(task) print(new_pid) print($$parms)}'
> works fine on those machines.
> 
Please ignore the previous patch, the root cause is the following section
tapsets.cxx: dwarf_derived_probe::saveargs

         /* trick from visit_target_symbol_context */
         target_symbol *tsym = new target_symbol;
         token *t = new token;
         tsym->tok = t;
         tsym->base_name = "$";
         tsym->base_name += arg_name;

The empty token is created, I will fix it soon. 
Also any suggestion is welcome!

Regards,
Wenji

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]