reupen / columns_ui

Alternative UI for the foobar2000 audio player
https://yuo.be/columns-ui
GNU Lesser General Public License v3.0
525 stars 32 forks source link

foobar2000 crashing when I drag folders to it #396

Closed andremc420 closed 3 years ago

andremc420 commented 3 years ago

I recently upgraded foobar2000 to 1.6.7 and CuolumnsUI to the latest beta, but now if I try to drag a folder from Windows Explorer to foobar2000 it will crash instantly, even before I'm able to drop the items in the playlist.

I lready unisntalled and reinstalled foobar2000 and the issue persists with a fresh install.

If I start foobar2000 with Default User Interface it will work, so I'm sure it's an issue with ColumnsUI.

Here's the latest crash report:

Illegal operation:
Code: E06D7363h, flags: 00000001h, address: 76F1B5B2h
Additional parameters: 19930520h 006FF718h 01100640h
Message: O identificador da janela    inv  lido.  

Call path not available.

Code bytes (76F1B5B2h):
76F1B572h:  04 24 8B 45 0C 83 E0 01 C7 44 24 0C 50 B5 F1 76
76F1B582h:  89 44 24 04 85 C9 74 39 8B 45 10 83 F8 0F 77 38
76F1B592h:  89 44 24 10 C1 E0 02 50 51 8D 44 24 1C 50 E8 5F
76F1B5A2h:  99 00 00 83 C4 0C 8D 04 24 50 FF 15 FC D3 FC 76
76F1B5B2h:  8B 4C 24 54 33 CC E8 23 4E 00 00 8B E5 5D C2 10
76F1B5C2h:  00 83 64 24 10 00 EB DE 6A 0F 58 EB C3 CC CC CC
76F1B5D2h:  CC CC CC CC CC CC CC CC CC CC CC CC CC CC 8B FF
76F1B5E2h:  55 8B EC 8B 55 0C 8B 4D 08 6A 00 E8 57 8E FE FF

Stack (006FF680h):
006FF660h:  00000000 01113DB4 FFFFFD34 000002E4
006FF670h:  FFFFFD34 000002CC 00000019 00000000
006FF680h:  E06D7363 00000001 00000000 76F1B5B2
006FF690h:  00000003 19930520 006FF718 01100640
006FF6A0h:  008F0000 00000000 0E625290 006FF6BC
006FF6B0h:  763B3C68 0E625290 00000000 006FF70C
006FF6C0h:  00F1A9C0 0E625290 006FF6F4 006FF71C
006FF6D0h:  00000000 44F9411F 006FF708 737B7A46
006FF6E0h:  E06D7363 00000001 00000003 006FF6FC
006FF6F0h:  00000000 00000000 006FF718 19930520
006FF700h:  006FF718 01100640 006FF72C 0104C729
006FF710h:  006FF718 01100640 010BC560 0C9D5640
006FF720h:  00000001 00000578 66BB9C39 01107348
006FF730h:  00F8642A 006FF7CC 0108C4D0 006FF804
006FF740h:  FFFFFFFF 00000000 00000000 00000000
006FF750h:  00000000 00000000 00000000 00000000
006FF760h:  00F86E47 00000000 00000004 00464000
006FF770h:  00000000 00000001 010B5798 0E86C7B0
006FF780h:  0000000B 00000000 00000000 444CE600
006FF790h:  00000000 A0C2A4D1 00000000 00000000

Registers:
EAX: 006FF680, EBX: 19930520, ECX: 00000003, EDX: 00000000
ESI: 01113DB4, EDI: 01100640, EBP: 006FF6D8, ESP: 006FF680

Crash location:
Module: KERNELBASE
Offset: 12B5B2h
Symbol: "RaiseException" (+62h)

Loaded modules:
foobar2000                       loaded at 00F00000h - 0117A000h
ntdll                            loaded at 77BD0000h - 77D73000h
KERNEL32                         loaded at 77600000h - 776F0000h
KERNELBASE                       loaded at 76DF0000h - 77005000h
SHLWAPI                          loaded at 778C0000h - 77905000h
msvcrt                           loaded at 77970000h - 77A2F000h
USER32                           loaded at 75A80000h - 75C21000h
win32u                           loaded at 77A90000h - 77AA8000h
GDI32                            loaded at 775A0000h - 775C4000h
gdi32full                        loaded at 76D10000h - 76DEC000h
msvcp_win                        loaded at 77520000h - 7759B000h
ucrtbase                         loaded at 76380000h - 764A0000h
ADVAPI32                         loaded at 77010000h - 7708A000h
sechost                          loaded at 760F0000h - 76165000h
RPCRT4                           loaded at 777E0000h - 7789F000h
SHELL32                          loaded at 76750000h - 76D03000h
ole32                            loaded at 776F0000h - 777D3000h
combase                          loaded at 75DC0000h - 76041000h
OLEAUT32                         loaded at 75CB0000h - 75D46000h
CRYPT32                          loaded at 77AC0000h - 77BBA000h
COMCTL32                         loaded at 74DE0000h - 74FF0000h
WINMM                            loaded at 74380000h - 743A8000h
UxTheme                          loaded at 74530000h - 745A4000h
zlib1                            loaded at 63080000h - 63099000h
shared                           loaded at 74360000h - 74380000h
imagehlp                         loaded at 778A0000h - 778B9000h
COMDLG32                         loaded at 76580000h - 7662F000h
shcore                           loaded at 76050000h - 760D7000h
MSVCP140                         loaded at 737D0000h - 73840000h
MSIMG32                          loaded at 71B90000h - 71B96000h
gdiplus                          loaded at 75910000h - 75A79000h
OLEACC                           loaded at 75850000h - 758A3000h
WINHTTP                          loaded at 75740000h - 75808000h
Secur32                          loaded at 71B80000h - 71B8A000h
VCRUNTIME140                     loaded at 737B0000h - 737C4000h
dbghelp                          loaded at 74170000h - 742F8000h
SSPICLI                          loaded at 748A0000h - 748C1000h
dbgcore                          loaded at 74140000h - 74166000h
IMM32                            loaded at 775D0000h - 775F5000h
wslbscr32                        loaded at 54D30000h - 54E1E000h
ntmarta                          loaded at 74300000h - 74329000h
wslbscrwh32                      loaded at 54B30000h - 54BF7000h
kernel.appcore                   loaded at 75710000h - 7571F000h
bcryptPrimitives                 loaded at 77A30000h - 77A8F000h
windows.storage                  loaded at 75100000h - 75708000h
Wldp                             loaded at 750D0000h - 750F4000h
MSCTF                            loaded at 764A0000h - 76573000h
atlthunk                         loaded at 65820000h - 6582D000h
textinputframework               loaded at 71260000h - 71319000h
CoreUIComponents                 loaded at 70FE0000h - 7125E000h
CoreMessaging                    loaded at 70F40000h - 70FDB000h
WS2_32                           loaded at 75D50000h - 75DB3000h
wintypes                         loaded at 73840000h - 7391B000h
TextShaping                      loaded at 70EA0000h - 70F34000h
foo_unpack                       loaded at 71BA0000h - 71C0E000h
foo_rgscan                       loaded at 64B90000h - 64BDB000h
foo_albumlist                    loaded at 64B40000h - 64B87000h
foo_converter                    loaded at 64AB0000h - 64B3A000h
foo_dsp_std                      loaded at 64A70000h - 64AA6000h
foo_freedb2                      loaded at 64A40000h - 64A70000h
foo_fileops                      loaded at 649F0000h - 64A31000h
foo_ui_std                       loaded at 648E0000h - 649EA000h
foo_audioscrobbler               loaded at 10000000h - 10035000h
foo_dsp_eq                       loaded at 648A0000h - 648DD000h
foo_cdda                         loaded at 64860000h - 64896000h
foo_quicksearch                  loaded at 64800000h - 64857000h
WindowsCodecs                    loaded at 74C60000h - 74DD1000h
bcrypt                           loaded at 76690000h - 766A9000h
foo_input_std                    loaded at 646A0000h - 647F8000h
MSACM32                          loaded at 73790000h - 737A9000h
avcodec-fb2k-58                  loaded at 64480000h - 64697000h
avutil-fb2k-56                   loaded at 641D0000h - 64475000h
winmmbase                        loaded at 71B60000h - 71B7D000h
foo_ui_columns                   loaded at 63FF0000h - 641D0000h
USP10                            loaded at 65AB0000h - 65AC7000h
urlmon                           loaded at 6CA40000h - 6CBE8000h
iertutil                         loaded at 6D730000h - 6D95B000h
srvcli                           loaded at 6CA20000h - 6CA3D000h
netutils                         loaded at 74340000h - 7434B000h
clbcatq                          loaded at 75C30000h - 75CAE000h
profapi                          loaded at 750B0000h - 750C8000h
dataexchange                     loaded at 66F10000h - 66F42000h
d3d11                            loaded at 6D300000h - 6D4E0000h
dcomp                            loaded at 66DA0000h - 66F05000h
dxgi                             loaded at 6DC80000h - 6DD43000h
twinapi.appcore                  loaded at 66C10000h - 66D9F000h
tiptsf                           loaded at 65AD0000h - 65B53000h
PP-UWP-Interop                   loaded at 69910000h - 6991A000h
vccorlib140                      loaded at 63FA0000h - 63FE2000h
Windows.Media.Playback.Backgrou  loaded at 63EE0000h - 63F9A000h
cfgmgr32                         loaded at 76710000h - 7674B000h
MFPlat                           loaded at 634A0000h - 63619000h
RTWorkQ                          loaded at 63EB0000h - 63ED8000h
Windows.Media.MediaControl       loaded at 63E30000h - 63EA4000h
MMDevAPI                         loaded at 63DC0000h - 63E2B000h
DEVOBJ                           loaded at 69610000h - 6963B000h
MFMediaEngine                    loaded at 63110000h - 63494000h
powrprof                         loaded at 71C10000h - 71C54000h
XmlLite                          loaded at 6CEC0000h - 6CEEB000h
UMPDC                            loaded at 71B50000h - 71B5D000h
AUDIOSES                         loaded at 62DE0000h - 62F16000h
Windows.UI                       loaded at 63C80000h - 63D73000h
WindowManagementAPI              loaded at 63C00000h - 63C73000h
InputHost                        loaded at 63890000h - 6397D000h
PROPSYS                          loaded at 74B90000h - 74C52000h
Windows.Media.Devices            loaded at 63670000h - 636D2000h
Windows.Media.Playback.ProxyStu  loaded at 63DA0000h - 63DB1000h
OneCoreUAPCommonProxyStub        loaded at 666C0000h - 66A60000h
sud                              loaded at 630E0000h - 63108000h
ADVPACK                          loaded at 630B0000h - 630DE000h
SETUPAPI                         loaded at 770E0000h - 7751C000h
DUI70                            loaded at 63730000h - 6388F000h
VERSION                          loaded at 75730000h - 75738000h
Windows.FileExplorer.Common      loaded at 636E0000h - 6372A000h
edputil                          loaded at 63B80000h - 63B9B000h
Windows.StateRepositoryPS        loaded at 60C20000h - 60CB3000h
cldapi                           loaded at 63620000h - 6363D000h
FLTLIB                           loaded at 71B40000h - 71B48000h
appresolver                      loaded at 60BA0000h - 60C11000h
Bcp47Langs                       loaded at 66FA0000h - 66FE8000h
SLC                              loaded at 60B80000h - 60B9F000h
USERENV                          loaded at 74840000h - 74865000h
sppc                             loaded at 6CEA0000h - 6CEBC000h
OneCoreCommonProxyStub           loaded at 6D130000h - 6D16D000h
explorerframe                    loaded at 66A60000h - 66C09000h

Stack dump analysis:
Address: 76F1B5B2h (KERNELBASE+12B5B2h), symbol: "RaiseException" (+62h)
Address: 01100640h (foobar2000+200640h)
Address: 763B3C68h (ucrtbase+33C68h), symbol: "free" (+18h)
Address: 00F1A9C0h (foobar2000+1A9C0h)
Address: 737B7A46h (VCRUNTIME140+7A46h), symbol: "CxxThrowException" (+66h)
Address: 01100640h (foobar2000+200640h)
Address: 0104C729h (foobar2000+14C729h)
Address: 01100640h (foobar2000+200640h)
Address: 010BC560h (foobar2000+1BC560h)
Address: 66BB9C39h (explorerframe+159C39h), symbol: "DllGetVersion" (+59429h)
Address: 01107348h (foobar2000+207348h)
Address: 00F8642Ah (foobar2000+8642Ah)
Address: 0108C4D0h (foobar2000+18C4D0h)
Address: 00F86E47h (foobar2000+86E47h)
Address: 010B5798h (foobar2000+1B5798h)
Address: 010B5798h (foobar2000+1B5798h)
Address: 0109F2ABh (foobar2000+19F2ABh)
Address: 00F87019h (foobar2000+87019h)
Address: 0111615Ch (foobar2000+21615Ch)
Address: 0109F2D5h (foobar2000+19F2D5h)
Address: 01092F63h (foobar2000+192F63h)
Address: 00F00000h (foobar2000+0h)
Address: 01092FE7h (foobar2000+192FE7h)
Address: 01092FE7h (foobar2000+192FE7h)
Address: 01092717h (foobar2000+192717h)
Address: 7761FA29h (KERNEL32+1FA29h), symbol: "BaseThreadInitThunk" (+19h)
Address: 7761FA10h (KERNEL32+1FA10h), symbol: "BaseThreadInitThunk" (+0h)
Address: 77C37A9Eh (ntdll+67A9Eh), symbol: "RtlGetAppContainerNamedObjectPath" (+11Eh)
Address: 76FAE9A0h (KERNELBASE+1BE9A0h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77C4AD40h (ntdll+7AD40h), symbol: "wcstombs" (+70h)
Address: 77C37A6Eh (ntdll+67A6Eh), symbol: "RtlGetAppContainerNamedObjectPath" (+EEh)
Address: 77C58A59h (ntdll+88A59h), symbol: "RtlCaptureContext" (+F9h)
Address: 01092FE7h (foobar2000+192FE7h)
Address: 01010200h (foobar2000+110200h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 0101010Ah (foobar2000+11010Ah)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)
Address: 01010101h (foobar2000+110101h)

Environment:
App: foobar2000 v1.6.7
UI: Columns UI 1.7.0-beta.1

Components:
Core (2021-08-09 13:53:58 UTC)
    foobar2000 core 1.6.7
foo_albumlist.dll (2021-08-09 13:53:28 UTC)
    Album List 1.6.7
foo_audioscrobbler.dll (2012-08-20 18:49:44 UTC)
    Audioscrobbler 2.3.1
foo_cdda.dll (2021-08-09 13:53:28 UTC)
    CD Audio Decoder 1.6.7
foo_converter.dll (2021-08-09 13:53:30 UTC)
    Converter 1.6.7
foo_dsp_eq.dll (2021-08-09 13:53:22 UTC)
    Equalizer 1.2.2
foo_dsp_std.dll (2021-08-09 13:53:28 UTC)
    Standard DSP Array 1.6.7
foo_fileops.dll (2021-08-09 13:53:30 UTC)
    File Operations 1.6.7
foo_freedb2.dll (2021-08-09 13:53:30 UTC)
    Online Tagger 0.8
foo_input_std.dll (2021-08-09 13:53:40 UTC)
    FFmpeg Decoders 4.3.1
    Standard Input Array 1.6.7
foo_quicksearch.dll (2015-10-13 12:26:30 UTC)
    Quick Search Toolbar 3.6
foo_rgscan.dll (2021-08-09 13:53:32 UTC)
    ReplayGain Scanner 1.6.7
foo_ui_columns.dll (2021-07-31 23:53:28 UTC)
    Columns UI 1.7.0-beta.1
foo_ui_std.dll (2021-08-09 13:53:42 UTC)
    Default User Interface 1.6.7
foo_unpack.dll (2021-08-09 13:53:46 UTC)
    ZIP/GZIP/RAR/7-Zip Reader 1.6.7

Recent events:
Loading DLL: C:\Users\andre\AppData\Roaming\foobar2000\user-components\foo_quicksearch\foo_quicksearch.dll
Loading DLL: C:\Program Files (x86)\foobar2000\components\foo_input_std.dll
Loading DLL: C:\Users\andre\AppData\Roaming\foobar2000\user-components\foo_ui_columns\foo_ui_columns.dll
Components loaded in: 0:00.070491
Pre config read
Configuration read in: 0:00.006415
foobar2000 v1.6.7 [standard]
Starting playlist loading
Watching: F:\MEDIA\MUSIC\INCOMING
Watching: F:\MEDIA\MUSIC\ARCHIVE\Full Albums
Filter Panel - Artist: initialised in 0.230 s
Filter Panel - Album: initialised in 0.206 s
Filter Panel - Genre: initialised in 0.139 s
Filter Panel - Year: initialised in 0.176 s
Playlist view initialised in: 0.017 s
User Interface initialized in: 0:01.248024
Processing commandline
initquit::init entry
Audioscrobbler: Loaded
FFmpeg version: 4.3.1
initquit::init exit
Startup time : 0:05.519808
Filter Panel - Artist: initialised in 0.222 s
Filter Panel - Album: initialised in 0.229 s
Filter Panel - Genre: initialised in 0.139 s
Filter Panel - Year: initialised in 0.159 s
Playlist view initialised in: 0.014 s
initquit::quit entry
initquit::quit exit
Component system shutdown

Machine specifications:
OS: Windows 10.0.19042 x64
CPU: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
CPU threads: 8
Audio: Digital Audio (S/PDIF) (2- High Definition Audio Device); Alto-falantes (2- High Definition Audio Device); Digital Audio (S/PDIF) (2- High Definition Audio Device)
andremc420 commented 3 years ago

Ok, I just found the culprit: I unistalled TeraCopy and the issue is gone.

reupen commented 3 years ago

Hi,

Unfortunately, there isn't much for me to go on in the crash log. As I'm sure you know, the message on the fourth line (once unmangled) translates as 'Invalid window handle'. This is an error code (ERROR_INVALID_WINDOW_HANDLE) which a Windows API function has probably returned, and foobar2000 has probably then turned it into an exception. (The error could mean that some window has just been closed or otherwise disappeared, although that could be foobar2000 itself.)

I can see an equivalent crash log has been submitted for foobar2000 1.5.1 and Columns UI 1.4.1, so I don't think there's any relation to newer versions of either of those.

I'm also unable to reproduce the problem after installing TeraCopy 3.8.5 in a Windows 10 VM. If you have more specific instructions (or a screen recording) I could try again.

Did you perhaps update to Windows 10 21H1 recently?

If it's happening when dragging from Windows Explorer to foobar2000, it may be related to TeraCopy's Windows Explorer integration (shell extensions).

reupen commented 3 years ago

Closed as this is resolved and there's nothing that can be acted on.