Problem with relations of particle physics 'keyed' #67360

Closed
opened 2019-07-21 03:18:35 +02:00 by Erik Fernandes · 12 comments

System Information
Operating system: Windows 10
Graphics card: GeForce GT 1030

Blender Version
Broken: 2.80, (sub 74), master, 2019-07-18

Short description of error
Blender closes when a particle settings with 'keyed' physics has two empty relationships and tries to set the target of one of them with the tweezers

Exact steps for others to reproduce the error
The error happens when an object of the type 'mesh', which has a 'particle settings' with physics of type 'keyed'. In the list of relations, in the physical submenu, when creating two empty relations and in any one of them, trying to assign the 'target object' using the dropper, Blender closes.

**System Information** Operating system: Windows 10 Graphics card: GeForce GT 1030 **Blender Version** Broken: 2.80, (sub 74), master, 2019-07-18 **Short description of error** Blender closes when a particle settings with 'keyed' physics has two empty relationships and tries to set the target of one of them with the tweezers **Exact steps for others to reproduce the error** The error happens when an object of the type 'mesh', which has a 'particle settings' with physics of type 'keyed'. In the list of relations, in the physical submenu, when creating two empty relations and in any one of them, trying to assign the 'target object' using the dropper, Blender closes.
Author

Added subscriber: @ErikFernandes

Added subscriber: @ErikFernandes

Added subscriber: @zeauro

Added subscriber: @zeauro

I can reproduce with RC2.PS_Key_target_crash.blend
But I have no crash with master hash e2b0647272

I can reproduce with RC2.[PS_Key_target_crash.blend](https://archive.blender.org/developer/F7621565/PS_Key_target_crash.blend) But I have no crash with master hash e2b0647272c7
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Clément Foucault was assigned by Jacques Lucke 2019-08-07 14:16:44 +02:00
Member

I can reproduce a crash in this file:

libc.so.6!__GI_raise(int sig) (/build/glibc-OTsEL5/glibc-2.27/sysdeps/unix/sysv/linux/raise.c:51)
libc.so.6!__GI_abort() (/build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:79)
libc.so.6!__assert_fail_base(const char * fmt, const char * assertion, const char * file, unsigned int line, const char * function) (/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:92)
libc.so.6!__GI___assert_fail(const char * assertion, const char * file, unsigned int line, const char * function) (/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:101)
GPU_batch_init_ex(GPUBatch * batch, GPUPrimType prim_type, GPUVertBuf * verts, GPUIndexBuf * elem, uint owns_flag) (/home/jacques/blender-git/blender/source/blender/gpu/intern/gpu_batch.c:97)
GPU_batch_create_ex(GPUPrimType prim_type, GPUVertBuf * verts, GPUIndexBuf * elem, uint owns_flag) (/home/jacques/blender-git/blender/source/blender/gpu/intern/gpu_batch.c:89)
DRW_particles_batch_cache_get_dots(Object * object, ParticleSystem * psys) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_cache_impl_particles.c:1482)
DRW_cache_particles_get_dots(Object * object, ParticleSystem * psys) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_cache.c:3744)
OBJECT_cache_populate_particles(OBJECT_Shaders * sh_data, Object * ob, OBJECT_PassList * psl) (/home/jacques/blender-git/blender/source/blender/draw/modes/object_mode.c:3290)
OBJECT_cache_populate(void * vedata, Object * ob) (/home/jacques/blender-git/blender/source/blender/draw/modes/object_mode.c:3438)
drw_engines_cache_populate(Object * ob) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:1125)
DRW_draw_select_loop(struct Depsgraph * depsgraph, ARegion * ar, View3D * v3d, _Bool UNUSED_use_obedit_skip, _Bool draw_surface, _Bool UNUSED_use_nearest, const rcti * rect, DRW_SelectPassFn select_pass_fn, void * select_pass_user_data, DRW_ObjectFilterFn object_filter_fn, void * object_filter_user_data) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:2319)
view3d_opengl_select(ViewContext * vc, uint * buffer, uint bufsize, const rcti * input, eV3DSelectMode select_mode, eV3DSelectObjectFilter select_filter) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_view.c:1146)
mixed_bones_object_selectbuffer(ViewContext * vc, uint * buffer, const int * mval, eV3DSelectObjectFilter select_filter, _Bool do_nearest) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:1660)
ED_view3d_give_base_under_cursor(bContext * C, const int * mval) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:1882)
datadropper_id_sample_pt(bContext * C, DataDropper * ddr, int mx, int my, ID ** r_id) (/home/jacques/blender-git/blender/source/blender/editors/interface/interface_eyedropper_datablock.c:170)
datadropper_modal(bContext * C, wmOperator * op, const wmEvent * event) (/home/jacques/blender-git/blender/source/blender/editors/interface/interface_eyedropper_datablock.c:263)
wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2186)
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2897)
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2945)
wm_event_do_handlers(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:3323)
WM_main(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm.c:417)
main(int argc, const char ** argv) (/home/jacques/blender-git/blender/source/creator/creator.c:491)
I can reproduce a crash in this file: ``` libc.so.6!__GI_raise(int sig) (/build/glibc-OTsEL5/glibc-2.27/sysdeps/unix/sysv/linux/raise.c:51) libc.so.6!__GI_abort() (/build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:79) libc.so.6!__assert_fail_base(const char * fmt, const char * assertion, const char * file, unsigned int line, const char * function) (/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:92) libc.so.6!__GI___assert_fail(const char * assertion, const char * file, unsigned int line, const char * function) (/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:101) GPU_batch_init_ex(GPUBatch * batch, GPUPrimType prim_type, GPUVertBuf * verts, GPUIndexBuf * elem, uint owns_flag) (/home/jacques/blender-git/blender/source/blender/gpu/intern/gpu_batch.c:97) GPU_batch_create_ex(GPUPrimType prim_type, GPUVertBuf * verts, GPUIndexBuf * elem, uint owns_flag) (/home/jacques/blender-git/blender/source/blender/gpu/intern/gpu_batch.c:89) DRW_particles_batch_cache_get_dots(Object * object, ParticleSystem * psys) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_cache_impl_particles.c:1482) DRW_cache_particles_get_dots(Object * object, ParticleSystem * psys) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_cache.c:3744) OBJECT_cache_populate_particles(OBJECT_Shaders * sh_data, Object * ob, OBJECT_PassList * psl) (/home/jacques/blender-git/blender/source/blender/draw/modes/object_mode.c:3290) OBJECT_cache_populate(void * vedata, Object * ob) (/home/jacques/blender-git/blender/source/blender/draw/modes/object_mode.c:3438) drw_engines_cache_populate(Object * ob) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:1125) DRW_draw_select_loop(struct Depsgraph * depsgraph, ARegion * ar, View3D * v3d, _Bool UNUSED_use_obedit_skip, _Bool draw_surface, _Bool UNUSED_use_nearest, const rcti * rect, DRW_SelectPassFn select_pass_fn, void * select_pass_user_data, DRW_ObjectFilterFn object_filter_fn, void * object_filter_user_data) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:2319) view3d_opengl_select(ViewContext * vc, uint * buffer, uint bufsize, const rcti * input, eV3DSelectMode select_mode, eV3DSelectObjectFilter select_filter) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_view.c:1146) mixed_bones_object_selectbuffer(ViewContext * vc, uint * buffer, const int * mval, eV3DSelectObjectFilter select_filter, _Bool do_nearest) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:1660) ED_view3d_give_base_under_cursor(bContext * C, const int * mval) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_select.c:1882) datadropper_id_sample_pt(bContext * C, DataDropper * ddr, int mx, int my, ID ** r_id) (/home/jacques/blender-git/blender/source/blender/editors/interface/interface_eyedropper_datablock.c:170) datadropper_modal(bContext * C, wmOperator * op, const wmEvent * event) (/home/jacques/blender-git/blender/source/blender/editors/interface/interface_eyedropper_datablock.c:263) wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2186) wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2897) wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:2945) wm_event_do_handlers(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_event_system.c:3323) WM_main(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm.c:417) main(int argc, const char ** argv) (/home/jacques/blender-git/blender/source/creator/creator.c:491) ```

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I cannot reproduce this with either the Blender 2.80 or current development versions of Blender:

Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

Am I doing something wrong?

  • I open the .blend file attached in the comment;
  • In the ParticleSettings->Physics->Relations I choose any of the target slots;
  • Press the dropper icon and choose any object in the scene.
I cannot reproduce this with either the Blender 2.80 or current development versions of Blender: **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2 Am I doing something wrong? - I open the .blend file attached in the comment; - In the `ParticleSettings->Physics->Relations` I choose any of the target slots; - Press the dropper icon and choose any object in the scene.

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I also can't replicate it anymore. @ErikFernandes @zeauro do you still have the bug?

I also can't replicate it anymore. @ErikFernandes @zeauro do you still have the bug?

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.
Thanks again for the report. If the problem persists please open a new report with the required information.

For the records: @JacquesLucke if you could reproduce but can no longer, feel free to close it and tell the user that they can ask us to re-open it if the problem persists.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information. For the records: @JacquesLucke if you could reproduce but can no longer, feel free to close it and tell the user that they can ask us to re-open it if the problem persists.
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
6 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#67360
No description provided.