+[8.50b7] Access Violation while changing tab length

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ferhat
Junior Member
Junior Member
Posts: 54
Joined: 2013-09-03, 06:29 UTC

+[8.50b7] Access Violation while changing tab length

Post by *ferhat »

Environment: WinXP 32Bit SP3

Steps:
1) Open Configuration
2) Go to Folder Tabs
3) Enable "Limit tab title length to" and set -1 as value


---------------------------
Total Commander 8.50b7
---------------------------
Access violation at address 004F67B0. Read of address 0000AEF8.
Access violation at address 004F67B0. Read of address 0000AEF8
Windows XP SP3 5.1 (Build 2600)

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

Windows exception: C0000005
Stack trace:
004F67B0
65551A 446441 44839E >4257C4 447953 4257C4
5A8C40 5A9C96 5A9E20 446578 436406 446441
447A1E 446377 448752 44839E 4257C4 447953
4257C4 4478C1 4257C4 447A1E 44839E 4257C4
447953 4257C4 42AE80 42AF1C 59FE68 65DC38
65FE93 42DC52 446441 44839E 4257C4 447953
4257C4 42AE80 42AF1C 6FC0BF
Raw:
648C6D 4257C4 448717 446441 44866D 44839E
4483C1 4257C4 65551A 446441 44866D 4274A0
447A1E 44839E 4257C4 447953 4257C4 5A8C40
5A9C96 447953 447953 449E1F 463EBA 463F27
5A37B3 6C005F 447953 436275 447A1E 44839E
4483C1 4257C4 420052 4478C1 5A9E20 446578
436302 436406 446441 44866D 436275 447A1E
446377 448752 448AF6 4289AB 446441 44866D
4274A0 447A1E 44839E 4257C4 447953 4257C4
4478C1 4257C4 448717 4468C1 446441 44866D

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja Nein
---------------------------



While restarting TC (parsing INI file) the following
stack trace is shown:


---------------------------
Total Commander 8.50b7
---------------------------
Access violation at address 004F67B0. Read of address 0000AEF8.
Access violation at address 004F67B0. Read of address 0000AEF8
Windows XP SP3 5.1 (Build 2600)

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

Windows exception: C0000005
Stack trace:
004F67B0
65551A 446441 44839E >4257C4 447953 4257C4
4FA884 4F6774 648DB7 65551A 446441 44839E
4257C4 447953 4257C4 4F6B95 4F9D61 649E63
427000 446441 446377 448297 4482F3 446377
445AC3 6FC0BF
Raw:
648C6D 4478C1 4257C4 65551A 446441 44866D
44866D 4274A0 447A1E 44839E 4257C4 447953
4257C4 4FA884 4F6774 648DB7 65551A 446441
44866D 4274A0 447A1E 44839E 4257C4 447953
4257C4 4F6B95 5F0067 610070 6D006B 4F9D61
6AE847 417AEE 417B36 6BA3DA 6BA3F7 460042
6F17BB 6F8F2C 6C1B1F 6F2063 4478C1 448717
446441 44866D 435D2B 4642FD 447A1E 44839E
4483C1 4257C4 6D006D 447953 4257C4 6F912B
6F2332 6B948D 6F902F 6C2627 447953 41D565

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja Nein
---------------------------
User avatar
white
Power Member
Power Member
Posts: 4595
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Confirmed.

Bug introduced in TC 7.50.
TC 7.04a and earlier work OK.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in beta 8, please check!
Author of Total Commander
https://www.ghisler.com
ferhat
Junior Member
Junior Member
Posts: 54
Joined: 2013-09-03, 06:29 UTC

Post by *ferhat »

Its fixed
User avatar
white
Power Member
Power Member
Posts: 4595
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ferhat wrote:Its fixed
Confirmed.

Small issue:
I seems you use 0 when a negative number is entered. However, if you click the Apply button, the field Limit tab title length to is not updated. If you close and reopen the dialog, the field does contain a 0. I think it's better to update the field.

Perhaps it's better to change the value of the field from negative to 0 in the OnExit event?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will consider it.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4595
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

HISTORY.TXT wrote:08.11.13 Fixed: User setting tab width to value<0 in configuration-folder tabs -> change it to 0 when edit box loses focus (32/64)
Tested OK using TC 8.50b9 32bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply