Access violations while editing files inside of ZIP archiv

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Access violations while editing files inside of ZIP archiv

Post by *NotMyBug »

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.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2NotMyBug
Quick question:
did you try other plugin or text editor?

This problem might be synPlus issue only.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Post by *NotMyBug »

did you try other plugin or text editor?
Yes a lot. SynPlus best fits my needs. Syn is good too but unstable.
This problem might be synPlus issue only.
Yes, that was my first assumption. However, nothing is reported about Synplus - so it could be TC bug too.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

NotMyBug wrote:
did you try other plugin or text editor?
Yes a lot. SynPlus best fits my needs. Syn is good too but unstable.
I've got a feeling you did not understand my question so:

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
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Post by *NotMyBug »

does this error appear with other plugins or editors in similar situations?
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 )

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.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

NotMyBug wrote:All in all it seems that the problem will not be investigated if another editor runs fine with TC.
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.

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
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Post by *NotMyBug »

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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Even worse than ever before

Post by *NotMyBug »

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.
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

hmm ...
0.618033988
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

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.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

I get invalid pointer operations with hpg_ed too

Post by *NotMyBug »

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.
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Post by *NotMyBug »

One more note to Mr.Ghisler:
I always work as administrator.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Thread Even worse than ever before merged.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
NotMyBug
Junior Member
Junior Member
Posts: 23
Joined: 2009-04-01, 06:51 UTC

Post by *NotMyBug »

Danke an den Moderator!
Post Reply