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_xm (Read 64624 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_xm

Reply #50
I agree this is a bit of a gimmick, however a 30 seconds delay (or 10 seconds delay as seen here) is still sometimes useful.

The other features you mentioned are great too, and will also improve this plugin.

I always thought the Now Playing feature was a bit of a gimmick. It's only supposed to update every 30 seconds, so you can't really use it to quickly tune in to songs. For simply finding out what program is on, there are other tools such as XM's program guide that are better suited for that.

It is something I'd eventually like to implement. But there are other things I'd like to get to first. Specifically, "album art" support (channel logos) and a playlist that always matches the server channel list.
You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.

- Abraham Lincoln

foo_xm

Reply #51
XM online updated their website last night, and since then, when I listen to a stream through foo_XM, it throws an error with the Microsoft Visual C++ Runtime Library, mentioning that foobar2000 has requested the runtime to terminate it in an unusual way. (rowr)  ahem.

Anyway, looks like they made some change that is causing things to barf and fall over. 

Interestingly enough, once I ignore the error and move the window off the screen telling me about it, everything works just peachy fine.

foo_xm

Reply #52
I just uploaded a new version 1.2.1 to the foo_xm site a few minutes ago that should fix the recent problem. They changed the format of the channel list and caused a runaway regular expression. Thanks.

foo_xm

Reply #53
Hot damn, thanks!

foo_xm

Reply #54
@ FrozenSpoon

Can you please rebuild foo_xm with the latest fb2k SDK so it will be compatible with 0.9.6 b1 on vista?

Thanks in advance!
You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.

- Abraham Lincoln

foo_xm

Reply #55
I just uploaded 1.2.1.1 which should work on 0.9.6 beta + Vista. However, I don't have Vista to test on so let me know if it is still broken.

foo_xm

Reply #56
I just uploaded 1.2.1.1 which should work on 0.9.6 beta + Vista. However, I don't have Vista to test on so let me know if it is still broken.


It seems to have done the trick, thanks!
You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.

- Abraham Lincoln


foo_xm

Reply #58
Hey, I just noticed that since Sirius screwed everything up I can't see XM 202 on the main list when I update it.  Did they break things?

foo_xm

Reply #59
I would love to have a sirius plugin for foobar. Please 
Hard to justify doing this now that the channels are almost completely the same.
Hey, I just noticed that since Sirius screwed everything up I can't see XM 202 on the main list when I update it.  Did they break things?
Grab the newest 1.2.2 version from the website. The new channel data was larger than I expected it to be and missed out on the last few channels.

foo_xm

Reply #60
@ FrozenSpoon

While running the latest version (1.2.2) after some hours of playback of some XM channel, the memory usage of foobar increses to several hundreds of megabytes (in some cases close to a gigabyte of commited bytes)

When stopping the playback, and playing a regular mp3, the memory is getting released.

Any idea why this is happening?
You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.

- Abraham Lincoln

foo_xm

Reply #61
Sounds strange, I'm not seeing that behavior. I just played a channel for 3 hours and memory usage was ±100KB of when I started. What foobar version and Windows version are you using? (hard to believe those would make a difference though)

Any chance you can list the components you have installed? Have you added/updated any recently? Pure conjecture, but I'm wondering if a different component is leaking and it's only really noticeable when playing a track for hours. It may be worth playing a plain Internet radio station for several hours and see if it too is showing this problem.

foo_xm

Reply #62
Sounds strange, I'm not seeing that behavior. I just played a channel for 3 hours and memory usage was ±100KB of when I started. What foobar version and Windows version are you using? (hard to believe those would make a difference though)

Any chance you can list the components you have installed? Have you added/updated any recently? Pure conjecture, but I'm wondering if a different component is leaking and it's only really noticeable when playing a track for hours. It may be worth playing a plain Internet radio station for several hours and see if it too is showing this problem.


Donno if its related, but try this:

Start a regular stream, and press pause, after 1 minute press resume. Notice the lack of change in memory usage.

Now start an XM stream, and do the same procedure, notice the sudden rise in memory usage.
You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.

- Abraham Lincoln

foo_xm

Reply #63
Yes, well, when paused the component "acts like a tivo" which is arguably wrong, but then again, could be useful.

Unless you had been pausing during the track when the memory usage was spiraling out of control, this behavior is unrelated.

foo_xm

Reply #64
Yes, well, when paused the component "acts like a tivo" which is arguably wrong, but then again, could be useful.

Unless you had been pausing during the track when the memory usage was spiraling out of control, this behavior is unrelated.


Can this behaviour be changed? since pausing for a while will consume all available memory, and will not released when the playback resumes.

Also, the song titles will be completly out of sync by that point in time.
You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.

- Abraham Lincoln

foo_xm

Reply #65
More crashes:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00BD33E0h
Access violation, operation: read, address: 00000000h
Call path:
playback_process entry=>input/open=>input_entry::g_open_for_decoding=>input_entry::g_open_for_decoding
Code bytes (00BD33E0h):
00BD33A0h:  1C 68 C0 2B C0 00 68 CC 2B C0 00 E8 A5 56 02 00
00BD33B0h:  39 1D 84 A7 C0 00 A1 78 A7 C0 00 77 05 B8 84 28
00BD33C0h:  C0 00 8B 4E 1C 50 6A 02 68 D4 2B C0 00 E8 2E 55
00BD33D0h:  02 00 8B 4E 1C 8B 49 14 8B C1 8D 78 01 8D 49 00
00BD33E0h:  8A 10 83 C0 01 84 D2 75 F7 2B C7 8D 14 08 51 E8
00BD33F0h:  EC 53 00 00 83 C4 04 84 C0 74 3F 39 1D 84 A7 C0
00BD3400h:  00 A1 78 A7 C0 00 77 05 B8 84 28 C0 00 8B 4E 1C
00BD3410h:  50 6A 01 68 08 2C C0 00 E8 E3 54 02 00 C6 05 39
Stack (017BF138h):
017BF118h:  0000040B 0012FA10 001D0202 0012FAFC
017BF128h:  012057E0 00153598 00000025 0012FA80
017BF138h:  C9DC61F5 00E59598 003C7470 003C7110
017BF148h:  00000000 003C7470 00000000 017BF16C
017BF158h:  00BDD26C 00000030 00000000 00000000
017BF168h:  017BF1D0 00BFE3E0 FFFFFFFF 00BD3589
017BF178h:  C9DC61B5 00000000 00000001 00000000
017BF188h:  00000000 00000000 00000000 00000000
017BF198h:  00000000 00000000 00000000 00000000
017BF1A8h:  00000000 00000000 00000000 00000000
017BF1B8h:  00000000 00000000 00000000 00000000
017BF1C8h:  00000000 00000000 017BF1F0 00BFE6AB
017BF1D8h:  00000000 00BD8777 00000000 00000000
017BF1E8h:  C9DC6125 00000000 017BF218 00BFE708
017BF1F8h:  00000000 00BD85BC 00000000 003C7470
017BF208h:  017BF1E0 C9DC62D9 00000000 00E59590
017BF218h:  017BF248 00BFE738 00000000 00BD7B28
017BF228h:  00E59590 00000000 017BF200 C9DC62F1
017BF238h:  00C0A794 00000000 017BF2FC 00E59590
017BF248h:  017BF270 00BFE77B 00000001 00BD671A
Registers:
EAX: 00000000, EBX: 00000000, ECX: 00000000, EDX: 00020001
ESI: 00E59598, EDI: 00000001, EBP: 00000000, ESP: 017BF138
Crash location: "foo_xm", loaded at 00BD0000h - 00C15000h

Loaded modules:
foobar2000   loaded at 00400000h - 0053D000h
ntdll loaded at 7C900000h - 7C9AF000h
kernel32 loaded at 7C800000h - 7C8F6000h
COMCTL32 loaded at 773D0000h - 774D3000h
msvcrt   loaded at 77C10000h - 77C68000h
ADVAPI32 loaded at 77DD0000h - 77E6B000h
RPCRT4   loaded at 77E70000h - 77F02000h
Secur32   loaded at 77FE0000h - 77FF1000h
GDI32 loaded at 77F10000h - 77F59000h
USER32   loaded at 7E410000h - 7E4A1000h
SHLWAPI   loaded at 77F60000h - 77FD6000h
SHELL32   loaded at 7C9C0000h - 7D1D7000h
ole32 loaded at 774E0000h - 7761D000h
shared   loaded at 10000000h - 1002A000h
UxTheme   loaded at 5AD70000h - 5ADA8000h
COMDLG32 loaded at 763B0000h - 763F9000h
IMM32 loaded at 76390000h - 763AD000h
ADvdDiscHlp   loaded at 003D0000h - 003ED000h
MSCTF loaded at 74720000h - 7476C000h
msctfime loaded at 755C0000h - 755EE000h
foo_unpack   loaded at 00AF0000h - 00B1D000h
foo_albumlist loaded at 00B40000h - 00BAC000h
foo_xm   loaded at 00BD0000h - 00C15000h
WMVCore   loaded at 15110000h - 1536C000h
WMASF loaded at 11C70000h - 11CAA000h
OLEAUT32 loaded at 77120000h - 771AB000h
WININET   loaded at 78050000h - 78120000h
Normaliz loaded at 00C30000h - 00C39000h
iertutil loaded at 78000000h - 78045000h
foo_input_std loaded at 00E60000h - 00F9F000h
foo_dsp_std   loaded at 00FC0000h - 01008000h
foo_cdda loaded at 01030000h - 01071000h
foo_freedb2   loaded at 010A0000h - 010E2000h
foo_rgscan   loaded at 01110000h - 0116B000h
foo_ui_std   loaded at 01190000h - 01265000h
gdiplus   loaded at 4EC50000h - 4EDF6000h
MSIMG32   loaded at 76380000h - 76385000h
foo_fileops   loaded at 012A0000h - 012E6000h
foo_abx   loaded at 01310000h - 01341000h
foo_converter loaded at 01370000h - 013DC000h
CLBCATQ   loaded at 76FD0000h - 7704F000h
COMRes   loaded at 77050000h - 77115000h
VERSION   loaded at 77C00000h - 77C08000h
xpsp2res loaded at 017D0000h - 01A95000h
ws2_32   loaded at 71AB0000h - 71AC7000h
WS2HELP   loaded at 71AA0000h - 71AA8000h
RASAPI32 loaded at 76EE0000h - 76F1C000h
rasman   loaded at 76E90000h - 76EA2000h
NETAPI32 loaded at 5B860000h - 5B8B5000h
TAPI32   loaded at 76EB0000h - 76EDF000h
rtutils   loaded at 76E80000h - 76E8E000h
WINMM loaded at 76B40000h - 76B6D000h
USERENV   loaded at 769C0000h - 76A74000h
msv1_0   loaded at 77C70000h - 77C94000h
iphlpapi loaded at 76D60000h - 76D79000h
sensapi   loaded at 722B0000h - 722B5000h
mswsock   loaded at 71A50000h - 71A8F000h
rasadhlp loaded at 76FC0000h - 76FC6000h
urlmon   loaded at 78130000h - 78257000h
DNSAPI   loaded at 76F20000h - 76F47000h
imagehlp loaded at 76C90000h - 76CB8000h
DBGHELP   loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 00BDD26Ch, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BFE3E0h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BD3589h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BFE6ABh, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BD8777h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BFE708h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BD85BCh, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BFE738h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BD7B28h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00C0A794h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BFE77Bh, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BD671Ah, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 00BFE7A8h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 004A5526h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C462Eh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004A4954h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004A49A4h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 0106670Ch, location: "foo_cdda", loaded at 01030000h - 01071000h
Address: 0049F929h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C5AA1h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004A4DFAh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 00C0A794h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 004EBCE4h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 00C0A794h, location: "foo_xm", loaded at 00BD0000h - 00C15000h
Address: 004C5AD3h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004A49F1h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C5AEEh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 0049D52Dh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C785Eh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 0049D683h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C8671h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 0049D37Eh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C7E7Bh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004528F3h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C8C20h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 0045308Dh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 005062E0h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004DBE28h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004C9C62h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004558D4h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 7E41929Bh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "PeekMessageW" (+00000000h)
Address: 7E418A01h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DispatchMessageW" (+00000000h)
Address: 7C914A33h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlGetLongestNtPathLength" (+0000007Ah)
Address: 7C912CE4h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrLockLoaderLock" (+000000A1h)
Address: 7C912D51h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrUnlockLoaderLock" (+00000058h)
Address: 7C910000h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlFreeHeap" (+000000F3h)
Address: 7C914A33h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlGetLongestNtPathLength" (+0000007Ah)
Address: 7C912CE4h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrLockLoaderLock" (+000000A1h)
Address: 7C912D51h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrUnlockLoaderLock" (+00000058h)
Address: 7C912D58h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrUnlockLoaderLock" (+0000005Fh)
Address: 7C916748h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetDllHandleEx" (+000000A7h)
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C912D60h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrUnlockLoaderLock" (+00000067h)
Address: 7C912D58h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrUnlockLoaderLock" (+0000005Fh)
Address: 7C9168EEh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetDllHandleEx" (+0000024Dh)
Address: 7C9168B6h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetDllHandleEx" (+00000215h)
Address: 7C912D58h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrUnlockLoaderLock" (+0000005Fh)
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C9167C8h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetDllHandleEx" (+00000127h)
Address: 7C9168B6h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetDllHandleEx" (+00000215h)
Address: 7C916698h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetDllHandle" (+00000018h)
Address: 7C80E524h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+00000057h)
Address: 7C80E534h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+00000067h)
Address: 013B7DDCh, location: "foo_converter", loaded at 01370000h - 013DC000h
Address: 7C80E524h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+00000057h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80E538h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+0000006Bh)
Address: 7C80E534h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+00000067h)
Address: 7C80E63Bh, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+0000016Eh)
Address: 7C80E6BBh, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+000001EEh)
Address: 013B7DDCh, location: "foo_converter", loaded at 01370000h - 013DC000h
Address: 01370000h, location: "foo_converter", loaded at 01370000h - 013DC000h
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80E538h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleHandleW" (+0000006Bh)
Address: 013B7DDCh, location: "foo_converter", loaded at 01370000h - 013DC000h
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Address: 013B7DDCh, location: "foo_converter", loaded at 01370000h - 013DC000h
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Address: 7C80B6BEh, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleFileNameA" (+0000015Fh)
Address: 7C80B6D3h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleFileNameA" (+00000174h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Address: 7C90CF5Ch, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "NtAllocateVirtualMemory" (+0000000Ch)
Address: 7C91A283h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlReAllocateHeap" (+00000703h)
Address: 7C9118A0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlInitializeCriticalSection" (+000002A3h)
Address: 7C905D40h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCaptureContext" (+00002A26h)
Address: 7C917ED3h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetProcedureAddress" (+0000004Bh)
Address: 7C900000h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C9048B4h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCaptureContext" (+0000159Ah)
Address: 7C905D40h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCaptureContext" (+00002A26h)
Address: 7C900000h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C9000E0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C910365h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlImageDirectoryEntryToData" (+0000003Fh)
Address: 7C900000h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C917D9Ah, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+00000412h)
Address: 7C900000h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C917E3Fh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+000004B7h)
Address: 7C97B178h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C917DE9h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+00000461h)
Address: 7C80901Ah, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "DecodePointer" (+00000000h)
Address: 7C97B178h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C917DE9h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+00000461h)
Address: 7C900000h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Address: 7C80901Ah, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "DecodePointer" (+00000000h)
Address: 7C913405h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlDecodePointer" (+00000000h)
Address: 7C913405h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlDecodePointer" (+00000000h)
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C917DF0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+00000468h)
Address: 77DD8CE0h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "MD4Final" (+00000551h)
Address: 77DD87F7h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "MD4Final" (+00000068h)
Address: 77E46318h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Address: 77E462F8h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Address: 004EBD28h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 77E462F8h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Address: 77DD84CFh, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+0000023Dh)
Address: 77E462F8h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Address: 77DD852Ch, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+0000029Ah)
Address: 7C913405h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlDecodePointer" (+00000000h)
Address: 7C913405h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlDecodePointer" (+00000000h)
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C917DF0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+00000468h)
Address: 7C917DE9h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlCompareUnicodeString" (+00000461h)
Address: 7C917EA0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "LdrGetProcedureAddress" (+00000018h)
Address: 7C800000h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Address: 77DD8623h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+00000391h)
Address: 77DD862Ch, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+0000039Ah)
Address: 77E462F8h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Address: 77DD85D9h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+00000347h)
Address: 77DD85EBh, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+00000359h)
Address: 004EBD28h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 7C91B0A4h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "CsrNewThread" (+0000001Ah)
Address: 7C91B197h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "CsrNewThread" (+0000010Dh)
Address: 7C910202h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C911008h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C911066h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9101BBh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C8097F6h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "InterlockedIncrement" (+00000000h)
Address: 7C910202h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C911008h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 77DD8378h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+000000E6h)
Address: 77DD833Bh, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+000000A9h)
Address: 77DD82E3h, location: "ADVAPI32", loaded at 77DD0000h - 77E6B000h
Symbol: "SystemFunction036" (+00000051h)
Address: 77E7611Ch, location: "RPCRT4", loaded at 77E70000h - 77F02000h
Symbol: "NdrTypeFlags" (+000003E4h)
Address: 77E76125h, location: "RPCRT4", loaded at 77E70000h - 77F02000h
Symbol: "NdrTypeFlags" (+000003EDh)
Address: 77E760A8h, location: "RPCRT4", loaded at 77E70000h - 77F02000h
Symbol: "NdrTypeFlags" (+00000370h)
Address: 7E41A044h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "ClientThreadSetup" (+0000003Ah)
Address: 7E4712A0h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Address: 7E41929Bh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "PeekMessageW" (+00000000h)
Address: 7C8B5552h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Address: 004E5438h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 004CC981h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C809668h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "WaitForMultipleObjectsEx" (+000000ACh)
Address: 7E4184CEh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Address: 004550C5h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 7E41929Bh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "PeekMessageW" (+00000000h)
Address: 7E418A01h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DispatchMessageW" (+00000000h)
Address: 7E4196A8h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "MsgWaitForMultipleObjects" (+0000001Fh)
Address: 004CC998h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 7E419689h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "MsgWaitForMultipleObjects" (+00000000h)
Address: 0045505Dh, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 004E53F4h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 773DE51Bh, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "DrawStatusTextA" (+00000815h)
Address: 100025D2h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uCallStackTracker::uCallStackTracker" (+0000002Fh)
Address: 004CC9B5h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 00454F57h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 773DE51Bh, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "DrawStatusTextA" (+00000815h)
Address: 004CC9C9h, location: "foobar2000", loaded at 00400000h - 0053D000h
Address: 7C80B713h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleFileNameA" (+000001B4h)
Address: 773DE51Bh, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "DrawStatusTextA" (+00000815h)
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80B720h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "GetModuleFileNameA" (+000001C1h)
Address: 00454F20h, location: "foobar2000", loaded at 00400000h - 0053D000h

Version info:
foobar2000 v0.9.6.1
UNICODE
Windows 5.1


Additional info:
CD Audio Decoder 2.1.4  (foo_cdda)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Standard DSP Array 1.0  (foo_dsp_std)
foobar2000 core 0.9.6.1  (Core)
Converter 1.2  (foo_converter)
freedb Tagger 0.6.1  (foo_freedb2)
ZIP/GZIP reader 1.0  (foo_unpack)
RAR reader 1.1  (foo_unpack)
File Operations 2.1.1  (foo_fileops)
XM Radio Online Player 1.2.2  (foo_xm)
ABX Comparator 1.3.3  (foo_abx)
Standard Input Array 1.0  (foo_input_std)
Album List 4.3  (foo_albumlist)
Default User Interface 0.9.5  (foo_ui_std)


It happens when I run the following via command line: foobar2000.exe /play xm://202

[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: Codeboxed.[/size]

foo_xm

Reply #66
Sounds strange, I'm not seeing that behavior. I just played a channel for 3 hours and memory usage was ±100KB of when I started. What foobar version and Windows version are you using? (hard to believe those would make a difference though)

Any chance you can list the components you have installed? Have you added/updated any recently? Pure conjecture, but I'm wondering if a different component is leaking and it's only really noticeable when playing a track for hours. It may be worth playing a plain Internet radio station for several hours and see if it too is showing this problem.


I get the same behavior after 1 day 14 hours of streaming the same channel (basically if I forget to reset it once a day). The memory is usually ~640MB physical and ~640MB virtual. The threads and GDI objects don't show the same behavior; they stay the same size. If there's a debug version of the latest version I'd be happy to debug and post the disassembly or anything else that helps.

Thanks!!
brandon.

foo_xm

Reply #67
It happens when I run the following via command line: foobar2000.exe /play xm://202
I can't reproduce this. Is it still happening?

I get the same behavior after 1 day 14 hours of streaming the same channel (basically if I forget to reset it once a day). The memory is usually ~640MB physical and ~640MB virtual.
And you're not doing any pausing, right? I'll admit, I haven't tried playback for that long  But, I'm certainly not seeing any memory leakage that could result in that much usage after 38 hours. I will start looking again though.
Are you using any DSPs? Any components in use beyond the base foobar2000 install?

foo_xm

Reply #68
And you're not doing any pausing, right? I'll admit, I haven't tried playback for that long  But, I'm certainly not seeing any memory leakage that could result in that much usage after 38 hours. I will start looking again though.
Are you using any DSPs? Any components in use beyond the base foobar2000 install?


  A response! Thanks!

No pausing; that makes mem use skyrocket. Machine number one is XPSP2 and it is running the equalizer DSP plugin. Machine 2 is also XPSP2 but it isn't running any DSPs. I haven't installed any components other than foo_xm. I looked through the crash dump and didn't see anything interesting.

foo_xm

Reply #69
And you're not doing any pausing, right? I'll admit, I haven't tried playback for that long  But, I'm certainly not seeing any memory leakage that could result in that much usage after 38 hours. I will start looking again though.
Are you using any DSPs? Any components in use beyond the base foobar2000 install?


  A response! Thanks!

No pausing; that makes mem use skyrocket. Machine number one is XPSP2 and it is running the equalizer DSP plugin. Machine 2 is also XPSP2 but it isn't running any DSPs. I haven't installed any components other than foo_xm. I looked through the crash dump and didn't see anything interesting.


Here's what I got overnight. This time it didn't crash, just went on to the next playlist station. As soon as the stop button was pressed, mem usage dropped to 32MB/96MB.



foo_xm

Reply #70
Here's what I got overnight. This time it didn't crash, just went on to the next playlist station. As soon as the stop button was pressed, mem usage dropped to 32MB/96MB.

Should have followed the first rule of development: Always have the latest version. I upped to v0.9.6.2 and foo_xm plays until the XM server resets. There's no memory leaks that I can see and it's been very stable. Sorry for the ruckus and THANKS for the great plugin and support!


foo_xm

Reply #72
Maroon, when will you be updating foo_xm to take the future 128kbps streaming?

foo_xm

Reply #73
Maroon, when will you be updating foo_xm to take the future 128kbps streaming?
I expect that it will just work as is. I think they'll replace the 64Kbs stream with the 128Kbs stream. It'll be easy to see if it's working when they make the switch -- the bitrate display reported to foobar2000 is the actual stream bitrate.

It'd be really great if they also switched to WMA Pro... but yeah I doubt it...

foo_xm

Reply #74
Is anyone else having this problem right now?

Unable to open item for playback (Access to streams denied. Try again later.)