BGE: segfault in btConvexShape::localGetSupportVertexWithoutMarginNonVirtual #42363

Closed
opened 2014-10-23 11:07:25 +02:00 by inactive account · 5 comments

System Information
Ubuntu Linux 14.04 and Windows 7, both 64-bit

Blender version on Linux:

Blender 2.72 (sub 1)
build date: 2014-10-23
build time: 10:58:03
build commit date: 2014-10-23
build commit time: 08:38
build hash: eaaeae4
build platform: Linux
build type: Release
build c flags: -Wall -Wcast-align -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wnonnull -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wuninitialized -Wredundant-decls -Wno-error=unused-but-set-variable -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing
build c++ flags: -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wuninitialized -Wundef -Wmissing-declarations -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing
build link flags: -Wl,--version-script=/home/sybren/blender-git/blender/source/creator/blender.map -pthread
build system: CMake

Blender Version
Broken: 2.72a on Windows 7, latest version from git (eaaeae4) on Ubuntu 14.04
Worked: (optional)

Short description of error
Blender crashes when trying to run the attached file bge_test.blend.
The console output reads:

% blender bge_test.blend
Read new prefs: /home/sybren/.config/blender/2.72/config/userpref.blend
found bundled python: /home/sybren/blender-git/build_linux/bin/2.72/python
read blend: /home/sybren/workspace/torso_crowd/bge_test.blend
Detected GL_ARB_texture_env_combine
Detected GL_ARB_texture_cube_map
Detected GL_ARB_multitexture
Detected GL_ARB_shader_objects
Detected GL_ARB_vertex_shader
Detected GL_ARB_fragment_shader
Detected GL_ARB_vertex_program
Detected GL_ARB_depth_texture
Detected GL_EXT_separate_specular_color
Character motion enabled on non-character object (Icosphere), falling back to simple motion.
Character motion enabled on non-character object (Icosphere), falling back to simple motion.
Character motion enabled on non-character object (Icosphere), falling back to simple motion.

Blender Game Engine Started
Writing: /tmp/bge_test.crash.txt
zsh: segmentation fault (core dumped) blender bge_test.blend

Exact steps for others to reproduce the error
Open the attached blender file, move mouse into 3D viewport, press P to start the game engine.

Stack trace

  • 0 0x0000000000000000 in ?? ()
  • 1 0x0000000001471e8c in btConvexShape::localGetSupportVertexWithoutMarginNonVirtual(btVector3 const&) const ()
  • 2 0x000000000148a587 in btGjkPairDetector::getClosestPointsNonVirtual(btDiscreteCollisionDetectorInterface::ClosestPointInput const&, btDiscreteCollisionDetectorInterface::Result&, btIDebugDraw*) ()
  • 3 0x0000000001486a66 in btContinuousConvexCollision::computeClosestPoints(btTransform const&, btTransform const&, btPointCollector&) ()
  • 4 0x0000000001487e6e in btContinuousConvexCollision::calcTimeOfImpact(btTransform const&, btTransform const&, btTransform const&, btTransform const&, btConvexCast::CastResult&) ()
  • 5 0x000000000148e3ae in btTriangleConvexcastCallback::processTriangle(btVector3*, int, int) ()
  • 6 0x000000000147983e in btScaledTriangleCallback::processTriangle(btVector3*, int, int) ()
  • 7 0x000000000146ba1e in btBvhTriangleMeshShape::processAllTriangles(btTriangleCallback*, btVector3 const&, btVector3 const&) const::MyNodeOverlapCallback::processNode(int, int) ()
  • 8 0x00000000015142f6 in btQuantizedBvh::walkStacklessQuantizedTree(btNodeOverlapCallback*, unsigned short*, unsigned short*, int, int) const ()
  • 9 0x0000000001514591 in btQuantizedBvh::reportAabbOverlappingNodex(btNodeOverlapCallback*, btVector3 const&, btVector3 const&) const ()
  • 10 0x000000000146bc89 in btBvhTriangleMeshShape::processAllTriangles(btTriangleCallback*, btVector3 const&, btVector3 const&) const ()
  • 11 0x00000000014792e9 in btScaledBvhTriangleMeshShape::processAllTriangles(btTriangleCallback*, btVector3 const&, btVector3 const&) const ()
  • 12 0x000000000145f7ef in btCollisionWorld::objectQuerySingleInternal(btConvexShape const*, btTransform const&, btTransform const&, btCollisionObjectWrapper const*, btCollisionWorld::ConvexResultCallback&, float) ()
  • 13 0x0000000001460538 in btCollisionWorld::objectQuerySingle(btConvexShape const*, btTransform const&, btTransform const&, btCollisionObject*, btCollisionShape const*, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) ()
  • 14 0x000000000146554c in btGhostObject::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) const ()
  • 15 0x00000000014c9656 in btKinematicCharacterController::stepDown(btCollisionWorld*, float) ()
  • 16 0x00000000014c9dfa in btKinematicCharacterController::playerStep(btCollisionWorld*, float) ()
  • 17 0x0000000001373034 in BlenderBulletCharacterController::updateAction(btCollisionWorld*, float) ()
  • 18 0x00000000014baa5a in btDiscreteDynamicsWorld::updateActions(float) ()
  • 19 0x00000000014bb496 in btDiscreteDynamicsWorld::internalSingleStepSimulation(float) ()
  • 20 0x00000000014f1428 in btSoftRigidDynamicsWorld::internalSingleStepSimulation(float) ()
  • 21 0x00000000014bb652 in btDiscreteDynamicsWorld::stepSimulation(float, int, float) ()
  • 22 0x0000000001361a0b in CcdPhysicsEnvironment::ProceedDeltaTime(double, float, float) ()
  • 23 0x00000000013bc8d2 in KX_KetsjiEngine::NextFrame() ()
  • 24 0x000000000133af97 in BL_KetsjiNextFrame(KX_KetsjiEngine*, bContext*, wmWindow*, Scene*, ARegion*, KX_BlenderKeyboardDevice*, KX_BlenderMouseDevice*, int) ()
  • 25 0x000000000133c145 in StartKetsjiShell ()
  • 26 0x0000000000a52b40 in game_engine_exec ()
  • 27 0x000000000098071a in wm_operator_invoke.part ()
  • 28 0x00000000009819ca in wm_handler_operator_call ()
  • 29 0x0000000000981da3 in wm_handlers_do_intern ()
  • 30 0x0000000000982218 in wm_handlers_do ()
  • 31 0x00000000009826f5 in wm_event_do_handlers ()
  • 32 0x000000000097a6a8 in WM_main ()
  • 33 0x00000000009604f7 in main ()
**System Information** Ubuntu Linux 14.04 and Windows 7, both 64-bit Blender version on Linux: Blender 2.72 (sub 1) build date: 2014-10-23 build time: 10:58:03 build commit date: 2014-10-23 build commit time: 08:38 build hash: eaaeae4 build platform: Linux build type: Release build c flags: -Wall -Wcast-align -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wnonnull -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wuninitialized -Wredundant-decls -Wno-error=unused-but-set-variable -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing build c++ flags: -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wuninitialized -Wundef -Wmissing-declarations -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing build link flags: -Wl,--version-script=/home/sybren/blender-git/blender/source/creator/blender.map -pthread build system: CMake **Blender Version** Broken: 2.72a on Windows 7, latest version from git (eaaeae4) on Ubuntu 14.04 Worked: (optional) **Short description of error** Blender crashes when trying to run the attached file [bge_test.blend](https://archive.blender.org/developer/F119363/bge_test.blend). The console output reads: % blender bge_test.blend Read new prefs: /home/sybren/.config/blender/2.72/config/userpref.blend found bundled python: /home/sybren/blender-git/build_linux/bin/2.72/python read blend: /home/sybren/workspace/torso_crowd/bge_test.blend Detected GL_ARB_texture_env_combine Detected GL_ARB_texture_cube_map Detected GL_ARB_multitexture Detected GL_ARB_shader_objects Detected GL_ARB_vertex_shader Detected GL_ARB_fragment_shader Detected GL_ARB_vertex_program Detected GL_ARB_depth_texture Detected GL_EXT_separate_specular_color Character motion enabled on non-character object (Icosphere), falling back to simple motion. Character motion enabled on non-character object (Icosphere), falling back to simple motion. Character motion enabled on non-character object (Icosphere), falling back to simple motion. Blender Game Engine Started Writing: /tmp/bge_test.crash.txt zsh: segmentation fault (core dumped) blender bge_test.blend **Exact steps for others to reproduce the error** Open the attached blender file, move mouse into 3D viewport, press P to start the game engine. **Stack trace** - 0 0x0000000000000000 in ?? () - 1 0x0000000001471e8c in btConvexShape::localGetSupportVertexWithoutMarginNonVirtual(btVector3 const&) const () - 2 0x000000000148a587 in btGjkPairDetector::getClosestPointsNonVirtual(btDiscreteCollisionDetectorInterface::ClosestPointInput const&, btDiscreteCollisionDetectorInterface::Result&, btIDebugDraw*) () - 3 0x0000000001486a66 in btContinuousConvexCollision::computeClosestPoints(btTransform const&, btTransform const&, btPointCollector&) () - 4 0x0000000001487e6e in btContinuousConvexCollision::calcTimeOfImpact(btTransform const&, btTransform const&, btTransform const&, btTransform const&, btConvexCast::CastResult&) () - 5 0x000000000148e3ae in btTriangleConvexcastCallback::processTriangle(btVector3*, int, int) () - 6 0x000000000147983e in btScaledTriangleCallback::processTriangle(btVector3*, int, int) () - 7 0x000000000146ba1e in btBvhTriangleMeshShape::processAllTriangles(btTriangleCallback*, btVector3 const&, btVector3 const&) const::MyNodeOverlapCallback::processNode(int, int) () - 8 0x00000000015142f6 in btQuantizedBvh::walkStacklessQuantizedTree(btNodeOverlapCallback*, unsigned short*, unsigned short*, int, int) const () - 9 0x0000000001514591 in btQuantizedBvh::reportAabbOverlappingNodex(btNodeOverlapCallback*, btVector3 const&, btVector3 const&) const () - 10 0x000000000146bc89 in btBvhTriangleMeshShape::processAllTriangles(btTriangleCallback*, btVector3 const&, btVector3 const&) const () - 11 0x00000000014792e9 in btScaledBvhTriangleMeshShape::processAllTriangles(btTriangleCallback*, btVector3 const&, btVector3 const&) const () - 12 0x000000000145f7ef in btCollisionWorld::objectQuerySingleInternal(btConvexShape const*, btTransform const&, btTransform const&, btCollisionObjectWrapper const*, btCollisionWorld::ConvexResultCallback&, float) () - 13 0x0000000001460538 in btCollisionWorld::objectQuerySingle(btConvexShape const*, btTransform const&, btTransform const&, btCollisionObject*, btCollisionShape const*, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) () - 14 0x000000000146554c in btGhostObject::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) const () - 15 0x00000000014c9656 in btKinematicCharacterController::stepDown(btCollisionWorld*, float) () - 16 0x00000000014c9dfa in btKinematicCharacterController::playerStep(btCollisionWorld*, float) () - 17 0x0000000001373034 in BlenderBulletCharacterController::updateAction(btCollisionWorld*, float) () - 18 0x00000000014baa5a in btDiscreteDynamicsWorld::updateActions(float) () - 19 0x00000000014bb496 in btDiscreteDynamicsWorld::internalSingleStepSimulation(float) () - 20 0x00000000014f1428 in btSoftRigidDynamicsWorld::internalSingleStepSimulation(float) () - 21 0x00000000014bb652 in btDiscreteDynamicsWorld::stepSimulation(float, int, float) () - 22 0x0000000001361a0b in CcdPhysicsEnvironment::ProceedDeltaTime(double, float, float) () - 23 0x00000000013bc8d2 in KX_KetsjiEngine::NextFrame() () - 24 0x000000000133af97 in BL_KetsjiNextFrame(KX_KetsjiEngine*, bContext*, wmWindow*, Scene*, ARegion*, KX_BlenderKeyboardDevice*, KX_BlenderMouseDevice*, int) () - 25 0x000000000133c145 in StartKetsjiShell () - 26 0x0000000000a52b40 in game_engine_exec () - 27 0x000000000098071a in wm_operator_invoke.part () - 28 0x00000000009819ca in wm_handler_operator_call () - 29 0x0000000000981da3 in wm_handlers_do_intern () - 30 0x0000000000982218 in wm_handlers_do () - 31 0x00000000009826f5 in wm_event_do_handlers () - 32 0x000000000097a6a8 in WM_main () - 33 0x00000000009604f7 in main ()

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @sybrenstuvel

Added subscriber: @sybrenstuvel
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

Hi,

Similar issue than bug #40684. Better merge with it.

Hi, Similar issue than bug #40684. Better merge with it.

Closed as duplicate of #40684

Closed as duplicate of #40684
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
3 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#42363
No description provided.