[Bug 1126163] New: blender crash with particle systems
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163 Bug ID: 1126163 Summary: blender crash with particle systems Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications Assignee: bnc-team-screening@forge.provo.novell.com Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 797360 --> http://bugzilla.opensuse.org/attachment.cgi?id=797360&action=edit Annotated partial screenshot showing the settings that were changed I can reproduce a crash in Blender when using particle systems. The file being used is a sample from a book on Blender. (I'll have to check with the author whether it's OK to present the file here) the Blender RPM is blender-2.79b-lp150.284.1.x86_64, and here is the backtrace: blender(+0x129b90e) [0x56375de5390e] blender(particle_system_update+0x359) [0x56375de54679] blender(+0x104b5d3) [0x56375dc035d3] blender(+0x117d640) [0x56375dd35640] blender(+0x117e7f0) [0x56375dd367f0] blender(makeDerivedMesh+0x90) [0x56375dd36910] blender(BKE_object_handle_data_update+0xf5) [0x56375de2e395] blender(BKE_object_handle_update_ex+0x1cc) [0x56375de2894c] blender(+0x12b2b08) [0x56375de6ab08] blender(BLI_task_pool_work_and_wait+0x109) [0x56375e090f79] blender(+0x12b3a02) [0x56375de6ba02] blender(BKE_scene_update_for_newframe_ex+0x2ff) [0x56375de6df2f] blender(ED_update_for_newframe+0xa6) [0x56375d9acbf6] blender(+0xdf63ec) [0x56375d9ae3ec] blender(+0xafef22) [0x56375d6b6f22] blender(+0xb00361) [0x56375d6b8361] blender(+0xb00a6c) [0x56375d6b8a6c] blender(+0xb00de8) [0x56375d6b8de8] blender(wm_event_do_handlers+0x6e7) [0x56375d6b9607] blender(WM_main+0x18) [0x56375d6b0118] blender(main+0x394) [0x56375d692454] /lib64/libc.so.6(__libc_start_main+0xea) [0x7f9036959f4a] blender(_start+0x2a) [0x56375d6ac14a] The crash occurs when I switch between particle systems (see attached screenshot: The red numbers indicate the order of switching. When I switch from 1 to 2, Blender crashes) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c1
--- Comment #1 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c2
--- Comment #2 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c5
Ulrich Windl
blender-2.79b+git20190221 which is the newest snapshot of the 2.79 branch I can find will eventually be built in: https://download.opensuse.org/repositories/home:/plater:/blender/Leap_15.0
I had a dependency problem on "blender-lang", anbd a new libboost_serialization is required. Anyway the new build crashes the same way: # Blender 2.79 (sub 7), Unknown revision # backtrace blender(BLI_system_backtrace+0x33) [0x55658bbc6723] blender(+0xb38216) [0x55658b1c1216] /lib64/libc.so.6(+0x36160) [0x7f77219be160] blender(+0x12f157c) [0x55658b97a57c] blender(particle_system_update+0x431) [0x55658b97b4c1] blender(+0x109640e) [0x55658b71f40e] blender(+0x11cd9b0) [0x55658b8569b0] blender(+0x11ceb60) [0x55658b857b60] blender(makeDerivedMesh+0x90) [0x55658b857c80] blender(BKE_object_handle_data_update+0xf5) [0x55658b9547c5] blender(BKE_object_handle_update_ex+0x127) [0x55658b94ebd7] blender(+0x130919b) [0x55658b99219b] blender(+0x153da7f) [0x55658bbc6a7f] /lib64/libpthread.so.0(+0x7559) [0x7f7721f4d559] /lib64/libc.so.6(clone+0x3f) [0x7f7721a8081f] -- You are receiving this mail because: You are on the CC list for the bug.
I had a dependency problem on "blender-lang", anbd a new libboost_serialization is required. Anyway the new build crashes the same way: The snapshot has no translations so blender-lang will be uninstalled. Next you need to try: https://builder.blender.org/download/blender-2.79-7ad367d0231d-linux-glibc22...,
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c6
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c7
--- Comment #7 from Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c8
Ulrich Windl
I followed the instructions in the blender bug and I still can't get a crash.
Did you play the animation (Alt+A) for a few seconds before changing the settings? I apologize for haing written a better reproduction only in "Exact steps for others to reproduce the error" at https://developer.blender.org/T61772 (In reply to Dave Plater from comment #6)
Next you need to try: https://builder.blender.org/download/blender-2.79-7ad367d0231d-linux- glibc224-x86_64.tar.bz2, the file name changes every day, which you untar in your home ~/ cd into it and run as ./blender
It's quite a challenge to find out the daily file name if it changes every day ;-)
I've set blender to build for debugging, if you update blender and install blender-debugsource and blender-debuginfo then run blender from console then with gdb we can get the maximum available information. Before installing the debug blender run "blender 11_Physic_Systems.blend" in a console and reproduce the crash then post the console output.
Interestingly this build needed more than one switch of settings, but repeating to swap between settings still triggered the error:
./blender Read prefs: /home/windl/.config/blender/2.79/config/userpref.blend found bundled python: /home/windl/Projects/Blender/blender-2.79-7ad367d0231d-linux-glibc224-x86_64/2.79/python Read blend: /tmp/11_Physic_Systems.blend.gz Writing: /tmp/11_Physic_Systems.blend.crash.txt Speicherzugriffsfehler (Speicherabzug geschrieben)
Unfortunately that core dump is larger than 1.2 GB (it would take extremely
long to upload at my DSL speed)! So here's the gdb analysis:
Core was generated by `./blender'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000199a636 in system_step ()
[Current thread is 1 (Thread 0x7f2163505fc0 (LWP 5026))]
(gdb) bt
#0 0x000000000199a636 in system_step ()
#1 0x000000000199b2c0 in particle_system_update ()
#2 0x00000000016d78ee in deformVerts ()
#3 0x000000000187d3f0 in mesh_calc_modifiers ()
#4 0x000000000187e59c in mesh_build_data ()
#5 0x000000000187e6a0 in makeDerivedMesh ()
#6 0x0000000001975870 in BKE_object_handle_data_update ()
#7 0x000000000196fc8c in BKE_object_handle_update_ex ()
#8 0x00000000019b255a in scene_update_object_func ()
#9 0x0000000001bc1b71 in BLI_task_pool_work_and_wait ()
#10 0x00000000019b395c in scene_update_tagged_recursive ()
#11 0x00000000019b5d0e in BKE_scene_update_for_newframe_ex ()
#12 0x000000000148921f in ED_update_for_newframe ()
#13 0x000000000148ad47 in screen_animation_step ()
#14 0x000000000119e04d in wm_operator_invoke ()
#15 0x000000000119f515 in wm_handler_operator_call ()
#16 0x000000000119f94b in wm_handlers_do_intern ()
#17 0x000000000119ff1c in wm_handlers_do ()
#18 0x00000000011a0a67 in wm_event_do_handlers ()
#19 0x0000000001199420 in WM_main ()
#20 0x00000000010fb846 in main ()
Assembly context is:
0x000000000199a628 <+4168>: lea (%rax,%rdx,8),%rax
0x000000000199a62c <+4172>: movss 0x38(%rax),%xmm2
0x000000000199a631 <+4177>: movss 0x3c(%rax),%xmm1
=> 0x000000000199a636 <+4182>: subss 0x38(%r13),%xmm2
0x000000000199a63c <+4188>: subss 0x3c(%r13),%xmm1
0x000000000199a642 <+4194>: movss 0x40(%rax),%xmm0
0x000000000199a647 <+4199>: subss 0x40(%r13),%xmm0
(gdb) info registers r13 xmm2
r13 0x7f22a108e008 139786707329032
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0xe2, 0x1e, 0x2b, 0xbf, 0x0
This blender builds against Leap:15.0:Update is your system up to date?
Yes! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c9
--- Comment #9 from Ulrich Windl
cat /tmp/11_Physic_Systems.blend.crash.txt # Blender 2.79 (sub 7), Commit date: 2019-02-23 03:49, Hash 7ad367d0231d
# backtrace ./blender(BLI_system_backtrace+0x1d) [0x1bc0d9d] ./blender() [0x1198ae9] /lib64/libc.so.6(+0x36160) [0x7f21616f7160] ./blender() [0x199a636] ./blender(particle_system_update+0x430) [0x199b2c0] ./blender() [0x16d78ee] ./blender() [0x187d3f0] ./blender() [0x187e59c] ./blender(makeDerivedMesh+0x70) [0x187e6a0] ./blender(BKE_object_handle_data_update+0x4e0) [0x1975870] ./blender(BKE_object_handle_update_ex+0xbc) [0x196fc8c] ./blender() [0x19b255a] ./blender(BLI_task_pool_work_and_wait+0x101) [0x1bc1b71] ./blender() [0x19b395c] ./blender(BKE_scene_update_for_newframe_ex+0x2ce) [0x19b5d0e] ./blender(ED_update_for_newframe+0xaf) [0x148921f] ./blender() [0x148ad47] ./blender() [0x119e04d] ./blender() [0x119f515] ./blender() [0x119f94b] ./blender() [0x119ff1c] ./blender(wm_event_do_handlers+0x6f7) [0x11a0a67] ./blender(WM_main+0x20) [0x1199420] ./blender(main+0x406) [0x10fb846] /lib64/libc.so.6(__libc_start_main+0xea) [0x7f21616e1f4a] ./blender(_start+0x2a) [0x119532a] -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c10
--- Comment #10 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c11
--- Comment #11 from Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c12
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163
http://bugzilla.opensuse.org/show_bug.cgi?id=1126163#c13
Ulrich Windl
Have you informed the author of your book of this bug?
Meanwhile: Yes! ;-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com