Skip to main content

Topic: foo_wave_seekbar (Read 518691 times) previous topic - next topic

crazyoatmeal and 1 Guest are viewing this topic.
  • Dandruff
  • [*][*][*][*][*]
foo_wave_seekbar
Reply #975
0.2.16 crashes here when switching from Direct3D to Direct2D mode while playing this internet stream: http://72.233.84.175

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00EB19EDh
Access violation, operation: read, address: 00000000h

Call path:
entry=>app_mainloop

Code bytes (00EB19EDh):
00EB19ADh:  FC 00 C7 46 2C 03 00 00 00 E8 49 76 09 00 83 C4
00EB19BDh:  04 C7 85 C4 FE FF FF 32 00 00 00 89 5D FC B8 D1
00EB19CDh:  19 EB 00 C3 8B BD C4 FE FF FF 8B B5 BC FE FF FF
00EB19DDh:  8B CE E8 1C 08 00 00 8B 86 B8 00 00 00 8B 48 18
00EB19EDh:  8B 11 8B 42 18 6A FF FF D0 8B 86 B8 00 00 00 83
00EB19FDh:  78 18 00 74 64 89 BD C4 FE FF FF DB 85 C4 FE FF
00EB1A0Dh:  FF 6A 00 85 FF 79 06 DC 05 E0 77 FC 00 DC B5 98
00EB1A1Dh:  FE FF FF 8B 56 04 D9 BD BE FE FF FF 0F B7 85 BE

Stack (0012F8C0h):
0012F8A0h:  E145EAE8 00000001 00000000 00000150
0012F8B0h:  B223DC0C 00000001 00000006 B223DBCC
0012F8C0h:  3157539F 00000000 01084C48 00000000
0012F8D0h:  00000000 00000000 00000000 00000000
0012F8E0h:  00FB67E8 00000000 C47A0000 0012F8E0
0012F8F0h:  00000000 3FF00000 0108B160 00000001
0012F900h:  00FC6384 00000000 00000000 00000000
0012F910h:  00000037 01084C48 00000000 00000032
0012F920h:  0000011C 00000005 00000001 00000A28
0012F930h:  00000002 00650053 00760072 00630069
0012F940h:  00200065 00610050 006B0063 00330020
0012F950h:  00000000 00000000 00000000 00000000
0012F960h:  00000000 00000000 00000000 00000000
0012F970h:  00000000 00000000 00000000 00000000
0012F980h:  00000000 00000000 00000000 00000000
0012F990h:  00000000 00000000 00000000 00000000
0012F9A0h:  00000000 00000000 00000000 00000000
0012F9B0h:  00000000 00000000 00000000 00000000
0012F9C0h:  00000000 00000000 00000000 00000000
0012F9D0h:  00000000 00000000 00000000 00000000

Registers:
EAX: 0108B160, EBX: 0012FA4C, ECX: 00000000, EDX: 00EC4ED0
ESI: 01084C48, EDI: 00000032, EBP: 0012FA58, ESP: 0012F8C0

Crash location:
Module: foo_wave_seekbar
Offset: 219EDh
Symbol: "g_gdi_entrypoint" (+11F5Dh)

Loaded modules:
foobar2000   loaded at 00400000h - 005B6000h
ntdll loaded at 7C910000h - 7C9C9000h
kernel32 loaded at 7C800000h - 7C908000h
COMCTL32 loaded at 773A0000h - 774A3000h
msvcrt   loaded at 77BE0000h - 77C38000h
ADVAPI32 loaded at 77DA0000h - 77E4A000h
RPCRT4   loaded at 77E50000h - 77EE3000h
Secur32   loaded at 77FC0000h - 77FD1000h
GDI32 loaded at 77EF0000h - 77F39000h
USER32   loaded at 7E360000h - 7E3F1000h
SHLWAPI   loaded at 77F40000h - 77FB6000h
DSOUND   loaded at 73E70000h - 73ECC000h
ole32 loaded at 774B0000h - 775EE000h
VERSION   loaded at 77BD0000h - 77BD8000h
WINMM loaded at 76AF0000h - 76B1E000h
UxTheme   loaded at 5B0F0000h - 5B128000h
SHELL32   loaded at 7E670000h - 7EE91000h
zlib1 loaded at 5A4C0000h - 5A4D4000h
shared   loaded at 10000000h - 1002B000h
imagehlp loaded at 76C50000h - 76C78000h
dbghelp   loaded at 59DD0000h - 59E71000h
COMDLG32 loaded at 76350000h - 7639A000h
gdiplus   loaded at 4EBA0000h - 4ED4B000h
CRYPT32   loaded at 77A50000h - 77AE6000h
MSASN1   loaded at 77AF0000h - 77B02000h
IMM32 loaded at 76330000h - 7634D000h
msctfime loaded at 75250000h - 7527E000h
foo_dsp_std   loaded at 00D20000h - 00D68000h
foo_ui_std   loaded at 00D80000h - 00E65000h
MSIMG32   loaded at 76320000h - 76325000h
foo_wave_seekbar loaded at 00E90000h - 0102B000h
WS2_32   loaded at 71A10000h - 71A27000h
WS2HELP   loaded at 71A00000h - 71A08000h
foo_converter loaded at 01090000h - 0110C000h
foo_cdda loaded at 01130000h - 0117E000h
foo_out_asio loaded at 011A0000h - 011D2000h
foo_albumlist loaded at 01200000h - 0125C000h
foo_input_std loaded at 01280000h - 013DB000h
frontend_direct3d9   loaded at 01620000h - 01680000h
d3d9 loaded at 4FD50000h - 4FEF6000h
d3d8thk   loaded at 6DE80000h - 6DE86000h
d3dx9_42 loaded at 01690000h - 01875000h
CLBCATQ   loaded at 76F90000h - 7700F000h
COMRes   loaded at 77010000h - 770E3000h
OLEAUT32 loaded at 770F0000h - 7717B000h
xpsp2res loaded at 01AC0000h - 01D99000h
mswsock   loaded at 719B0000h - 719F0000h
hnetcfg   loaded at 66710000h - 66769000h
wshtcpip loaded at 719F0000h - 719F8000h

Stack dump analysis:
Address: 00FB67E8h (foo_wave_seekbar+1267E8h), symbol: "boost::serialization::singleton<std::set<boost::serialization::void_cast_detail::void_caster const *,boost:" (+445A8h)
Address: 00FC6384h (foo_wave_seekbar+136384h), symbol: "boost::serialization::singleton<std::set<boost::serialization::void_cast_detail::void_caster const *,boost:" (+54144h)
Address: 00FABB9Eh (foo_wave_seekbar+11BB9Eh), symbol: "boost::serialization::singleton<std::set<boost::serialization::void_cast_detail::void_caster const *,boost:" (+3995Eh)
Address: 00EE74E3h (foo_wave_seekbar+574E3h), symbol: "boost::archive::detail::iserializer<boost::archive::xml_iarchive,wave::color>::load_object_data" (+24B63h)
Address: 00EAB45Bh (foo_wave_seekbar+1B45Bh), symbol: "g_gdi_entrypoint" (+B9CBh)
Address: 00EABC47h (foo_wave_seekbar+1BC47h), symbol: "g_gdi_entrypoint" (+C1B7h)
Address: 00F7B0A0h (foo_wave_seekbar+EB0A0h), symbol: "boost::serialization::singleton<std::set<boost::serialization::void_cast_detail::void_caster const *,boost:" (+8E60h)
Address: 00EABE33h (foo_wave_seekbar+1BE33h), symbol: "g_gdi_entrypoint" (+C3A3h)
Address: 00EABB0Fh (foo_wave_seekbar+1BB0Fh), symbol: "g_gdi_entrypoint" (+C07Fh)
Address: 00EACFF0h (foo_wave_seekbar+1CFF0h), symbol: "g_gdi_entrypoint" (+D560h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 7E368816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 0048A7C9h (foobar2000+8A7C9h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 004792DAh (foobar2000+792DAh)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E378EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E3694D2h (USER32+94D2h), symbol: "GetWindowLongA" (+75h)
Address: 7E378F10h (USER32+18F10h), symbol: "DefWindowProcW" (+1F0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E3689F0h (USER32+89F0h), symbol: "GetWindowLongW" (+14Ah)
Address: 7E368A10h (USER32+8A10h), symbol: "DispatchMessageW" (+Fh)
Address: 7E3774FFh (USER32+174FFh), symbol: "IsDialogMessageW" (+DBh)
Address: 00DF5CB6h (foo_ui_std+75CB6h)
Address: 0045848Ch (foobar2000+5848Ch)
Address: 7E37B19Ch (USER32+1B19Ch), symbol: "DestroyWindow" (+0h)
Address: 00514812h (foobar2000+114812h)
Address: 0045856Fh (foobar2000+5856Fh)
Address: 00459001h (foobar2000+59001h)
Address: 00538358h (foobar2000+138358h)
Address: 00538358h (foobar2000+138358h)
Address: 00537BB4h (foobar2000+137BB4h)
Address: 00541E54h (foobar2000+141E54h)
Address: 7C9201DBh (ntdll+101DBh), symbol: "RtlAllocateHeap" (+117h)
Address: 0050157Ah (foobar2000+10157Ah)
Address: 005080E6h (foobar2000+1080E6h)
Address: 00424730h (foobar2000+24730h)
Address: 00505570h (foobar2000+105570h)
Address: 005080E6h (foobar2000+1080E6h)
Address: 00505E05h (foobar2000+105E05h)
Address: 100027D8h (shared+27D8h), symbol: "uPrintCrashInfo_OnEvent" (+B1h)
Address: 00537E5Ch (foobar2000+137E5Ch)
Address: 00520E72h (foobar2000+120E72h)
Address: 0045926Eh (foobar2000+5926Eh)
Address: 00400000h (foobar2000+0h)
Address: 0050B287h (foobar2000+10B287h)
Address: 0056A600h (foobar2000+16A600h)
Address: 00504D7Ah (foobar2000+104D7Ah)
Address: 0050184Ch (foobar2000+10184Ch)
Address: 00501846h (foobar2000+101846h)
Address: 00529888h (foobar2000+129888h)
Address: 0052988Ch (foobar2000+12988Ch)
Address: 00526F81h (foobar2000+126F81h)
Address: 00505570h (foobar2000+105570h)
Address: 00501846h (foobar2000+101846h)
Address: 0052104Bh (foobar2000+12104Bh)
Address: 00502BB2h (foobar2000+102BB2h)
Address: 00400000h (foobar2000+0h)
Address: 00505570h (foobar2000+105570h)
Address: 7C817077h (kernel32+17077h), symbol: "RegisterWaitForInputIdle" (+49h)
Address: 7C839AD8h (kernel32+39AD8h), symbol: "ValidateLocale" (+2B0h)
Address: 7C817080h (kernel32+17080h), symbol: "RegisterWaitForInputIdle" (+52h)
Address: 00502C05h (foobar2000+102C05h)
Address: 0057005Ch (foobar2000+17005Ch)
Address: 004E0049h (foobar2000+E0049h)
Address: 004F0044h (foobar2000+F0044h)
Address: 00530057h (foobar2000+130057h)
Address: 0057005Ch (foobar2000+17005Ch)
Address: 01C8AA0Ah (xpsp2res+1CAA0Ah)
Address: 004B0063h (foobar2000+B0063h)
Address: 00530022h (foobar2000+130022h)
Address: 00500069h (foobar2000+100069h)
Address: 01CBF9B6h (xpsp2res+1FF9B6h)
Address: 00500069h (foobar2000+100069h)
Address: 00410072h (foobar2000+10072h)
Address: 00540079h (foobar2000+140079h)
Address: 00430022h (foobar2000+30022h)
Address: 00490057h (foobar2000+90057h)
Address: 0044004Eh (foobar2000+4004Eh)
Address: 0057004Fh (foobar2000+17004Fh)
Address: 0053006Eh (foobar2000+13006Eh)
Address: 00530078h (foobar2000+130078h)
Address: 004D005Ch (foobar2000+D005Ch)
Address: 004D005Fh (foobar2000+D005Fh)
Address: 0057002Eh (foobar2000+17002Eh)
Address: 0047002Eh (foobar2000+7002Eh)
Address: 004D002Eh (foobar2000+D002Eh)
Address: 00500069h (foobar2000+100069h)
Address: 0044002Eh (foobar2000+4002Eh)
Address: 01C8AA0Ah (xpsp2res+1CAA0Ah)
Address: 0044002Eh (foobar2000+4002Eh)
Address: 00410072h (foobar2000+10072h)
Address: 00540079h (foobar2000+140079h)
Address: 0057005Ch (foobar2000+17005Ch)
Address: 004E0049h (foobar2000+E0049h)
Address: 004F0044h (foobar2000+F0044h)
Address: 00530057h (foobar2000+130057h)
Address: 0057005Ch (foobar2000+17005Ch)

Environment:
App: foobar2000 v1.1.11
UI: Default User Interface 0.9.5

Components:
Core (2012-02-04 13:05:48 UTC)
foobar2000 core 1.1.11
foo_albumlist.dll (2012-02-04 13:04:12 UTC)
Album List 4.5
foo_cdda.dll (2012-02-04 13:03:52 UTC)
CD Audio Decoder 3.0
foo_converter.dll (2012-02-04 13:04:00 UTC)
Converter 1.5
foo_dsp_std.dll (2012-02-04 13:04:14 UTC)
Standard DSP Array 1.0
foo_input_std.dll (2012-02-04 13:05:10 UTC)
Standard Input Array 1.0
foo_out_asio.dll (2012-02-04 13:59:56 UTC)
ASIO support 2.1.1
foo_ui_std.dll (2012-02-04 13:04:08 UTC)
Default User Interface 0.9.5
foo_wave_seekbar.dll (2012-02-22 18:57:06 UTC)
Waveform seekbar 0.2.16

Recent events:
Startup time : 0:00.048498
Seekbar: taking Direct3D9 path.
Opening track for playback: "http://72.233.84.175/"
Seekbar: Frontend initialized.
Wave cache: skipping location "http://72.233.84.175/"
Wave cache: skipping location "http://72.233.84.175/"
Seekbar: taking Direct2D1 path.
Seekbar: frontend creation failed: unavailable frontend
Seekbar: taking GDI path.
Wave cache: skipping location "http://72.233.84.175/"


Machine specifications:
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: Intel® Core™2 CPU   6700  @ 2.66GHz, features: MMX SSE SSE2 SSE3
Audio: HDSP9632 Analog (1+2); HDSP9632 SPDIF; HDSP9632 ADAT (1+2); HDSP9632 ADAT (3+4); HDSP9632 ADAT (5+6); HDSP9632 ADAT (7+8)
  • Last Edit: 25 February, 2012, 06:01:49 PM by Yirkha

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #976
0.2.17 probably fixes the fallback crashes, but you should of course look into why you fall back to GDI in the first place.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • tribaljet
  • [*][*]
foo_wave_seekbar
Reply #977
Hopefully someone will post a tutorial on how to configure the Frontend Settings for those who aren't familiar with the code.

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #978
The Reset button ought to get you the default effect source in there.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • Dandruff
  • [*][*][*][*][*]
foo_wave_seekbar
Reply #979
0.2.17 probably fixes the fallback crashes, but you should of course look into why you fall back to GDI in the first place.


Oh, of course - my fault. Crashed because I've deleted the frontend_direct2d.dll. Ok, 0.2.17 not crashing. Thanks!

  • Hotze
  • [*]
foo_wave_seekbar
Reply #980
It would be nice that you could put the bar horizontally. That can't be difficult to programe, can it?

  • mzso
  • [*][*][*][*]
foo_wave_seekbar
Reply #981
It would be nice that you could put the bar horizontally. That can't be difficult to programe, can it?

I'm sure you can. I think you only just need to have a panel that's height is bigger than its width.

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #982
Indeed.

If the bar is higher than it's wide, it flips the content diagonally. Crouching tiger hidden feature.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • tribaljet
  • [*][*]
foo_wave_seekbar
Reply #983
Seriously, can anyone help out on how to custom the code of the Frontend Settings?

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #984
It's in HLSL, the language used to write programmable shaders for 3D applications.

If you feel an urge to "customize" it, look at the PS function, which is invoked once per pixel and computes a color value from the waveform data and time.

If you do not feel capable of this, there's some existing custom effects spread around this thread and the Columns UI thread.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • Hotze
  • [*]
foo_wave_seekbar
Reply #985
Indeed.

If the bar is higher than it's wide, it flips the content diagonally. Crouching tiger hidden feature.


My fault! I didn't notice that behaviour before. I feel kind of dumb...

  • DarkScythe
  • [*]
foo_wave_seekbar
Reply #986
Interesting little quirk I've discovered, but I'm not sure what exactly the cause is.

I haven't updated from 0.2.14 yet, because I haven't had any issues.
In any case, I noticed recently that I can no longer access the front-end settings.
I can go into the configuration window, but when I click on frontend settings (D3D9 mode) nothing happens. Not a huge deal because it's retained the settings I set last time, and I haven't felt the need to alter them, but it is curious.
(Foobar 1.1.9, Win7 x64; nothing's changed, really.)

  • tribaljet
  • [*][*]
foo_wave_seekbar
Reply #987
It's in HLSL, the language used to write programmable shaders for 3D applications.

If you feel an urge to "customize" it, look at the PS function, which is invoked once per pixel and computes a color value from the waveform data and time.

If you do not feel capable of this, there's some existing custom effects spread around this thread and the Columns UI thread.


Thank you Zao. I'm not familiar with customizing HLSL, and the custom presets people made are very specific. I'm just looking for documents that might help me get started with customizing this exactly the way I want.

foo_wave_seekbar
Reply #988
I had a problem regarding a "Nothing happens when I click Frontend settings", even though I had all the prerequisites installed. The problem got solved when I deleted the UI element, and added it again with the default settings. Now I can edit the frontend settings. =)

  • Dandruff
  • [*][*][*][*][*]
foo_wave_seekbar
Reply #989
Bug in version 0.2.17:

-> start up foobar2000 (1.1.11) with empty playlist (no playback started)
-> try any of the Waveform Seekbar actions ("Remove Dead Waveforms" for example)

Result: Nothing happens.

Log only showing
Code: [Select]
Watching: D:\Music
Startup time : 0:00.045009
Seekbar: taking Direct3D9 path.
Seekbar: Frontend initialized.



-> start playback of any file
-> try any of the Waveform Seekbar actions ("Remove Dead Waveforms" for example)

Result: working


Why do we have to start playback in order to access the Waveform Seekbar functions?
  • Last Edit: 09 March, 2012, 09:13:09 AM by Dandruff

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #990
Known behaviour.

It's an artifact of how the backing store cache is loaded. It's single-instance and loaded on demand. If no service needs it, it's not loaded at all.
The benefit of this is that it avoids doing things during application startup, resulting in a faster startup sequence and gets rid of a lot of scary limitations on what may be done during initialization.
The downside is that the context menu and menu commands seem to do nothing before the cache is brought to life.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • Dandruff
  • [*][*][*][*][*]
foo_wave_seekbar
Reply #991
Ok, no big problem I think!

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #992
Version 0.2.18 should perform the delay-initialization for context and main menu commands, now.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • Dandruff
  • [*][*][*][*][*]
foo_wave_seekbar
Reply #993
Thanks! Working fine!

  • adam777
  • [*][*]
foo_wave_seekbar
Reply #994
Hi Zao,
Now that development seems to be live again, I have a question.
A pretty long time ago you mentioned media library notifications integration (that is, automatically re-scan a file if changed, automatically remove dead files etc.) as something on the to-do list.
Is this feature still planned for the foreseeable future?
Thanks, Adam.

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #995
I wouldn't say live, as it's mostly looking at things that are either trivial or serious enough to warrant attention.
Larger features are a bit out of scope, unless they're interesting enough to take time from the things I ought to be working on.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • ledge
  • [*][*]
foo_wave_seekbar
Reply #996
I had a problem regarding a "Nothing happens when I click Frontend settings", even though I had all the prerequisites installed. The problem got solved when I deleted the UI element, and added it again with the default settings. Now I can edit the frontend settings. =)



Holy shit, this fixed the same problem for me, I should have thought about trying this.

Thanks for posting this rather than just keeping it to yourself

  • DarkScythe
  • [*]
foo_wave_seekbar
Reply #997
I had a problem regarding a "Nothing happens when I click Frontend settings", even though I had all the prerequisites installed. The problem got solved when I deleted the UI element, and added it again with the default settings. Now I can edit the frontend settings. =)


Whoa, I somehow missed this post.

Does this preserve the settings in use before the element was removed?
I don't really have to change anything right now, as it's set up how I want it, but I don't believe I have any way of copying the settings somewhere before replacing the element.

  • adam777
  • [*][*]
foo_wave_seekbar
Reply #998
I wouldn't say live, as it's mostly looking at things that are either trivial or serious enough to warrant attention.
Larger features are a bit out of scope, unless they're interesting enough to take time from the things I ought to be working on.


Fair Enough 

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
foo_wave_seekbar
Reply #999
Could one of you people that have the frontend settings trouble export a theme file (assuming you use the Default UI)?
That is, coincidentally, the sane way of preserving any settings.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.