Crash on exporting collada file from menu #47484

Closed
opened 2016-02-19 06:11:30 +01:00 by Zombiegons Dude · 18 comments

Linux Mint 17.2 Rafaela
NVIDIA Corporation GK107M [GeForce GT 745M]

Broken: 2.76 3c4f971 (latest from source)
Worked: 2.76b f337fea

Blender crashes on exporting collada file from file menu with default options. Was only trying to export default scene.

Stack trace:

[New Thread 0x7fffd14ae700 (LWP 9642)]
[New Thread 0x7fffd0cad700 (LWP 9643)]
[New Thread 0x7fffd04ac700 (LWP 9644)]
[New Thread 0x7fffcfcab700 (LWP 9645)]
[New Thread 0x7fffcf4aa700 (LWP 9646)]
[New Thread 0x7fffceca9700 (LWP 9647)]
[New Thread 0x7fffce4a8700 (LWP 9648)]
[New Thread 0x7fffcd81f700 (LWP 9649)]
[Thread 0x7fffcd81f700 (LWP 9649) exited]
[New Thread 0x7fffcd81f700 (LWP 9650)]
[Thread 0x7fffcd81f700 (LWP 9650) exited]
terminate called after throwing an instance of 'COLLADASW::StreamWriterException'

Program received signal SIGABRT, Aborted.
0x00007ffff3ae3cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

  • Try exporting default blender cube scene with Collada on default settings.
Linux Mint 17.2 Rafaela NVIDIA Corporation GK107M [GeForce GT 745M] Broken: 2.76 3c4f971 (latest from source) Worked: 2.76b f337fea Blender crashes on exporting collada file from file menu with default options. Was only trying to export default scene. Stack trace: [New Thread 0x7fffd14ae700 (LWP 9642)] [New Thread 0x7fffd0cad700 (LWP 9643)] [New Thread 0x7fffd04ac700 (LWP 9644)] [New Thread 0x7fffcfcab700 (LWP 9645)] [New Thread 0x7fffcf4aa700 (LWP 9646)] [New Thread 0x7fffceca9700 (LWP 9647)] [New Thread 0x7fffce4a8700 (LWP 9648)] [New Thread 0x7fffcd81f700 (LWP 9649)] [Thread 0x7fffcd81f700 (LWP 9649) exited] [New Thread 0x7fffcd81f700 (LWP 9650)] [Thread 0x7fffcd81f700 (LWP 9650) exited] terminate called after throwing an instance of 'COLLADASW::StreamWriterException' Program received signal SIGABRT, Aborted. 0x00007ffff3ae3cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. - Try exporting default blender cube scene with Collada on default settings.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @zombiegonsdude

Added subscriber: @zombiegonsdude

Added subscribers: @GaiaClary, @mont29

Added subscribers: @GaiaClary, @mont29
Gaia Clary was assigned by Bastien Montagne 2016-02-19 15:14:45 +01:00

Crash confirmed, happens when creating the COLLADASW::StreamWriter, no idea what’s going on here, @GaiaClary shall know ;)

Crash confirmed, happens when creating the `COLLADASW::StreamWriter`, no idea what’s going on here, @GaiaClary shall know ;)

This issue was referenced by 44561459f3

This issue was referenced by 44561459f3e8a355a24c493bbd86d381db8624b7
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Just tried with the latest changes. Export no longer crashes, but it appears that a file is no longer written to disk.

Just tried with the latest changes. Export no longer crashes, but it appears that a file is no longer written to disk.
Member

Hi, zombiegons

I can not reproduce such an error here.

Please open the Blender console.
There you find an entry similar to:

  Collada export: /path/to/your/file

If you see errors here, please paste them to this ticket

Otherwise:

  • Check if the filepath shows any oddities (double slashes or special characters, etc...)
  • Check if your current user is allowed to write to the path that is indicated on the console
  • Check if there is a session folder in your Temp Directory
Hi, zombiegons I can not reproduce such an error here. Please open the Blender console. There you find an entry similar to: ``` Collada export: /path/to/your/file ``` If you see errors here, please paste them to this ticket Otherwise: * Check if the filepath shows any oddities (double slashes or special characters, etc...) * Check if your current user is allowed to write to the path that is indicated on the console * Check if there is a session folder in your Temp Directory

The console gives the following output when exporting

Collada export: /home/zombiegonsdude/foobars.dae

Appears that the actual file is being written here though

/tmp/blender_yPvpnt/untitled.dae

Result is the same when running with regular user privileges and with sudo.

The console gives the following output when exporting **Collada export: /home/zombiegonsdude/foobars.dae** Appears that the actual file is being written here though **/tmp/blender_yPvpnt/untitled.dae** Result is the same when running with regular user privileges and with sudo.

This issue was referenced by edf9e8d4dc

This issue was referenced by edf9e8d4dc676ea0789297369d4d78be8234f4ef
Member

Hi;
I have added one line to the Blender console where Blender reports the final status of the export (status=0 is expected when all is well)
Maybe this gives a clue why it does not work in your case.

Hi; I have added one line to the Blender console where Blender reports the final status of the export (status=0 is expected when all is well) Maybe this gives a clue why it does not work in your case.

I get the following

Collada export buffer: /tmp/blender_on6Lev/untitled.dae
Collada moved buffer : /home/zombiegonsdude/foo.dae (Status: -1)

I don't know if this impacts things but I also use "optirun ./bin/blender" for starting blender because I'm on a laptop with integrated graphics and discrete gpu.

I get the following Collada export buffer: /tmp/blender_on6Lev/untitled.dae Collada moved buffer : /home/zombiegonsdude/foo.dae (Status: -1) I don't know if this impacts things but I also use "optirun ./bin/blender" for starting blender because I'm on a laptop with integrated graphics and discrete gpu.

This issue was referenced by 4e95807db3

This issue was referenced by 4e95807db3e17c647001ba4112371217d0d2506b
Member

Now you should also see in the console why the file can not be moved.

Now you should also see in the console why the file can not be moved.

Collada: Can't move buffer /tmp/blender_ypS6De/untitled.dae to its destination /home/zombiegonsdude/foo.dae
Reason : Invalid cross-device link

also #include seems to missing, errno was not declared.

Collada: Can't move buffer /tmp/blender_ypS6De/untitled.dae to its destination /home/zombiegonsdude/foo.dae Reason : Invalid cross-device link also #include <cerrno> seems to missing, errno was not declared.

This issue was referenced by d2c5959834

This issue was referenced by d2c59598341b41efb0e5d4620db20e129f7c999a
Member

I added

#include errno.h

And i added a fallback solution where Blender tries to copy the buffered file instead of renaming it.

I added #include errno.h And i added a fallback solution where Blender tries to copy the buffered file instead of renaming it.

Works fine now, thank you :)

Works fine now, thank you :)
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
4 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#47484
No description provided.