BGE standalone player crash when loading another file more than 32 times #49329

Closed
opened 2016-09-12 17:54:18 +02:00 by Hugo Barreira · 9 comments

System Information
Windows 10 64, Nvidia GT 425M

Blender Version
Broken: 2.77a abf6f08

Short description of error
Standalone player crashes after using the load file function more than 32 times in the same session.

Exact steps for others to reproduce the error

  • unzip the zip file
  • open 1 of the blend files
  • start the standalone player
  • press the 'W' key 33 times

Standalone player crashes consistently loading the 33rd time.

Notes:

  • tested using the logic brick actuator 'game' and a python script with 'bge.logic.startGame('//filename.blend')' having the same result
  • embedded player doesn't crash.

load 33 times crash.zip

**System Information** Windows 10 64, Nvidia GT 425M **Blender Version** Broken: 2.77a abf6f08 **Short description of error** Standalone player crashes after using the load file function more than 32 times in the same session. **Exact steps for others to reproduce the error** - unzip the zip file - open 1 of the blend files - start the standalone player - press the 'W' key 33 times Standalone player crashes consistently loading the 33rd time. Notes: - tested using the logic brick actuator 'game' and a python script with 'bge.logic.startGame('//filename.blend')' having the same result - embedded player doesn't crash. [load 33 times crash.zip](https://archive.blender.org/developer/F358684/load_33_times_crash.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @HugoBarreira

Added subscriber: @HugoBarreira
Author

Added subscriber: @panzergame

Added subscriber: @panzergame

Added subscribers: @Moguri, @hg1, @dfelinto

Added subscribers: @Moguri, @hg1, @dfelinto

This bug is related to a python segfault, the back trace is:

#0  0x00007ffff77aecc4 in type_dealloc (type=0x2798840 <euler_Type>)
    at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/typeobject.c:3027
- 1  0x00007ffff778eff7 in free_keys_object (keys=0x37380b0) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/dictobject.c:354
- 2  0x00007ffff778fa10 in dict_dealloc (mp=0x7fffdeaf7908) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/dictobject.c:1602
- 3  0x00007ffff779c817 in module_dealloc (m=0x7fffdea813b8) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/moduleobject.c:638
- 4  0x00007ffff77811ed in list_clear (a=a@entry=0x7fffdef99488) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/listobject.c:562
#5  0x00007ffff7784458 in list_ass_slice (a=0x7fffdef99488, ilow=<optimized out>, ilow@entry=0, ihigh=<optimized out>, v=v@entry=0x0)
    at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/listobject.c:632
#6  0x00007ffff7785552 in PyList_SetSlice (a=<optimized out>, ilow=ilow@entry=0, ihigh=<optimized out>, v=v@entry=0x0)
    at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/listobject.c:688
- 7  0x00007ffff78334d9 in _PyState_ClearModules () at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Python/pystate.c:370
- 8  0x00007ffff7827204 in PyImport_Cleanup () at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Python/import.c:426
- 9  0x00007ffff78318c4 in Py_Finalize () at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Python/pylifecycle.c:576
- 10 0x00000000013155d8 in exitGamePlayerPythonScripting () at /home/tristan/Compilation/UPBGE/blender/source/gameengine/Ketsji/KX_PythonInit.cpp:2144

Aparrently the euler_Type has an issue. I looked for specials operations made for mathutils types but i found nothing, maybe someone know better that than me.

This bug is related to a python segfault, the back trace is: ``` #0 0x00007ffff77aecc4 in type_dealloc (type=0x2798840 <euler_Type>) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/typeobject.c:3027 - 1 0x00007ffff778eff7 in free_keys_object (keys=0x37380b0) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/dictobject.c:354 - 2 0x00007ffff778fa10 in dict_dealloc (mp=0x7fffdeaf7908) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/dictobject.c:1602 - 3 0x00007ffff779c817 in module_dealloc (m=0x7fffdea813b8) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/moduleobject.c:638 - 4 0x00007ffff77811ed in list_clear (a=a@entry=0x7fffdef99488) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/listobject.c:562 #5 0x00007ffff7784458 in list_ass_slice (a=0x7fffdef99488, ilow=<optimized out>, ilow@entry=0, ihigh=<optimized out>, v=v@entry=0x0) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/listobject.c:632 #6 0x00007ffff7785552 in PyList_SetSlice (a=<optimized out>, ilow=ilow@entry=0, ihigh=<optimized out>, v=v@entry=0x0) at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Objects/listobject.c:688 - 7 0x00007ffff78334d9 in _PyState_ClearModules () at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Python/pystate.c:370 - 8 0x00007ffff7827204 in PyImport_Cleanup () at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Python/import.c:426 - 9 0x00007ffff78318c4 in Py_Finalize () at /var/tmp/portage/dev-lang/python-3.5.2/work/Python-3.5.2/Python/pylifecycle.c:576 - 10 0x00000000013155d8 in exitGamePlayerPythonScripting () at /home/tristan/Compilation/UPBGE/blender/source/gameengine/Ketsji/KX_PythonInit.cpp:2144 ``` Aparrently the euler_Type has an issue. I looked for specials operations made for mathutils types but i found nothing, maybe someone know better that than me.

Added subscriber: @Almisuifre

Added subscriber: @Almisuifre
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Aaron Carlisle self-assigned this 2019-06-29 02:18:33 +02:00
Member

This task is being closed because the BGE has been removed in Blender 2.8.

This task is being closed because the BGE has been removed in Blender 2.8.
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
5 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#49329
No description provided.