ID 539744 - Error when switching to OCIO Display with a name containing parenthesis

Follow

Problem summary
Error when switching to OCIO Display with a name containing parentheses.
 
This causes a crash in Mari 5 but only an error message in Mari 4 and 6.
 
Customer reported version
Mari 5.0v4
 
Customer reported platform
Linux
 
Steps to reproduce
 
1. Download and extract the attached OCIO config. It contains a display name which has parentheses:
 

displays:  default:    - !<View> {name: None, colorspace: raw}    - !<View> {name: sRGB, colorspace: sRGB}    - !<View> {name: rec709, colorspace: rec709}  userDisplay (these paretheses cause error):    - !<View> {name: user, colorspace: sRGB}active_displays: [default,  userDisplay (these paretheses cause error)]active_views: [sRGB, None, rec709, user]

 
2. Open any project, such as the Example Project.
 
3. Open the Project Settings by selecting File > Settings.
 
4. In the Project Settings, choose Custom from the Colorspace > OCIO Config dropdown.
 
5. Load the config.ocio from step 1 into Colorspace > Custom OCIO Config.
 
6. In the View Transform Toolbar, switch to the View Transform that has parentheses in the Display name.
 


 
 
Expected behaviour
No error or crash. There should be no problem with having a display name that has parentheses.
 
 
Actual behaviour
Crash occurs in Mari 5. Error message occurs in Mari 4 and 6:
 

 
 
Workaround
Unknown.
 
 
Reproduced by support
This bug has been reproduced in:
Mari 6.0v2 - Windows 10 - CentOS 7.9
Mari 5.0v4 - Windows 10
Mari 4.2v1 - Windows 10 - CentOS 7.9
 
 
Earliest version tested
Mari 4.2v1 - This issue appears to be in all tested versions of the product

 

    We're sorry to hear that

    Please tell us why