Blender crashes with no speakers pluggedin #28689
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#28689
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%I got my speakers broken so unplugged them from system.
From then Blender started crashing while opening.
To make it open again I had to plugin the headphones.
I'm able to repeat this by simply plugging and unplugging headphones:
headphones plugged in blender starts
headphones not plugged in blender crashes
Machine details:
OS: Windows 7 Ultimate, 64 Bit ( Service Pack 1 )
Video: NVIDIA GeForce GTX 480
Audio: Internal Realtek High Definition Audio ( Don't know exactly which chip is mounted ! )
Blender Version: 2.59.2 R40335M ( Scon build )
I builded the same revision with Visual Studio and CMake and launched debug to see where the error was,
but with this build the bug doesn't appear... only the Scons Build crashes without speakers or headphone plugged in
Here the Windows crash log:
Faulting application name: blender.exe, version: 2.5.9.0, time stamp: 0x4e7629ac
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000080009a20
Faulting process id: 0x1d24
Faulting application start time: 0x01cc766503b790b0
Faulting application path: X:\BlenderSVN\install\blender25-win64-vc\blender.exe
Faulting module path: unknown
Report Id: 437bc090-e258-11e0-b732-005056c00008%%%
Changed status to: 'Open'
%%%Did you test our official releases from http:*www.blender.org/download/get-blender/ ? Also, if you need fresh version of Blender, you'd better test builds from http:*builder.blender.org/download/ which uses almost the same settings as release builds. Such kind of problems can easily be caused by incorrect setup in build environment or compiler's issue.%%%
%%%Yes I did
downloaded official 64bit release ( 2.59.0 r39307 )
launched with headphones unplugged and any speakers plugged in too
Crashes as the build I made with Scons
Just as a guess I think is something related to Joerg Mueller's GSOC 3D Audio...
just because is the only major thing related to audio changed recently i think
I'm a coder ( it's my day job from a really long time actually ... artist just for passion )
I just prefer to build my fresh versions of blender :)
Thanks for the quick response %%%
%%%I did some research and some tests...
I was totally wrong: Joerg Mueller's GSOC 3D Audio does have nothing to do with the bug !
I apologize with Joerg !
I've found some forum on Ogre were someone was having similar problems:
http://www.ogre3d.org/addonforums/viewtopic.php?f=19&t=11781
But it does not seems to be the exact same case. The strange thing is that it happens only building with Scons, not with CMake
I also noticed that the actual Scons version in Blender doesn't really supports VS 2010.
And I have installed both vs 2008 and vs 2010... maybe this makes Scons engine confused... I'm just speculating
Since I can't make a degug build with scons ( there's some error which causes linker to not find vc09.pdb )
I debugged it with GDB and it crashes when initializing OpenAL audio:
Last call to blender code is the call to ALOpenDevice in wrap_oal.dll
I simply solved building with CMake and not with Scons
I hope this could help when someone get into this
Again
Thanks%%%
%%%Do scons and cmake have the same sound system backends enabled? In the user preferences, under system, it shows them. Maybe cmake somehow compiles without openal? Could you verify the builds from http://builder.blender.org, if those work we can be pretty such the next release will not have this issue.%%%
%%%yes, both Scons and CMake have the same sound system enabled ( SDL and ApenAL ), having as default OpenAL
I downloaded latest versions from http://builder.blender.org... blender-2.59-r40442-win(64 and 32) and... they work !
But win32 version as OpenAL ( and does not present at all the problem )
While Win64 does not have OpenAL.. so doesn't present the problem either
BUT... I just recompiled it with scons, finished compiling just now.. launched without speakers plugged in... and... it's working !!
Another bug gone!
I wonder what was causing the problem...
anyways I'm happy is gone..
building with CMake and vs is so annoying if you are not actually developing but just compiling !
And, just to be sure I have not make a stupid bug report ( which will be an embarrassing thing for a coder ! ),
I just double checked the official 2.59 release without speakers and it crashed... avoiding me the shame :)
Thanks
%%%
%%%So, I guess the bug dissapeared? :P I think this should be closed now.%%%
Changed status from 'Open' to: 'Archived'