[Bug 43114] Ahnlab Safe Transaction 1.3.x (sub) installer crashes on startup in crypt32 (Context_Release: Assertion `ref > = 0' failed.)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 13 19:02:27 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=43114

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Sub-program of Internet     |Ahnlab Safe Transaction
                   |Security Program, Astx.exe  |1.3.x (sub)installer
                   |crashes on unhandled        |crashes on startup in
                   |exception error             |crypt32 (Context_Release:
                   |                            |Assertion `ref >= 0'
                   |                            |failed.)
             Status|UNCONFIRMED                 |NEW
          Component|-unknown                    |crypt32
           Keywords|                            |download, Installer
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1
                URL|                            |http://safetx.ahnlab.com/ma
                   |                            |ster/win/default/all/astx_s
                   |                            |etup.exe

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

Found some download here:
http://safetx.ahnlab.com/master/win/default/all/astx_setup.exe

--- snip ---
$ WINEDEBUG=+seh,+context,+crypt,+relay wine ./astx_setup.exe >>log.txt 2>&1
...
002e:Call KERNEL32.CreateProcessA(00000000,00409c04
"\"C:\\users\\focht\\Temp\\asf3838.tmp\\V3Medic.exe\"
",00000000,00000000,00000000,00000000,00000000,00000000,00422530,0032fb10)
ret=00405597
...
0030:Call KERNEL32.__wine_kernel_init() ret=7bc6c1e8
002e:Ret  KERNEL32.CreateProcessA() retval=00000001 ret=00405597 
...
0030:Call KERNEL32.lstrcmpA(00dbac30 "VeriSign Commercial Software Publishers
CA",0033e210 "VeriSign Class 3 Code Signing 2010 CA") ret=00da1f32
0030:Ret  KERNEL32.lstrcmpA() retval=00000001 ret=00da1f32
0030:Call crypt32.CertFreeCertificateContext(0016874c) ret=00da228a
0030:trace:crypt:CertFreeCertificateContext (0x16874c)
0030:trace:context:Context_Release (0x168730) ref=0
0030:trace:crypt:MemStore_release (0x1676b0) ref=2
0030:Ret  crypt32.CertFreeCertificateContext() retval=00000001 ret=00da228a
0030:Call
crypt32.CertFindCertificateInStore(001bac20,00010001,00000000,00020007,00172f60,00000000)
ret=00da21af
0030:trace:crypt:CertFindCertificateInStore (0x1bac20, 00010001, 00000000,
00020007, 0x172f60, (nil))
0030:trace:crypt:CertEnumCertificatesInStore (0x1bac20, (nil))
0030:trace:crypt:MemStore_enumCert (0x1babd0, (nil))
0030:trace:context:Context_AddRef (0x1bb908) ref=1
0030:trace:crypt:MemStore_addref ref = 2
0030:trace:crypt:CertCompareCertificateName (00000001, 0x1afab8, 0x172f60)
0030:trace:crypt:CertCompareCertificateName returning 0
0030:trace:crypt:CertEnumCertificatesInStore (0x1bac20, 0x1bb924)
0030:trace:crypt:MemStore_enumCert (0x1babd0, 0x1bb908)
0030:trace:context:Context_Release (0x1bb908) ref=0
0030:trace:crypt:MemStore_release (0x1babd0) ref=1
0030:trace:context:Context_AddRef (0x1bac70) ref=1
0030:trace:crypt:MemStore_addref ref = 2
0030:trace:crypt:CertCompareCertificateName (00000001, 0x1c1e60, 0x172f60)
0030:trace:crypt:CertCompareCertificateName returning 1
0030:trace:crypt:CertFindCertificateInStore returning 0x1bac8c
0030:Ret  crypt32.CertFindCertificateInStore() retval=001bac8c ret=00da21af 
...
0030:Call KERNEL32.lstrcmpA(00dbac30 "VeriSign Commercial Software Publishers
CA",0033e210 "VeriSign Class 3 Public Primary Certification Authority - G5")
ret=00da1f32
0030:Ret  KERNEL32.lstrcmpA() retval=00000001 ret=00da1f32
0030:Call crypt32.CertFreeCertificateContext(0016a674) ret=00da228a
0030:trace:crypt:CertFreeCertificateContext (0x16a674)
0030:trace:context:Context_Release (0x16a658) ref=0
0030:trace:crypt:MemStore_release (0x1676b0) ref=1
0030:Ret  crypt32.CertFreeCertificateContext() retval=00000001 ret=00da228a
0030:Call crypt32.CertFreeCertificateContext(001bac8c) ret=00da22f4
0030:trace:crypt:CertFreeCertificateContext (0x1bac8c)
0030:trace:context:Context_Release (0x1bac70) ref=0
0030:trace:crypt:MemStore_release (0x1babd0) ref=1
0030:Ret  crypt32.CertFreeCertificateContext() retval=00000001 ret=00da22f4
0030:Call crypt32.CertFreeCertificateContext(0016874c) ret=00da25ad
0030:trace:crypt:CertFreeCertificateContext (0x16874c)
0030:trace:context:Context_Release (0x168730) ref=-1
/home/focht/projects/wine/wine.repo/src/dlls/crypt32/context.c:111:
Context_Release: Assertion `ref >= 0' failed.
0030:trace:seh:raise_exception code=80000101 flags=1 addr=0xf7f9b059
ip=f7f9b059 tid=0030
0030:trace:seh:raise_exception  eax=00000000 ebx=00000002 ecx=0033dfec
edx=00000000 esi=00000008 edi=00000000
0030:trace:seh:raise_exception  ebp=0033dfec esp=0033dfd0 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200286
0030:trace:seh:call_stack_handlers calling handler at 0xd989e8 code=80000101
flags=1
0030:trace:seh:call_stack_handlers handler at 0xd989e8 returned 1 
...
wine: Assertion failed at address 0xf7f9b059 (thread 0030), starting
debugger...
...
Backtrace:
=>0 0xf7f9b059 __kernel_vsyscall+0x9() in [vdso].so (0x0033dfec)
  1 0xf7bfbff2 gsignal+0xc1() in libc.so.6 (0x0033dfec)
  2 0xf7bfd671 abort+0x120() in libc.so.6 (0xf7d63ce0)
  3 0xf7bf408b __assert_fail_base+0x14a() in libc.so.6 (0xf7d63ce0)
  4 0xf7bf40eb __assert_fail+0x3a() in libc.so.6 (0x0033e2e8)
  5 0x7d9dfd6b Context_Release+0x8e(context=0x168730)
[/home/focht/projects/wine/wine.repo/src/dlls/crypt32/context.c:111] in crypt32
(0x0033e2e8)
  6 0x7d9d0396 CertFreeCertificateContext+0x6b(pCertContext=<couldn't compute
location>) [/home/focht/projects/wine/wine.repo/src/dlls/crypt32/cert.c:370] in
crypt32 (0x0033e318)
  7 0x7bc7f41b relay_call+0x3e() in ntdll (0x0033e348)
  8 0x7d9cc67c in crypt32 (+0xc67b) (0x0033e5a4)
  9 0x00da25ad in ahni2t (+0x225ac) (0x0033e5a4)
  10 0x00da2bdf in ahni2t (+0x22bde) (0x0033e6e0)
  11 0x00da2ddb in ahni2t (+0x22dda) (0x0033e92c)
  12 0x00da2f82 in ahni2t (+0x22f81) (0x0033e948)
0xf7f9b059 __kernel_vsyscall+0x9 in [vdso].so: popl    %ebp
Modules:
Module    Address            Debug info    Name (95 modules)
PE      400000-  46c000    Deferred        v3medic
PE      d80000-  dc0000    Export          ahni2t
PE    10000000-10044000    Deferred        ahniex
ELF    7b400000-7b7f3000    Deferred        kernel32<elf>
  \-PE    7b420000-7b7f3000    \               kernel32
ELF    7bc00000-7bd0d000    Dwarf           ntdll<elf>
  \-PE    7bc30000-7bd0d000    \               ntdll
ELF    7c000000-7c004000    Deferred        <wine-loader>  
...
Threads:
process  tid      prio (all id:s are in hex)
...
0000002d astx_setup.exe
    0000002e    0
0000002f (D) C:\users\focht\Temp\asf3838.tmp\V3Medic.exe
    00000030    0 <== 
--- snip ---

ProtectioID scan:

--- snip ---
-=[ ProtectionID v0.6.9.0 DECEMBER]=-
(c) 2003-2017 CDKiLLER & TippeX
Build 24/12/17-21:05:42
Ready...
Scanning -> Z:\home\focht\Downloads\astx_setup.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 32311768 (01ED09D8h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x591D8BAA -> Thu 18th May 2017 11:55:22 (GMT)
[TimeStamp] 0x591D8BAA -> Thu 18th May 2017 11:55:22 (GMT) | PE Header | - |
Offset: 0x000000D0 | VA: 0x004000D0 | -
-> File Appears to be Digitally Signed @ Offset 01ECCB28h, size : 03EB0h /
016048 byte(s)
-> File has 32158504 (01EAB328h) bytes of appended data starting at offset
021800h
[LoadConfig] CodeIntegrity -> Flags 0xA3F0 | Catalog 0x46 (70) | Catalog Offset
0x2000001 | Reserved 0x46A4A0
[LoadConfig] GuardAddressTakenIatEntryTable 0x8000011 | Count 0x46A558
(4629848)
[LoadConfig] GuardLongJumpTargetTable 0x8000001 | Count 0x46A5F8 (4630008)
[LoadConfig] HybridMetadataPointer 0x8000011 | DynamicValueRelocTable 0x46A66C
[LoadConfig] FailFastIndirectProc 0x8000011 | FailFastPointer 0x46C360
[LoadConfig] UnknownZero1 0x8000011
[File Heuristics] -> Flag #1 : 00000000000001011100000000000100 (0x0005C004)
[Entrypoint Section Entropy] : 6.47 (section #0) ".text   " | Size : 0x5D13
(23827) byte(s)
[DllCharacteristics] -> Flag : (0x8000) -> TSA
[SectionCount] 5 (0x5) | ImageSize 0x48000 (294912) byte(s)
[VersionInfo] Company Name : AhnLab. Inc.
[VersionInfo] Product Name : AhnLab Safe Transaction
[VersionInfo] Product Version : 1.3.26.1029
[VersionInfo] File Description : AhnLab Safe Transaction Setup Program.
[VersionInfo] File Version : 1.3.26.1029
[VersionInfo] Legal Copyrights : Copyright (C) AhnLab. Inc. 1988-2015. All
rights reserved.
[ModuleReport] [IAT] Modules -> KERNEL32.dll | USER32.dll | GDI32.dll |
SHELL32.dll | ADVAPI32.dll | COMCTL32.dll | ole32.dll
[-= Installer =-] Nullsoft SFX Setup v2.51
- Scan Took : 0.237 Second(s) [0000000EDh (237) tick(s)] [566 of 580 scan(s)
done]
--- snip ---

$ sha1sum astx_setup.exe 
8f3a49eb2664069a0b22d52850df2b7dc3343c8b  astx_setup.exe

$ du -sh astx_setup.exe 
31M    astx_setup.exe

$ wine --version
wine-3.6

Regards

-- 
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