EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Macro operations still crash the editor
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
tranglos
Posted on: 1/2/2012 9:31 am
Just popping in
Joined: 12/2/2006
From:
Posts: 12
Macro operations still crash the editor
I first reported this problem in April 2011 here:
http://www.emeditor.com/modules/newbb/viewtopic.php?forum=5&post_id=5626&topic_id=1739#forumpost5626

I'm sorry to say nothing has changed since then. After upgrading to the latest version, EmEditor still always crashes:

1) After clicking Macros -> Customize -> Edit
2) After clicking Macros -> Select and selecting a macro that is not yet displayed on the macro toolbar.

I have created screencasts of the steps to reproduce each type of crash:

(crash type 1)
http://www.tranglos.com/media/embug01.wmv

(crash type 2)
http://www.tranglos.com/media/embug02.wmv

This is really annoying, since I can no longer edit macros in EmEditor. Please fix this issue! (It may be related to the macro toolbar.)

Thank you, and very best regards,
Marek
mguttman
Posted on: 1/2/2012 9:46 am
Just can't stay away
Joined: 11/14/2009
From: Ashdod, Israel
Posts: 78
Re: Macro operations still crash the editor
I cannot recreate "Crash type 1". It opens up the Macro in EmEditor, as usual.

Trying to recreate "Crash type 2" also failed to crash EE, but didn't do anything either. The macro didn't seem to actually run.

I am using EmEditor Professional (32-bit) Version 11.0.3 on a Hebrew enabled XP box, OS Version 5.1.2600 Service Pack 3 with all windows updates successfully installed.

Meir
webern
Posted on: 1/2/2012 5:31 pm
Not too shy to talk
Joined: 11/23/2006
From: Moscow, Russia
Posts: 38
Re: Macro operations still crash the editor
2 tranglos
I cannot confirm both crashes on EE 10.06 -> 11.03 x64, Vista X64.
Did you try to google for "Stackhash APPCRASH"? It seems like your problem isn't EmEditor issue.

2 mguttman Quote:
Trying to recreate "Crash type 2" ... The macro didn't seem to actually run.
This is normal, because the "Select..." command just "Sets the opened file as the current macro" (from the manual). This command should not run a macro.
tranglos
Posted on: 1/3/2012 4:56 pm
Just popping in
Joined: 12/2/2006
From:
Posts: 12
Re: Macro operations still crash the editor
Well, if EmEditor crashes, it is an EmEditor problem :)

(I guess it could be a plugin problem, too, but I am only using the plugins installed by default with EmEditor.)

APPCRASH is just Microsoft's code word, it doesn't mean anything very specific. There is a very specific code: 005, which in Windows is "access denied". It could be that an unhandled exception caused by this error is crashing EmEditor. Whatever the reason, it does look like an uncaught exception in EmEditor code.

Meanwhile, I have discovered yet another reliable method to crash EmEditor:

Right-click empty space in the menu bar -> click "Customize menus". When the dialog box shows up, click OK. Crash!

This is the latest version of EmEditor on Win7 32-bit, the system is running smoothly otherwise.
webern
Posted on: 1/3/2012 6:01 pm
Not too shy to talk
Joined: 11/23/2006
From: Moscow, Russia
Posts: 38
Re: Macro operations still crash the editor
Quote:
tranglos wrote:
Well, if EmEditor crashes, it is an EmEditor problem :)
Not at all! Kidding?:)

Quote:
APPCRASH is just Microsoft's code word, it doesn't mean anything very specific.
Of course, I know it, but what about "stackhash"?

Quote:
Meanwhile, I have discovered yet another reliable method to crash EmEditor:
Right-click empty space in the menu bar -> click "Customize menus". When the dialog box shows up, click OK. Crash!
I cannot confirm it as well! No crash!

Quote:
(I guess it could be a plugin problem, too, but I am only using the plugins installed by default with EmEditor.)
Me too currently not using third-party plugins.
And I cannot remember EmEditor crashes since v.7.x.
Yutaka
Posted on: 1/3/2012 6:05 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2423
Re: Macro operations still crash the editor
Hello tranglos,

Both failures on your videos were in the "stackhash_0a9e" module, and since I can't reproduce your issues, I don't believe they are related to EmEditor. I can't reproduce your menu bar crash, either. You might want to google for "stackhash", and you will find many similar cases, which might be helpful. Please update all your graphics/audio drivers, and make sure you have applied all Windows updates. You might want to run a memory test program and check hard drives. You might want to turn off DEP for EmEditor.exe and see if that remedies the issue.

Thanks


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

tranglos
Posted on: 1/4/2012 6:22 am
Just popping in
Joined: 12/2/2006
From:
Posts: 12
Re: Macro operations still crash the editor
Hi Yutaka,

I am sorry but I cannot debug your product for you. If you googled "stackhash", you would find out that there is never a module by that name: the identifier means that the module is unknown, so the OS provides a hash of the stack instead, which only serves to identify the particular crash (distinguish it from other crashes). Here's a brief description from a Microsoft technician (first answer below the OP):

http://social.msdn.microsoft.com/Forums/en/isv/thread/cc5ff3a6-c6d6-4965-a776-8e72875f162f

I have found out that if I run EmEditor as administrator (with the UAC prompt), then the crashes do not happen. What this suggests to me is that there is indeed a permissions problem somewhere. When EmEitor runs as administrator, the permissions problem does not occur, hence no crash. Again, exception 5 is "access denied", and I would think this is a better indication of why EmEditor crashes than the meaningless "stackhash".

If I can provide you with any more information to debug this issue, please let me know. These crashes have been happening consistently since the beginning of 2011, so at least since version 10 was released.

(Yes, I have all the latest drivers and updates installed. No other app on my system exhibits any similar problems; that includes Office 2007, versions of Delphi from 6 to XE, a couple of recent games and several other text editors.)

tranglos
Posted on: 1/4/2012 6:29 am
Just popping in
Joined: 12/2/2006
From:
Posts: 12
Re: Macro operations still crash the editor
Webern,

I will not entertain your flippant remarks, you're wasting time. I will just say that the fact that something works on your system does not negate the fact that it doesn't on mine.

I am however somewhat surprised that the author of EmEditor seems to follow the "works for me" approach to debugging, too.
Yutaka
Posted on: 1/4/2012 12:16 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2423
Re: Macro operations still crash the editor
Hello tranglos,

I am sincerely sorry for my inappropriate response.

All I need is the call stack information when the crash happens. If you can somehow retrieve the call stack information, please send it to me.

I am also working with Microsoft to receive the crash information so this process becomes automatic. I will let you know as soon as this system becomes available.

Thank you,


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

webern
Posted on: 1/4/2012 6:19 pm
Not too shy to talk
Joined: 11/23/2006
From: Moscow, Russia
Posts: 38
Re: Macro operations still crash the editor
Quote:
I will not entertain your flippant remarks...
I'm very sorry for that.
Quote:
I will just say that the fact that something works on your system does not negate the fact that it doesn't on mine.
You're right. But I guess it is important for developer to know how many users (different systems) can reproduce the issue. Two of us and the developer didn't reproduce it. I tried to reproduce it again on my three machines (Vista x64, Win7 x64, Win7 x86) - on the first one as admin, and on the rest as the user with UAC enabled/disabled. No crash!
(1) 2 »
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文