Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConEmu64 crashes on Win7 Pro when adding second pane of cmd.exe #1488

Open
Maximus5 opened this issue Jul 31, 2015 · 13 comments
Open

ConEmu64 crashes on Win7 Pro when adding second pane of cmd.exe #1488

Maximus5 opened this issue Jul 31, 2015 · 13 comments

Comments

@Maximus5
Copy link
Owner

Originally reported on Google Code with ID 1488

ConEmu64 crashes on Win7 Pro when adding second instance of cmd.exe using CTRL+SHIFT+O
or CTRL+SHIFT+E.  Crash report is attached.  I have enabled "Inject ConEmuHk" in Settings
> Features.

Note that this is a cmd.exe instance that is invoked from Eclipse. ConEmu attaches
successfully when I open the prompt, but crashes if I try to open a second pane using
CTRL+SHIFT+O or CTRL+SHIFT+E

Many thanks for this product and for any advice on possible workarounds going forward.
 I just want to quickly open multiple panes of the cmd.exe instance that I invoke from
Eclipse (which all start in my Eclipse project's root folder.. very convenient).  The
issue doesn't occur if I open multiple panes on a cmd.exe instance that I launched
standalone (outside of Eclipse).  

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-25 16:56:58


- _Attachment: [CrashHang_Report__Date_02_25_2014__Time_10_02_50AM__244.mht](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1488/comment-0/CrashHang_Report__Date_02_25_2014__Time_10_02_50AM__244.mht)_
@Maximus5
Copy link
Owner Author

Memory dumps are required for crash reports. Upload top DropBox our any other hosting.

Reported by ConEmu.Maximus5 on 2014-02-25 17:28:32

@Maximus5
Copy link
Owner Author

mem dump:
https://www.dropbox.com/s/jshex9x1tetvz7t/Trap-140124-15744.dmp

Thanks again.

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-25 17:44:15

@Maximus5
Copy link
Owner Author

Ok, I'll check dump ASAP

As workarounds...
Are you sure using LATEST build of ConEmu?
Try to execute from your cmd prompt "cmd -new_console".

Reported by ConEmu.Maximus5 on 2014-02-25 18:13:45

@Maximus5
Copy link
Owner Author

ahhh thanks.. just updated to the latest dev version, and it doesn't crash anymore.
 But the second pane isn't opened to the same directory (nor using the same environment
settings) as the original cmd.exe instance that was invoked from Eclipse.  Should I
just make a custom Hotkey to ensure the second pane is launched in the same directory
as the original pane?

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-25 18:27:30

@Maximus5
Copy link
Owner Author

I'm not sure what are you doing.

Reported by ConEmu.Maximus5 on 2014-02-25 19:00:26

@Maximus5
Copy link
Owner Author

Thanks, I'll circle back with ya if I can't figure it out from here, but I think I just
need to make another Hotkey to do what I want.  The crash is resolved, so thanks again!

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-25 19:03:09

@Maximus5
Copy link
Owner Author

Both "Duplicate active ‘shell’ split to ..." hotkeys creates new pane in the same directory
cmd was (in my tests). So, you need be more specific, if you want further help...

Reported by ConEmu.Maximus5 on 2014-02-25 19:06:33

@Maximus5
Copy link
Owner Author

Thanks again, much appreciated.  Here's a series of screen shots to hopefully clarify
what the issue is. Steps:

1. I open my default set of tabs in ConEmu
2. Then I invoke a new cmd instance from Eclipse
3. That new cmd instance shows up as a new tab in ConEmu.  Note that this command window
is launched with a different set of environment variables than the default Windows
environment.
4. I use CTRL+SHIFT+O to make a new pane, but the new pane is not opened in the same
folder, and does not have the same environment setup.

Does that make sense?

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-25 21:31:29


- _Attachment: 1_start-with-2-tabs.png
![1_start-with-2-tabs.png](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1488/comment-8/1_start-with-2-tabs.png)_ - _Attachment: 2_open-new-cmd-from-eclipse.png
![2_open-new-cmd-from-eclipse.png](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1488/comment-8/2_open-new-cmd-from-eclipse.png)_ - _Attachment: 3_new-cmd-shows-in-ConEmu-tab.png
![3_new-cmd-shows-in-ConEmu-tab.png](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1488/comment-8/3_new-cmd-shows-in-ConEmu-tab.png)_ - _Attachment: 4_after-CTRL-SHIFT-O.png
![4_after-CTRL-SHIFT-O.png](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1488/comment-8/4_after-CTRL-SHIFT-O.png)_

@Maximus5
Copy link
Owner Author

I see something strange on your screenshots.

1. All your tabs (2, 3, 4...) except 1 - has text "ConEmu 140223". But they must show
text from console title. I think that (tabs 2..4) is erroneous behavior. Do you have
that "ConEmu 140223" always in your tabs?
Please attach your configuration (ConEmu.xml).

2. All tabs have "Shield" icon. Do you have your UAC disabled? Or ConEmu is always
running "As Administrator"?

Reported by ConEmu.Maximus5 on 2014-02-26 06:01:21

  • Status changed: Accepted

@Maximus5
Copy link
Owner Author

140225

Reported by ConEmu.Maximus5 on 2014-02-26 07:43:17

@Maximus5
Copy link
Owner Author

1. Yes, I always see 'ConEmu 140223' as the console title. My exported config is attached.

2. Yes, UAC is disabled, and the account I'm using is a local admin.

For now, I'm just working around this by creating a Task in ConEmu (named 'StreamBase73')
to launch my custom prompt outside of Eclipse, then just manually copy/paste the project's
path into that prompt and duplicate it using CTRL+SHIFT+O.. minor inconvenience with
the manual step, but still better than having to slowly open multiple prompts one-by-one
from a gui menu option in Eclipse.  Maybe we can remove that manual step though..

Thanks again for the prompt responses.

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-26 13:04:16


- _Attachment: [exported.xml](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1488/comment-11/exported.xml)_

@Maximus5
Copy link
Owner Author

You have not seen comment #10?
Your problem fixed, no need in workaround!

Reported by ConEmu.Maximus5 on 2014-02-26 13:09:43

@Maximus5
Copy link
Owner Author

Excellent thanks!  new build works great.  fantastic product, great support.  I'll definitely
look into leveraging Far Manager as well going forward.

Reported by jmulcahe%tibco.com@gtempaccount.com on 2014-02-26 13:18:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant