bug.n icon indicating copy to clipboard operation
bug.n copied to clipboard

explorer.exe stop responding with below config

Open tianxiayu007 opened this issue 6 years ago • 11 comments

OS: Microsoft Windows [版本 10.0.19041.207] config as follow:

; bug.n - tiling window management
; @version 9.0.0

;; Status bar
Config_showBar=1
Config_horizontalBarPos=center
Config_verticalBarPos=bottom
Config_barWidth=40%
;Config_singleRowBar=1
;Config_spaciousBar=0
Config_fontName=DejaVu Sans Mono
Config_fontSize=9
;Config_largeFontSize=24
;; <view>;<layout>;<title>;<shebang>;<time>;<date>;<anyText>;<batteryStatus>;<volumeLevel>
;Config_backColor_#1=
;Config_backColor_#2=
;Config_backColor_#3=
;Config_foreColor_#1=
;Config_foreColor_#2=
;Config_foreColor_#3=
;Config_fontColor_#1=
;Config_fontColor_#2=
;Config_fontColor_#3=
;Config_barTransparency=off
;Config_barCommands=Run, explore doc;Monitor_toggleBar();Main_reload();Reload;ExitApp
;Config_readinBat=0
;Config_readinCpu=0
Config_readinDate=0
;Config_readinDateFormat=ddd, dd. MMM. yyyy
;Config_readinDiskLoad=0
;Config_readinMemoryUsage=0
;Config_readinNetworkLoad=0
Config_readinTime=0
;Config_readinTimeFormat=HH:mm
;Config_readinVolume=0
;Config_readinInterval=30000

;; Windows ui elements
;Config_bbCompatibility=0
;Config_borderWidth=0
;Config_borderPadding=-1
Config_showTaskBar=1
;Config_showBorder=1
;Config_selBorderColor=

;; Window arrangement
Config_viewNames=1;2;3;4
;Config_layout_#1=[]=;tile
;Config_layout_#2=[M];monocle
;Config_layout_#3=><>;
;Config_layoutCount=3
;Config_layoutAxis_#1=1
;Config_layoutAxis_#2=2
;Config_layoutAxis_#3=2
;Config_layoutGapWidth=0
;Config_layoutMFactor=0.6
;Config_areaTraceTimeout=1000
;Config_continuouslyTraceAreas=0
;Config_dynamicTiling=1
;Config_ghostWndSubString= (Not Responding)
;Config_mFactCallInterval=700
Config_mouseFollowsFocus=0
;Config_newWndPosition=top
;Config_onActiveHiddenWnds=view
;Config_shellMsgDelay=350
;Config_syncMonitorViews=0
;Config_viewFollowsTagged=0
;Config_viewMargins=0;0;0;0

;; Config_rule_#<i> := '<class>;<title>;<function name>;<is managed>;<m>;<tags>;<is floating>;<is decorated>;<hide title>;<action>'
;Config_rule_#1=.*;.*;;1;0;0;0;0;0;
;Config_rule_#2=.*;.*;Window_isChild;0;0;0;1;1;1;
;Config_rule_#3=.*;.*;Window_isPopup;0;0;0;1;1;1;
;Config_rule_#4=QWidget;.*;;1;0;0;0;0;0;
;Config_rule_#5=SWT_Window0;.*;;1;0;0;0;0;0;
;Config_rule_#6=Xming;.*;;1;0;0;0;0;0;
;Config_rule_#7=MsiDialog(No)?CloseClass;.*;;1;0;0;1;1;0;
;Config_rule_#8=AdobeFlashPlayerInstaller;.*;;1;0;0;1;0;0;
;Config_rule_#9=CalcFrame;.*;;1;0;0;1;1;0;
;Config_rule_#10=CabinetWClass;.*;;1;0;0;0;1;0;
;Config_rule_#11=OperationStatusWindow;.*;;0;0;0;1;1;0;
;Config_rule_#12=Chrome_WidgetWin_1;.*;;1;0;0;0;1;0;
;Config_rule_#13=Chrome_WidgetWin_1;.*;Window_isPopup;0;0;0;1;1;1;
;Config_rule_#14=Chrome_RenderWidgetHostHWND;.*;;0;0;0;1;1;0;
;Config_rule_#15=IEFrame;.*Internet Explorer;;1;0;0;0;1;0;
;Config_rule_#16=MozillaWindowClass;.*Mozilla Firefox;;1;0;0;0;1;0;
;Config_rule_#17=MozillaDialogClass;.*;;1;0;0;1;1;0;
;Config_rule_#18=ApplicationFrameWindow;.*Edge;;1;0;0;0;1;0;

;; Configuration management
;Config_autoSaveSession=auto
;Config_maintenanceInterval=5000

;; Key definitions
;; Window management
;Config_hotkey=#Down::View_activateWindow(0, +1)
;Config_hotkey=#Up::View_activateWindow(0, -1)
;Config_hotkey=#+Down::View_shuffleWindow(0, +1)
;Config_hotkey=#+Up::View_shuffleWindow(0, -1)
;Config_hotkey=#+Enter::View_shuffleWindow(1)
Config_hotkey=#q::Manager_closeWindow()
;Config_hotkey=#+d::Window_toggleDecor()
;Config_hotkey=#+f::View_toggleFloatingWindow()
;Config_hotkey=#+m::Manager_moveWindow()
;Config_hotkey=#+s::Manager_sizeWindow()
;Config_hotkey=#+x::Manager_maximizeWindow()
;Config_hotkey=#i::Manager_getWindowInfo()
;Config_hotkey=#+i::Manager_getWindowList()
;Config_hotkey=!Down::View_moveWindow(0, +1)
;Config_hotkey=!Up::View_moveWindow(0, -1)
;Config_hotkey=!+Enter::Manager_maximizeWindow()
;Config_hotkey=!1::View_moveWindow(1)
;Config_hotkey=!2::View_moveWindow(2)
;Config_hotkey=!3::View_moveWindow(3)
;Config_hotkey=!4::View_moveWindow(4)
;Config_hotkey=!5::View_moveWindow(5)
;Config_hotkey=!6::View_moveWindow(6)
;Config_hotkey=!7::View_moveWindow(7)
;Config_hotkey=!8::View_moveWindow(8)
;Config_hotkey=!9::View_moveWindow(9)
;Config_hotkey=!0::View_moveWindow(10)
;Config_hotkey=!BackSpace::View_toggleStackArea()

;; Window debugging
;Config_hotkey=#^i::Debug_logViewWindowList()
;Config_hotkey=#+^i::Debug_logManagedWindowList()
;Config_hotkey=#^h::Debug_logHelp()
;Config_hotkey=#^d::Debug_setLogLevel(0, -1)
;Config_hotkey=#^+d::Debug_setLogLevel(0, +1)

;; Layout management
;Config_hotkey=#Tab::View_setLayout(-1)
;Config_hotkey=#f::View_setLayout(3)
;Config_hotkey=#m::View_setLayout(2)
;Config_hotkey=#t::View_setLayout(1)
;Config_hotkey=#Left::View_setLayoutProperty(MFactor, 0, -0.05)
;Config_hotkey=#Right::View_setLayoutProperty(MFactor, 0, +0.05)
;Config_hotkey=#^t::View_setLayoutProperty(Axis, 0, +1, 1)
;Config_hotkey=#^Enter::View_setLayoutProperty(Axis, 0, +2, 1)
;Config_hotkey=#^Tab::View_setLayoutProperty(Axis, 0, +1, 2)
;Config_hotkey=#^+Tab::View_setLayoutProperty(Axis, 0, +1, 3)
;Config_hotkey=#^Up::View_setLayoutProperty(MY, 0, +1)
;Config_hotkey=#^Down::View_setLayoutProperty(MY, 0, -1)
;Config_hotkey=#^Right::View_setLayoutProperty(MX, 0, +1)
;Config_hotkey=#^Left::View_setLayoutProperty(MX, 0, -1)
;Config_hotkey=#+Left::View_setLayoutProperty(GapWidth, 0, -2)
;Config_hotkey=#+Right::View_setLayoutProperty(GapWidth, 0, +2)

;; View/Tag management
;Config_hotkey=#+n::View_toggleMargins()
;Config_hotkey=#BackSpace::Monitor_activateView(-1)
;Config_hotkey=#+0::Monitor_setWindowTag(10)
;Config_hotkey=#1::Monitor_activateView(1)
;Config_hotkey=#+1::Monitor_setWindowTag(1)
;Config_hotkey=#^1::Monitor_toggleWindowTag(1)
;Config_hotkey=#2::Monitor_activateView(2)
;Config_hotkey=#+2::Monitor_setWindowTag(2)
;Config_hotkey=#^2::Monitor_toggleWindowTag(2)
;Config_hotkey=#3::Monitor_activateView(3)
;Config_hotkey=#+3::Monitor_setWindowTag(3)
;Config_hotkey=#^3::Monitor_toggleWindowTag(3)
;Config_hotkey=#4::Monitor_activateView(4)
;Config_hotkey=#+4::Monitor_setWindowTag(4)
;Config_hotkey=#^4::Monitor_toggleWindowTag(4)
;Config_hotkey=#5::Monitor_activateView(5)
;Config_hotkey=#+5::Monitor_setWindowTag(5)
;Config_hotkey=#^5::Monitor_toggleWindowTag(5)
;Config_hotkey=#6::Monitor_activateView(6)
;Config_hotkey=#+6::Monitor_setWindowTag(6)
;Config_hotkey=#^6::Monitor_toggleWindowTag(6)
;Config_hotkey=#7::Monitor_activateView(7)
;Config_hotkey=#+7::Monitor_setWindowTag(7)
;Config_hotkey=#^7::Monitor_toggleWindowTag(7)
;Config_hotkey=#8::Monitor_activateView(8)
;Config_hotkey=#+8::Monitor_setWindowTag(8)
;Config_hotkey=#^8::Monitor_toggleWindowTag(8)
;Config_hotkey=#9::Monitor_activateView(9)
;Config_hotkey=#+9::Monitor_setWindowTag(9)
;Config_hotkey=#^9::Monitor_toggleWindowTag(9)

;; Monitor management
;Config_hotkey=#.::Manager_activateMonitor(0, +1)
;Config_hotkey=#,::Manager_activateMonitor(0, -1)
;Config_hotkey=#+.::Manager_setWindowMonitor(0, +1)
;Config_hotkey=#+,::Manager_setWindowMonitor(0, -1)
;Config_hotkey=#^+.::Manager_setViewMonitor(0, +1)
;Config_hotkey=#^+,::Manager_setViewMonitor(0, -1)

;; GUI management
;Config_hotkey=#+Space::Monitor_toggleBar()
;Config_hotkey=#Space::Monitor_toggleTaskBar()
;Config_hotkey=#y::Bar_toggleCommandGui()
;Config_hotkey=#+y::Monitor_toggleNotifyIconOverflowWindow()
;Config_hotkey=!+y::View_traceAreas()

;; Administration
Config_hotkey=#^e::Run, edit Config.ini
Config_hotkey=#+s::Config_UI_saveSession()
Config_hotkey=#^r::Main_reload()
Config_hotkey=#+r::Reload
Config_hotkey=#+q::ExitApp

what i changed compare with default config just is:

Config_showBar=1
Config_horizontalBarPos=center
Config_verticalBarPos=bottom
Config_barWidth=40%
Config_fontName=DejaVu Sans Mono
Config_fontSize=9
Config_readinDate=0
Config_readinTime=0
Config_showTaskBar=1
Config_viewNames=1;2;3;4
Config_mouseFollowsFocus=0
Config_hotkey=#q::Manager_closeWindow()
Config_hotkey=#^e::Run, edit Config.ini
Config_hotkey=#+s::Config_UI_saveSession()
Config_hotkey=#^r::Main_reload()
Config_hotkey=#+r::Reload
Config_hotkey=#+q::ExitApp

and when i run bug.n, explorer.ext stop responding as image below: image

tianxiayu007 avatar Apr 15 '20 12:04 tianxiayu007

That is odd; your configuration changes should not have an effect on explorer.exe; but perhaps the default configuration does. You may try setting Config_autoSaveSession=off, which deactivates the possibility for a session restore, but also spares bug.n from saving the information.

joten avatar Apr 17 '20 13:04 joten

That is odd; your configuration changes should not have an effect on explorer.exe; but perhaps the default configuration does. You may try setting Config_autoSaveSession=off, which deactivates the possibility for a session restore, but also spares bug.n from saving the information.

can you reproduce it with my config?

tianxiayu007 avatar Apr 18 '20 03:04 tianxiayu007

may be Config_verticalBarPos=bottom cause this problem, when i set value to 'top' or 'tray',this won't happen again, but why is this?

tianxiayu007 avatar Apr 18 '20 04:04 tianxiayu007

what version of Windows 10 are you using? Looks like beta...

win+R > cmd "enter" > ver "enter"

ex: "Microsoft Windows [Version 10.0.18363.778]"

schkr avatar Apr 23 '20 06:04 schkr

what version of Windows 10 are you using? Looks like beta...

win+R > cmd "enter" > ver "enter"

ex: "Microsoft Windows [Version 10.0.18363.778]"

it says [Version 10.0.19041.207]

tianxiayu007 avatar Apr 23 '20 06:04 tianxiayu007

This issue reminded me of #229 but I do not have any clue.

joten avatar Apr 23 '20 18:04 joten

I did some testing with bug.n 9.0.2 on Windows 10 Build 18363.778, but could not reproduce the issue here; Windows-Explorer only went up in CPU usage when being opened and indexing the directory; with nothing been done CPU is below 2%.

But funnily I could reproduce issue #229. The whole desktop was messed up to being unusable.

I will have to wait until I get build 10.0.19041.207 on my device to try again.

joten avatar Apr 23 '20 18:04 joten

I did some testing with bug.n 9.0.2 on Windows 10 Build 18363.778, but could not reproduce the issue here; Windows-Explorer only went up in CPU usage when being opened and indexing the directory; with nothing been done CPU is below 2%.

But funnily I could reproduce issue #229. The whole desktop was messed up to being unusable.

I will have to wait until I get build 10.0.19041.207 on my device to try again.

ok,it's not a problem if i don't use above config. Win10 inside preview(slow channel) currently works well, I suggest you upgrade if necessary

tianxiayu007 avatar Apr 25 '20 04:04 tianxiayu007

I get the same problem with a completely fresh install of bug.n v9.0.2 and AutoHotKey v1.1.32.00 on Windows 10 Pro version 1909 build 18363.778.

I tested the same virgin AutoHotKey and bug.n install on Windows 10 Pro version 1909 build 18363.815 and saw the same problem.

It completely freezes Windows Explorer which means that even the Start Menu does not work. I found it also crashes Microsoft Outlook.

Even after quitting bug.n, the Start Menu (pressing the Windows key) is unresponsive, so I have to Sign Out of my Windows login and sign back in again to get Explorer working.

I can't use bug.n due to this issue.

blokeley avatar May 04 '20 08:05 blokeley

Found my way here after finding out my explorer.exe, taskbar, and start menu hanging was caused by the bug.n development branch. Win10 Pro version 1909 build 18363.720.

I've been using the standalone bug.n 9.0.2 without any major issues for almost a year now, but I tried the latest master branch this week because it fixes a multi-monitor DPI scaling issue that's been bugging me for a while.

Though I didn't have problems for a few days, I started getting the following issues:

  • explorer.exe was constantly using around 25% CPU without stopping
  • the taskbar is unresponsive and doesn't display any shortcuts
  • Windows button hotkeys won't work, and the start menu won't come up
  • My bug.n is set to run on startup through the Task Scheduler, so the OS login process is painfully slow

Killing the AutoHotkey process brings things back to normal after around 10 seconds. Killing explorer.exe instead doesn't reopen it or fix any of the issues above, so I'm forced to restart.

It doesn't seem related to custom configs, because I still get the issue when commenting out my entire config. Went back to 9.0.2, and everything seems fine again.

RaptDept avatar May 16 '20 11:05 RaptDept

bug.n seems to working fine now. I'm still using the same completely fresh install of bug.n v9.0.2 and AutoHotKey v1.1.32.00 on Windows 10 Pro (which has been updated to version 2004, OS build 19041.388)

blokeley avatar Jul 17 '20 08:07 blokeley