Bug 498066

Summary: [LTTng] NPE in Kernel I/O analysis
Product: [Tools] Tracecompass Reporter: Bernd Hufmann <bernd.hufmann>
Component: LTTngAssignee: Project Inbox <tracecompass-inbox>
Status: RESOLVED FIXED QA Contact: Project Inbox <tracecompass-inbox>
Severity: normal    
Priority: P3    
Version: 2.0.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/77477
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/commit/?id=da992837f3fd585363bb19861de30cbdc0b9a982
https://git.eclipse.org/r/77783
https://git.eclipse.org/r/78269
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/commit/?id=76a27006203bdc8ab5e49685aa063cb73aef387a
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/commit/?id=9f7d8c0dd0683cfb8396e81fdfe68bdf40c0c94d
Whiteboard:

Description Bernd Hufmann CLA 2016-07-18 10:25:54 EDT
I get a NullPointerException in the I/O analysis of a LTTng 2.7 trace. 

Exception in thread "Input Output Analysis Event Handler" java.lang.NullPointerException
	at org.eclipse.tracecompass.internal.analysis.os.linux.core.inputoutput.handlers.SysExitHandler.handleEvent(SysExitHandler.java:67)
	at org.eclipse.tracecompass.internal.analysis.os.linux.core.inputoutput.InputOutputStateProvider.eventHandle(InputOutputStateProvider.java:125)
	at org.eclipse.tracecompass.tmf.core.statesystem.AbstractTmfStateProvider$EventProcessor.run(AbstractTmfStateProvider.java:213)
	at java.lang.Thread.run(Thread.java:745)
Comment 1 Bernd Hufmann CLA 2016-07-18 10:47:56 EDT
Looking at the trace I noticed that syscall_exit_mmap2 doesn't have the field ret. This causes a NullPointerException in SyscallExitHandler.
Comment 2 Eclipse Genie CLA 2016-07-18 10:49:39 EDT
New Gerrit change created: https://git.eclipse.org/r/77477
Comment 4 Eclipse Genie CLA 2016-07-22 10:58:00 EDT
New Gerrit change created: https://git.eclipse.org/r/77783
Comment 5 Eclipse Genie CLA 2016-08-01 10:45:19 EDT
New Gerrit change created: https://git.eclipse.org/r/78269