Access violations while editing files inside of ZIP archiv
Moderators: Hacker, petermad, Stefan2, white
Access violations while editing files inside of ZIP archiv
I am using Totalcommander 7.04a on Windows XP SP3.
On actions as described below I randomly get TotalCommander access violations or invalid pointer errors as shown in this screenshot:
i41 tinypic com|2rnblvk jpg
Some other error messages request to report the problem to the author.
The issue unfortunately is NOT always reproducable, it occurs randomly but often (I had more than 50 crashes within one week of work)
Detailed description:
I am editing textfiles (source code) inside of .xpi files. xpi files are just renamed zip files which were created by Totalcommander (no 3rd party library used). I open the xpi files by doubleclick, then open a folder in the xpi file, afterwards open a source file to edit it (by clicking the View button). Usually I edit more than one source file, but always one after the other.
To edit a file I always use the SynPlus 2.7.3 viewer plugin in edit mode (I also tried Syn 1.5, but had the same problems).
Sometimes I can edit and close an xpi file for ~30 times and no crash happens. Otherwise I randomly get successive crashes, even if a crashed TC has been killed by taskmanager and was restarted. Access violations and invalid pointers especially occur if a edited file is closed and TC tries to repack.
Note: There is no other special behaviour to reproduce those crashes. I experienced many bugs, also from my own developement with C++, but that bug is really weird. My PC is free of malware with only a few other applications installed.
On actions as described below I randomly get TotalCommander access violations or invalid pointer errors as shown in this screenshot:
i41 tinypic com|2rnblvk jpg
Some other error messages request to report the problem to the author.
The issue unfortunately is NOT always reproducable, it occurs randomly but often (I had more than 50 crashes within one week of work)
Detailed description:
I am editing textfiles (source code) inside of .xpi files. xpi files are just renamed zip files which were created by Totalcommander (no 3rd party library used). I open the xpi files by doubleclick, then open a folder in the xpi file, afterwards open a source file to edit it (by clicking the View button). Usually I edit more than one source file, but always one after the other.
To edit a file I always use the SynPlus 2.7.3 viewer plugin in edit mode (I also tried Syn 1.5, but had the same problems).
Sometimes I can edit and close an xpi file for ~30 times and no crash happens. Otherwise I randomly get successive crashes, even if a crashed TC has been killed by taskmanager and was restarted. Access violations and invalid pointers especially occur if a edited file is closed and TC tries to repack.
Note: There is no other special behaviour to reproduce those crashes. I experienced many bugs, also from my own developement with C++, but that bug is really weird. My PC is free of malware with only a few other applications installed.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
I've got a feeling you did not understand my question so:NotMyBug wrote:Yes a lot. SynPlus best fits my needs. Syn is good too but unstable.did you try other plugin or text editor?
does this error appear with other plugins or editors in similar situations?
I.e. just try to use Notepad++ for a while (instead of lister with plugin) and check if there are problems.
PS. You can't post valid links yet so (for other readers):
http://i41.tinypic.com/2rnblvk.jpg
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Yes with Syn there are the same problems. ( I don't know if it uses the same library as Synplus because there is a similarity in the naming )does this error appear with other plugins or editors in similar situations?
So I better try PSPad next. It may take some time to find if TC runs stable with that editor - those issues occur randomly only.
I will post as soon as I have reliable results.
All in all it seems that the problem will not be investigated if another editor runs fine with TC.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
That's not 100% true but your future answer will help to find a reason. Even if it might appear as plugins problem it still can be TC issue.NotMyBug wrote:All in all it seems that the problem will not be investigated if another editor runs fine with TC.
One more thing to check will be TC 7.5 which should be announced for public beta stage soon (for next couple days I think). it will definitely deliver many fixes so solution for your problem might be there.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Meanwhile I tried PSPad as editor. With PSPad here are no problems but that's no surprise as the editor does not run as TC plugin. The only similarity in handlng is that I open an XPI (ZIP) file by doubleclick and edit the contents.
So I tried the SynPlus-Editor (which caused the problems) once more: This time NOT as plugin but as external editor just like PSPad. There were no problems too.
Conclusion: TC crashes with Synplus but only if Synplus is running as plugin.
So I tried the SynPlus-Editor (which caused the problems) once more: This time NOT as plugin but as external editor just like PSPad. There were no problems too.
Conclusion: TC crashes with Synplus but only if Synplus is running as plugin.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Can you try a completely different editor plugin like hpg_ed or scilister? I had some problems with SynPlus, but only when starting one TC as current user and one as user Administrator, and then opening lister with SynPlus in both. I didn't have this problem with e.g. hpg_ed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Even worse than ever before
I downloaded:
Scintilla Lister 0.1.1
Scite 1.77-wbd-1
Copied the SciLister.wlx to Scintilla installation folder as instructed.
Restarted TC
Opened a file from inside a xpi file.
I immediately get an access violation (This now is ALWAYS reproducable!).
On access violation message I tried to press Cancel this time.
I then get another message never seen before:
"Cannot change visible in onshow or onhide.
Please report ...."
Meanwhile I'm pretty annoyed from all those messages with every plugin I tried.
Though I would aggree to try more plugins if you want me to do so.
Scintilla Lister 0.1.1
Scite 1.77-wbd-1
Copied the SciLister.wlx to Scintilla installation folder as instructed.
Restarted TC
Opened a file from inside a xpi file.
I immediately get an access violation (This now is ALWAYS reproducable!).
On access violation message I tried to press Cancel this time.
I then get another message never seen before:
"Cannot change visible in onshow or onhide.
Please report ...."
Meanwhile I'm pretty annoyed from all those messages with every plugin I tried.
Though I would aggree to try more plugins if you want me to do so.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2NotMyBug
Scintilla Lister does not work with Scite 1.74 and newer versions.
Unfortunately the only thing to make this plugin work is to download 1.74 from here:
http://sourceforge.net/project/showfiles.php?group_id=2439&package_id=5662
Sadly, this plugin has not been updated since October, 2005 and will not work with newer Scite releases.
Scintilla Lister does not work with Scite 1.74 and newer versions.
Unfortunately the only thing to make this plugin work is to download 1.74 from here:
http://sourceforge.net/project/showfiles.php?group_id=2439&package_id=5662
Sadly, this plugin has not been updated since October, 2005 and will not work with newer Scite releases.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
I get invalid pointer operations with hpg_ed too
I tested those 2 viewer plugins as they were recommended by Mr. Ghisler.
Both plugins caused errors, as well as all other plugins that I tested before.
Both plugins caused errors, as well as all other plugins that I tested before.