Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.55k stars 572 forks source link

Hang on new Shells > Cmd console #623

Open Danita opened 8 years ago

Danita commented 8 years ago

Versions

ConEmu build: 150813g x64 OS version: Windows 7/x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd

Problem description

When opening a new Cmd shell, ConEmu hangs indefinitely on a new empty window. When I press CTRL+C, I get the "Finish batch process" prompt. I investigated a little and I found the culprit on CmdInit.cmd line 8:

cmd /d /c ver | "%windir%\system32\find.exe" "Windows"

It's the find.exe which just hangs the batch process. If I remove this line (or even just remove everything from the pipe) it works OK.

Steps to reproduce

  1. Configure ConEmu to use different windows instead of tabs
  2. Open a new Cmd shell from the little [+] in the status bar

    Actual results

ConEmu opens a new empty window but prompt won't appear until Ctrl+C is pressed.

Expected results

ConEmu should open a new fully functional Cmd window

Maximus5 commented 8 years ago

Guidelines for CONTRIBUTING.

Danita commented 8 years ago

Sorry, editing.

Maximus5 commented 8 years ago

If you are using old build, there is big chance that your problem was fixed already. Don’t waste your time reporting problems of Old Builds. Why not to update?

vensko commented 7 years ago

find.exe in Windows 7 x64 hangs if cmd codepage is set to utf-8, can be chcp utf-8 in Settings (if a batch file is running in ConEmu), registry key HKEY_CURRENT_USER\Console\CodePage or right in a batch file.

Maximus5 commented 7 years ago

I need process dump of "hanged" find.exe https://conemu.github.io/en/MemoryDump.html

hsmyers commented 7 years ago

It is now March of 2017 and this problem persists. And before someone 'demands' a memory dump, I would point out that the numbers displayed in ConEmu, both display line and in the dialog are wrong causing the debug request to error out.

I have not experimented with the .cmd file as yet.

Hugh S, Myers

Maximus5 commented 7 years ago

Yep, March 2017 and there is still no answer to my "demand".

both display line and in the dialog are wrong causing the debug request to error out.

What?

hsmyers commented 7 years ago

Just what I said, the numbers shown in both locations are not PIDs and if used in an attempt to generate the memory dump, the software errors out and complains of a bad PID. Also, I could find nothing using Task Manager that I could associate with ConEmu to tell me the PID. The only window that shows PIDs is Process and none of them seemed to be related—what process name does ConEmu use?

I did edit the .cmd file to comment out line 8 and as mentioned the seems to be a sufficient workaround.

On Mon, Mar 6, 2017 at 3:04 PM, Maximus5 notifications@github.com wrote:

Yep, March 2017 and there is still no answer on my "demands".

both display line and in the dialog are wrong causing the debug request to error out.

What?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-284548526, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5Pvk7dTOEQEpGWWDDYOab0i6eeW3-Nks5rjILtgaJpZM4H-rWH .

libichong commented 7 years ago

@Maximus5 I met the same issue when i run the command "es.exe" which is the client application of windows everything. You can try it here https://www.voidtools.com/ES-1.1.0.7.zip and you also need to install everthing. It can repro in all my machines.

hsmyers commented 7 years ago

says:

C:>es

Everything IPC window not found, IPC unavailable. C:>

On Tue, Mar 14, 2017 at 8:24 PM, libichong notifications@github.com wrote:

@Maximus5 https://github.com/Maximus5 I met the same issue when i run the command "es.exe" which is the client application of windows everything. You can try it here https://www.voidtools.com/ES-1.1.0.7.zip. It can repro in all my machines.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-286621831, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5Pviu80mqKPAeoYDQFFCNECBtKWv2Kks5rl0vegaJpZM4H-rWH .

libichong commented 7 years ago

Apologized for the misguided steps. You also need to download https://www.voidtools.com/Everything-1.3.4.686.x86.Multilingual-Setup.exe

Because I tried in my Command Prompt and native Powershell. es.exe can work but conemu will get stuck and no response. I have to break the process

hsmyers commented 7 years ago

now running in conemu I get:

hsmyers@BIGIRON C:\perldev\cons

pushd C:\Users\hsmyers\Downloads\ES-1.1.0.7

hsmyers@BIGIRON C:\Users\hsmyers\Downloads\ES-1.1.0.7

es

hsmyers@BIGIRON C:\Users\hsmyers\Downloads\ES-1.1.0.7

dir Volume in drive C has no label. Volume Serial Number is 4C82-441B

Directory of C:\Users\hsmyers\Downloads\ES-1.1.0.7

[.] [..] cli.c es.exe 2 File(s) 225,197 bytes 2 Dir(s) 131,716,620,288 bytes free

hsmyers@BIGIRON C:\Users\hsmyers\Downloads\ES-1.1.0.7

On Tue, Mar 14, 2017 at 8:35 PM, libichong notifications@github.com wrote:

Apologized for the misguided steps. You also need to download https://www.voidtools.com/Everything-1.3.4.686.x86.Multilingual-Setup.exe

Because I tried in my Command Prompt and native Powershell. es.exe can work but conemu will get stuck and no response. I have to break the process

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-286623405, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5Pvo7e8Z4ViKOuvgkCkn1schdo3C2vks5rl05YgaJpZM4H-rWH .

libichong commented 7 years ago

The execution will go to the following code path and I saw the following comments.

// 120603. В принципе, это штатная ситуация, если ни одного запроса на // подключение не было. Но было зафиксировано странное зависание клиента // при попытке подключения к пайпу с mn_MaxCount=1. Пайп вроде был живой // и свободный, но тем не менее, на клиенте все время возвращалась // ошибка ERROR_PIPE_BUSY. // //_ASSERTEX((nDuration <= nMaxConnectDuration) && "Unknown problem, waiting for connection");

hsmyers commented 7 years ago

So under what condition(s) would you get a race condition with a pipe request? That does not seem reasonable.

2017-03-14 23:30 GMT-06:00 libichong notifications@github.com:

The execution will go to the following code path and I saw the following comments.

// 120603. В принципе, это штатная ситуация, если ни одного запроса на // подключение не было. Но было зафиксировано странное зависание клиента // при попытке подключения к пайпу с mn_MaxCount=1. Пайп вроде был живой // и свободный, но тем не менее, на клиенте все время возвращалась // ошибка ERROR_PIPE_BUSY. // //_ASSERTEX((nDuration <= nMaxConnectDuration) && "Unknown problem, waiting for connection");

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-286645070, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5Pvq5ervUhtQ5lviCnaDSnfBujTiHlks5rl3eOgaJpZM4H-rWH .

Maximus5 commented 7 years ago

There is still neither stack nor process dump.

Maximus5 commented 7 years ago

And I don't see any problems with es.exe on my PC

hsmyers commented 7 years ago

Ah! Well then…Perhaps I could come up with what you need if you would instruct me on how? I've no idea how the software you supplied changes things, nor given the difference, precisely what to do. Assume I'm an idiot (surely not hard to do) and give me a step by step explanation. Armed with that I will proceed and respond accordingly.

On Wed, Mar 15, 2017 at 4:09 AM, Maximus5 notifications@github.com wrote:

And I don't see any problems with es.exe on my PC

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-286697267, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5PvrmYOYB3JPHaIO6BvRIjpMOv6k2fks5rl7jmgaJpZM4H-rWH .

Maximus5 commented 7 years ago

First of all, the issue was created about find.exe hang. And there were no aswers for my requests.

@hsmyers what process hang do you mean?

@libichong talks about es.exe which is definitely absolutely different than find.exe and I suppose there may be different problems.

Anyway, if one say "process hangs", it's supposed to be they know what process hangs. There are plenty much ways to know PIDs of processes. ProcessExplorer is easiest of them. And I said many times what information I need to understand the problem.

hsmyers commented 7 years ago

Interesting. I will move back to the beginning and attempt to come up with the information you need.

I can answer the first bullet now, what you see is a partial start-up screen. It is partial in that the user-machine_name directory input prompt like:

hsmyers@BIGIRON C:\perldev\cons

have not yet displayed at the time of the 'hang'. As for what I did, this is from invoking the program by a taskbar mouse click.

I've also attached the 'tree' from ProcessExplorer. I will shortly capture the screen from the hung window of conemu as well as the gui window showing the tree with relevant details.

On to the memory dump!

On Wed, Mar 15, 2017 at 9:30 AM, Maximus5 notifications@github.com wrote:

First of all, the issue was created about find.exe hang. And there were no aswers for my requests.

@hsmyers https://github.com/hsmyers what process hang do you mean?

@libichong https://github.com/libichong talks about es.exe which is definitely absolutely different than find.exe and I suppose there may be different problems.

Anyway, if one say "process hangs", it's supposed to be they know what process hangs. There are plenty much ways to know PIDs of processes. ProcessExplorer http://conemu.github.io/en/ProcessExplorer.html is easiest of them. And I said many times what information I need to understand the problem.

  • The description. What do you do and what hangs.
  • MemoryDumps http://conemu.github.io/en/MemoryDump.html of processes you see in the ProcessExplorer.
  • Screenshots (of ConEmu window and process tree from ProcessExplorer) would be helpful too

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-286779030, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5PvtkFFeQ9fAOzmVShfkXY6FIyySy_ks5rmAQWgaJpZM4H-rWH .

Process CPU Private Bytes Working Set PID Description Company Name System Idle Process 0 K 24 K 0
System 0.06 492 K 18,048 K 4
Interrupts 0.19 0 K 0 K n/a Hardware Interrupts and DPCs
smss.exe 764 K 1,464 K 396
csrss.exe 0.05 4,580 K 6,560 K 468
wininit.exe 2,664 K 5,752 K 496
services.exe < 0.01 7,628 K 11,248 K 604
svchost.exe 5,644 K 11,180 K 736 Host Process for Windows Services Microsoft Corporation WmiPrvSE.exe 7,296 K 12,848 K 8080
WmiPrvSE.exe 3,124 K 7,552 K 6068
svchost.exe 5,308 K 9,032 K 816 Host Process for Windows Services Microsoft Corporation svchost.exe 0.01 23,316 K 20,572 K 892 Host Process for Windows Services Microsoft Corporation audiodg.exe 0.15 21,816 K 21,836 K 3804
svchost.exe 8.98 417,524 K 421,460 K 944 Host Process for Windows Services Microsoft Corporation dwm.exe 2,584 K 6,288 K 3904 Desktop Window Manager Microsoft Corporation svchost.exe < 0.01 20,216 K 27,680 K 984 Host Process for Windows Services Microsoft Corporation svchost.exe 0.03 31,792 K 51,212 K 1016 Host Process for Windows Services Microsoft Corporation taskeng.exe 2,724 K 6,296 K 2808
taskeng.exe 3,408 K 7,808 K 3640
DAODx.exe 1,400 K 528 K 3600
HPSF.exe 0.15 74,216 K 7,060 K 7228
HPSSFUpdater.exe < 0.01 43,476 K 8,644 K 3324
unzip.exe 15,692 K 15,532 K 8000
svchost.exe 3,760 K 8,216 K 680 Host Process for Windows Services Microsoft Corporation svchost.exe < 0.01 32,816 K 36,328 K 1232 Host Process for Windows Services Microsoft Corporation spoolsv.exe 7,412 K 12,436 K 1348 Spooler SubSystem App Microsoft Corporation svchost.exe 0.13 14,272 K 16,856 K 1376 Host Process for Windows Services Microsoft Corporation AdobeUpdateService.exe < 0.01 2,708 K 5,880 K 1488 Adobe Update Service Adobe Systems Incorporated AGSService.exe < 0.01 2,996 K 8,592 K 1628 Adobe Genuine Software Integrity Service Adobe Systems, Incorporated mDNSResponder.exe 2,796 K 5,972 K 1668 Bonjour Service Apple Inc. svchost.exe 10,028 K 15,708 K 1692 Host Process for Windows Services Microsoft Corporation Everything.exe 0.01 1,488 K 4,684 K 1740 Everything
IpOverUsbSvc.exe 8,644 K 11,392 K 1816 Windows IP Over USB PC Service Microsoft Corporation mongod.exe 0.06 74,688 K 46,664 K 1852
SDFSSvc.exe 0.03 35,632 K 40,528 K 1948 Spybot-S&D 2 Scanner Service Safer-Networking Ltd. SDUpdSvc.exe 0.01 7,720 K 14,204 K 1220 Spybot-S&D 2 Background update service Safer-Networking Ltd. sqlwriter.exe 2,820 K 6,676 K 1036 SQL Server VSS Writer - 64 Bit Microsoft Corporation MBAMService.exe 0.07 386,044 K 410,140 K 1864 Malwarebytes Service Malwarebytes SDWSCSvc.exe < 0.01 5,228 K 10,840 K 1580 Windows Security Center integration. Safer-Networking Ltd. HPSupportSolutionsFrameworkService.exe < 0.01 56,212 K 58,456 K 2880 HP Support Solutions Framework Service HP Inc. svchost.exe < 0.01 6,924 K 13,028 K 1936 Host Process for Windows Services Microsoft Corporation svchost.exe < 0.01 63,160 K 72,288 K 2384 Host Process for Windows Services Microsoft Corporation SearchIndexer.exe < 0.01 42,336 K 22,560 K 1652 Microsoft Windows Search Indexer Microsoft Corporation taskhost.exe < 0.01 8,988 K 13,324 K 1212 Host Process for Windows Tasks Microsoft Corporation wmpnetwk.exe 4,796 K 3,976 K 4344 Windows Media Player Network Sharing Service Microsoft Corporation lsass.exe 6,028 K 13,628 K 616 Local Security Authority Process Microsoft Corporation lsm.exe < 0.01 3,180 K 5,024 K 624
csrss.exe 0.27 4,632 K 27,836 K 520
conhost.exe 2,032 K 4,364 K 4020 Console Window Host Microsoft Corporation conhost.exe 2,048 K 4,396 K 4504 Console Window Host Microsoft Corporation conhost.exe 2,048 K 4,384 K 5528 Console Window Host Microsoft Corporation conhost.exe 0.15 2,856 K 6,176 K 8184 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,376 K 7432 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,388 K 6988 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,400 K 7496 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,388 K 4924 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,404 K 7844 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,376 K 7472 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,392 K 1660 Console Window Host Microsoft Corporation conhost.exe 2,028 K 4,384 K 1156 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,388 K 7700 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,356 K 3616 Console Window Host Microsoft Corporation conhost.exe 2,028 K 4,392 K 7812 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,368 K 7808 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,412 K 6716 Console Window Host Microsoft Corporation conhost.exe 2,036 K 4,384 K 4476 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,392 K 7860 Console Window Host Microsoft Corporation conhost.exe 2,032 K 4,384 K 7824 Console Window Host Microsoft Corporation conhost.exe < 0.01 2,700 K 6,208 K 3976 Console Window Host Microsoft Corporation conhost.exe 2,324 K 5,644 K 8028
winlogon.exe 4,576 K 9,196 K 576
GoogleCrashHandler.exe 1,744 K 528 K 2804
GoogleCrashHandler64.exe 2,032 K 528 K 244
explorer.exe 0.01 73,480 K 76,016 K 448 Windows Explorer Microsoft Corporation RtkNGUI64.exe 14,560 K 11,584 K 1536 Realtek HD Audio Manager Realtek Semiconductor boinctray.exe 2,524 K 4,988 K 3736 BOINC System Tray for Windows Space Sciences Laboratory boincmgr.exe 0.19 27,472 K 48,228 K 3580 BOINC Manager for Windows Space Sciences Laboratory boinc.exe 0.09 11,256 K 16,344 K 4040 BOINC client Space Sciences Laboratory primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,276 K 3,896 K 7984
primegrid_cllr.exe 11.80 9,056 K 10,720 K 3240
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,280 K 3,900 K 6512
primegrid_cllr.exe 6.19 9,048 K 10,712 K 7416
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,276 K 3,888 K 7884
primegrid_cllr.exe 3.17 9,052 K 10,716 K 7204
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,276 K 3,896 K 6036
primegrid_cllr.exe 11.75 9,056 K 10,720 K 3352
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,280 K 3,904 K 7676
primegrid_cllr.exe 12.11 9,052 K 10,716 K 3456
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,280 K 3,892 K 1928
primegrid_cllr.exe 6.16 9,056 K 10,724 K 3652
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,276 K 3,896 K 4728
primegrid_cllr.exe 12.22 9,056 K 10,712 K 7088
primegrid_llr_wrapper_7.06_windows_x86_64.exe < 0.01 2,276 K 3,896 K 3232
primegrid_cllr.exe 12.00 9,056 K 10,720 K 5172
mbamtray.exe 13,880 K 17,352 K 3832 Malwarebytes Tray Application Malwarebytes googledrivesync.exe 1,736 K 3,976 K 3528 Google Drive Google googledrivesync.exe 0.11 237,872 K 249,748 K 4156 Google Drive Google chrome.exe 0.09 285,248 K 412,284 K 1168 Google Chrome Google Inc. chrome.exe 4,260 K 8,288 K 3872 Google Chrome Google Inc. chrome.exe 4,784 K 9,892 K 3292 Google Chrome Google Inc. chrome.exe 33,508 K 40,112 K 4536 Google Chrome Google Inc. chrome.exe 43,436 K 49,676 K 4564 Google Chrome Google Inc. chrome.exe 64,968 K 72,392 K 4700 Google Chrome Google Inc. chrome.exe < 0.01 99,052 K 106,136 K 4812 Google Chrome Google Inc. chrome.exe 34,184 K 41,080 K 4916 Google Chrome Google Inc. chrome.exe < 0.01 472,212 K 473,716 K 4600 Google Chrome Google Inc. chrome.exe 0.08 618,196 K 732,368 K 5920 Google Chrome Google Inc. chrome.exe 0.01 478,832 K 529,700 K 6088 Google Chrome Google Inc. chrome.exe 0.14 679,168 K 770,932 K 1408 Google Chrome Google Inc. chrome.exe 78,908 K 95,572 K 4132 Google Chrome Google Inc. chrome.exe 34,772 K 39,624 K 6736 Google Chrome Google Inc. chrome.exe 2.60 252,632 K 276,680 K 1980 Google Chrome Google Inc. chrome.exe 27,832 K 33,644 K 7068 Google Chrome Google Inc. chrome.exe < 0.01 81,772 K 95,744 K 3632 Google Chrome Google Inc. chrome.exe 48,848 K 84,800 K 6592 Google Chrome Google Inc. chrome.exe 30,736 K 37,100 K 6292 Google Chrome Google Inc. chrome.exe 26,164 K 37,612 K 6208 Google Chrome Google Inc. chrome.exe 0.02 80,412 K 94,524 K 4332 Google Chrome Google Inc. chrome.exe < 0.01 81,528 K 97,796 K 4428 Google Chrome Google Inc. chrome.exe < 0.01 81,472 K 97,856 K 4024 Google Chrome Google Inc. chrome.exe 0.01 103,500 K 127,320 K 2688 Google Chrome Google Inc. chrome.exe 202,908 K 219,568 K 6672 Google Chrome Google Inc. chrome.exe 100,216 K 120,748 K 6424 Google Chrome Google Inc. chrome.exe 0.01 86,376 K 100,636 K 4500 Google Chrome Google Inc. chrome.exe 124,720 K 145,108 K 3920 Google Chrome Google Inc. chrome.exe 14,248 K 19,064 K 7452 Google Chrome Google Inc. editplus.exe < 0.01 16,708 K 26,624 K 7768 EditPlus ES-Computing SDTray.exe 0.03 14,124 K 24,492 K 3988 Spybot - Search & Destroy tray access Safer-Networking Ltd. Creative Cloud.exe 0.02 35,076 K 83,292 K 1068 Adobe Creative Cloud Adobe Systems Incorporated AdobeIPCBroker.exe 6,116 K 9,472 K 4200 Adobe IPC Broker Adobe Systems Incorporated Adobe Desktop Service.exe 0.02 52,048 K 84,100 K 6048 Creative Cloud Adobe Systems Incorporated CoreSync.exe 0.02 17,200 K 33,112 K 6004 Core Sync
CCXProcess.exe 704 K 2,376 K 5676 CCXProcess Adobe Systems Incorporated node.exe < 0.01 53,816 K 59,676 K 5756 Node.js: Server-side JavaScript Node.js CCLibrary.exe 708 K 2,376 K 3160 CCLibraries Adobe Systems Incorporated node.exe < 0.01 46,076 K 55,468 K 3132 Node.js: Server-side JavaScript Node.js Adobe CEF Helper.exe 0.05 100,884 K 111,956 K 5596 Adobe CEF Helper Adobe Systems Incorporated hpwuschd2.exe 1,524 K 4,184 K 960 hpwuSchd Application Hewlett-Packard jusched.exe 5,256 K 12,756 K 3812 Java Update Scheduler Oracle Corporation Everything.exe 0.01 57,964 K 60,632 K 3372 Everything
ConEmu64.exe 0.06 27,276 K 16,312 K 8076 Console Emulator (x64) ConEmu-Maximus5 ConEmuC64.exe 0.16 4,288 K 1,228 K 3940 ConEmu console extender (x64) ConEmu-Maximus5 cmd.exe < 0.01 9,268 K 2,552 K 7240 Windows Command Processor Microsoft Corporation procexp64.exe 0.24 30,808 K 49,144 K 7692 Sysinternals Process Explorer Sysinternals - www.sysinternals.com ConEmuC64.exe 0.02 4,288 K 4,508 K 3172 ConEmu console extender (x64) ConEmu-Maximus5 cmd.exe 4,664 K 3,428 K 6348 Windows Command Processor Microsoft Corporation find.exe 10.24 2,020 K 2,788 K 7872 Find String (grep) Utility Microsoft Corporation

hsmyers commented 7 years ago

And here is the full dump from ProcessExplorer (handy program BTW!) I've attached the full dump as well as the minidump. The full is a link to google cloud while the smaller is actually attached. ConEmuC64.dmp https://drive.google.com/file/d/0B3UGvm366f_-WlVJQWliQm1RX2c/view?usp=drive_web

On Wed, Mar 15, 2017 at 2:54 PM, Hugh S. Myers hsmyers@gmail.com wrote:

Interesting. I will move back to the beginning and attempt to come up with the information you need.

I can answer the first bullet now, what you see is a partial start-up screen. It is partial in that the user-machine_name directory input prompt like:

hsmyers@BIGIRON C:\perldev\cons

have not yet displayed at the time of the 'hang'. As for what I did, this is from invoking the program by a taskbar mouse click.

I've also attached the 'tree' from ProcessExplorer. I will shortly capture the screen from the hung window of conemu as well as the gui window showing the tree with relevant details.

On to the memory dump!

On Wed, Mar 15, 2017 at 9:30 AM, Maximus5 notifications@github.com wrote:

First of all, the issue was created about find.exe hang. And there were no aswers for my requests.

@hsmyers https://github.com/hsmyers what process hang do you mean?

@libichong https://github.com/libichong talks about es.exe which is definitely absolutely different than find.exe and I suppose there may be different problems.

Anyway, if one say "process hangs", it's supposed to be they know what process hangs. There are plenty much ways to know PIDs of processes. ProcessExplorer http://conemu.github.io/en/ProcessExplorer.html is easiest of them. And I said many times what information I need to understand the problem.

  • The description. What do you do and what hangs.
  • MemoryDumps http://conemu.github.io/en/MemoryDump.html of processes you see in the ProcessExplorer.
  • Screenshots (of ConEmu window and process tree from ProcessExplorer) would be helpful too

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Maximus5/ConEmu/issues/623#issuecomment-286779030, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5PvtkFFeQ9fAOzmVShfkXY6FIyySy_ks5rmAQWgaJpZM4H-rWH .

libichong commented 7 years ago

Hi guys, please ignore my previous post. It's NOT conemu issue.

The issue: I started Everything with normal privilege. The default startup newly-created console is PowerShell with administrator privilege. So es.exe in conemu will be stuck and I started PowerShell with normal privilege works well. It made me feel that it was conemu stuck issue.

Solution: start Eveything and es.exe with the same privilege.

ghost commented 7 years ago

I use portable version on windows 8/10 no problemo when switch back to normal OS like windows 7 i get this error __ I just start using power shell because its random sometimes its hange like 4 times in row

@Maximus5 - what is your email i will be send you my dump form process explorer

image

This happens for me even in console2 sometimes less often

Maximus5 commented 7 years ago

@usrnamatnull my e-mail publicly available in many places, in account properties for example.

"Undefined" means ConEmu doesn't force cmd to change output mode. http://conemu.github.io/en/SettingsComspec.html#choose-preferred-command-processor-platform-bits

densom commented 6 years ago

I have noticed the crash is coming from the cmd /d /c ver | "%windir%\system32\find.exe" "Windows" line as well. However, it is the cmd that is causing the error on my side. For example, to reproduce:

  1. Launch ConEMU into a standard prompt (clearing any error messages that appear)

  2. type cmd at the prompt and press enter

  3. type exit to exit from the shell that was launched

Notice the same error occurs as when you launch.