Audio scrubbing instant crash r40528 (SDL) win64 #28745

Closed
opened 2011-09-25 19:13:40 +02:00 by Grigore Florin · 9 comments

%%%It happens with regression file main.blend

Windows 7 Ultimate 64 bit 6 gb ram ATI Radeon 5650 1gb Intel Core i7 1.7 ghz%%%

%%%It happens with regression file main.blend Windows 7 Ultimate 64 bit 6 gb ram ATI Radeon 5650 1gb Intel Core i7 1.7 ghz%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%Crash happens with both OpenAL and SDL with 64bit build. I noticed that very short scrubs and clicking in strip doesn't crash blender immediately, but will at some point.

For both OpenAL and SDL no crashes happen when caching is enabled for the strip.

I don't have a debug build (and currently no time for doing deeper investigation - perhaps Thomas Dinges can help here out), but the (incomplete) backtrace I see is:

libsndfile-1.dll!sf_wchar_open() + 0x5308f bytes

[Frames below may be incorrect and/or missing, no symbols loaded for libsndfile-1.dll]	
libsndfile-1.dll!sf_wchar_open()  + 0x54fbf bytes	
libsndfile-1.dll!sf_wchar_open()  + 0x44823 bytes	
libsndfile-1.dll!sf_open()  + 0x1a682 bytes	
libsndfile-1.dll!sf_open()  + 0x1a88d bytes	
libsndfile-1.dll!sf_seek()  + 0x152 bytes	
blender.exe!PyInit_aud()  + 0x1884e bytes	
blender.exe!PyInit_aud()  + 0x1a122 bytes	
blender.exe!PyInit_aud()  + 0xc0e4 bytes	
blender.exe!PyInit_aud()  + 0x1f6d3 bytes	
blender.exe!PyInit_aud()  + 0x15f42 bytes	
blender.exe!PyInit_aud()  + 0x1a122 bytes	
blender.exe!PyInit_aud()  + 0xc0e4 bytes	
blender.exe!PyInit_mathutils_geometry()  + 0x19d43d bytes	
blender.exe!00000001403cf061() 	
blender.exe!000000014027a5ea() 	
blender.exe!000000014027a746() 	
blender.exe!000000014000994a() 	
blender.exe!000000014000a18d() 	
blender.exe!000000014000a8af() 	
blender.exe!00000001400043e0() 	
blender.exe!0000000140001233() 	
blender.exe!PyInit_aud()  + 0x167423 bytes	
kernel32.dll!BaseThreadInitThunk()  + 0xd bytes	
ntdll.dll!RtlUserThreadStart()  + 0x21 bytes	

Possibly a problem with threading and reading from disk.

%%%

%%%Crash happens with both OpenAL and SDL with 64bit build. I noticed that very short scrubs and clicking in strip doesn't crash blender immediately, but will at some point. For both OpenAL and SDL no crashes happen when caching is enabled for the strip. I don't have a debug build (and currently no time for doing deeper investigation - perhaps Thomas Dinges can help here out), but the (incomplete) backtrace I see is: > libsndfile-1.dll!sf_wchar_open() + 0x5308f bytes [Frames below may be incorrect and/or missing, no symbols loaded for libsndfile-1.dll] libsndfile-1.dll!sf_wchar_open() + 0x54fbf bytes libsndfile-1.dll!sf_wchar_open() + 0x44823 bytes libsndfile-1.dll!sf_open() + 0x1a682 bytes libsndfile-1.dll!sf_open() + 0x1a88d bytes libsndfile-1.dll!sf_seek() + 0x152 bytes blender.exe!PyInit_aud() + 0x1884e bytes blender.exe!PyInit_aud() + 0x1a122 bytes blender.exe!PyInit_aud() + 0xc0e4 bytes blender.exe!PyInit_aud() + 0x1f6d3 bytes blender.exe!PyInit_aud() + 0x15f42 bytes blender.exe!PyInit_aud() + 0x1a122 bytes blender.exe!PyInit_aud() + 0xc0e4 bytes blender.exe!PyInit_mathutils_geometry() + 0x19d43d bytes blender.exe!00000001403cf061() blender.exe!000000014027a5ea() blender.exe!000000014027a746() blender.exe!000000014000994a() blender.exe!000000014000a18d() blender.exe!000000014000a8af() blender.exe!00000001400043e0() blender.exe!0000000140001233() blender.exe!PyInit_aud() + 0x167423 bytes kernel32.dll!BaseThreadInitThunk() + 0xd bytes ntdll.dll!RtlUserThreadStart() + 0x21 bytes Possibly a problem with threading and reading from disk. %%%
Member

%%%Can't do anything without a real backtrace. The above is impossible, no sndfile calls in PyInit_aud...%%%

%%%Can't do anything without a real backtrace. The above is impossible, no sndfile calls in PyInit_aud...%%%

%%%Tested on linux-64bits with OpenAL, scrubbing with many wav files, changing smaple rate, buffer, bit depth, wasn't able to crash it.%%%

%%%Tested on linux-64bits with OpenAL, scrubbing with many wav files, changing smaple rate, buffer, bit depth, wasn't able to crash it.%%%

%%%Confirmed the crash on windows x64 as well with OpenAL and SDL.
x32 builds are fine, can't make a debug build though, the exe does abort with an error while starting already. :/ %%%

%%%Confirmed the crash on windows x64 as well with OpenAL and SDL. x32 builds are fine, can't make a debug build though, the exe does abort with an error while starting already. :/ %%%
Member

%%%Assigning to Nathan, to at least get a usable back trace...%%%

%%%Assigning to Nathan, to at least get a usable back trace...%%%
Member

%%% libsndfile-1.dll!sf_wchar_open() + 0x5308f bytes
[Frames below may be incorrect and/or missing, no symbols loaded for libsndfile-1.dll]
libsndfile-1.dll!sf_wchar_open() + 0x54fbf bytes
libsndfile-1.dll!sf_wchar_open() + 0x44823 bytes
libsndfile-1.dll!sf_open() + 0x1a682 bytes
libsndfile-1.dll!sf_open() + 0x1a88d bytes
libsndfile-1.dll!sf_seek() + 0x152 bytes

blender.exe!AUD_SndFileReader::seek(int position=558599) Line 144 + 0x16 bytes C++

blender.exe!AUD_EffectReader::seek(int position=558599)  Line 51	C++
blender.exe!AUD_LinearResampleReader::seek(int position=558599)  Line 54	C++
blender.exe!AUD_EffectReader::seek(int position=558599)  Line 51	C++
blender.exe!AUD_SoftwareDevice::AUD_SoftwareHandle::seek(float position=12.666655)  Line 331	C++
blender.exe!AUD_SequencerHandle::seek(float position=12.708322)  Line 160	C++
blender.exe!AUD_SequencerReader::seek(int position=560437)  Line 58 + 0x67 bytes	C++
blender.exe!AUD_EffectReader::seek(int position=560437)  Line 51	C++
blender.exe!AUD_OpenALDevice::AUD_OpenALHandle::seek(float position=12.708333)  Line 234	C++
blender.exe!AUD_seek(AUD_Reference<AUD_IHandle> * handle=0x000000000acdcc00, float seekTo=12.708333)  Line 477 + 0x2d bytes	C++
blender.exe!sound_seek_scene(Main * bmain=0x000000000ac88ce8, Scene * scene=0x000000000ac90b78)  Line 602	C
blender.exe!change_frame_apply(bContext * C=0x00000000029f1b68, wmOperator * op=0x0000000002f48138)  Line 90	C
blender.exe!change_frame_modal(bContext * C=0x00000000029f1b68, wmOperator * op=0x0000000002f48138, wmEvent * event=0x000000000ab28258)  Line 146	C
blender.exe!wm_handler_operator_call(bContext * C=0x00000000029f1b68, ListBase * handlers=0x0000000002fc5078, wmEventHandler * handler=0x0000000002f2bf58, wmEvent * event=0x000000000ab28258, PointerRNA * properties=0x0000000000000000)  Line 1223 + 0x1d bytes	C
blender.exe!wm_handlers_do(bContext * C=0x00000000029f1b68, wmEvent * event=0x000000000ab28258, ListBase * handlers=0x0000000002fc5078)  Line 1572 + 0x2b bytes	C
blender.exe!wm_event_do_handlers(bContext * C=0x00000000029f1b68)  Line 1828 + 0x1e bytes	C
blender.exe!WM_main(bContext * C=0x00000000029f1b68)  Line 391	C
blender.exe!main()  + 0x233 bytes	C

%%%

%%% libsndfile-1.dll!sf_wchar_open() + 0x5308f bytes [Frames below may be incorrect and/or missing, no symbols loaded for libsndfile-1.dll] libsndfile-1.dll!sf_wchar_open() + 0x54fbf bytes libsndfile-1.dll!sf_wchar_open() + 0x44823 bytes libsndfile-1.dll!sf_open() + 0x1a682 bytes libsndfile-1.dll!sf_open() + 0x1a88d bytes libsndfile-1.dll!sf_seek() + 0x152 bytes > blender.exe!AUD_SndFileReader::seek(int position=558599) Line 144 + 0x16 bytes C++ blender.exe!AUD_EffectReader::seek(int position=558599) Line 51 C++ blender.exe!AUD_LinearResampleReader::seek(int position=558599) Line 54 C++ blender.exe!AUD_EffectReader::seek(int position=558599) Line 51 C++ blender.exe!AUD_SoftwareDevice::AUD_SoftwareHandle::seek(float position=12.666655) Line 331 C++ blender.exe!AUD_SequencerHandle::seek(float position=12.708322) Line 160 C++ blender.exe!AUD_SequencerReader::seek(int position=560437) Line 58 + 0x67 bytes C++ blender.exe!AUD_EffectReader::seek(int position=560437) Line 51 C++ blender.exe!AUD_OpenALDevice::AUD_OpenALHandle::seek(float position=12.708333) Line 234 C++ blender.exe!AUD_seek(AUD_Reference<AUD_IHandle> * handle=0x000000000acdcc00, float seekTo=12.708333) Line 477 + 0x2d bytes C++ blender.exe!sound_seek_scene(Main * bmain=0x000000000ac88ce8, Scene * scene=0x000000000ac90b78) Line 602 C blender.exe!change_frame_apply(bContext * C=0x00000000029f1b68, wmOperator * op=0x0000000002f48138) Line 90 C blender.exe!change_frame_modal(bContext * C=0x00000000029f1b68, wmOperator * op=0x0000000002f48138, wmEvent * event=0x000000000ab28258) Line 146 C blender.exe!wm_handler_operator_call(bContext * C=0x00000000029f1b68, ListBase * handlers=0x0000000002fc5078, wmEventHandler * handler=0x0000000002f2bf58, wmEvent * event=0x000000000ab28258, PointerRNA * properties=0x0000000000000000) Line 1223 + 0x1d bytes C blender.exe!wm_handlers_do(bContext * C=0x00000000029f1b68, wmEvent * event=0x000000000ab28258, ListBase * handlers=0x0000000002fc5078) Line 1572 + 0x2b bytes C blender.exe!wm_event_do_handlers(bContext * C=0x00000000029f1b68) Line 1828 + 0x1e bytes C blender.exe!WM_main(bContext * C=0x00000000029f1b68) Line 391 C blender.exe!main() + 0x233 bytes C %%%
Member

%%%As discussed in chat:

Problem arises with libsndfile and ffmpeg only on windows 64, without any appearance of a blender code caused reason, so unfortunately nothing we can do here.

Workaround: In case you need scrubbing, cache the sounds, works better then anyway.%%%

%%%As discussed in chat: Problem arises with libsndfile and ffmpeg only on windows 64, without any appearance of a blender code caused reason, so unfortunately nothing we can do here. Workaround: In case you need scrubbing, cache the sounds, works better then anyway.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#28745
No description provided.