Page MenuHome

2.77 and 2.69 both on Windows and Linux crashes when trying to play (unbaked,first try,play) rigid body physics
Closed, ArchivedPublic

Description

System Information
Windows,Linux
Geforce 630M (cant be the cause)

Blender Version
2.69, 2.77

Short description of error
I tried to make kapla(planks) simulation i created a lot of planks aprox 999. And i tried to simulate by pressing Alt-A. it freezes and crashes both on Windows and Linux with different versions. When baking rigid body cache its the same...It must not have such behavior
Prior to that I used array modifiers and separate by loose parts

blend file:


Exact steps for others to reproduce the error
Open .blend file, Alt-A or bake rigid body cache

Event Timeline

mushketer888 (mushketer888) raised the priority of this task from to 90.
mushketer888 (mushketer888) updated the task description. (Show Details)
mushketer888 (mushketer888) edited a custom field.

Blender 2.69 was released more than 2 years ago, are you sure that is in fact the version you tested? Can you test Blender 2.76, so we can see if it's a regression going from 2.76 to 2.77?

Today a bug was fixed that was causing crashes when baking in Blender 2.77 (T47971). Tomorrows builds from April 2 or newer on https://builder.blender.org/download/ will have that fix.

But if it also crashes with Alt+A then this fix will not help. If you start Blender from the command line on Linux and it crashes when pressing Alt+A, a backtrace will be printed, can you copy that here?

I couldn't reproduce a crash pressing Alt+A or baking, though the initial simulation frames are quite slow. When you say it freezes, does that mean Blender doesn't respond at all, even after you let it compute for e.g. 10 minutes? Or is it just slow and responds fine after you've let it compute for a while?

Brecht Van Lommel (brecht) lowered the priority of this task from 90 to 30.Apr 3 2016, 12:26 AM

Yes whole UI freezes and then it crashes and exit. It start to do process "Compositing" and then crashes

Linux Blender 2.69
Color management: using fallback mode for management
connect failed: No such file or directory
read blend: /media/user/6AC088A35897B105/blender/kapla1.blend
Error: File written by newer Blender binary (270.5), expect loss of data!

Writing: /tmp/kapla1.crash.txt
Segmentation fault

Output of crash.txt

Blender 2.69 (sub 0), Revision: unknown

File written by newer Blender binary (270.5), expect loss of data! # Error
bpy.context.area.type = 'NODE_EDITOR' # Property

backtrace

blender() [0x8d026d]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f35ab2d0d40]
blender(_ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo+0x908) [0x1305688]
blender(_ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc+0x12dd) [0x130735d]
blender(_ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAllocP12btDispatcher+0x69) [0x13008b9]
blender(_ZN27InplaceSolverIslandCallback18processConstraintsEv+0x6b) [0x1312deb]
blender(_ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE+0x33a) [0x1376d5a]
blender(_ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo+0x26e) [0x131254e]
blender(_ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf+0xa6) [0x130f986]
blender(_ZN23btDiscreteDynamicsWorld14stepSimulationEfif+0x142) [0x130fb42]
blender(BKE_rigidbody_do_simulation+0x17d) [0xf5047d]
blender(BKE_scene_update_for_newframe+0xf2) [0xf53f72]
blender(ED_update_for_newframe+0xa3) [0xb4e073]
blender() [0xb4f333]
blender() [0x8d7814]
blender() [0x8d88bb]
blender() [0x8d8be0]
blender() [0x8d9438]
blender(wm_event_do_handlers+0x70b) [0x8d9c9b]
blender(WM_main+0x18) [0x8d2298]
blender(main+0xc19) [0x8bb029]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f35ab2bbec5]
blender() [0x8cfc84]

Linux Blender 2.77
connect failed: No such file or directory
found bundled python: /home/user/Desktop/blender-2.77-linux-glibc211-x86_64/2.77/python
read blend: /media/user/6AC088A35897B105/blender/kapla1.blend
Writing: /tmp/kapla1.crash.txt
Segmentation fault

Output of kapla1.crash.txt 2.77
kapla1.crash.txt

Blender 2.77 (sub 0), Commit date: 2016-03-18 12:34, Hash 22a2853

bpy.context.area.type = 'VIEW_3D' # Property

backtrace

./blender(BLI_system_backtrace+0x1d) [0x1aaa7ad]
./blender() [0x114146e]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f6ea09acd40]
./blender(_ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo+0xa60) [0x1dc73a0]
./blender(_ZN35btSequentialImpulseConstraintSolver15convertContactsEPP20btPersistentManifoldiRK19btContactSolverInfo+0x32) [0x1dc7ef2]
./blender(_ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDraw+0x1102) [0x1dc4e62]
./blender(_ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btDispatcher+0x73) [0x1dbf4b3]
./blender(_ZN27InplaceSolverIslandCallback18processConstraintsEv+0x5f) [0x1dd3e6f]
./blender(_ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE+0xad7) [0x1e350a7]
./blender(_ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo+0x15b) [0x1dd359b]
./blender(_ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf+0xa6) [0x1dd2516]
./blender(_ZN23btDiscreteDynamicsWorld14stepSimulationEfif+0x162) [0x1dd26f2]
./blender(BKE_rigidbody_do_simulation+0x1ac) [0x185f79c]
./blender(BKE_scene_update_for_newframe_ex+0x26f) [0x18646af]
./blender(ED_update_for_newframe+0xaa) [0x140be9a]
./blender() [0x140d30a]
./blender() [0x1149895]
./blender() [0x114ad4a]
./blender() [0x114b0d9]
./blender() [0x114b5a6]
./blender(wm_event_do_handlers+0x6ff) [0x114bdff]
./blender(WM_main+0x18) [0x1142d48]
./blender(main+0xefa) [0x10ea92a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f6ea0997ec5]
./blender() [0x113ff19]

Linux Blender 2.76b
connect failed: No such file or directory
found bundled python: /home/user/Desktop/blender-2.76b-linux-glibc211-x86_64/2.76/python
read blend: /media/user/6AC088A35897B105/blender/kapla1.blend
Writing: /tmp/kapla1.crash.txt
Segmentation fault

  • kapla1.crash.txt 2.76b **

/kapla1.crash.txt

Blender 2.76 (sub 0), Commit date: 2015-11-03 10:56, Hash f337fea

bpy.context.area.type = 'VIEW_3D' # Property

backtrace

./blender(BLI_system_backtrace+0x1d) [0x1a3e71d]
./blender() [0x1056944]
./blender() [0x1056b21]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f85cac43d40]
./blender(_ZN35btSequentialImpulseConstraintSolver14convertContactEP20btPersistentManifoldRK19btContactSolverInfo+0xa60) [0x25aab20]
./blender(_ZN35btSequentialImpulseConstraintSolver15convertContactsEPP20btPersistentManifoldiRK19btContactSolverInfo+0x32) [0x25ab672]
./blender(_ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDraw+0xf82) [0x25a8602]
./blender(_ZN35btSequentialImpulseConstraintSolver10solveGroupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btDispatcher+0x73) [0x25a2e13]
./blender(_ZN27InplaceSolverIslandCallback18processConstraintsEv+0x5f) [0x25b7c2f]
./blender(_ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE+0xad7) [0x2601aa7]
./blender(_ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo+0x15b) [0x25b735b]
./blender(_ZN23btDiscreteDynamicsWorld28internalSingleStepSimulationEf+0xa6) [0x25b4816]
./blender(_ZN23btDiscreteDynamicsWorld14stepSimulationEfif+0x162) [0x25b49f2]
./blender(BKE_rigidbody_do_simulation+0x1ac) [0x175a94c]
./blender(BKE_scene_update_for_newframe_ex+0x255) [0x1644d15]
./blender(ED_update_for_newframe+0xaa) [0x136d01a]
./blender() [0x1376a9a]
./blender() [0x10766e5]
./blender() [0x1077b1a]
./blender() [0x1077e89]
./blender() [0x1078356]
./blender(wm_event_do_handlers+0x6ff) [0x1078baf]
./blender(WM_main+0x18) [0x105f128]
./blender(main+0x556) [0x10596c6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f85cac2eec5]
./blender() [0xf5b471]

Brecht Van Lommel (brecht) raised the priority of this task from 30 to Normal.Apr 3 2016, 12:59 AM

Thanks, so we know it's a bug that has been there for a long time, unrelated to the recent changes to baking in 2.77.

The log of both versions has the below message.

connect failed: No such file or directory

May any environmental problem be included?

Sergey Sharybin (sergey) triaged this task as 30 priority.Jul 29 2016, 2:02 PM

@perfection cat (sindra1961), this is a message from space navigation device. In the latest builds it is suppressed.

@mushketer888 (mushketer888), tried really hard reproduce the issue here, but failing so far. Mind checking it you can reproduce it with latest builds from builder.blender.org? If so, please run blender --debug-depsgraph-no-threads to see if it's a threading issue in the depsgraph.

@Bastien Montagne (mont29), you are known to be lucky on getting ASAN reports and such related on threading issues i can't reproduce ;) Do you mind checking this file and see if can reproduce the crash?

Think crash could come from going out of memory maybe? Cannot reproduce crash here, but with given file simulation eats over 4Gb of ram (not sure how much exactly, did not let it go too far). With half the objects deleted, it’s still around 2GB.

Bastien Montagne (mont29) changed the task status from Unknown Status to Archived.Aug 11 2016, 12:39 PM
Bastien Montagne (mont29) claimed this task.

More than a week without reply. Due to the policy of the tracker archiving for until more details are provided.

I have a similar problem with Blender 2.69 and ALL subsequent versions up to 2.79.
Blender crashes with segment fault.
usually select an object from the 3D view will cause it. The same object selected from the outliner does not cause the problem.

don't know if this helps but this is the crash report:-

Blender 2.69 (sub 0), Revision: 60991

bpy.ops.marker.select() # Operator
bpy.ops.marker.move(frames=4) # Operator
bpy.ops.marker.select() # Operator
bpy.ops.marker.select() # Operator

backtrace

/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xf84687]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xf848c5]
/lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7f6c10d69cb0]
/lib/x86_64-linux-gnu/libc.so.6(+0x1552c1) [0x7f6c10e882c1]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(add_memfilechunk+0x159) [0x1605e79]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0x161b3ab]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0x161b523]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0x161d894]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0x1620257]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(BLO_write_file_mem+0x1f) [0x1621b0f]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(BKE_write_undo+0x15c) [0x15c344c]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(ED_undo_push+0x18b) [0x17a6d5b]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xf9e74b]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xf9ecce]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xf9fd2b]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xf9fff9]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xfa0766]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(wm_event_do_handlers+0x31b) [0xfa0bdb]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(WM_main+0x18) [0xf8bbb8]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender(main+0x36d) [0xf86c79]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f6c10d54f45]
/home/ray/work/blender/blender-2.69-linux-glibc211-x86_64/blender() [0xec38d5]