Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314872 - Trace on console
Summary: Trace on console
Status: RESOLVED INVALID
Alias: None
Product: Linux Tools
Classification: Tools
Component: Systemtap (show other bugs)
Version: 0.6   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: anithra CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 09:55 EDT by Andrew Overholt CLA
Modified: 2010-06-04 11:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2010-05-28 09:55:45 EDT
I'm getting a bunch of stack trace elements on the console.  I don't know what caused it.  All I did was open a bunch of the SystemTap views.  My terminal scrolled off with a bunch of these:

org.eclipse.linuxtools.systemtap.ui.ide.structures.TapsetParser.runPass2FunctionSet(TapsetParser.java:388)
Comment 1 Andrew Overholt CLA 2010-05-28 09:58:30 EDT
I'll set the milestone to 0.6 if I can reproduce this.  FWIW, the line in the trace and a few around it are:

	/**
	 * This method runs stap -up2 on the specified group of functions.
	 * If errors result, it will break the batch in half and run again
	 * on each subset
	 * @param funcs The list of all functions available in the tapsets
	 * @param low The lower bound of functions to use in this set
	 * @param high The upper bound of functions to use in this set
	 */
	private void runPass2FunctionSet(String[] funcs, int low, int high) {
		if(low == high)
			return;
		if(stopped)
			return;
		
		StringBuilder functionStr = new StringBuilder("probe begin{\n");
		for(int i=low; i<high; i++)
			functionStr.append(funcs[i]);
		functionStr.append("}\n");

		String result = runStap(new String[] {"-u"}, functionStr.toString(), 2);
		
		if(0 < result.trim().length()) {
			parsePass2Functions(result);
		} else if(low+1 != high) {
			runPass2FunctionSet(funcs, low, low+((high-low)>>1));
			runPass2FunctionSet(funcs, low+((high-low)>>1), high);
		}
	}

I don't know I triggered this method.
Comment 2 Andrew Overholt CLA 2010-05-28 10:01:31 EDT
This now started happening again.  I entered the Dashboard perspective and went back to the Java perspective.  No files are open at the moment and it appears to just keep logging that error.

Please fix.
Comment 3 Severin Gehwolf CLA 2010-06-04 11:06:49 EDT
This doesn't seem to happen for me. Is it just a switch from the SystemTap Dashboard perspective to the Java perspective what's causing this for you? I'm on RC3 and helios-updates Linux Tools.
Comment 4 Andrew Overholt CLA 2010-06-04 11:23:18 EDT
I couldn't really pin it down when it happened.  I *was* having problems with my installation so let's chalk it up to that and re-open if it re-occurs.