[Bug 39107] 64-bit 7-Zip 15.x crashes when encountering invalid command line (needs __CxxFrameHandler implementation)
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Aug 18 17:34:08 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=39107
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |win64
Status|UNCONFIRMED |RESOLVED
CC| |focht at gmx.net
Component|-unknown |msvcrt
Resolution|--- |DUPLICATE
Summary|7z.exe crashes while trying |64-bit 7-Zip 15.x crashes
|to list file contents |when encountering invalid
| |command line (needs
| |__CxxFrameHandler
| |implementation)
--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
dupe of bug 35092
--- snip ---
$ WINEDEBUG=+tid,+seh,+relay wine ./7z.exe foo.zip >>log.txt 2>&1
0029:Call msvcrt.fputs(00452870 "\n7-Zip [64] 15.06 beta : Copyright (c)
1999-2015 Igor Pavlov : 2015-08-09\n\n",7f97cb9dac90) ret=004459e9
...
0029:Call KERNEL32.MultiByteToWideChar(00000000,00000000,00233450 "Unsupported
command:",00000014,002334b0,00000014) ret=00403bea
0029:Ret KERNEL32.MultiByteToWideChar() retval=00000014 ret=00403bea
...
0029:Call msvcrt._CxxThrowException(0022f3b0,00465b78) ret=0041176b
0029:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0022f2b0)
ret=7f97cb72d6ee
0029:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b88c67c
ip=7b88c67c tid=0029
0029:trace:seh:raise_exception info[0]=0000000019930520
0029:trace:seh:raise_exception info[1]=000000000022f3b0
0029:trace:seh:raise_exception info[2]=0000000000465b78
0029:trace:seh:raise_exception rax=000000007b870678 rbx=00000000004679f8
rcx=000000000022f0b0 rdx=0000000000000018
0029:trace:seh:raise_exception rsi=000000000022f2b0 rdi=000000000022f0d0
rbp=000000000022f200 rsp=000000000022f090
0029:trace:seh:raise_exception r8=0000000000000003 r9=000000000022f2b0
r10=0000000000000000 r11=0000003cb618dad0
0029:trace:seh:raise_exception r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000001
...
0029:fixme:seh:__CxxFrameHandler 0x22f0b0 22fc00 0x22e330 0x22e800: not
implemented
...
0029:trace:seh:call_handler calling handler 0x44ae80 (rec=0x22f0b0,
frame=0x22fc90 context=0x22e330, dispatch=0x22e800)
0029:Call ntdll.__C_specific_handler(0022f0b0,0022fc90,0022e330,0022e800)
ret=7f97d3cb7170
0029:trace:seh:__C_specific_handler 0x22f0b0 22fc90 0x22e330 0x22e800
0029:trace:seh:dump_scope_table scope table at 0x4659a4
0029:trace:seh:dump_scope_table 0: 44af2d-44b01b handler 44b050 target 44b01b
0029:trace:seh:__C_specific_handler calling filter 0x44b050 ptrs 0x22dbe0 frame
22fc90
0029:Call msvcrt._XcptFilter(e06d7363,0022dbe0) ret=0044b066
0029:trace:seh:_XcptFilter (e06d7363,0x22dbe0)
0029:Ret msvcrt._XcptFilter() retval=00000000 ret=0044b066
0029:Ret ntdll.__C_specific_handler() retval=00000001 ret=7f97d3cb7170
...
0029:trace:seh:call_teb_handler calling TEB handler 0x7f97d3ce5793
(rec=0x22f0b0, frame=0x22fe80 context=0x22e330, dispatcher=0x22ddb8)
0029:Call KERNEL32.UnhandledExceptionFilter(0022dd40) ret=7f97d3ce57e9
wine: Unhandled exception 0xe06d7363 in thread 29 at address 0x7b88c67c (thread
0029), starting debugger...
--- snip ---
--- quote ---
...
2. Try wine 7z.exe somefile.zip
Expected Result:
7zip lists file contents
--- quote ---
Not sure where you got the idea that running 'wine 7z.exe foo.zip' would
produce useful output.
It causes an error being thrown - by design.
You might want to check the command line reference by running 'wine 7z.exe'.
It clearly states:
--- snip ---
...
7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09
Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]
<Commands>
a : Add files to archive
b : Benchmark
d : Delete files from archive
e : Extract files from archive (without using directory names)
h : Calculate hash values for files
i : Show information about supported formats
l : List contents of archive
...
--- snip ---
--- snip ---
$ wine64 ./7z.exe l foo.zip
7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09
Scanning the drive for archives:
1 file, 29206 bytes (29 KiB)
Listing archive: foo.zip
...
--- snip ---
which works as expected.
$ sha1sum 7z1506-x64.exe
2e0b9f757de5d2f63b432a76a98755f7e871f2dc 7z1506-x64.exe
$ du -sh 7z1506-x64.exe
1.3M 7z1506-x64.exe
$ wine --version
wine-1.7.49-143-gcfbc37c
Regards
*** This bug has been marked as a duplicate of bug 35092 ***
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list