Page MenuHome

Audio scrubbing instant crash r40528 (SDL) win64
Closed, InvalidPublic

Description

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

Details

Type
Bug

Event Timeline

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.

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.

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. :/

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

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

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.

Joerg Mueller (nexyon) closed this task as Invalid.Oct 2 2011, 9:47 PM