Blender crashes when saving new texture image from texture context tab #67258

Closed
opened 2019-07-19 21:44:09 +02:00 by Nenad Radulović · 14 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: Radeon RX 560 Series ATI Technologies Inc. 4.5.13541 Core Profile Context 25.20.14003.1010

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-18 14:52, hash: 38d4483c6a
Worked: (optional)

Short description of error
When you add a texture (in my case, for displacement modifier), and make new image for the texture, if you try to save image from Texture context tab, save dialog opens, name a file and blender closes when you click "Save as image".

Exact steps for others to reproduce the error
Default startup file. Default cube will do for this.
Switch to image editor. Make a new image, and paint something on it, but don't save it from image editor. Now, add, for example, a displace modifier. Make a new texture, and switch to Texture context. Choose an image that you made in the image editor, and you will see the option to save it in the Texture context tab. Click Save, the dialog opens. Give it a name and the moment you click "Save as image", Blender crashes.

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: Radeon RX 560 Series ATI Technologies Inc. 4.5.13541 Core Profile Context 25.20.14003.1010 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-18 14:52, hash: `38d4483c6a` Worked: (optional) **Short description of error** When you add a texture (in my case, for displacement modifier), and make new image for the texture, if you try to save image from Texture context tab, save dialog opens, name a file and blender closes when you click "Save as image". **Exact steps for others to reproduce the error** Default startup file. Default cube will do for this. Switch to image editor. Make a new image, and paint something on it, but don't save it from image editor. Now, add, for example, a displace modifier. Make a new texture, and switch to Texture context. Choose an image that you made in the image editor, and you will see the option to save it in the Texture context tab. Click Save, the dialog opens. Give it a name and the moment you click "Save as image", Blender crashes.

Added subscriber: @antivodonik

Added subscriber: @antivodonik

#73242 was marked as duplicate of this issue

#73242 was marked as duplicate of this issue

#67515 was marked as duplicate of this issue

#67515 was marked as duplicate of this issue

Added subscriber: @zeauro

Added subscriber: @zeauro

I confirm crash. ubuntu 18.04 64bits hash e2b0647272

I confirm crash. ubuntu 18.04 64bits hash e2b0647272c7

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
0x0000555557c5c916 in image_free_packedfiles (ima=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/image.c:198
198	  while (ima->packedfiles.last) {
(gdb) bt
- 0  0x0000555557c5c916 in image_free_packedfiles (ima=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/image.c:198
- 1  0x0000555557c5c93d in BKE_image_free_packedfiles (ima=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/image.c:210
#2  0x0000555558bb8df7 in image_save_as_exec (C=0x7fffeb891208, op=0x7fffcddeca08)
    at /home/zed/prog/blender/source/blender/editors/space_image/image_ops.c:1875
#3  0x000055555822c8bc in wm_handler_fileselect_do (C=0x7fffeb891208, handlers=0x7fffe6640618, handler=0x7fffd340e518, val=2)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2413
#4  0x000055555822cc46 in wm_handler_fileselect_call (C=0x7fffeb891208, handlers=0x7fffe6640618, handler=0x7fffd340e518, event=0x7fffcf18f508)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2511
#5  0x000055555822e119 in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffcf18f508, handlers=0x7fffe6640618)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2893
#6  0x000055555822e2e0 in wm_handlers_do (C=0x7fffeb891208, event=0x7fffcf18f508, handlers=0x7fffe6640618)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2945
- 7  0x000055555822f577 in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3323
- 8  0x000055555822277b in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:417
#9  0x0000555557b7baa9 in main (argc=1, argv=0x7fffffffe018) at /home/zed/prog/blender/source/creator/creator.c:500
``` Thread 1 "blender" received signal SIGSEGV, Segmentation fault. 0x0000555557c5c916 in image_free_packedfiles (ima=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/image.c:198 198 while (ima->packedfiles.last) { (gdb) bt - 0 0x0000555557c5c916 in image_free_packedfiles (ima=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/image.c:198 - 1 0x0000555557c5c93d in BKE_image_free_packedfiles (ima=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/image.c:210 #2 0x0000555558bb8df7 in image_save_as_exec (C=0x7fffeb891208, op=0x7fffcddeca08) at /home/zed/prog/blender/source/blender/editors/space_image/image_ops.c:1875 #3 0x000055555822c8bc in wm_handler_fileselect_do (C=0x7fffeb891208, handlers=0x7fffe6640618, handler=0x7fffd340e518, val=2) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2413 #4 0x000055555822cc46 in wm_handler_fileselect_call (C=0x7fffeb891208, handlers=0x7fffe6640618, handler=0x7fffd340e518, event=0x7fffcf18f508) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2511 #5 0x000055555822e119 in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffcf18f508, handlers=0x7fffe6640618) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2893 #6 0x000055555822e2e0 in wm_handlers_do (C=0x7fffeb891208, event=0x7fffcf18f508, handlers=0x7fffe6640618) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2945 - 7 0x000055555822f577 in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3323 - 8 0x000055555822277b in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:417 #9 0x0000555557b7baa9 in main (argc=1, argv=0x7fffffffe018) at /home/zed/prog/blender/source/creator/creator.c:500 ```
Brecht Van Lommel was assigned by Sebastian Parborg 2019-07-23 18:34:33 +02:00

Added subscribers: @martinium, @nBurn

Added subscribers: @martinium, @nBurn
Brecht Van Lommel was unassigned by Dalai Felinto 2019-12-23 16:33:40 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

Added subscriber: @erde232

Added subscriber: @erde232

Added subscriber: @abgrac

Added subscriber: @abgrac

Added subscriber: @hzuika

Added subscriber: @hzuika

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Yuki Hashimoto self-assigned this 2021-07-03 18:00:52 +02:00

This bug is the same as #74182, and has been resolved by 9e45468835

This bug is the same as #74182, and has been resolved by 9e45468835
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
8 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#67258
No description provided.