Collada Exporter Crash #46868

Closed
opened 2015-11-25 12:17:52 +01:00 by Vivien Miniussi · 12 comments

System Information
Osx 10.11.1, Maxbook Mid 2014 Intel Iris Pro

Blender Version
blender-2.76b-OSX_10.6-x86_64
2.76b f337dea, unmodified.

Short description of error
The collada exporter crash if the path of the target filename contains this character: é

Exact steps for others to reproduce the error
Export a collada in a path which contains this character: é
Example:
/Users/(...)/Modélisation/25.11.15\ Ida/Ida.blend

This one didn't crash:
/Users/(...)/Modélisation/25.11.15\ Ida/Ida.blend

**System Information** Osx 10.11.1, Maxbook Mid 2014 Intel Iris Pro **Blender Version** blender-2.76b-OSX_10.6-x86_64 2.76b f337dea, unmodified. **Short description of error** The collada exporter crash if the path of the target filename contains this character: é **Exact steps for others to reproduce the error** Export a collada in a path which contains this character: é Example: `/Users/(...)/Modélisation/25.11.15\ Ida/Ida.blend` This one didn't crash: `/Users/(...)/Modélisation/25.11.15\ Ida/Ida.blend`

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @Vivien-2

Added subscriber: @Vivien-2

Typo (can't edit): This path didn't crash
/Users/(...)/Modelisation/25.11.15\ Ida/Ida.blend

Typo (can't edit): This path didn't crash `/Users/(...)/Modelisation/25.11.15\ Ida/Ida.blend`

Added subscriber: @Sergey

Added subscriber: @Sergey

I can't reproduce the issue on Linux, so could be something platform dependent.

Does it happen with the default cube scene?

I can't reproduce the issue on Linux, so could be something platform dependent. Does it happen with the default cube scene?

yes, the same with the default cube scene

yes, the same with the default cube scene
Member

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary
Member

Something strange happens here. The Collada exporter attempts to convert the filename into a "native filename". I am not sure what exactly this is. In any case this conversion fails and an invalid UTF8 character string is created.

During my tests i could not reproduce the blender crash, but after export i found 2 files:

Modélisation.dae (was created with size 0 to test if the file can be created)
Mode´lisation.dae (contains the exported collada data)

The problem is that the special character é is converted wrong deep inside the OpenCollada code.
Now there are 2 solutions:

1.) Fix OpenCollada and replace the library with the fixed version.
2.) Write the collada data to a temporary file, then rename this file to the final filename after Collada has done its task.

How shall i proceed with this?

Something strange happens here. The Collada exporter attempts to convert the filename into a "native filename". I am not sure what exactly this is. In any case this conversion fails and an invalid UTF8 character string is created. During my tests i could not reproduce the blender crash, but after export i found 2 files: Modélisation.dae (was created with size 0 to test if the file can be created) Mode´lisation.dae (contains the exported collada data) The problem is that the special character é is converted wrong deep inside the OpenCollada code. Now there are 2 solutions: 1.) Fix OpenCollada and replace the library with the fixed version. 2.) Write the collada data to a temporary file, then rename this file to the final filename after Collada has done its task. How shall i proceed with this?

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

67e1c97 on Windows 7 crashes with the characters š,č,ć,ž,đ too. A file with a size 0 gets created with the name.

67e1c97 on Windows 7 crashes with the characters š,č,ć,ž,đ too. A file with a size 0 gets created with the name.

This issue was referenced by 85362dfe80

This issue was referenced by 85362dfe807afc28ff51d8d467c317f91ab04efa
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#46868
No description provided.