Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_wave_seekbar (Read 808802 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_wave_seekbar

Reply #1725
What component are you using for MIDI playback and is it written by competent people?
Does it happen for any MIDI file and configuration?

I do extensive blacklisting of stupidity already as many inputs are just outright broken.
Stay sane, exile.

foo_wave_seekbar

Reply #1726
foo_midi. I found out that the error was caused by BASSMIDI in foo_midi's settings. I changed it back to the regular setting and now it works with wave_seekbar properly.

EDIT: I found the REAL REAL reason: the soundfont I was using for BASSMIDI was missing, and foobar blamed wave_seekbar for it for some reason.

foo_wave_seekbar

Reply #1727
Currently, foo_midi returns End Of File on first decode_run call, rather than throwing an error, as I didn't decide to make the MIDIPlayer class return error in any different way than returning zero samples. So it looks like Wave Seekbar doesn't like handling zero length files.

foo_wave_seekbar

Reply #1728
torturesauce, kode54: I have now equipped both belts and bracers and guarded against inputs that bail out on the first decode.

Should be in the next release (0.2.46?), whenever that is.
Stay sane, exile.

foo_wave_seekbar

Reply #1729
It doesn't seem to show anything but the Selection bar when I play a CD with Foobar, is this suppose to not work with CD's?

foo_wave_seekbar

Reply #1730
Audio CDs are on the ignore list, as they're not a format that isn't possible to scan in the background or concurrently. Be happy, as it'd kill your optical drive if it still was, not to mention that it would ruin your playback by eternal underruns.

foo_wave_seekbar

Reply #1731
Audio CDs are on the ignore list, as they're not a format that isn't possible to scan in the background or concurrently. Be happy, as it'd kill your optical drive if it still was, not to mention that it would ruin your playback by eternal underruns.


Thanks just reporting in case it was a bug as I only play CD's on my computer after I burn them to make sure they play correctly.

foo_wave_seekbar

Reply #1732
Thanks Zao for this usefullfull component. I can see the waves of my own music easily after mixing. Very useful.
By the way, I cannot do the frontend settings... nothing happens when I push it.
I use a Portable version, maybe that could be the reason, but Zao said that there aren't differences between portable/non-portable, and now I'm at a loss.
foobar v1.3.2, portable. waveformSeekbar 0.2.45.

foo_wave_seekbar

Reply #1733
Hi, can you help with this persistent crash on Win 8 x64 please (last part of log cut out as it just shows things irrelevant to the issue - happy to post a full log if it helps)?

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 5E16B6FFh
Access violation, operation: read, address: 5266B0DBh

Call path:
entry=>app_mainloop

Code bytes (5E16B6FFh):
5E16B6BFh:  E4 90 FC FF 83 C4 0C BE 6C 08 76 88 EB 17 FF 75
5E16B6CFh:  1C FF 75 18 FF 75 14 FF 75 10 FF 75 0C 57 E8 D7
5E16B6DFh:  FE FF FF 8B F0 8D 4C 24 08 E8 65 B2 F8 FF 8B C6
5E16B6EFh:  5F 5E 8B E5 5D C2 18 00 90 90 90 90 90 E9 0F 6C
5E16B6FFh:  EA B1 83 E4 F8 51 51 56 57 8B 7D 08 85 FF 74 05
5E16B70Fh:  8D 47 04 EB 02 33 C0 6A 00 8D 74 24 0C E8 B9 AF
5E16B71Fh:  F8 FF 8B C7 E8 F6 1F F9 FF 85 C0 74 07 BE 6C 08
5E16B72Fh:  76 88 EB 16 6A 00 FF 75 18 FF 75 14 FF 75 10 FF

Stack (003AF7C4h):
003AF7A4h:  00000000 0000000E 006DCC58 00000002
003AF7B4h:  00000000 00000000 000009F6 000000B4
003AF7C4h:  003AF7F8 5A8853C4 09DD0CC0 00000000
003AF7D4h:  00000000 00000000 00000000 073703F0
003AF7E4h:  5B055B0F 073703F0 5B027DEF 00000000
003AF7F4h:  07365420 003AF840 5B027BC1 00070922
003AF804h:  0000000F 00000000 00000000 003AF8E0
003AF814h:  00000000 4DE5A86A 073703F0 07365420
003AF824h:  00000000 003AF818 003AF1D4 003AF970
003AF834h:  5B0F7BA0 16CCC1A2 00000000 003AF860
003AF844h:  5B0281AF 00070922 0000000F 00000000
003AF854h:  00000000 003AF8E0 00000000 003AF888
003AF864h:  5B027C37 00070922 0000000F 00000000
003AF874h:  00000000 003AF8E0 00000000 0000000F
003AF884h:  073703F0 003AF8D8 5B02809D 00070922
003AF894h:  0000000F 00000000 00000000 003AF8E0
003AF8A4h:  00000000 00000000 0000000F 00000000
003AF8B4h:  00070922 0000000F 00000000 00000000
003AF8C4h:  00000000 00000000 00000000 00000024
003AF8D4h:  00000001 003AF904 768D77D8 00000000

Registers:
EAX: 09DD0CC0, EBX: 00000000, ECX: 006DCC58, EDX: 09DD3AF4
ESI: 006DCC58, EDI: 073703F0, EBP: 003AF7F8, ESP: 003AF7C4

Crash location:
Module: d3d9
Offset: 7B6FFh
Symbol: "DebugSetLevel" (+16FEFh)

Loaded modules:
foobar2000                       loaded at 00920000h - 00AEE000h
ntdll                            loaded at 77160000h - 772B7000h
KERNEL32                         loaded at 74B90000h - 74CC0000h
KERNELBASE                       loaded at 76F10000h - 76FB7000h
COMCTL32                         loaded at 71F50000h - 72148000h
DSOUND                           loaded at 744F0000h - 74574000h
SHLWAPI                          loaded at 74E20000h - 74E60000h
UxTheme                          loaded at 71910000h - 71998000h
USER32                           loaded at 768D0000h - 769E6000h
GDI32                            loaded at 74D20000h - 74E1D000h
ADVAPI32                         loaded at 74770000h - 7481E000h
SHELL32                          loaded at 74EF0000h - 75FB6000h
ole32                            loaded at 769F0000h - 76B09000h
zlib1                            loaded at 62E80000h - 62E9F000h
shared                           loaded at 5B830000h - 5B85B000h
CRYPT32                          loaded at 76B20000h - 76CA2000h
Secur32                          loaded at 72750000h - 72759000h
gdiplus                          loaded at 6D570000h - 6D6D3000h
WINHTTP                          loaded at 6FF80000h - 70002000h
msvcrt                           loaded at 75FC0000h - 76071000h
WINMM                            loaded at 74470000h - 74491000h
POWRPROF                         loaded at 74430000h - 7446F000h
sechost                          loaded at 763E0000h - 76414000h
RPCRT4                           loaded at 76800000h - 768AC000h
combase                          loaded at 76080000h - 761B6000h
imagehlp                         loaded at 768B0000h - 768C2000h
dbghelp                          loaded at 684A0000h - 685C9000h
COMDLG32                         loaded at 74AE0000h - 74B69000h
MSASN1                           loaded at 74B70000h - 74B82000h
WINMMBASE                        loaded at 74400000h - 7442B000h
SspiCli                          loaded at 74750000h - 7476C000h
SHCORE                           loaded at 72B90000h - 72C03000h
cfgmgr32                         loaded at 767B0000h - 767F6000h
DEVOBJ                           loaded at 74CE0000h - 74CFE000h
CRYPTBASE                        loaded at 74740000h - 74749000h
bcryptPrimitives                 loaded at 746E0000h - 74731000h
IMM32                            loaded at 749E0000h - 74A00000h
MSCTF                            loaded at 76FC0000h - 7709E000h
RTSSHooks                        loaded at 10000000h - 10026000h
MSVCR90                          loaded at 6C920000h - 6C9C3000h
RocketDock                       loaded at 008D0000h - 008E5000h
PSAPI                            loaded at 74820000h - 74826000h
dwmapi                           loaded at 6F2C0000h - 6F2D9000h
foo_unpack                       loaded at 5B800000h - 5B82F000h
foo_converter                    loaded at 5B780000h - 5B800000h
foo_dsp_eq                       loaded at 5B740000h - 5B776000h
foo_ui_std                       loaded at 5B650000h - 5B73B000h
MSIMG32                          loaded at 72160000h - 72166000h
foo_fileops                      loaded at 5B600000h - 5B64B000h
foo_albumlist                    loaded at 5B5A0000h - 5B5FA000h
foo_freedb2                      loaded at 5B550000h - 5B59E000h
foo_cdda                         loaded at 5B500000h - 5B54F000h
foo_vst                          loaded at 5B4A0000h - 5B4F4000h
foo_dop                          loaded at 04C10000h - 04DE0000h
SETUPAPI                         loaded at 74830000h - 749DF000h
WS2_32                           loaded at 76380000h - 763D0000h
QUARTZ                           loaded at 5B310000h - 5B492000h
USP10                            loaded at 6C400000h - 6C414000h
NSI                              loaded at 763D0000h - 763D8000h
OLEAUT32                         loaded at 74E60000h - 74EEB000h
foo_dsp_std                      loaded at 5B2D0000h - 5B306000h
foo_vis_vumeter                  loaded at 5B220000h - 5B2C5000h
foo_vis_shpeck                   loaded at 5B1D0000h - 5B211000h
foo_out_asio                     loaded at 05170000h - 051A2000h
foo_rgscan                       loaded at 5B170000h - 5B1CB000h
foo_out_wasapi                   loaded at 045C0000h - 045E9000h
foo_wave_seekbar                 loaded at 5AFC0000h - 5B169000h
IPHLPAPI                         loaded at 72730000h - 72750000h
MSVCP120                         loaded at 5AF40000h - 5AFB1000h
MSVCR120                         loaded at 5AE50000h - 5AF3E000h
WINNSI                           loaded at 72770000h - 72778000h
mswsock                          loaded at 72AB0000h - 72AFA000h
foo_input_std                    loaded at 5A8C0000h - 5AA18000h
MSACM32                          loaded at 5AE30000h - 5AE44000h
avcodec-fb2k-55                  loaded at 5A180000h - 5A353000h
avutil-fb2k-52                   loaded at 5ADC0000h - 5AE2A000h
clbcatq                          loaded at 74A00000h - 74A74000h
frontend_direct2d                loaded at 5AD70000h - 5ADB1000h
d2d1                             loaded at 5AA20000h - 5AD47000h
MMDevApi                         loaded at 6B350000h - 6B39D000h
frontend_direct3d9               loaded at 5A870000h - 5A8C0000h
d3d9                             loaded at 5E0F0000h - 5E2A5000h
d3dx9_42                         loaded at 554A0000h - 55685000h
VERSION                          loaded at 746D0000h - 746D8000h
AUDIOSES                         loaded at 6B2B0000h - 6B304000h
SciLexer                         loaded at 5A7C0000h - 5A862000h
nvd3dum                          loaded at 672E0000h - 6809B000h
nvspcap                          loaded at 06F70000h - 07079000h
nvapi                            loaded at 689E0000h - 68C9E000h
nvSCPAPI                         loaded at 5A5F0000h - 5A727000h
vis_milk2                        loaded at 0B9D0000h - 0BE64000h
WINTRUST                         loaded at 76430000h - 76472000h
dxgi                             loaded at 5A590000h - 5A5EC000h
sud                              loaded at 5A4F0000h - 5A584000h
PROPSYS                          loaded at 6CFD0000h - 6D0E9000h
ADVPACK                          loaded at 5A790000h - 5A7BB000h
DUI70                            loaded at 5A360000h - 5A4BC000h
iZotope Ozone 5 Equalizer        loaded at 0D480000h - 0D6D6000h
iZOzone5Equalizer                loaded at 0D750000h - 0DF55000h
OLEACC                           loaded at 744A0000h - 744F0000h
WININET                          loaded at 761C0000h - 76377000h
iertutil                         loaded at 76D10000h - 76F09000h
USERENV                          loaded at 74D00000h - 74D1B000h
profapi                          loaded at 74CC0000h - 74CD1000h
d3dx9_36                         loaded at 550F0000h - 55499000h
d3dx9_31                         loaded at 127B0000h - 12A17000h
DWrite                           loaded at 6D1E0000h - 6D340000h
avrt                             loaded at 6A790000h - 6A798000h
WindowsCodecs                    loaded at 6D420000h - 6D56B000h
mlang                            loaded at 68980000h - 689B2000h

Stack dump analysis:
Address: 5A8853C4h (frontend_direct3d9+153C4h), symbol: "g_seekbar_frontend_entrypoint" (+13C3Fh)
Address: 5B055B0Fh (foo_wave_seekbar+95B0Fh), symbol: "g_gdi_entrypoint" (+2FA0Fh)
Address: 5B027DEFh (foo_wave_seekbar+67DEFh), symbol: "g_gdi_entrypoint" (+1CEFh)
Address: 5B027BC1h (foo_wave_seekbar+67BC1h), symbol: "g_gdi_entrypoint" (+1AC1h)
Address: 5B0F7BA0h (foo_wave_seekbar+137BA0h), symbol: "foobar2000_get_interface" (+2D760h)
Address: 5B0281AFh (foo_wave_seekbar+681AFh), symbol: "g_gdi_entrypoint" (+20AFh)
Address: 5B027C37h (foo_wave_seekbar+67C37h), symbol: "g_gdi_entrypoint" (+1B37h)
Address: 5B02809Dh (foo_wave_seekbar+6809Dh), symbol: "g_gdi_entrypoint" (+1F9Dh)
Address: 768D77D8h (USER32+77D8h), symbol: "gapfnScSendMessage" (+4E0h)
Address: 768D90E7h (USER32+90E7h), symbol: "GetAncestor" (+2A7h)
Address: 768D787Ah (USER32+787Ah), symbol: "gapfnScSendMessage" (+582h)
Address: 76943991h (USER32+73991h), symbol: "WaitForRedirectionStartComplete" (+A2h)
Address: 768D7B6Fh (USER32+7B6Fh), symbol: "PeekMessageW" (+1ECh)
Address: 76943991h (USER32+73991h), symbol: "WaitForRedirectionStartComplete" (+A2h)
Address: 768D7C44h (USER32+7C44h), symbol: "PeekMessageW" (+2C1h)
Address: 771A2C92h (ntdll+42C92h), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 771A2BF0h (ntdll+42BF0h), symbol: "KiUserApcDispatcher" (+48h)
Address: 7718F976h (ntdll+2F976h), symbol: "NtdllDialogWndProc_W" (+B0h)
Address: 768D8C5Fh (USER32+8C5Fh), symbol: "RedrawWindow" (+5Dh)
Address: 76943991h (USER32+73991h), symbol: "WaitForRedirectionStartComplete" (+A2h)
Address: 768E5B2Eh (USER32+15B2Eh), symbol: "CallMsgFilterW" (+91h)
Address: 76943991h (USER32+73991h), symbol: "WaitForRedirectionStartComplete" (+A2h)
Address: 768E5C40h (USER32+15C40h), symbol: "IsDialogMessageW" (+10Ah)
Address: 5B6C938Ch (foo_ui_std+7938Ch)
Address: 0097FAD6h (foobar2000+5FAD6h)
Address: 768DCF9Eh (USER32+CF9Eh), symbol: "DestroyWindow" (+0h)
Address: 00A457E0h (foobar2000+1257E0h)
Address: 0097FBB9h (foobar2000+5FBB9h)
Address: 00A45E00h (foobar2000+125E00h)
Address: 00980697h (foobar2000+60697h)
Address: 00A75258h (foobar2000+155258h)
Address: 00A7523Ch (foobar2000+15523Ch)
Address: 00A7523Ch (foobar2000+15523Ch)
Address: 00A75220h (foobar2000+155220h)
Address: 00A30F15h (foobar2000+110F15h)
Address: 00A3860Bh (foobar2000+11860Bh)
Address: 00A35980h (foobar2000+115980h)
Address: 00A3860Bh (foobar2000+11860Bh)
Address: 00A36175h (foobar2000+116175h)
Address: 5B832836h (shared+2836h), symbol: "uPrintCrashInfo_OnEvent" (+B1h)
Address: 00A6AB98h (foobar2000+14AB98h)
Address: 00A518D2h (foobar2000+1318D2h)
Address: 009808BBh (foobar2000+608BBh)
Address: 00920000h (foobar2000+0h)
Address: 00A35326h (foobar2000+115326h)
Address: 00A311E7h (foobar2000+1111E7h)
Address: 00A311E1h (foobar2000+1111E1h)
Address: 00A5BAD4h (foobar2000+13BAD4h)
Address: 00A5BAD8h (foobar2000+13BAD8h)
Address: 00A58231h (foobar2000+138231h)
Address: 00A35980h (foobar2000+115980h)
Address: 00A311E1h (foobar2000+1111E1h)
Address: 00A51BC5h (foobar2000+131BC5h)
Address: 00A3310Dh (foobar2000+11310Dh)
Address: 00920000h (foobar2000+0h)
Address: 5AF6C8D0h (MSVCP120+2C8D0h), symbol: "std::locale::global" (+1Ch)
Address: 00A35980h (foobar2000+115980h)
Address: 74BB86E3h (KERNEL32+286E3h), symbol: "BaseThreadInitThunk" (+Eh)
Address: 771BBF39h (ntdll+5BF39h), symbol: "RtlInitializeExceptionChain" (+85h)
Address: 77165191h (ntdll+5191h), symbol: "RtlDeregisterWait" (+1F0h)
Address: 771BBF0Ch (ntdll+5BF0Ch), symbol: "RtlInitializeExceptionChain" (+58h)
Address: 00A33160h (foobar2000+113160h)
Address: 77231DF7h (ntdll+D1DF7h), symbol: "RtlInitializeContext" (+120h)
Address: 00A33160h (foobar2000+113160h)

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

Components:
Core (2014-04-11 09:51:08 UTC)
    foobar2000 core 1.3.2
foo_albumlist.dll (2014-04-11 09:49:46 UTC)
    Album List 4.5
foo_cdda.dll (2014-04-11 09:49:18 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2014-04-11 09:49:20 UTC)
    Converter 1.5
foo_dop.dll (2011-06-12 21:17:16 UTC)
    iPod manager 0.6.9.6
foo_dsp_eq.dll (2014-04-11 09:49:32 UTC)
    Equalizer 1.0
foo_dsp_std.dll (2014-04-11 09:49:24 UTC)
    Standard DSP Array 1.3
foo_fileops.dll (2014-04-11 09:49:06 UTC)
    File Operations 2.2.1
foo_freedb2.dll (2014-04-11 09:49:24 UTC)
    Online Tagger 0.7
foo_input_std.dll (2014-04-11 09:51:10 UTC)
    Standard Input Array 1.0
foo_out_asio.dll (2014-04-01 18:17:43 UTC)
    ASIO support 2.1.2
foo_out_wasapi.dll (2014-03-31 23:43:11 UTC)
    WASAPI output support 3.2.3
foo_rgscan.dll (2014-04-11 09:49:26 UTC)
    ReplayGain Scanner 2.2.1
foo_ui_std.dll (2014-04-11 09:51:08 UTC)
    Default User Interface 0.9.5
foo_unpack.dll (2014-04-11 09:48:52 UTC)
    ZIP/GZIP/RAR Reader 1.6
foo_vis_shpeck.dll (2014-03-31 23:01:00 UTC)
    Shpeck - Winamp vis plugins wrapper 0.3.7
foo_vis_vumeter.dll (2013-02-16 10:44:26 UTC)
    VU Meter 2013-02-16
foo_vst.dll (2011-03-05 07:19:04 UTC)
    VST 2.4 adapter 0.9.0.3
foo_wave_seekbar.dll (2014-03-31 22:55:07 UTC)
    Waveform seekbar 0.2.45

foo_wave_seekbar

Reply #1734
It's nice to see someone that knows what is relevant or not, saves me the work of trying to find the crash report in the UI so I can see the full picture.

Is it always happening in the same way, does it break immediately, after a while, after some plays, on a full moon?
Stay sane, exile.

foo_wave_seekbar

Reply #1735
After squinting at the remains of the process, I'm leaning towards that one of your visualisations or one of the silly DLLs injected into the process may be interacting poorly with the frontend in use.

Try killing off one or more of the visualisations, and see if you can reproduce the problem in a portable installation.
Stay sane, exile.

foo_wave_seekbar

Reply #1736
Hi Zao,

With the latest upgrade, the script I am using has gone crazy. It used to display a mirrored waveform across the middle of the bar - now it just shows the bottom half of the waveform across teh top. Can you help?

Thanks!

Code: [Select]
texture tex : WAVEFORMDATA;

sampler sTex = sampler_state
{
Texture = (tex);
MipFilter = LINEAR;
MinFilter = LINEAR;
MagFilter = LINEAR;

AddressU = Clamp;
};

struct VS_IN
{
float2 pos : POSITION;
float2 tc : TEXCOORD0;
};

struct PS_IN
{
float4 pos : SV_POSITION;
float2 tc : TEXCOORD0;
};

float4 chan_mag : CHANNELMAGNITUDE; // Requires "foo_wave_seekbar" version 0.2.34 or better
float4 track_mag : TRACKMAGNITUDE; // Requires "foo_wave_seekbar" version 0.2.34 or better
float4 backgroundColor : BACKGROUNDCOLOR;
float4 highlightColor : HIGHLIGHTCOLOR;
float4 selectionColor : SELECTIONCOLOR;
float4 textColor : TEXTCOLOR;
float cursorPos : CURSORPOSITION;
bool cursorVisible : CURSORVISIBLE;
float seekPos : SEEKPOSITION;
bool seeking : SEEKING;
float2 viewportSize : VIEWPORTSIZE;
bool horizontal : ORIENTATION;
bool flipped : FLIPPED;
bool shade_played : SHADEPLAYED;

PS_IN VS( VS_IN input )
{
PS_IN output = (PS_IN)0;

float2 half_pixel = float2(1,-1) / viewportSize;
output.pos = float4(input.pos - half_pixel, 0, 1);

//- NORMALIZE/RESCALE ALL WAVEFORMS TO FILL PANEL EDGE-TO-EDGE -
//Requires "foo_wave_seekbar" version 0.2.34 or better - see changelog
//This variation will map the range [-1,1] to [min_peak,max_peak].
input.tc.y = (input.tc.y + 1)/2 * (chan_mag.g - chan_mag.r) + chan_mag.r;
//This variation will map the range [-1,1] to [-largest_peak,largest_peak]
//input.tc.y = input.tc.y * max(abs(chan_mag.r), abs(chan_mag.g));

if (horizontal)
{
output.tc = float2((input.tc.x + 1.0) / 2.0, input.tc.y);
}
else
{
output.tc = float2((-input.tc.y + 1.0) / 2.0, input.tc.x);
}

if (flipped)
output.tc.x = 1.0 - output.tc.x;

return output;
}

float4 bar( float pos, float2 tc, float4 fg, float4 bg, float width, bool show )
{
float dist = abs(pos - tc.x);
float4 c = (show && dist < width)
? lerp(fg, bg, smoothstep(0, width, dist))
: bg;
return c;
}


float4 evaluate(float4 bg, float4 fg, float factor)
{
return saturate(lerp(bg, fg, factor));
}

float4 played( float pos, float2 tc, float4 bg, float factor)
{
float4 c = bg;
if (pos > tc.x)
{
c = evaluate(backgroundColor, highlightColor, factor);
}
return c;
}

float RMSfactor( float2 tc, float border )
{
float4 minmaxrms = tex1D(sTex, tc.x);

minmaxrms.rgb *= .75 + minmaxrms.a;

float belowWave = tc.y + border - minmaxrms.r;
float aboveWave = tc.y - border - minmaxrms.g;
float factorWave = min(abs(belowWave), abs(aboveWave));
bool insideWave = (belowWave > 0 && aboveWave < 0);

float diffRms = abs(tc.y) - border - minmaxrms.b;
float factorRms = abs(diffRms);
bool insideRms = diffRms < 0;

float factor = insideRms ? ( 1 - 0.5 * saturate(factorRms / border / 2)): 1;
factor = insideWave ? (factor * saturate(factorWave / border / 0.5)) : 0; //1 = max sharp

return factor;
}

float4 PS( PS_IN input ) : SV_Target
{
float dx, dy;
if (horizontal)
{
dx = 1/viewportSize.x;
dy = 1/viewportSize.y;
}
else
{
dx = 1/viewportSize.y;
dy = 1/viewportSize.x;
}
float seekWidth = 1 * dx;
float positionWidth = 2 * dx;

float factor = RMSfactor(input.tc, 2.5 * dy);

float4 c0 = evaluate(backgroundColor, textColor, factor);
if (shade_played)
c0 = played(cursorPos, input.tc, c0, factor);
c0 = bar(cursorPos, input.tc, selectionColor, c0, positionWidth, cursorVisible);
c0 = bar(seekPos, input.tc, selectionColor, c0, seekWidth, seeking );
return c0;
}

technique10 Render10
{
pass P0
{
SetGeometryShader( 1 );
SetVertexShader( CompileShader( vs_4_0, VS() ) );
SetPixelShader( CompileShader( ps_4_0, PS() ) );
}
}

technique Render9
{
pass
{
VertexShader = compile vs_2_0 VS();
PixelShader = compile ps_2_0 PS();
}
}



foo_wave_seekbar

Reply #1737
Code: [Select]
texture tex : WAVEFORMDATA;
// ...
float RMSfactor( float2 tc, float border )
{
float4 minmaxrms = tex1D(sTex, tc.x);

minmaxrms.rgb *= .75 + minmaxrms.a;

float belowWave = tc.y + border - minmaxrms.r;
float aboveWave = tc.y - border - minmaxrms.g;
// ...
}


slyman: You've got the same problem as everyone else with the lack of unbias.
After
float4 minmaxrms = tex1D(sTex, tc.x);
add
minmaxrms.rgb -= 0.5 * minmaxrms.a;
minmaxrms.rgb *= 1.0 + minmaxrms.a;


Your problem isn't really about OS bitness, but installing a slightly newer seekbar after I removed special-case code that your effect relied on.


You need to replace your bogus minmaxrms.rgb *= .75 + minmaxrms.a; statement with the two unbias statements mentioned in my quote to the other guy.

If you want to retain your 75% scale, have an minmaxrms.rgb *= .75; after them.
Stay sane, exile.

foo_wave_seekbar

Reply #1738
I dont know why, but foobar is always crashing on startup if the seekbar-component is installed.
Weird thing is that I've never had this problem before and I've been using it for a couple of month now.

Also I'm unable to send a bugreport/crashreport because of this: http://www.foobar2000.org/?page=SDKLicenseViolation

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 5B524BA8h
Access violation, operation: write, address: 5B524BA8h

Call path:
entry=>app_mainloop

Stack (00B9F204h):
00B9F1E4h:  71542F01 FFFFFD34 000002E4 FFFFFD34
00B9F1F4h:  000002CC 00000019 00000000 71596EC2
00B9F204h:  7156C5DF 00000000 00F8C6E8 0AC20CE0
00B9F214h:  771000AC 000002CE 0000007D 00000015
00B9F224h:  00000001 00000008 00000003 00000001
00B9F234h:  000103D4 00000001 00000000 00000000
00B9F244h:  00000000 00000000 80000000 17000017
00B9F254h:  00000080 02000002 FFFFFECF 5D00015C
00B9F264h:  01150000 00000000 00000000 00F8C6E8
00B9F274h:  00000018 0AC23648 00000000 00000001
00B9F284h:  00000000 000007FF 01150000 44000044
00B9F294h:  FFFFFFEF 00000000 01150000 00000001
00B9F2A4h:  0000020D 00000080 0115BDA0 0699C170
00B9F2B4h:  0115028C 00000001 00000044 00000000
00B9F2C4h:  0699DB80 0115BDA8 00000000 00000000
00B9F2D4h:  CFAE9BCA 00B9F44C 7156C31F 00F8C6E8
00B9F2E4h:  00000000 071A87A8 00F8C680 FFFFFFFF
00B9F2F4h:  00000044 06990990 00F8C6E8 00000044
00B9F304h:  0100001F 00000044 00000044 0152C121
00B9F314h:  01150260 0AC20CE4 00000000 00B9F3BC

Registers:
EAX: 00000001, EBX: 0AC20CE0, ECX: 0AC20CE0, EDX: 020B0000
ESI: 00000000, EDI: 0AC23644, EBP: 00B9F2D8, ESP: 00B9F204

Unable to identify crash location!

Loaded modules:
foobar2000                       loaded at 012F0000h - 014BE000h
ntdll                            loaded at 770C0000h - 77228000h
KERNEL32                         loaded at 759D0000h - 75B10000h
KERNELBASE                       loaded at 75600000h - 756CF000h
COMCTL32                         loaded at 71740000h - 71926000h
DSOUND                           loaded at 654A0000h - 65519000h
SHLWAPI                          loaded at 75100000h - 75141000h
UxTheme                          loaded at 70E30000h - 70F0B000h
USER32                           loaded at 74FB0000h - 750FF000h
GDI32                            loaded at 754F0000h - 755F7000h
ADVAPI32                         loaded at 75380000h - 753F8000h
SHELL32                          loaded at 75B10000h - 76CD0000h
ole32                            loaded at 758C0000h - 759CC000h
zlib1                            loaded at 62E80000h - 62E9F000h
shared                           loaded at 61720000h - 6174B000h
CRYPT32                          loaded at 76CD0000h - 76E4F000h
Secur32                          loaded at 73E70000h - 73E79000h
gdiplus                          loaded at 65C50000h - 65D9D000h
WINHTTP                          loaded at 72310000h - 723A4000h
msvcrt                           loaded at 751D0000h - 7528E000h
WINMM                            loaded at 74770000h - 74790000h
POWRPROF                         loaded at 74890000h - 748CE000h
combase                          loaded at 74DC0000h - 74F0E000h
sechost                          loaded at 74F10000h - 74F4E000h
RPCRT4                           loaded at 75400000h - 754B0000h
imagehlp                         loaded at 74BE0000h - 74BF2000h
dbghelp                          loaded at 615D0000h - 61718000h
COMDLG32                         loaded at 75830000h - 758B6000h
MSASN1                           loaded at 75180000h - 7518E000h
WINMMBASE                        loaded at 74750000h - 74770000h
SspiCli                          loaded at 74AF0000h - 74B0D000h
SHCORE                           loaded at 74900000h - 74976000h
cfgmgr32                         loaded at 754B0000h - 754EA000h
DEVOBJ                           loaded at 74820000h - 7483F000h
CRYPTBASE                        loaded at 74AE0000h - 74AE9000h
bcryptPrimitives                 loaded at 74A80000h - 74AD3000h
IMM32                            loaded at 75150000h - 75175000h
MSCTF                            loaded at 76E50000h - 76F47000h
kernel.appcore                   loaded at 748F0000h - 748F9000h
RTSSHooks                        loaded at 10000000h - 1005E000h
MSVCR90                          loaded at 70800000h - 708A3000h
dwmapi                           loaded at 71500000h - 71518000h
foo_deskband_controls            loaded at 615A0000h - 615C3000h
foo_converter                    loaded at 61520000h - 615A0000h
foo_rgscan                       loaded at 614C0000h - 6151B000h
foo_input_std                    loaded at 61360000h - 614B8000h
MSACM32                          loaded at 6F9A0000h - 6F9B5000h
avcodec-fb2k-55                  loaded at 61180000h - 61353000h
avutil-fb2k-52                   loaded at 61110000h - 6117A000h
foo_albumlist                    loaded at 610B0000h - 6110A000h
foo_httpcontrol                  loaded at 61040000h - 610AD000h
WS2_32                           loaded at 74B90000h - 74BDD000h
WSOCK32                          loaded at 72570000h - 72578000h
MPR                              loaded at 73A60000h - 73A74000h
NSI                              loaded at 75820000h - 75827000h
foo_cdda                         loaded at 60FF0000h - 6103F000h
foo_uie_wsh_panel_mod            loaded at 60F40000h - 60FEC000h
OLEAUT32                         loaded at 76F50000h - 76FD7000h
Msimg32                          loaded at 70FE0000h - 70FE6000h
foo_dsp_xgeq                     loaded at 60F00000h - 60F3C000h
foo_dsp_std                      loaded at 60EC0000h - 60EF6000h
foo_w7shell                      loaded at 03410000h - 0344D000h
foo_playcount                    loaded at 60E80000h - 60EBE000h
foo_clownware                     loaded at 60E30000h - 60E71000h
wtsapi32                         loaded at 74A60000h - 74A6E000h
psapi                            loaded at 75290000h - 75296000h
foo_audioscrobbler               loaded at 03450000h - 03483000h
foo_quicksearch                  loaded at 60DD0000h - 60E27000h
WindowsCodecs                    loaded at 60C80000h - 60DCD000h
foo_touchremote                  loaded at 60BF0000h - 60C76000h
MSVCR100                         loaded at 60B30000h - 60BEF000h
mscoree                          loaded at 60AD0000h - 60B26000h
mscoreei                         loaded at 60A50000h - 60ACE000h
clr                              loaded at 603B0000h - 60A4B000h
MSVCR120_CLR0400                 loaded at 602D0000h - 603A7000h
mscorlib.ni                      loaded at 5F230000h - 602C5000h
clrjit                           loaded at 5F150000h - 5F1CD000h
foo_dsp_effect                   loaded at 03890000h - 038C7000h
foo_wave_seekbar                 loaded at 5EFA0000h - 5F149000h
IPHLPAPI                         loaded at 74A20000h - 74A3E000h
MSVCP120                         loaded at 5EF20000h - 5EF91000h
MSVCR120                         loaded at 5EE30000h - 5EF1E000h
WINNSI                           loaded at 74980000h - 74988000h
mswsock                          loaded at 73D30000h - 73D75000h
foo_dsp_eq                       loaded at 5EDF0000h - 5EE26000h
foo_dsp_soundtouch               loaded at 03910000h - 03936000h
foo_upnp                         loaded at 5EBE0000h - 5EDE7000h
foo_ui_std                       loaded at 5EAF0000h - 5EBDB000h
foo_masstag                      loaded at 03B40000h - 03B94000h
clbcatq                          loaded at 74B10000h - 74B8D000h
MMDevApi                         loaded at 6F2A0000h - 6F2EA000h
AUDIOSES                         loaded at 6F2F0000h - 6F345000h
sxs                              loaded at 66FB0000h - 6702B000h
frontend_direct2d                loaded at 5EAA0000h - 5EAE1000h
d2d1                             loaded at 5E6D0000h - 5EA95000h
frontend_direct3d9               loaded at 5E680000h - 5E6D0000h
d3d9                             loaded at 71520000h - 716D8000h
d3dx9_42                         loaded at 5E490000h - 5E675000h
VERSION                          loaded at 73E80000h - 73E88000h
USERENV                          loaded at 74A40000h - 74A59000h
profapi                          loaded at 74990000h - 7499E000h
twinapi                          loaded at 70DA0000h - 70E2B000h
propsys                          loaded at 705C0000h - 706E3000h
Bcp47Langs                       loaded at 65A40000h - 65A87000h
LINKINFO                         loaded at 688E0000h - 688EA000h
ntshrui                          loaded at 659A0000h - 65A40000h
srvcli                           loaded at 6F350000h - 6F36B000h
SETUPAPI                         loaded at 74C00000h - 74DAD000h
cscapi                           loaded at 65990000h - 6599D000h
CRYPTSP                          loaded at 748D0000h - 748E8000h
rsaenh                           loaded at 74860000h - 7488F000h
bcrypt                           loaded at 74840000h - 7485D000h
urlmon                           loaded at 74460000h - 74588000h
iertutil                         loaded at 74110000h - 7432A000h
WININET                          loaded at 73F50000h - 7410D000h
System.ni                        loaded at 5DB00000h - 5E48D000h
System.Core.ni                   loaded at 5D450000h - 5DAF3000h
explorerframe                    loaded at 68EB0000h - 69103000h
DUser                            loaded at 68E30000h - 68EA6000h
DUI70                            loaded at 68CE0000h - 68E2B000h
System.Configuration.ni          loaded at 5D360000h - 5D44E000h
System.Xml.ni                    loaded at 5CBE0000h - 5D353000h
dnssd                            loaded at 5CBC0000h - 5CBD5000h
sud                              loaded at 5C880000h - 5C914000h
ADVPACK                          loaded at 5C850000h - 5C87C000h
dhcpcsvc                         loaded at 71280000h - 71293000h
nvd3dum                          loaded at 6E1A0000h - 6EF6E000h
nvspcap                          loaded at 06F40000h - 07054000h
nvapi                            loaded at 6FD90000h - 70062000h

Stack dump analysis:
Address: 7156C5DFh (d3d9+4C5DFh), symbol: "Direct3DCreate9" (+24249h)
Address: 771000ACh (ntdll+400ACh), symbol: "RtlFreeHeap" (+79Dh)
Address: 5D00015Ch (System.Xml.ni+42015Ch)
Address: 7156C31Fh (d3d9+4C31Fh), symbol: "Direct3DCreate9" (+23F89h)
Address: 77146645h (ntdll+86645h), symbol: "wcstombs" (+87h)
Address: 770FFAC9h (ntdll+3FAC9h), symbol: "RtlFreeHeap" (+1BAh)
Address: 751D9A22h (msvcrt+9A22h), symbol: "free" (+46h)
Address: 751D9A15h (msvcrt+9A15h), symbol: "free" (+39h)
Address: 751D9A22h (msvcrt+9A22h), symbol: "free" (+46h)
Address: 751D9A15h (msvcrt+9A15h), symbol: "free" (+39h)
Address: 5E69DFDFh (frontend_direct3d9+1DFDFh), symbol: "g_seekbar_frontend_entrypoint" (+1C85Ah)
Address: 5EE3ECFAh (MSVCR120+ECFAh), symbol: "free" (+1Ah)
Address: 5EE3ECFAh (MSVCR120+ECFAh), symbol: "free" (+1Ah)
Address: 5E69FCFDh (frontend_direct3d9+1FCFDh), symbol: "g_seekbar_frontend_entrypoint" (+1E578h)
Address: 5E69FD10h (frontend_direct3d9+1FD10h), symbol: "g_seekbar_frontend_entrypoint" (+1E58Bh)
Address: 5E6A5545h (frontend_direct3d9+25545h), symbol: "g_seekbar_frontend_entrypoint" (+23DC0h)
Address: 5E6951FFh (frontend_direct3d9+151FFh), symbol: "g_seekbar_frontend_entrypoint" (+13A7Ah)
Address: 5F02D0A9h (foo_wave_seekbar+8D0A9h), symbol: "g_gdi_entrypoint" (+26FA9h)
Address: 5EAF754Ah (foo_ui_std+754Ah)
Address: 5F0F7418h (foo_wave_seekbar+157418h), symbol: "foobar2000_get_interface" (+4CFD8h)
Address: 5F0F7424h (foo_wave_seekbar+157424h), symbol: "foobar2000_get_interface" (+4CFE4h)
Address: 5F0E54A7h (foo_wave_seekbar+1454A7h), symbol: "foobar2000_get_interface" (+3B067h)
Address: 5F035AE1h (foo_wave_seekbar+95AE1h), symbol: "g_gdi_entrypoint" (+2F9E1h)
Address: 5F007DEFh (foo_wave_seekbar+67DEFh), symbol: "g_gdi_entrypoint" (+1CEFh)
Address: 5F007BC1h (foo_wave_seekbar+67BC1h), symbol: "g_gdi_entrypoint" (+1AC1h)
Address: 5F0D7BA0h (foo_wave_seekbar+137BA0h), symbol: "foobar2000_get_interface" (+2D760h)
Address: 5F0081AFh (foo_wave_seekbar+681AFh), symbol: "g_gdi_entrypoint" (+20AFh)
Address: 5F007C37h (foo_wave_seekbar+67C37h), symbol: "g_gdi_entrypoint" (+1B37h)
Address: 5F00809Dh (foo_wave_seekbar+6809Dh), symbol: "g_gdi_entrypoint" (+1F9Dh)
Address: 74FB7834h (USER32+7834h), symbol: "CallNextHookEx" (+97h)
Address: 74FB930Fh (USER32+930Fh), symbol: "GetWindowThreadProcessId" (+3E5h)
Address: 74FB7997h (USER32+7997h), symbol: "CallNextHookEx" (+1FAh)
Address: 74FE5EA4h (USER32+35EA4h), symbol: "IsHungAppWindow" (+2A9h)
Address: 74FB7BEDh (USER32+7BEDh), symbol: "CallNextHookEx" (+450h)
Address: 74FE5EA4h (USER32+35EA4h), symbol: "IsHungAppWindow" (+2A9h)
Address: 74FB7D81h (USER32+7D81h), symbol: "CallNextHookEx" (+5E4h)
Address: 770FEED2h (ntdll+3EED2h), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 770FEE30h (ntdll+3EE30h), symbol: "KiUserApcDispatcher" (+48h)
Address: 770EB570h (ntdll+2B570h), symbol: "NtdllDialogWndProc_W" (+160h)
Address: 74FB9B6Ch (USER32+9B6Ch), symbol: "SetRectEmpty" (+3Ah)
Address: 74FD24F1h (USER32+224F1h), symbol: "CallMsgFilterW" (+6Bh)
Address: 74FE5EA4h (USER32+35EA4h), symbol: "IsHungAppWindow" (+2A9h)
Address: 74FD2626h (USER32+22626h), symbol: "IsDialogMessageW" (+10Bh)
Address: 5EB6938Ch (foo_ui_std+7938Ch)
Address: 0134FAD6h (foobar2000+5FAD6h)
Address: 74FBAD54h (USER32+AD54h), symbol: "DestroyWindow" (+0h)
Address: 014157E0h (foobar2000+1257E0h)
Address: 0134FBB9h (foobar2000+5FBB9h)
Address: 01350697h (foobar2000+60697h)
Address: 01445258h (foobar2000+155258h)
Address: 0144523Ch (foobar2000+15523Ch)
Address: 0144523Ch (foobar2000+15523Ch)
Address: 01445220h (foobar2000+155220h)
Address: 01400F15h (foobar2000+110F15h)
Address: 0140860Bh (foobar2000+11860Bh)
Address: 01405980h (foobar2000+115980h)
Address: 0140860Bh (foobar2000+11860Bh)
Address: 01406175h (foobar2000+116175h)
Address: 61722836h (shared+2836h), symbol: "uPrintCrashInfo_OnEvent" (+B1h)
Address: 0143AB98h (foobar2000+14AB98h)
Address: 014218D2h (foobar2000+1318D2h)
Address: 013508BBh (foobar2000+608BBh)
Address: 012F0000h (foobar2000+0h)
Address: 01405326h (foobar2000+115326h)
Address: 014011E7h (foobar2000+1111E7h)
Address: 014011E1h (foobar2000+1111E1h)
Address: 0142BAD4h (foobar2000+13BAD4h)
Address: 0142BAD8h (foobar2000+13BAD8h)
Address: 01428231h (foobar2000+138231h)
Address: 01405980h (foobar2000+115980h)
Address: 014011E1h (foobar2000+1111E1h)
Address: 01421BC5h (foobar2000+131BC5h)
Address: 0140310Dh (foobar2000+11310Dh)
Address: 012F0000h (foobar2000+0h)
Address: 01405980h (foobar2000+115980h)
Address: 759E919Fh (KERNEL32+1919Fh), symbol: "BaseThreadInitThunk" (+Eh)
Address: 7710A22Bh (ntdll+4A22Bh), symbol: "RtlInitializeExceptionChain" (+84h)
Address: 77146645h (ntdll+86645h), symbol: "wcstombs" (+87h)
Address: 7710A201h (ntdll+4A201h), symbol: "RtlInitializeExceptionChain" (+5Ah)
Address: 770FF233h (ntdll+3F233h), symbol: "RtlCaptureContext" (+100h)
Address: 01403160h (foobar2000+113160h)

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

Components:
Core (2014-04-11 09:51:08 UTC)
    foobar2000 core 1.3.2
foo_albumlist.dll (2014-04-11 09:49:46 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2013-04-28 17:01:31 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2014-04-11 09:49:18 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2014-04-11 09:49:20 UTC)
    Converter 1.5
foo_deskband_controls.dll (2014-07-11 15:10:50 UTC)
    Deskband Controls 1.1
foo_dsp_effect.dll (2013-09-30 02:14:29 UTC)
    Effect DSP 0.12
foo_dsp_eq.dll (2014-04-11 09:49:32 UTC)
    Equalizer 1.0
foo_dsp_soundtouch.dll (2012-10-30 01:26:35 UTC)
    SoundTouch DSP 0.1 (SSE)
foo_dsp_std.dll (2014-04-11 09:49:24 UTC)
    Standard DSP Array 1.3
foo_dsp_xgeq.dll (2013-05-01 02:01:52 UTC)
    Graphic Equalizer 0.3.7
foo_httpcontrol.dll (2014-02-05 15:34:49 UTC)
    HTTP Control 0.97.13
foo_input_std.dll (2014-04-11 09:51:10 UTC)
    Standard Input Array 1.0
foo_masstag.dll (2012-11-29 23:44:53 UTC)
    Masstagger 1.8.4
foo_playcount.dll (2013-02-01 08:40:46 UTC)
    Playback Statistics 3.0.2
foo_quicksearch.dll (2012-11-02 02:01:23 UTC)
    Quick Search Toolbar 3.4
foo_rgscan.dll (2014-04-11 09:49:26 UTC)
    ReplayGain Scanner 2.2.1
foo_touchremote.dll (2013-01-08 16:40:26 UTC)
    TouchRemote DACP server for foobar2000 0.2.8.3
foo_clownware.dll (2014-07-14 23:49:19 UTC)
    UI Hacks 2013-02-19
foo_ui_std.dll (2014-04-11 09:51:08 UTC)
    Default User Interface 0.9.5
foo_uie_wsh_panel_mod.dll (2010-02-28 02:59:14 UTC)
    WSH Panel Mod 1.3.2
foo_upnp.dll (2013-12-09 20:37:05 UTC)
    UPnP/DLNA Renderer, Server, Control Point 0.99.48
foo_w7shell.dll (2010-01-17 03:09:20 UTC)
    Windows 7 integration 0.2.9.1
foo_wave_seekbar.dll (2014-07-11 15:10:29 UTC)
    Waveform seekbar 0.2.45

Recent events:
Starting playlist loading
User Interface initialized in: 0:00.065201
Processing commandline
initquit::init entry
w7shell: init started
w7shell: GDI+ initialized
w7shell: COM initialized
w7shell: running on Windows NT 6.3.9600
w7shell: DWM composition enabled
w7shell: WA_DISALLOW_PEEK successfully set
w7shell: WA_DISALLOW_PEEK successfully set
w7shell: WA_HAS_ICONIC_BITMAP successfully set
w7shell: WA_FORCE_ICONIC_REPRESENTATION successfully set
w7shell: failed to set WA_FLIP3D_POLICY: 0x80070057
w7shell: all green
TouchRemote initialization started
TouchRemote database id: 87CFB89383870D26
Folder watching failure: Das System kann den angegebenen Pfad nicht finden.  
Watching: C:\Users\Public\Music
TouchRemote initialization finished
Graphic Equalizer: initialized (SSE support: 3)
foo_upnp: succesfully loaded file C:\Users\Kyro0\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.014s
initquit::init exit
Startup time : 0:01.124427
foo_upnp: loaded Media Library tree in 0.008s
w7shell: taskbar button create notification got
foo_upnp: created 3469 path registry entries in 0.034s
Seekbar: taking Direct3D9 path.
Seekbar: Frontend initialized.


Machine specifications:
OS: Windows 6.3.9600 x64
CPU: AMD Phenom(tm) II X4 955 Processor, features: 3DNow!ex MMX SSE SSE2 SSE3
CPU threads: 4
Audio: (Realtek High Definition Audio)

foo_wave_seekbar

Reply #1739
I strongly recommend that you move away components that cause that restriction so I can retrieve and debug the crash logs.
Stay sane, exile.

foo_wave_seekbar

Reply #1740
I strongly recommend that you move away components that cause that restriction so I can retrieve and debug the crash logs.

But it's your plugin that is causing this. Made a fresh foobar-install + your plugin only and it's still crashing

foo_wave_seekbar

Reply #1741
What I'm saying is that to my knowledge, my component is not one of the ones that are flagged for SDK violation.
I am not redirecting blame for the crash. I'm saying that in order to look at a crash, I need a crash report which should be possible to submit for an install that only has my component in it.
Stay sane, exile.

foo_wave_seekbar

Reply #1742
foo_ui_hacks detected. That is your SDK license violation.

foo_wave_seekbar

Reply #1743
Would it be possible to add a transparent % meter to to the "Highlight colo" atm is seems to be a transparent fader around 20%.

Would be nice to have the option to set the transparent meter manually instead of ON/OFF

foo_wave_seekbar

Reply #1744
What I'm saying is that to my knowledge, my component is not one of the ones that are flagged for SDK violation.
I am not redirecting blame for the crash. I'm saying that in order to look at a crash, I need a crash report which should be possible to submit for an install that only has my component in it.

Sorry, I was referring to the crash itself, not the SDK violation.

foo_ui_hacks detected. That is your SDK license violation.

Oh, ok, didn't know that... removed it and sent a crash report, thanks!

This is what i got:

Quote
Problem caused by: foo_wave_seekbar.dll : Waveform seekbar
Known buggy component
Download the latest version...

See also: Help: foobar2000 has crashed.


Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 5B754BA8h
Access violation, operation: write, address: 5B754BA8h

Call path:
entry=>app_mainloop

Stack (0025F574h):
0025F554h:  00000000 FFFFFD34 000002E4 FFFFFD34
0025F564h:  000002CC 00000019 00000000 717C6EC2
0025F574h:  7179C5DF 00000000 00674B20 0A07BCE0
0025F584h:  774B00AC 000002CC 0000007D 00000015
0025F594h:  00000001 00000008 00000003 00000001
0025F5A4h:  000603F8 00000001 00000000 00000000
0025F5B4h:  00000000 00000000 80000000 03000003
0025F5C4h:  00000000 F10007F6 FFFFFFC1 3600083E
0025F5D4h:  00550000 00000000 00000000 00674B20
0025F5E4h:  00000018 0A07E648 00000000 00000001
0025F5F4h:  00000000 3800063E FFFFFAE4 00000080
0025F604h:  00550000 00000000 000000CC 000007FF
0025F614h:  06077130 0A00010B 00553A30 00000001
0025F624h:  000005BE 00000000 0000003F 06077138
0025F634h:  00000000 00000000 00000122 0000083E
0025F644h:  85D8F37E 0025F7B8 7179C31F 00674B20
0025F654h:  00000000 08056850 00674AB8 080125D8
0025F664h:  00553958 0000014F 00674B20 000000CF
0025F674h:  0000014F 0125F714 00553958 F4689F0E
0025F684h:  FFFFFFFE 0A07BCE4 00000000 F4689F0E

Registers:
EAX: 00000001, EBX: 0A07BCE0, ECX: 0A07BCE0, EDX: 00D50000
ESI: 00000000, EDI: 0A07E644, EBP: 0025F648, ESP: 0025F574

Unable to identify crash location!

Loaded modules:
foobar2000                       loaded at 012B0000h - 0147E000h
ntdll                            loaded at 77470000h - 775D8000h
KERNEL32                         loaded at 75040000h - 75180000h
KERNELBASE                       loaded at 75350000h - 7541F000h
COMCTL32                         loaded at 72A30000h - 72C16000h
DSOUND                           loaded at 6D4A0000h - 6D519000h
SHLWAPI                          loaded at 77100000h - 77141000h
UxTheme                          loaded at 71520000h - 715FB000h
USER32                           loaded at 77150000h - 7729F000h
GDI32                            loaded at 75D10000h - 75E17000h
ADVAPI32                         loaded at 75220000h - 75298000h
SHELL32                          loaded at 75E20000h - 76FE0000h
ole32                            loaded at 75650000h - 7575C000h
zlib1                            loaded at 62E80000h - 62E9F000h
shared                           loaded at 6AFC0000h - 6AFEB000h
CRYPT32                          loaded at 74EC0000h - 7503F000h
Secur32                          loaded at 74210000h - 74219000h
gdiplus                          loaded at 6F340000h - 6F48D000h
WINHTTP                          loaded at 73380000h - 73414000h
msvcrt                           loaded at 772A0000h - 7735E000h
WINMM                            loaded at 74B40000h - 74B60000h
POWRPROF                         loaded at 74C40000h - 74C7E000h
combase                          loaded at 75910000h - 75A5E000h
sechost                          loaded at 75420000h - 7545E000h
RPCRT4                           loaded at 75AF0000h - 75BA0000h
imagehlp                         loaded at 752A0000h - 752B2000h
dbghelp                          loaded at 6AE70000h - 6AFB8000h
COMDLG32                         loaded at 752C0000h - 75346000h
MSASN1                           loaded at 75460000h - 7546E000h
WINMMBASE                        loaded at 74B20000h - 74B40000h
SspiCli                          loaded at 74EA0000h - 74EBD000h
SHCORE                           loaded at 74CB0000h - 74D26000h
cfgmgr32                         loaded at 75A60000h - 75A9A000h
DEVOBJ                           loaded at 74BD0000h - 74BEF000h
CRYPTBASE                        loaded at 74E90000h - 74E99000h
bcryptPrimitives                 loaded at 74E30000h - 74E83000h
IMM32                            loaded at 76FF0000h - 77015000h
MSCTF                            loaded at 75BB0000h - 75CA7000h
kernel.appcore                   loaded at 74CA0000h - 74CA9000h
RTSSHooks                        loaded at 10000000h - 1005E000h
MSVCR90                          loaded at 70620000h - 706C3000h
dwmapi                           loaded at 71730000h - 71748000h
foo_input_std                    loaded at 6AD10000h - 6AE68000h
MSACM32                          loaded at 6DE90000h - 6DEA5000h
avcodec-fb2k-55                  loaded at 6AB30000h - 6AD04000h
avutil-fb2k-52                   loaded at 6AAC0000h - 6AB2D000h
foo_deskband_controls            loaded at 6AA90000h - 6AAB3000h
foo_cdda                         loaded at 6AA40000h - 6AA8F000h
foo_audioscrobbler               loaded at 00CA0000h - 00CD3000h
foo_dsp_effect                   loaded at 00CF0000h - 00D27000h
foo_albumlist                    loaded at 6A9E0000h - 6AA3A000h
foo_dsp_std                      loaded at 6A9A0000h - 6A9D6000h
foo_fileops                      loaded at 6A950000h - 6A99B000h
foo_playcount                    loaded at 6A910000h - 6A94E000h
foo_wave_seekbar                 loaded at 6A760000h - 6A909000h
OLEAUT32                         loaded at 77020000h - 770A7000h
WS2_32                           loaded at 75AA0000h - 75AED000h
PSAPI                            loaded at 75180000h - 75186000h
IPHLPAPI                         loaded at 74DD0000h - 74DEE000h
MSVCP120                         loaded at 6A520000h - 6A591000h
MSVCR120                         loaded at 6A120000h - 6A20E000h
NSI                              loaded at 75BA0000h - 75BA7000h
WINNSI                           loaded at 74D30000h - 74D38000h
mswsock                          loaded at 74180000h - 741C5000h
foo_touchremote                  loaded at 6A490000h - 6A516000h
MSVCR100                         loaded at 6A060000h - 6A11F000h
mscoree                          loaded at 6A3F0000h - 6A446000h
mscoreei                         loaded at 6A370000h - 6A3EE000h
clr                              loaded at 69840000h - 69EDB000h
MSVCR120_CLR0400                 loaded at 6A290000h - 6A367000h
mscorlib.ni                      loaded at 65DA0000h - 66E35000h
clrjit                           loaded at 6A210000h - 6A28D000h
foo_uie_wsh_panel_mod            loaded at 675E0000h - 6768C000h
Msimg32                          loaded at 73FF0000h - 73FF6000h
foo_dsp_soundtouch               loaded at 02C90000h - 02CB6000h
foo_rgscan                       loaded at 6A700000h - 6A75B000h
foo_w7shell                      loaded at 02E30000h - 02E6D000h
foo_converter                    loaded at 69670000h - 696F5000h
foo_httpcontrol                  loaded at 69FF0000h - 6A05D000h
WSOCK32                          loaded at 73840000h - 73848000h
MPR                              loaded at 73E10000h - 73E24000h
foo_dsp_xgeq                     loaded at 6A450000h - 6A48C000h
foo_masstag                      loaded at 05230000h - 05284000h
foo_ui_std                       loaded at 674D0000h - 675DD000h
foo_dsp_eq                       loaded at 69800000h - 69836000h
foo_quicksearch                  loaded at 55760000h - 557B7000h
WindowsCodecs                    loaded at 6A5A0000h - 6A6ED000h
foo_upnp                         loaded at 55550000h - 55757000h
frontend_direct2d                loaded at 67480000h - 674C1000h
d2d1                             loaded at 55DC0000h - 56185000h
frontend_direct3d9               loaded at 58530000h - 58580000h
d3d9                             loaded at 71750000h - 71908000h
d3dx9_42                         loaded at 55360000h - 55545000h
VERSION                          loaded at 74230000h - 74238000h
clbcatq                          loaded at 751A0000h - 7521D000h
MMDevApi                         loaded at 6B240000h - 6B28A000h
AUDIOSES                         loaded at 6B290000h - 6B2E5000h
CRYPTSP                          loaded at 74C80000h - 74C98000h
rsaenh                           loaded at 74C10000h - 74C3F000h
bcrypt                           loaded at 74BF0000h - 74C0D000h
urlmon                           loaded at 74840000h - 74968000h
iertutil                         loaded at 74600000h - 7481A000h
WININET                          loaded at 74430000h - 745ED000h
USERENV                          loaded at 74DF0000h - 74E09000h
profapi                          loaded at 74D40000h - 74D4E000h
System.ni                        loaded at 65410000h - 65D9D000h
System.Core.ni                   loaded at 64D60000h - 65403000h
twinapi                          loaded at 71490000h - 7151B000h
propsys                          loaded at 70E70000h - 70F93000h
Bcp47Langs                       loaded at 70240000h - 70287000h
SETUPAPI                         loaded at 75760000h - 7590D000h
LINKINFO                         loaded at 70DE0000h - 70DEA000h
ntshrui                          loaded at 6F490000h - 6F530000h
srvcli                           loaded at 70480000h - 7049B000h
cscapi                           loaded at 70DA0000h - 70DAD000h
sud                              loaded at 552C0000h - 55354000h
ADVPACK                          loaded at 55290000h - 552BC000h
DUI70                            loaded at 6F770000h - 6F8BB000h
System.Configuration.ni          loaded at 67390000h - 6747E000h
System.Xml.ni                    loaded at 645E0000h - 64D53000h
dnssd                            loaded at 697E0000h - 697F5000h
dhcpcsvc                         loaded at 713C0000h - 713D3000h
explorerframe                    loaded at 6F8C0000h - 6FB13000h
DUser                            loaded at 704B0000h - 70526000h
nvd3dum                          loaded at 59A00000h - 5A7CE000h
nvspcap                          loaded at 08BB0000h - 08CC4000h
nvapi                            loaded at 6FEE0000h - 701B2000h

Stack dump analysis:
Address: 7179C5DFh (d3d9+4C5DFh), symbol: "Direct3DCreate9" (+24249h)
Address: 774B00ACh (ntdll+400ACh), symbol: "RtlFreeHeap" (+79Dh)
Address: 7179C31Fh (d3d9+4C31Fh), symbol: "Direct3DCreate9" (+23F89h)
Address: 774AFAC9h (ntdll+3FAC9h), symbol: "RtlFreeHeap" (+1BAh)
Address: 772A9A22h (msvcrt+9A22h), symbol: "free" (+46h)
Address: 772A9A15h (msvcrt+9A15h), symbol: "free" (+39h)
Address: 772A9A22h (msvcrt+9A22h), symbol: "free" (+46h)
Address: 772A9A15h (msvcrt+9A15h), symbol: "free" (+39h)
Address: 772A9A22h (msvcrt+9A22h), symbol: "free" (+46h)
Address: 6A12ECFAh (MSVCR120+ECFAh), symbol: "free" (+1Ah)
Address: 6A12ECFAh (MSVCR120+ECFAh), symbol: "free" (+1Ah)
Address: 5854FCFDh (frontend_direct3d9+1FCFDh), symbol: "g_seekbar_frontend_entrypoint" (+1E578h)
Address: 5854FD10h (frontend_direct3d9+1FD10h), symbol: "g_seekbar_frontend_entrypoint" (+1E58Bh)
Address: 58555545h (frontend_direct3d9+25545h), symbol: "g_seekbar_frontend_entrypoint" (+23DC0h)
Address: 58543671h (frontend_direct3d9+13671h), symbol: "g_seekbar_frontend_entrypoint" (+11EECh)
Address: 585451EBh (frontend_direct3d9+151EBh), symbol: "g_seekbar_frontend_entrypoint" (+13A66h)
Address: 6A7ED0A9h (foo_wave_seekbar+8D0A9h), symbol: "g_gdi_entrypoint" (+26FA9h)
Address: 6753200Fh (foo_ui_std+6200Fh)
Address: 6A8B7418h (foo_wave_seekbar+157418h), symbol: "foobar2000_get_interface" (+4CFD8h)
Address: 6A8B7424h (foo_wave_seekbar+157424h), symbol: "foobar2000_get_interface" (+4CFE4h)
Address: 7716D3CFh (USER32+1D3CFh), symbol: "GetWindowRgn" (+423h)
Address: 6A8A54A7h (foo_wave_seekbar+1454A7h), symbol: "foobar2000_get_interface" (+3B067h)
Address: 6A7F5AE1h (foo_wave_seekbar+95AE1h), symbol: "g_gdi_entrypoint" (+2F9E1h)
Address: 6A7C7DEFh (foo_wave_seekbar+67DEFh), symbol: "g_gdi_entrypoint" (+1CEFh)
Address: 6A7C7BC1h (foo_wave_seekbar+67BC1h), symbol: "g_gdi_entrypoint" (+1AC1h)
Address: 6A897BA0h (foo_wave_seekbar+137BA0h), symbol: "foobar2000_get_interface" (+2D760h)
Address: 6A7C81AFh (foo_wave_seekbar+681AFh), symbol: "g_gdi_entrypoint" (+20AFh)
Address: 6A7C7C37h (foo_wave_seekbar+67C37h), symbol: "g_gdi_entrypoint" (+1B37h)
Address: 6A7C809Dh (foo_wave_seekbar+6809Dh), symbol: "g_gdi_entrypoint" (+1F9Dh)
Address: 77157834h (USER32+7834h), symbol: "CallNextHookEx" (+97h)
Address: 7715930Fh (USER32+930Fh), symbol: "GetWindowThreadProcessId" (+3E5h)
Address: 77157997h (USER32+7997h), symbol: "CallNextHookEx" (+1FAh)
Address: 75BB1E6Fh (MSCTF+1E6Fh), symbol: "TF_Notify" (+1E6h)
Address: 77185EA4h (USER32+35EA4h), symbol: "IsHungAppWindow" (+2A9h)
Address: 77157BEDh (USER32+7BEDh), symbol: "CallNextHookEx" (+450h)
Address: 774B683Dh (ntdll+4683Dh), symbol: "RtlDeactivateActivationContextUnsafeFast" (+A4h)
Address: 77185EA4h (USER32+35EA4h), symbol: "IsHungAppWindow" (+2A9h)
Address: 77157D81h (USER32+7D81h), symbol: "CallNextHookEx" (+5E4h)
Address: 01313513h (foobar2000+63513h)
Address: 774AEED2h (ntdll+3EED2h), symbol: "KiUserCallbackDispatcher" (+2Eh)
Address: 774AEE30h (ntdll+3EE30h), symbol: "KiUserApcDispatcher" (+48h)
Address: 7749B570h (ntdll+2B570h), symbol: "NtdllDialogWndProc_W" (+160h)
Address: 77159B6Ch (USER32+9B6Ch), symbol: "SetRectEmpty" (+3Ah)
Address: 771724F1h (USER32+224F1h), symbol: "CallMsgFilterW" (+6Bh)
Address: 77185EA4h (USER32+35EA4h), symbol: "IsHungAppWindow" (+2A9h)
Address: 77172626h (USER32+22626h), symbol: "IsDialogMessageW" (+10Bh)
Address: 675493F6h (foo_ui_std+793F6h)
Address: 01310904h (foobar2000+60904h)
Address: 7715AD54h (USER32+AD54h), symbol: "DestroyWindow" (+0h)
Address: 013D5A80h (foobar2000+125A80h)
Address: 013109E7h (foobar2000+609E7h)
Address: 013114C5h (foobar2000+614C5h)
Address: 01405264h (foobar2000+155264h)
Address: 01405248h (foobar2000+155248h)
Address: 01405248h (foobar2000+155248h)
Address: 0140522Ch (foobar2000+15522Ch)
Address: 013C884Bh (foobar2000+11884Bh)
Address: 013C5BC0h (foobar2000+115BC0h)
Address: 013C884Bh (foobar2000+11884Bh)
Address: 013C63B5h (foobar2000+1163B5h)
Address: 6AFC2836h (shared+2836h), symbol: "uPrintCrashInfo_OnEvent" (+B1h)
Address: 013FAC28h (foobar2000+14AC28h)
Address: 013E1B62h (foobar2000+131B62h)
Address: 013116E9h (foobar2000+616E9h)
Address: 012B0000h (foobar2000+0h)
Address: 013C5566h (foobar2000+115566h)
Address: 013C141Fh (foobar2000+11141Fh)
Address: 013C1419h (foobar2000+111419h)
Address: 013EBAFCh (foobar2000+13BAFCh)
Address: 013EBB00h (foobar2000+13BB00h)
Address: 013E84B1h (foobar2000+1384B1h)
Address: 013C5BC0h (foobar2000+115BC0h)
Address: 013C1419h (foobar2000+111419h)
Address: 013E1E69h (foobar2000+131E69h)
Address: 013C334Dh (foobar2000+11334Dh)
Address: 012B0000h (foobar2000+0h)
Address: 013C5BC0h (foobar2000+115BC0h)
Address: 7505919Fh (KERNEL32+1919Fh), symbol: "BaseThreadInitThunk" (+Eh)
Address: 774BA22Bh (ntdll+4A22Bh), symbol: "RtlInitializeExceptionChain" (+84h)
Address: 774F6645h (ntdll+86645h), symbol: "wcstombs" (+87h)
Address: 774BA201h (ntdll+4A201h), symbol: "RtlInitializeExceptionChain" (+5Ah)
Address: 774AF21Bh (ntdll+3F21Bh), symbol: "RtlCaptureContext" (+E8h)
Address: 013C33A0h (foobar2000+1133A0h)

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

Components:
Core (2014-07-16 13:32:52 UTC)
    foobar2000 core 1.3.3
foo_albumlist.dll (2014-07-16 13:29:06 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2013-04-28 17:01:31 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2014-07-16 13:28:50 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2014-07-16 13:29:00 UTC)
    Converter 1.5
foo_deskband_controls.dll (2014-07-11 15:10:50 UTC)
    Deskband Controls 1.1
foo_dsp_effect.dll (2013-09-30 02:14:29 UTC)
    Effect DSP 0.12
foo_dsp_eq.dll (2014-07-16 13:29:12 UTC)
    Equalizer 1.0
foo_dsp_soundtouch.dll (2012-10-30 01:26:35 UTC)
    SoundTouch DSP 0.1 (SSE)
foo_dsp_std.dll (2014-07-16 13:28:58 UTC)
    Standard DSP Array 1.3
foo_dsp_xgeq.dll (2013-05-01 02:01:52 UTC)
    Graphic Equalizer 0.3.7
foo_fileops.dll (2014-07-16 13:28:26 UTC)
    File Operations 2.2.1
foo_httpcontrol.dll (2014-02-05 15:34:49 UTC)
    HTTP Control 0.97.13
foo_input_std.dll (2014-07-16 13:32:52 UTC)
    Standard Input Array 1.0
foo_masstag.dll (2012-11-29 23:44:53 UTC)
    Masstagger 1.8.4
foo_playcount.dll (2013-02-01 08:40:46 UTC)
    Playback Statistics 3.0.2
foo_quicksearch.dll (2012-11-02 02:01:23 UTC)
    Quick Search Toolbar 3.4
foo_rgscan.dll (2014-07-16 13:31:50 UTC)
    ReplayGain Scanner 2.2.1
foo_touchremote.dll (2013-01-08 16:40:26 UTC)
    TouchRemote DACP server for foobar2000 0.2.8.3
foo_ui_std.dll (2014-07-16 13:32:52 UTC)
    Default User Interface 0.9.5
foo_uie_wsh_panel_mod.dll (2010-02-28 02:59:14 UTC)
    WSH Panel Mod 1.3.2
foo_upnp.dll (2013-12-09 20:37:05 UTC)
    UPnP/DLNA Renderer, Server, Control Point 0.99.48
foo_w7shell.dll (2010-01-17 03:09:20 UTC)
    Windows 7 integration 0.2.9.1
foo_wave_seekbar.dll (2014-08-16 15:55:35 UTC)
    Waveform seekbar 0.2.45

Recent events:
Starting playlist loading
Folder watching failure: Das System kann den angegebenen Pfad nicht finden.  
Watching: C:\Users\Public\Music
User Interface initialized in: 0:00.061774
Processing commandline
initquit::init entry
Graphic Equalizer: initialized (SSE support: 3)
TouchRemote initialization started
TouchRemote database id: 87CFB89383870D26
TouchRemote initialization finished
foo_upnp: succesfully loaded file C:\Users\Kyro0\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.013s
w7shell: init started
w7shell: GDI+ initialized
w7shell: COM initialized
w7shell: running on Windows NT 6.3.9600
w7shell: DWM composition enabled
w7shell: WA_DISALLOW_PEEK successfully set
w7shell: WA_DISALLOW_PEEK successfully set
w7shell: WA_HAS_ICONIC_BITMAP successfully set
w7shell: WA_FORCE_ICONIC_REPRESENTATION successfully set
w7shell: failed to set WA_FLIP3D_POLICY: 0x80070057
w7shell: all green
initquit::init exit
Startup time : 0:00.983143
foo_upnp: loaded Media Library tree in 0.013s
w7shell: taskbar button create notification got
foo_upnp: created 3470 path registry entries in 0.035s
Seekbar: taking Direct3D9 path.
Seekbar: Frontend initialized.


Machine specifications:
OS: Windows 6.3.9600 x64
CPU: AMD Phenom(tm) II X4 955 Processor, features: 3DNow!ex MMX SSE SSE2 SSE3
CPU threads: 4
Audio: (Realtek High Definition Audio)

foo_wave_seekbar

Reply #1745
At a cursory glance, there's something that makes device creation for Direct3D9 to fail, or the device is lost in a spectacular manner.
If you want to mitigate this and can stand the GDI or D2D frontends, you could remove the frontend_direct3d9.dll and see if the other ones work.
Stay sane, exile.

foo_wave_seekbar

Reply #1746
Foobar2000 started to crash on exit recently. It appears that crashes were caused by foo_wave_seekbar 0.2.45. I reinstalled it and crashes disappeared. There's crash log:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00000000h
Access violation, operation: write, address: 00000000h

Call path not available.

Stack (0987FCC0h):
0987FCA0h: 00000000 FFFFFD34 000002E4 FFFFFD34
0987FCB0h: 000002CC 00000019 00000000 6E1CEE1F
0987FCC0h: 6E05F91F 742A3D63 00CA6C1C 0053ADA0
0987FCD0h: 74221538 0053ADA0 6E060745 B54D1E84
0987FCE0h: 00511794 0987FD08 0987FD70 0987FCC4
0987FCF0h: 0987FD30 6E06FEE0 00000000 0987FD3C
0987FD00h: 6E0608BE 004D9310 0053C038 74221538
0987FD10h: 0987FD38 6E05C12F 00000000 B54D1F40
0987FD20h: B54D1F44 00000002 0987FE30 0987FD08
0987FD30h: 0987FE5C 6E06FF78 FFFFFFFF 0987FE68
0987FD40h: 6E0654B0 0987FD58 B54D1C10 0987FE74
0987FD50h: 004837E8 004837EC 00000020 00000100
0987FD60h: 00000000 00000000 0053C038 3F800000
0987FD70h: 004837E8 0987FD9C 0015941C 4435C000
0987FD80h: 41A80000 0987FDAC 00000002 00000001
0987FD90h: 0D024928 0D024930 0D024930 0C7D0428
0987FDA0h: 0C7D0230 0C7D0278 0C7D01E8 00000002
0987FDB0h: 6E07311C 00000000 00000000 00000000
0987FDC0h: 4435C000 41A80000 42C00000 42C00000
0987FDD0h: 00000002 6E07311C 00000000 00000000

Registers:
EAX: 004B1850, EBX: 004D9310, ECX: 004D9310, EDX: 00448D08
ESI: 0987FCC4, EDI: 00511794, EBP: 0987FCFC, ESP: 0987FCC0

Unable to identify crash location!

Loaded modules:
foobar2000 loaded at 01390000h - 0155E000h
ntdll loaded at 77260000h - 773E0000h
kernel32 loaded at 75130000h - 75240000h
KERNELBASE loaded at 76660000h - 766A7000h
COMCTL32 loaded at 74450000h - 745EE000h
msvcrt loaded at 74F40000h - 74FEC000h
GDI32 loaded at 74D00000h - 74D90000h
USER32 loaded at 76810000h - 76910000h
ADVAPI32 loaded at 76260000h - 76300000h
sechost loaded at 76170000h - 76189000h
RPCRT4 loaded at 75FF0000h - 760E0000h
SspiCli loaded at 74940000h - 749A0000h
CRYPTBASE loaded at 74930000h - 7493C000h
LPK loaded at 74F30000h - 74F3A000h
USP10 loaded at 764A0000h - 7653D000h
SHLWAPI loaded at 76190000h - 761E7000h
DSOUND loaded at 6FDE0000h - 6FE52000h
ole32 loaded at 75240000h - 7539C000h
WINMM loaded at 71120000h - 71152000h
POWRPROF loaded at 71160000h - 71185000h
SETUPAPI loaded at 74B60000h - 74CFD000h
CFGMGR32 loaded at 76230000h - 76257000h
OLEAUT32 loaded at 760E0000h - 7616F000h
DEVOBJ loaded at 76780000h - 76792000h
UxTheme loaded at 743D0000h - 74450000h
SHELL32 loaded at 753A0000h - 75FEA000h
zlib1 loaded at 62E80000h - 62E9F000h
shared loaded at 72AA0000h - 72ACB000h
imagehlp loaded at 74D90000h - 74DBB000h
dbghelp loaded at 6EC60000h - 6ED4B000h
COMDLG32 loaded at 76300000h - 7637B000h
CRYPT32 loaded at 76380000h - 764A0000h
MSASN1 loaded at 750C0000h - 750CC000h
Secur32 loaded at 71190000h - 71198000h
gdiplus loaded at 70930000h - 70AC0000h
WINHTTP loaded at 73460000h - 734B8000h
webio loaded at 73410000h - 7345F000h
IMM32 loaded at 750D0000h - 75130000h
MSCTF loaded at 766B0000h - 7677C000h
ActiveDetect32 loaded at 10000000h - 10036000h
WindowsApiHookDll32 loaded at 00250000h - 00270000h
VERSION loaded at 748D0000h - 748D9000h
dwmapi loaded at 74320000h - 74333000h
pshook loaded at 70E50000h - 70E5A000h
foo_input_std loaded at 6EB00000h - 6EC58000h
MSACM32 loaded at 70AC0000h - 70AD4000h
avcodec-fb2k-55 loaded at 6E920000h - 6EAF3000h
avutil-fb2k-52 loaded at 6E8B0000h - 6E91A000h
foo_plorg loaded at 6FDB0000h - 6FDDA000h
MSVCP100 loaded at 6E840000h - 6E8A9000h
MSVCR100 loaded at 6E780000h - 6E83F000h
foo_audioscrobbler loaded at 00E60000h - 00E93000h
foo_playlist_attributes loaded at 011B0000h - 01206000h
foo_queuecontents loaded at 01320000h - 0138E000h
foo_cdda loaded at 6E730000h - 6E77F000h
foo_cad loaded at 6FD80000h - 6FDA6000h
foo_input_monkey loaded at 00FA0000h - 00FE8000h
foo_converter loaded at 6E6B0000h - 6E730000h
foo_uie_lyrics3 loaded at 036B0000h - 0376E000h
WININET loaded at 76540000h - 7665B000h
Normaliz loaded at 77230000h - 77233000h
iertutil loaded at 749A0000h - 74B59000h
urlmon loaded at 74DC0000h - 74ED1000h
MSIMG32 loaded at 70D50000h - 70D55000h
foo_rgscan loaded at 6E650000h - 6E6AB000h
foo_freedb2 loaded at 6E600000h - 6E64E000h
foo_ui_columns loaded at 059C0000h - 05B50000h
foo_albumlist loaded at 6E5A0000h - 6E5FA000h
foo_abx loaded at 00F50000h - 00F82000h
foo_fileops loaded at 6E550000h - 6E59B000h
foo_dsp_eq loaded at 6E510000h - 6E546000h
foo_jesus loaded at 6ED70000h - 6ED8A000h
foo_unpack loaded at 6E4E0000h - 6E50F000h
foo_wave_seekbar loaded at 6E330000h - 6E4D9000h
WS2_32 loaded at 74FF0000h - 75025000h
NSI loaded at 76800000h - 76806000h
PSAPI loaded at 76220000h - 76225000h
IPHLPAPI loaded at 72350000h - 7236C000h
WINNSI loaded at 72340000h - 72347000h
MSVCP120 loaded at 6E2B0000h - 6E321000h
MSVCR120 loaded at 6E1C0000h - 6E2AE000h
mswsock loaded at 723E0000h - 7241C000h
wshtcpip loaded at 721A0000h - 721A5000h
wship6 loaded at 73C80000h - 73C86000h
foo_keep_queue loaded at 72A90000h - 72A9F000h
MSVCR90 loaded at 6ED90000h - 6EE33000h
foo_uie_albumlist loaded at 02FB0000h - 02FF3000h
foo_ui_std loaded at 6E0D0000h - 6E1BB000h
foo_dsp_std loaded at 6E090000h - 6E0C6000h
frontend_direct2d loaded at 6E040000h - 6E081000h
d2d1 loaded at 72CE0000h - 73027000h
d3d9 loaded at 70B30000h - 70CF3000h
d3d8thk loaded at 70B20000h - 70B26000h
frontend_direct3d9 loaded at 6DFF0000h - 6E040000h
d3dx9_42 loaded at 6DE00000h - 6DFE5000h
SciLexer loaded at 6DD50000h - 6DDF2000h
CLBCatQ loaded at 76910000h - 76993000h
MMDevApi loaded at 734C0000h - 734F9000h
PROPSYS loaded at 74020000h - 74115000h
AUDIOSES loaded at 733D0000h - 73406000h
WindowsCodecs loaded at 741F0000h - 74320000h
apphelp loaded at 741A0000h - 741EC000h
EhStorShell loaded at 74120000h - 74151000h
ntshrui loaded at 73F40000h - 73FB0000h
srvcli loaded at 74180000h - 74199000h
cscapi loaded at 74170000h - 7417B000h
slc loaded at 74160000h - 7416A000h
dxgi loaded at 72B50000h - 72B9C000h
WINTRUST loaded at 761F0000h - 7621E000h
d3d11 loaded at 6FE60000h - 6FFD5000h
nvwgf2um loaded at 6CF70000h - 6DBE8000h
sud loaded at 6DC90000h - 6DD4B000h
ADVPACK loaded at 6DC60000h - 6DC8E000h
DUI70 loaded at 73760000h - 73812000h
explorerframe loaded at 73850000h - 739BF000h
DUser loaded at 73820000h - 7384F000h
DNSAPI loaded at 72390000h - 723D4000h
rasadhlp loaded at 722F0000h - 722F6000h
fwpuclnt loaded at 72300000h - 72338000h
D3D10Warp loaded at 6EFA0000h - 6F189000h
avrt loaded at 73DE0000h - 73DE7000h

Stack dump analysis:
Address: 6E05F91Fh (frontend_direct2d+1F91Fh)
Address: 742A3D63h (WindowsCodecs+B3D63h), symbol: "IWICColorContext_InitializeFromMemory_Proxy" (+851EEh)
Address: 74221538h (WindowsCodecs+31538h), symbol: "IWICColorContext_InitializeFromMemory_Proxy" (+29C3h)
Address: 6E060745h (frontend_direct2d+20745h)
Address: 6E06FEE0h (frontend_direct2d+2FEE0h), symbol: "g_seekbar_frontend_entrypoint" (+A6F0h)
Address: 6E0608BEh (frontend_direct2d+208BEh)
Address: 74221538h (WindowsCodecs+31538h), symbol: "IWICColorContext_InitializeFromMemory_Proxy" (+29C3h)
Address: 6E05C12Fh (frontend_direct2d+1C12Fh)
Address: 6E06FF78h (frontend_direct2d+2FF78h), symbol: "g_seekbar_frontend_entrypoint" (+A788h)
Address: 6E0654B0h (frontend_direct2d+254B0h)
Address: 6E07311Ch (frontend_direct2d+3311Ch), symbol: "g_seekbar_frontend_entrypoint" (+D92Ch)
Address: 6E07311Ch (frontend_direct2d+3311Ch), symbol: "g_seekbar_frontend_entrypoint" (+D92Ch)
Address: 6E0730C4h (frontend_direct2d+330C4h), symbol: "g_seekbar_frontend_entrypoint" (+D8D4h)
Address: 6E0703A1h (frontend_direct2d+303A1h), symbol: "g_seekbar_frontend_entrypoint" (+ABB1h)
Address: 6E05834Ch (frontend_direct2d+1834Ch)
Address: 6E072FC4h (frontend_direct2d+32FC4h), symbol: "g_seekbar_frontend_entrypoint" (+D7D4h)
Address: 6E058190h (frontend_direct2d+18190h)
Address: 6E072FC4h (frontend_direct2d+32FC4h), symbol: "g_seekbar_frontend_entrypoint" (+D7D4h)
Address: 6E06F6ABh (frontend_direct2d+2F6ABh), symbol: "g_seekbar_frontend_entrypoint" (+9EBBh)
Address: 6E042B15h (frontend_direct2d+2B15h)
Address: 6E072D50h (frontend_direct2d+32D50h), symbol: "g_seekbar_frontend_entrypoint" (+D560h)
Address: 6E1EC01Dh (MSVCR120+2C01Dh), symbol: "_get_flsindex" (+6Fh)
Address: 6E1DA0D5h (MSVCR120+1A0D5h), symbol: "_ValidateRead" (+439h)
Address: 6E1EC001h (MSVCR120+2C001h), symbol: "_get_flsindex" (+53h)
Address: 7514338Ah (kernel32+1338Ah), symbol: "BaseThreadInitThunk" (+12h)
Address: 77299F72h (ntdll+39F72h), symbol: "RtlInitializeExceptionChain" (+63h)
Address: 73956245h (explorerframe+106245h), symbol: "Ordinal134" (+43323h)
Address: 751676F7h (kernel32+376F7h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 751676F7h (kernel32+376F7h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 772D71F5h (ntdll+771F5h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77299F45h (ntdll+39F45h), symbol: "RtlInitializeExceptionChain" (+36h)
Address: 6E1EBFB4h (MSVCR120+2BFB4h), symbol: "_get_flsindex" (+6h)
Address: 6E1EBFB4h (MSVCR120+2BFB4h), symbol: "_get_flsindex" (+6h)

Environment:
App: foobar2000 v1.3.2
UI: Columns UI 0.3.8.8

Components:
Core (2014-04-11 09:51:08 UTC)
foobar2000 core 1.3.2
foo_abx.dll (2012-07-09 03:30:27 UTC)
ABX Comparator 1.3.4
foo_albumlist.dll (2014-04-11 09:49:46 UTC)
Album List 4.5
foo_audioscrobbler.dll (2011-07-14 15:55:19 UTC)
Audioscrobbler 1.4.7
foo_cad.dll (2012-05-06 15:20:23 UTC)
CD Art Display 1.0.2
foo_cdda.dll (2014-04-11 09:49:18 UTC)
CD Audio Decoder 3.0
foo_converter.dll (2014-04-11 09:49:20 UTC)
Converter 1.5
foo_dsp_eq.dll (2014-04-11 09:49:32 UTC)
Equalizer 1.0
foo_dsp_std.dll (2014-04-11 09:49:24 UTC)
Standard DSP Array 1.3
foo_fileops.dll (2014-04-11 09:49:06 UTC)
File Operations 2.2.1
foo_freedb2.dll (2014-04-11 09:49:24 UTC)
Online Tagger 0.7
foo_input_monkey.dll (2013-05-25 12:17:56 UTC)
Monkey's Audio Decoder 2.1.7
foo_input_std.dll (2014-04-11 09:51:10 UTC)
Standard Input Array 1.0
foo_jesus.dll (2012-07-09 02:48:30 UTC)
Autosave & Autobackup 10
foo_keep_queue.dll (2012-07-09 03:26:35 UTC)
Keep Queue 0.3.5
foo_playlist_attributes.dll (2013-05-25 12:17:56 UTC)
Playlist Attributes 0.5.2
foo_plorg.dll (2012-07-09 03:10:26 UTC)
Playlist Organizer 2.4
foo_queuecontents.dll (2012-07-09 03:20:04 UTC)
Queue Contents Editor 0.5.1
foo_rgscan.dll (2014-04-11 09:49:26 UTC)
ReplayGain Scanner 2.2.1
foo_ui_columns.dll (2011-02-27 20:22:58 UTC)
Columns UI 0.3.8.8
foo_ui_std.dll (2014-04-11 09:51:08 UTC)
Default User Interface 0.9.5
foo_uie_albumlist.dll (2013-07-14 06:53:00 UTC)
Album list panel 0.3.5
foo_uie_lyrics3.dll (2014-07-21 03:59:29 UTC)
Lyric Show Panel 3 0.4.4
foo_unpack.dll (2014-04-11 09:48:52 UTC)
ZIP/GZIP/RAR Reader 1.6
foo_wave_seekbar.dll (2014-07-21 03:59:29 UTC)
Waveform seekbar 0.2.45

Recent events:
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_dsp_std.dll
Components loaded in: 0:00.046429
Pre config read
Configuration read in: 0:00.006092
Starting playlist loading
Watching: D:\Music
Watching: I:\Music
Seekbar: taking Direct2D1 path.
Seekbar: Frontend initialized.
User Interface initialized in: 0:00.291683
Processing commandline
initquit::init entry
initquit::init exit
Startup time : 0:01.920373
Opening track for playback: "D:\Music\The Great Old Ones\2012 - Al Azif\04. Rue d'Auseil.flac"
Audioscrobbler: Handshake successful.
Columns UI/Tab stack: Warning: Playlist Organizer panel was visible on creation! This usually indicates a bug in this panel.
Album list panel: initialised in 0.495 s
Refresh visuals
Refresh visuals
Autobackup: Backed up 170 items to autobackup.20140831-150341.zip
Opening track for playback: "D:\Music\The Great Old Ones\2012 - Al Azif\05. The Truth.flac"
Wave cache: finished analysis of "D:\Music\The Great Old Ones\2012 - Al Azif\05. The Truth.flac"
Autosaving... (I)
Configuration saved in: 0:03.775968
Autobackup: Backed up 170 items to autobackup.20140831-203542.zip
Shutting down...
initquit::quit entry
initquit::quit exit
Playlist Organizer: Last instance destroyed, Memorizing configuration


Machine specifications:
OS: Windows 6.1.7601 Service Pack 1 x64
CPU: Intel® Core™ i5 CPU M 430 @ 2.27GHz, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
CPU threads: 4
Audio: Динамики (Conexant CX20671 SmartAudio HD)



UPD:
I just found out that the problem caused by Frontend option - Direcd2D 1.0. Otherwise it don't crash.

foo_wave_seekbar

Reply #1747
*** 1 *** ===> Transparent % settings    ===>    http://oi59.tinypic.com/2hn05n6.jpg
(Image: The top one is how it is now, bottom one is just more faded, and how I would prefer it to be.)

Would it be possible to add a transparent % meter to to the "Highlight color" atm is seems to be a transparent fader around 20%.

Would be nice to have the option to set the transparent to X% meter manually instead of ON/OFF




*** 2 *** ===> Automaticly bost/lower songs "volume"

And my pictures are on the "Mix-down to mono" settings, so I dont show left and right speakers.
What I mean with "low" "Loud" "Balanced"    ===>    http://oi61.tinypic.com/2j4ofp0.jpg
Im not an audiophile, so if I have misunderstood anything, sorry in advance.

So some songs have nice volume while other songs are really loud and then there are some songs some are low.

But what I understood how big/small ("loud"/"low") the meters are related to the recording/sample, and it is in a way how loud/low the recording at that part of the song.

I have a few hundred/thousands songs in my playlist. And some songs is also added to my play list true "FooBar YouTube" ( http://www.hydrogenaud.io/forums/index.php?showtopic=104379 )
So plz dont give me a reply that "The song is recorded that way, you need to download/get a better version of the song in better quality sample."
Since a few songs are you tube, stuff that I cant control in any way.

So my question if it would possible to have a few options , that boost/decrease some settings ? (Not THE volume meter)
And when I write Boost/decrease Im NOT referring to "THE Volume meter", best would be if there was some other way to increase the volume you hear without increasing/decreasing "THE volume meter" itself.
Bit if it is not possible to do it in any other way then to move the Volume meter, then that would be a better way then how it is now.

Now that I have explained why, lets try and explain how I mean.

How would one have settings for this ?
"Red Zone"    ===>    http://oi62.tinypic.com/qx5u15.jpg
My theory is that you can have settings that the program auto adjusts so in a "Low" song then it will increase it untill 10% (factor Y) of the peaks are in the red area.
And on the "Loud" songs it would decrease untill only 10% (factor Y) of the peaks are in the red area.

Dont look at the "Red Zone" and say, no the zone should be smaller, or i should be bigger zone, its just an image trying to simulate what Im refering to. Size of zone and % (factor Y) is something that people who are more into audio can determine then me.

foo_wave_seekbar

Reply #1748
#1: If you're using the D3D9 frontend, you can modify the shader to use any alpha you want for the played region. If not, meh. It's technically possible to expose a scalar from the UI, but it's way more GUI work than I want to ever do.

#2: I don't touch the audio. If you want to adjust how your audio is played back, look into ReplayGain or use some DSP like a compressor to adjust the audio.

The frontends adjust their display based on ReplayGain values stored in metadata, so if foobar2000 tells me there's RG and it's enabled, I'll use it to rescale the visual waveform.
Stay sane, exile.

foo_wave_seekbar

Reply #1749
I think what Wolfbane tried to ask was a way to automatically scale the waveform to fill the entirety of the available space without (or with minimal) clipping, when applicable.



So for songs like the top two, all is good. Some of them however produces waveforms as the bottom three (all of them has RG tags). Those could be scaled vertically to use all space available.

I'm obviously not using the default frontend and don't remember whether it produces similar results, so I could be totally wrong and might have misunderstood Wolfbane as well. It's just something that bothered me personally but never enough to actually address the 'issue'.


(The frontend I'm using, probably taken from somewhere in this topic:)
Code: [Select]
texture tex : WAVEFORMDATA;

sampler sTex = sampler_state
{
Texture = (tex);
MipFilter = LINEAR;
MinFilter = LINEAR;
MagFilter = LINEAR;

AddressU = Clamp;
};

struct VS_IN
{
float2 pos : POSITION;
float2 tc : TEXCOORD0;
};

struct PS_IN
{
float4 pos : SV_POSITION;
float2 tc : TEXCOORD0;
};


float4 backgroundColor : BACKGROUNDCOLOR;
float4 highlightColor  : HIGHLIGHTCOLOR;
float4 selectionColor  : SELECTIONCOLOR;
float4 textColor      : TEXTCOLOR;
float cursorPos        : CURSORPOSITION;
bool cursorVisible    : CURSORVISIBLE;
float seekPos          : SEEKPOSITION;
bool seeking          : SEEKING;
float4 replayGain      : REPLAYGAIN; // album gain, track gain, album peak, track peak
float2 viewportSize    : VIEWPORTSIZE;
bool horizontal        : ORIENTATION;
bool flipped          : FLIPPED;
bool shade_played      : SHADEPLAYED;
float3 track_magnitude  : TRACKMAGNITUDE;

PS_IN VS( VS_IN input )
{
PS_IN output = (PS_IN)0;

float2 half_pixel = float2(1,-1) / viewportSize;
output.pos = float4(input.pos - half_pixel, 0, 1);

if (horizontal)
output.tc = float2((input.tc.x + 1.0) / 2.0, input.tc.y);
else
output.tc = float2((-input.tc.y + 1.0) / 2.0, input.tc.x);

if (flipped)
output.tc.x = 1.0 - output.tc.x;

return output;
}

float4 bar( float pos, float2 tc, float4 fg, float4 bg, float width, bool show )
{
float dist = abs(pos - tc.x);
float4 c = (show && dist < width)
? lerp(fg, bg, smoothstep(0, width, dist))
: bg;
return c;
}

float4 evaluate( float2 tc, float cursorPos )
{
// alpha 1 indicates biased texture
float4 minmaxrms = tex1D(sTex, tc.x);
minmaxrms.rgb -= 0.5 * minmaxrms.a;
minmaxrms.rgb *= 1.0 + minmaxrms.a;
float below = tc.y - minmaxrms.r;
float above = tc.y - minmaxrms.g;
float factor = min(abs(below), abs(above));
bool outside = (below < 0 || above > 0);
bool inside_rms = abs(tc.y) <= minmaxrms.b;
bool played = cursorPos < tc.x;
float4 inside_color = played ? textColor : highlightColor;
float4 bgColor = backgroundColor;

float4 wave = outside
? bgColor
: inside_color
;

return saturate(wave);
}

float4 reflect_evaluate( float2 tc, float cursorPos)
{
float baseline = -1.0/3.0;
float low_unscale = 3.0/2.0;
float high_unscale = 3.0/4.0;
bool mirrored = tc.y < baseline;
if (mirrored) {
tc.y = baseline - tc.y;
tc.y = tc.y * low_unscale;
}
else {
tc.y = tc.y - baseline;
tc.y = tc.y * high_unscale;
}
float mag = max(-track_magnitude.r, track_magnitude.g);
if (mag > 0.95) {
tc.y = lerp(0, mag/0.95, tc.y);
}
float boost = mirrored ? 1.3 : 1.0;
float gradient = lerp(0.7, 1.0, tc.y);
return boost * gradient * evaluate(tc, cursorPos);
}

float4 PS( PS_IN input ) : SV_Target
{
float dx, dy;
if (horizontal) {
dx = 1/viewportSize.x;
dy = 1/viewportSize.y;
}
else {
dx = 1/viewportSize.y;
dy = 1/viewportSize.x;
}
float seekWidth = 2.5 * dx;
float positionWidth = 2.5 * dx;

float4 c0 = reflect_evaluate(input.tc, cursorPos);
c0 = bar(cursorPos, input.tc, selectionColor, c0, positionWidth, cursorVisible);
c0 = bar(seekPos,  input.tc, selectionColor, c0, seekWidth,    seeking      );
return c0;
}

technique Render9
{
pass
{
VertexShader = compile vs_2_0 VS();
PixelShader = compile ps_2_0 PS();
}
}