Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355899 - [LTTng] Insufficient verification by ImportTraceWizard
Summary: [LTTng] Insufficient verification by ImportTraceWizard
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 321366
  Show dependency tree
 
Reported: 2011-08-25 18:54 EDT by Francois Chouinard CLA
Modified: 2022-01-13 14:52 EST (History)
0 users

See Also:


Attachments
Missing parsing library error dialog (27.04 KB, image/png)
2011-08-31 09:54 EDT, Francois Chouinard CLA
no flags Details
Unrecognized trace type (25.89 KB, image/png)
2011-08-31 09:55 EDT, Francois Chouinard CLA
no flags Details
Unsupported trace version error dialog (27.47 KB, image/png)
2011-08-31 09:55 EDT, Francois Chouinard CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chouinard CLA 2011-08-25 18:54:09 EDT
The ImportTraceWizard performs insufficient verification before allowing importation of a trace in a trace project.

To reproduce:
- Delete/rename a parsing library (say liblttvtraceread-2.6)
- Start LTTng and import a trace of that format (2.6)

The trace will be imported in the project but an exception will be thrown (or error dialog opened) when trying to open it.
Comment 1 Francois Chouinard CLA 2011-08-31 09:54:15 EDT
Created attachment 202520 [details]
Missing parsing library error dialog
Comment 2 Francois Chouinard CLA 2011-08-31 09:55:01 EDT
Created attachment 202521 [details]
Unrecognized trace type
Comment 3 Francois Chouinard CLA 2011-08-31 09:55:36 EDT
Created attachment 202523 [details]
Unsupported trace version error dialog
Comment 4 Francois Chouinard CLA 2011-08-31 09:58:28 EDT
With the possibility of changing dynamically the parsing trace library path, it becomes undecidable if a trace can or can't be imported in a given project.

The current behavior is to perform this validation when opening the trace and to display the appropriate error dialog (see attachments) if an error occurs.

This should be enough.
Comment 5 Francois Chouinard CLA 2011-09-28 17:40:52 EDT
Closing bug.