Blender Crash on Exiting #44701

Closed
opened 2015-05-13 21:41:50 +02:00 by Aaron Carlisle · 10 comments
Member

System Information
Windows 8.0
Intel HD4600

Blender Version
Broken: 2.74.5
Worked: (optional)

Short description of error
Blender Crashes When closing with this error when running blender from CMD with Blender.exe -d

Memorryblock opendir: end corrupt

Exact steps for others to reproduce the error
Close Blender and hope that it crashes so that it can be fixed :)

**System Information** Windows 8.0 Intel HD4600 **Blender Version** Broken: 2.74.5 Worked: (optional) **Short description of error** Blender Crashes When closing with this error when running blender from CMD with `Blender.exe -d` ``` Memorryblock opendir: end corrupt ``` **Exact steps for others to reproduce the error** Close Blender and hope that it crashes so that it can be fixed :)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Would guess this is caused by DIR in winstuff_dir.c having a short path length (MAX_PATH=260) and sprintf(newd->path, "%s\\*", path); not checking the path length.

While using snprintf would likely fix this bug, then it will just fail to read the path, so its probably best to increase the size too.

Would guess this is caused by `DIR` in `winstuff_dir.c` having a short path length (MAX_PATH=260) and `sprintf(newd->path, "%s\\*", path);` not checking the path length. While using `snprintf` would likely fix this bug, then it will just fail to read the path, so its probably best to increase the size too.
Martijn Berger was assigned by Bastien Montagne 2015-05-15 15:00:47 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Martijn, mind having a look at this? Does not sounds hard, but you never know with windows… would be better to check this does not break something before committing. ;)

Martijn, mind having a look at this? Does not sounds hard, but you never know with windows… would be better to check this does not break something before committing. ;)
Author
Member

Any new this should be fixed before the release

Any new this should be fixed before the release

This issue was referenced by b1a92f2b3a

This issue was referenced by b1a92f2b3acf529cf86202a2b799fed64d89c3dd

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This issue was referenced by 0f28d24e2f

This issue was referenced by 0f28d24e2f9e15376aa9040ec061c26111b60118
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#44701
No description provided.