BGE LibLoad-LibFree, SIGSEV #43224

Closed
opened 2015-01-12 12:45:11 +01:00 by Pierluigi Grassi · 3 comments

System Information
Xubuntu 64 14.04 - AMD HD5450 (sys info attached)

Blender Version
Broken: 2.73 (built with debug options from latest sources)

Short description of error
Alternating calls to bge.logic.LibLoad (synchronous) - bge.logic.LibFree generates a SIGSEGV. On my system, the signal is always generated at (GDB):

  • 0 0x0000000008f3c310 in ?? ()
  • 1 0x0000000002e9044e in operator== (rhs=..., lhs=...) at /home/pgi/blender-dev/blender/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h:200

2 0x0000000002e8f9aa in RAS_BucketManager::FindBucket (this=0x6d19980, material=0x8123280, bucketCreated=@0x7fffffffac9e: false)

  at /home/pgi/blender-dev/blender/source/gameengine/Rasterizer/RAS_BucketManager.cpp:262

3 0x0000000002e0659d in KX_Scene::FindBucket (this=0x8f841b0, polymat=0x8123280, bucketCreated=@0x7fffffffac9e: false) at /home/pgi/blender-dev/blender/source/gameengine/Ketsji/KX_Scene.cpp:1726

Exact steps for others to reproduce the error
unzip, open "mainfile.blend", press P, wait for SIGSEGV (can take some cycles, always happens).

I have included two stack traces from the debugger in the zip. There might be something fishy going on with materials mistakenly kept in the bucket after a LibFree but I haven't been able to find out what.

zip with blend files to reproduce
libloadbug.zip

system-info
system-info.txt

**System Information** Xubuntu 64 14.04 - AMD HD5450 (sys info attached) **Blender Version** Broken: 2.73 (built with debug options from latest sources) **Short description of error** Alternating calls to bge.logic.LibLoad (synchronous) - bge.logic.LibFree generates a SIGSEGV. On my system, the signal is always generated at (GDB): - 0 0x0000000008f3c310 in ?? () - 1 0x0000000002e9044e in operator== (rhs=..., lhs=...) at /home/pgi/blender-dev/blender/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h:200 # 2 0x0000000002e8f9aa in RAS_BucketManager::FindBucket (this=0x6d19980, material=0x8123280, bucketCreated=@0x7fffffffac9e: false) ``` at /home/pgi/blender-dev/blender/source/gameengine/Rasterizer/RAS_BucketManager.cpp:262 ``` # 3 0x0000000002e0659d in KX_Scene::FindBucket (this=0x8f841b0, polymat=0x8123280, bucketCreated=@0x7fffffffac9e: false) at /home/pgi/blender-dev/blender/source/gameengine/Ketsji/KX_Scene.cpp:1726 **Exact steps for others to reproduce the error** unzip, open "mainfile.blend", press P, wait for SIGSEGV (can take some cycles, always happens). I have included two stack traces from the debugger in the zip. There might be something fishy going on with materials mistakenly kept in the bucket after a LibFree but I haven't been able to find out what. zip with blend files to reproduce [libloadbug.zip](https://archive.blender.org/developer/F136773/libloadbug.zip) system-info [system-info.txt](https://archive.blender.org/developer/F136775/system-info.txt)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @pgi

Added subscriber: @pgi

Closed as duplicate of #40555

Closed as duplicate of #40555
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
2 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#43224
No description provided.