Bug 81205

Summary: glTF: crash after shader compiler fails with an error message
Product: LibreOffice Reporter: Tamás Zolnai <zolnaitamas2000>
Component: ImpressAssignee: Tamás Zolnai <zolnaitamas2000>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: 4.3.0.2 rc   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 81107    

Description Tamás Zolnai 2014-07-11 05:30:09 UTC
Reproduce:
Open one of these documents:

Monster:
https://wiki.documentfoundation.org/images/archive/c/cc/20140709104752%21Monster_gltf_model.odp

Duck:
https://wiki.documentfoundation.org/images/archive/e/e1/20140709104603%21Duck_gltf_model.odp

on Linux using OpenGL 3.0.

Current behavior: shader compiler write out an error message: "syntax error, unexpected NEW_IDENTIFIER" and crashes

Expected behavior: handle this error and do not crash.
Comment 1 Tamás Zolnai 2014-07-11 05:36:02 UTC
The bug is solved in libgltf, so the next update will fix the bug in LibreOffice too:
https://gerrit.libreoffice.org/gitweb?p=libgltf.git;a=commit;h=f7ec21bec737d83d1449391647ec7c0fa66240c7