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

Occasional crash when vim.exe is started #1203

Closed
Maximus5 opened this issue Jul 31, 2015 · 7 comments
Closed

Occasional crash when vim.exe is started #1203

Maximus5 opened this issue Jul 31, 2015 · 7 comments

Comments

@Maximus5
Copy link
Owner

Originally reported on Google Code with ID 1203

ConEmu often (but not always) crashes on me when I do "git commit -av". From the crash
dialog:
  Exception 0xC0000005 was occurred (ConEmuC64.exe, PID=1232)
  ConEmu build 130814 64
The crash happens when VIM is started (it leaves behind .git\.COMMIT_EDITMSG.swp as
well as the vim.exe and git.exe processes).

OS version: Win7 SP1 x64
ConEmu version: 130814[64] (I've seen this with older versions too, so it doesn't look
like a new bug.)
Far version (if you are using Far Manager): -

Here's a crash dump:
https://dl.dropboxusercontent.com/u/30464692/Trap-130814-1232.7z

I don't have exact steps to reproduce for now since VIM sometimes works. Let me know
if the crash dump isn't useful enough to find the root cause, then I'll try to debug
it with the ConEmu sources next time it occurs. (As an aside: It might be nice to be
able to download symbol files for the alpha releases.)

Reported by martin.rubli on 2013-08-19 05:52:27

@Maximus5
Copy link
Owner Author

MicrosoftBugs
Enable "Inject ConEmuHk"

Reported by ConEmu.Maximus5 on 2013-08-19 06:48:13

@Maximus5
Copy link
Owner Author

I've checked your dump. Exactly as said before.

BTW, can you try this crash test project?
http://conemu-maximus5.googlecode.com/svn/files/BugReports/Buffer-Trap.zip
Just run compiled exe (out compile yourself) and run.
If it crash, what is reproduction percent?
It doesn't crash on my Windows 7, but always crash in Windows 8.

Here is a link to msdn bug report
http://social.msdn.microsoft.com/Forums/en-US/40c8e395-cca9-45c8-b9b8-2fbe6782ac2b/readconsoleoutput-cause-access-violation-writing-location-exception


Reported by ConEmu.Maximus5 on 2013-08-19 17:04:54

@Maximus5
Copy link
Owner Author

Wow, thanks for the quick response! I've enabled "Inject ConEmuHK" and will test it
for the day. I'll also run your BufferTrap program later today.

Reported by martin.rubli on 2013-08-20 02:23:36

@Maximus5
Copy link
Owner Author

First of all, I've been using git/vim a lot today and haven't seen a single crash after
enabling the "Inject ConEmuHk" option.

Here are the test results for the BufferTrap test app (I've built the 64-bit version
myself):

Windows 7 SP1, 64-bit:
  Run from the standard Windows command line:
    BufferTrap (32-bit EXE): never crashes
    BufferTrap (64-bit EXE): never crashes
  Run from ConEmu64:
    BufferTrap (32-bit EXE): never crashes
    BufferTrap (64-bit EXE): always crashes

Windows 8, 64-bit:
  Run from the standard Windows command line:
    BufferTrap (32-bit EXE): never crashes
    BufferTrap (64-bit EXE): never crashes

I'm attaching a crash dump of the 64-bit BufferTrap together with the binary and symbol
file. Let me know if you need anything else.

Reported by martin.rubli on 2013-08-20 10:34:30


- _Attachment: [BufferTrap64.7z](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1203/comment-4/BufferTrap64.7z)_

@Maximus5
Copy link
Owner Author

Interesting...
In my tests, 64bit BufferTrap always crashes in Windows 7 too.
But strange, that it never crash on your side in Windows 8. The bug was confirmed on
msdn forum.

Reported by ConEmu.Maximus5 on 2013-08-20 11:32:28

@Maximus5
Copy link
Owner Author

For completeness' sake I quickly installed ConEmu on my Windows 8 machine. On Windows
8 even the 32-bit BufferTrap crashes reproducibly:

Windows 8, 64-bit:
  Run from ConEmu64:
    BufferTrap (32-bit EXE): always crashes
    BufferTrap (64-bit EXE): always crashes

Reported by martin.rubli on 2013-08-21 02:03:36

@Maximus5
Copy link
Owner Author

Reported by ConEmu.Maximus5 on 2013-10-26 19:19:10

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