This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Internal Lister Access Violation

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.5x(a) final bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
MWimmer
Junior Member
Junior Member


Joined: 18 Jul 2005
Posts: 11

PostPosted: Wed Jun 02, 2010 10:40 am    Post subject: Internal Lister Access Violation Reply with quote

Using the internal lister and updating the content by pressing F2 while the displayed plain text file was deleted and created again in the background issued a dialog with the following message. I think it's not easy to reproduce. It guess it was more a lucky hit to the one certain moment when it could go wrong.


---------------------------
Total Commander 7.50a fin
---------------------------
Access violation at address 7D620ABF. Read of address 04E5FFFF.

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
7D620ABF
60D29D 61A327 61949D 620603 442479 4443BA
>414514 44397B 414514 44397B 4023DB 4026A4
425FD5 4286A6 60F243 6163F6 6143FC 444EA7
442479 4443BA 414514 44397B 414514 419B58
419BF0 69F119
Raw:
60D29D 61A327 4438E9 414514 444733 416D81
442479 444689 4161F0 443A3D 4443BA 4443DD
414514 44397B 414514 4438E9 414514 444733
4438E9 414514 444733 416D81 62062F 4438E9
414514 444733 416D81 4181F7 442479 444689
4423B7 61949D 620603 442479 444689 4161F0
4161F0 443A3D 4443BA 414514 44397B 414514
44397B 414514 407912 4023DB 4026A4 4036C5
4037AE 407C2E 69CF5B 4438E9 69E4F2 444733
444D11 443A3D 414514 69CF5B 45FA44 416D81

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja Nein
---------------------------
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34340
Location: Switzerland

PostPosted: Wed Jun 02, 2010 3:25 pm    Post subject: Reply with quote

The error occurs when TC calls GetTabbedTextExtent to position the text cursor (caret).

Can you give me two text files, one before and one after the change, please? Maybe I can reproduce it then. Thanks!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MWimmer
Junior Member
Junior Member


Joined: 18 Jul 2005
Posts: 11

PostPosted: Thu Jun 03, 2010 3:05 am    Post subject: Reply with quote

Sorry, the file name belongs to a log file which was deleted quite often since then so I can't provide any of the two.

The files conained only ASCII - no UTF or Unicode.
I assume the deleted file had about 5 to 10 MiB.
The created file was opened repeatedly to write 100 to 200 bytes, so it was initially smaller than the previous file.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34340
Location: Switzerland

PostPosted: Thu Jun 03, 2010 4:29 am    Post subject: Reply with quote

You mean that the viewed 5-10 MB file was overwritten by a file only a few 100 bytes small?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MWimmer
Junior Member
Junior Member


Joined: 18 Jul 2005
Posts: 11

PostPosted: Thu Jun 03, 2010 4:43 am    Post subject: Reply with quote

Yes.
And lines with 100 to 200 bytes were repeatedly appended, so the new file was growing.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34340
Location: Switzerland

PostPosted: Thu Jun 03, 2010 1:22 pm    Post subject: Reply with quote

Hmm, that makes it difficult to reproduce. How long were the lines in these files (approximately)?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MWimmer
Junior Member
Junior Member


Joined: 18 Jul 2005
Posts: 11

PostPosted: Fri Jun 04, 2010 8:34 am    Post subject: Reply with quote

Estimated average line length approx. 170
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34340
Location: Switzerland

PostPosted: Sun Jun 06, 2010 4:08 am    Post subject: Reply with quote

Since I couldn't reproduce the error so far, I'm just catching the access violation now in TC 7.55 RC3.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.5x(a) final bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group