secondlife / jira-archive

3 stars 0 forks source link

[BUG-231177] Unknown .dae parsing issue - does not display any errors. #8697

Closed sl-service-account closed 9 months ago

sl-service-account commented 3 years ago

What just happened?

The bug being reported here is the lack of any error message for this issue.

Long and short of it is, this file should be an otherwise valid mesh but the viewer refuses to parse it. However, it refuses to print any errors.

What were you doing when it happened?

I was attempting to upload the mesh, and it failed, so I tried to see what the error was, only to not have one.

What were you expecting to happen instead?

It should parse the mesh. If not, I should at least know what is wrong.

Other information

This mesh is not mine - it was made by Wolfsleid - but she has given me permission to post it for the purposes of this bug report.

BROKEN FILE: https://cdn.discordapp.com/attachments/384932761984696321/883757083974053898/Geode4-bugged.dae

SCREENSHOTS: Parsing error: https://cdn.discordapp.com/attachments/384932761984696321/883757006991806494/unknown.png No error log: https://cdn.discordapp.com/attachments/384932761984696321/883757041418653767/unknown.png

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-231177 | | Summary | Unknown .dae parsing issue - does not display any errors. | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Triaged | | Labels | mesh_uploader | | Created at | 2021-09-04T17:00:18Z | | Updated at | 2022-05-25T21:16:51Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2021-09-07T15:40:37.230-0500', "Is there anything you'd like to add?": 'This mesh is not mine - it was made by Wolfsleid - but she has given me permission to post it for the purposes of this bug report.\r\n\r\nBROKEN FILE:\r\nhttps://cdn.discordapp.com/attachments/384932761984696321/883757083974053898/Geode4-bugged.dae\r\n\r\nSCREENSHOTS:\r\nParsing error:\r\nhttps://cdn.discordapp.com/attachments/384932761984696321/883757006991806494/unknown.png\r\nNo error log:\r\nhttps://cdn.discordapp.com/attachments/384932761984696321/883757041418653767/unknown.png', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'The bug being reported here is the lack of any error message for this issue.\r\n\r\nLong and short of it is, this file should be an otherwise valid mesh but the viewer refuses to parse it. However, it refuses to print any errors.', 'What were you doing when it happened?': 'I was attempting to upload the mesh, and it failed, so I tried to see what the error was, only to not have one.', 'What were you expecting to happen instead?': 'It should parse the mesh. If not, I should at least know what is wrong.', } ```
sl-service-account commented 3 years ago

Beq Janus commented at 2021-09-07T20:40:37Z

Hi Rachelle,

The problem wit the mesh is the good old "negative scale"

You can see this in the log file.

2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(963) LLDAELoader::OpenFile : Collada Importer Version: 1.4.1 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(973) LLDAELoader::OpenFile : Dae version 1.4.1 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(1092) LLDAELoader::OpenFile : Importing Cube.005 model with 3 material references 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(1099) LLDAELoader::OpenFile : Cube.005 references Inside-material 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(1099) LLDAELoader::OpenFile : Cube.005 references outside-material 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(1099) LLDAELoader::OpenFile : Cube.005 references Rim-material 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(1132) LLDAELoader::OpenFile : Collada skins processed: 0 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(2099) LLDAELoader::processElement : Negative scale detected, unsupported transform. domInstance_geometry: Cube.001 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(2122) LLDAELoader::processElement : Negative scale detected, unsupported post-normalization transform. domInstance_geometry: Cube.001 2021-09-07T20:34:35Z INFO # llprimitive/lldaeloader.cpp(1151) LLDAELoader::OpenFile : Scene could not be parsed

 

However, this is not being trapped in the viewer code any placed into the log tab. 

Fix the scale issue and you should have no problem,

 

@Dan or triagers, this should be imported as a bug, with a general note to identify other similarly untrapped errors and ensure that they get placed into the "new" log tab. It could be that the DAE parser has no access to the floater at this level so there will need to be some mechanism to pass the correct info up the call stack. 

 

sl-service-account commented 3 years ago

Dan Linden commented at 2021-09-09T16:58:08Z

Thank you for the report, Rachelle and Beq!