TC 9.51 RAR archive folder late creation then error access when browsing

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

TC 9.51 RAR archive folder late creation then error access when browsing

Post by *byblo »

After creating a RAR file with Winrarx64 5.90 (but bug also happens with old 3.71x32) then creating late folders, they gets not accessible from archive browsing with TC.

Edit: Unlike TC 9.51, the RAR archive seems to be handled correctly in TC 9.0

Browsing works fine with Winrar 5.90 window.

Here is the problematic RAR archive, in case needed:

BTW, getting strange forum error message denying me to post as it is:
Votre message contient les caractères non pris en charge suivants :
Q Q
Q Q
Q Q
Q Q
Q Q
Why it does not accept double following Q characters? ...

Edit: Removed MIME to avoid Q Q forum rejecting my post. Here is the UUE version:

Code: Select all

begin 644 test_TC951_RAR_BUG_FOLDERS_ACCESS.rar
M4F%R(1H'`0"=ZQUA#P$%"P@*`0.AA(``BXF``-:0.[(I`@,+!00%(/9`K#V`
M```/=&5S="\Q+W1E<W0N='AT"@,"`S:J#(X^U@'ON[\-"C42)<DI`@,+!00%
M(/9`K#V````/=&5S="\R+W1E<W0N='AT"@,"`S:J#(X^U@'ON[\-"JN1_U8I
M`@,+!00%(/9`K#V````/=&5S="\S+W1E<W0N='AT"@,"`S:J#(X^U@'ON[\-
M"F!E@`@@`@,+``4`$`````"````&=&5S="\Q"@,"TX,S$(X^U@':"N/1(`(#
M"P`%`!``````@```!G1E<W0O,@H#`F.FOA../M8!J6<][R`"`PL`!0`0````
M`(````9T97-T+S,*`P+C/JH4CC[6`34HYYP>`@,+``4`$`````"````$=&5S
M=`H#`@.W8@J./M8!IDKX*D4"`PL`!0`0`````(```"MT97-T+V)U9V=Y7V-R
M96%T961?9F]L9&5R7V%D9&5D7W=I=&@M5$,Y+C4Q"@,"TZ8;/9(^U@%!*M"N
M3`(#"P`%`!``````@```,G1E<W0O=')Y('1O(&-R96%T92!Y;W5R(&]W;B!F
M;VQD97(@;VX@=&AI<R!A<F-H:79E"@,"0SB_5I(^U@&%35^=0@(#"P`%`!``
M````@```*'=O<FMI;F=?8W)E871E9%]F;VQD97)?861D961?=VET:"U40SDN
M-3$*`P+#-E)CDC[6`=V<`M(.`P;7!`#7!`"````"44^*X(40,@"-!"[6D#NR
M*0(#"P4$!2#V0*P]@```#W1E<W0O,2]T97-T+G1X=`H#`@,VJ@R./M8!9:B$
M&C(`V@,N-1(ER2D"`PL%!`4@]D"L/8````]T97-T+S(O=&5S="YT>'0*`P(#
M-JH,CC[6`=`BC@LR`*<#+JN1_U8I`@,+!00%(/9`K#V````/=&5S="\S+W1E
M<W0N='AT"@,"`S:J#(X^U@%-!]:G*0#T`B5@98`((`(#"P`%`!``````@```
M!G1E<W0O,0H#`M.#,Q"./M8!<,RDARD`SP(EV@KCT2`"`PL`!0`0`````(``
M``9T97-T+S(*`P)CIKX3CC[6`0)%2CPI`*H"):EG/>\@`@,+``4`$`````"`
M```&=&5S="\S"@,"XSZJ%(X^U@$<HNH/)P"%`B,U*.><'@(#"P`%`!``````
M@```!'1E<W0*`P(#MV(*CC[6`?ZJ-1E.`.(!2J9*^"I%`@,+``4`$`````"`
M```K=&5S="]B=6=G>5]C<F5A=&5D7V9O;&1E<E]A9&1E9%]W:71H+51#.2XU
M,0H#`M.F&SV2/M8!/E@<KU4`F`%102K0KDP"`PL`!0`0`````(```#)T97-T
M+W1R>2!T;R!C<F5A=&4@>6]U<B!O=VX@9F]L9&5R(&]N('1H:7,@87)C:&EV
M90H#`D,XOU:2/M8!(9R<#DH`1T>%35^=0@(#"P`%`!``````@```*'=O<FMI
M;F=?8W)E871E9%]F;VQD97)?861D961?=VET:"U40SDN-3$*`P+#-E)CDC[6
M`:K^5V(2`P<#H@4`H@4`@````E)2`@<!>U)"?;Y(<>*&6<$YH@(``%@````!
M`0``````````2@(``),$````````2@(```````"B`@````````(``0```!]6
M"AEQ9+5PSIO%7JLXN>^=R(#:'V/!E*[!N>.(\!PJ\FE@QX*(@J'>VU!CNM!L
M(^@06BQ#9![0%GB6ZP/P[=5]\[>2MA%YOKLH+[R()_6S3T?`Y,#3D<J9;7UC
M50-K/,/<%\3&4E_$I0C-M*T'>'N#$'9_H[.IR$GN@42@0=[F>H',E_=:$,L\
MR8#RF*,BP>TX'VN`TP()UF<X*E:`.56>H2^F`9E\T<1X1'IJ2KSYP?\/B>L1
M2:T:-+H[V@3\?P20K/E''^L`BR7:C"D3'Q3A`(<`_L9_:0&*ZDW_;[V3A]*W
M]$0+4GM<-@S(Y'9''!+_;07TX&GQA(^L(2C4Y1$&`4?18FFRN-;_[9!&.&S9
M4SGRTX&Y;H96EXIN@0+Y=P>("`!Y\`!"+",KYJM0O!;BTQ<?>.V_1[@4=5D:
M@8]*\1^7E=UV\_GX]@`#N?\``KHR14)\\JTB=F4#1AB:D0HC!G]O?E1FFPE"
M"%[_.9N)J!G3LT]'NA1(Q;:[N:=-0;>AEA&:\U86Y1#JF9^9'!$19G!@!)"1
M,H_R-ZI`LZ#2I*S^*LX6_:B]3P][0=!Y\$@:]VR&%;(`ZG<-E2HZ/[&,V-QV
MHZ.]QI#!NC(\0C>80#`_L8?KY&'%V1Z092T5-2MN/AF2Z.9W&V0>8BAFXU@=
M6P&P?W">\#?5WG*+$?`>HE-8U=[5(P;X\8$7;-8PJ@LU+LL[4@M!BH7`^7ZK
M=,;.Q#>R4T<R,C>ZTT,QJIDS???'2KM5I"];L3<*$00]3E@U;2^EU]BHM%FU
?1B4L8>O,/[JUKY!!@1ZQJ$O/ZB)0WX(==U91`P4$````
`
end
sum -r/size 12262/1876
Try to enter with TC the folder "test_TC951_RAR_BUG_FOLDERS_ACCESS.rar\test\buggy_created_folder_added_with-TC9.51\". It should fail. Also, try to make new folder on that test\ folder. Should fail to enter once created with TC.
User avatar
Hacker
Moderator
Moderator
Posts: 13065
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *Hacker »

byblo,
Why it does not accept double following Q characters?
Because double Q is often contained in chinese spam messages. Congratulations to being the first false positive! :D

Hacker (Moderator)
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.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *byblo »

Thank you :D

But i assume you guys need to refine that filter or it wont be possible anymore to share coded files on this forum :)
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *petermad »

2byblo
I have tested your file in old TC's;
Up to TC 9.0a TC can open the directories, but creating new is reported as not supported.
From TC 9.10b1 to TC 9.50b11 TC can both open the subdirs in "test" and create new ones.
TC 9.50b12 don't show the tvo subdirs: test\buggy_created_folder_added_with-TC9.51 and "test\try to create your own folder on this archive" and later created dirs.
From TC 9.50b12a the two folders are shown again, but they can no longer be opened.

So the bug was apparantly introduced between TC 9.50b12 and TC 9.50b12a

The bug is probably due to one of these changes;
09.01.20 Fixed: Files in archive subdirectories were not shown in some cases where files in the archive root were stored after filed in subdirectories (32/64)
08.01.20 Added: Further improved speed of switching between directories within a large archive (32/64)
31.12.19 Added: Faster loading of large archives, and faster switching between directories within that archive (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *ghisler(Author) »

I will have a look at it, thanks for providing a sample archive.

What exactly do you mean with "then creating late folders"?
Author of Total Commander
https://www.ghisler.com
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *byblo »

By late folders, i meant you enter the existing RAR archive sample, then try to make new folders using TC in the already existing ones.
For example, with TC951 you should be able to create new subfolders into the \test\ folder, but not be able to access them.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *ghisler(Author) »

Ah, I see - I was able to reproduce it. It affects folders at least 2 levels deep (e.g. \test1\test2 ) stored immediately after a folder in the root of the archive, e.g. \test. The folder is found just fine, but cannot be entered. I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: TC 9.51 RAR archive folder late creation then error access when browsing

Post by *byblo »

Thank you
Post Reply