PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Questions about Wine on Linux
Locked
yvoxx
Newbie
Newbie
Posts: 1
Joined: Sun Jan 22, 2023 1:10 pm

PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Post by yvoxx »

Program: Brother P-Touch Editor 5.4.007

OS: Debian testing
Wine: wine-8.0-rc3 (Debian 8.0~rc3~repack-1)

Progam has been sucessfully installed in an extra prefix.

The program was started with:

Code: Select all

$ WINEPREFIX=~/build/wineprefixes/PTouchEditor wine start /unix "~/build/wineprefixes/PTouchEditor/drive_c/Program Files (x86)/Brother/Ptedit54/ptedit54.exe"
The start breaks off with the following message:

Code: Select all

wine: Call from 7B012866 to unimplemented function concrt140.dll.??0_TaskCollection@details@Concurrency@@QAE@XZ, aborting
Wine Logfile:

Code: Select all

Unhandled exception: unimplemented function concrt140.dll.??0_TaskCollection@details@Concurrency@@QAE@XZ called in 32-bit code (0x7b012866).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:7b012866 ESP:00a7fdd4 EBP:00a7fe48 EFLAGS:00000246(   - --  I  Z- -P- )
 EAX:00a7fde0 EBX:62c53000 ECX:00000004 EDX:00a7fe78
 ESI:80000100 EDI:00000000
Stack dump:
0x00a7fdd4:  6ab760d0 00a7fe18 6aafa48f 80000100
0x00a7fde4:  00000001 00000000 7b012866 00000002
0x00a7fdf4:  62c53000 62c531b1 6ab30a42 02580ef8
0x00a7fe04:  00736900 00a7fe30 0070d250 00a7fe30
0x00a7fe14:  0070d250 00a7fe58 6aae513e 0071070c
0x00a7fe24:  00000000 00a7fe58 6aae513e 0000000d
Backtrace:
=>0 0x7b012866 RaiseException+0x51(code=<couldn't compute location>, flags=<couldn't compute location>, count=<couldn't compute location>, args=<couldn't compute location>) [C:\Program Files (x86)\Brother\Ptedit54\dlls\kernelbase\debug.c:302] in kernelbase (0x00a7fe48)
  1 0x62c5114d in concrt140 (+0x1114d) (0x00a7fe98)
  2 0x62c41100 in concrt140 (+0x1100) (0x00a7feec)
  3 0x006d41db in ptedit54 (+0x2d41db) (0x00a7ff30)
  4 0x7b6293e0 in kernel32 (+0x293e0) (0x00a7ff48)
  5 0x7bc5ca17 in ntdll (+0x5ca17) (0x00a7ff5c)
  6 0x7bc5d238 in ntdll (+0x5d238) (0x00a7ffec)
0x7b012866 RaiseException+0x51 [C:\Program Files (x86)\Brother\Ptedit54\dlls\kernelbase\debug.c:302] in kernelbase: subl	$4,%esp
Unable to access file 'C:\Program Files (x86)\Brother\Ptedit54\dlls\kernelbase\debug.c'
Modules:
Module	Address			Debug info	Name (106 modules)
PE	001b0000-001c5000	Deferred        ptimgimp
PE	001d0000-001e5000	Deferred        sensapi
PE	00400000-0087e000	Export          ptedit54
PE	00e30000-012bc000	Deferred        ole32
PE	012c0000-014df000	Deferred        rpcrt4
PE	014e0000-0196c000	Deferred        mfc140
PE	01970000-01e41000	Deferred        mfc140u
PE	01e50000-02120000	Deferred        crypt32
PE	02120000-021ac000	Deferred        ws2_32
PE	03270000-032f6000	Deferred        winex11
PE	10000000-10002000	Deferred        usp10
PE	14000000-1408f000	Deferred        ptbkgr2
PE	62500000-628ff000	Deferred        oleaut32
PE	62c40000-62c7d000	Export          concrt140
PE	63080000-630aa000	Deferred        zlib1
PE	63c00000-63d0c000	Deferred        winhttp
PE	64180000-64222000	Deferred        winspool
PE	643c0000-643d3000	Deferred        vcruntime140
PE	64a80000-64ad8000	Deferred        win32u
PE	65140000-651c6000	Deferred        localspl
PE	65340000-65355000	Deferred        msimg32
PE	65680000-65900000	Deferred        msvcrt
PE	66080000-66180000	Deferred        shlwapi
PE	66640000-6665c000	Deferred        version
PE	667c0000-66809000	Deferred        shcore
PE	66fc0000-66fe4000	Deferred        compstui
PE	67500000-67552000	Deferred        imm32
PE	67bc0000-6805e000	Deferred        comctl32
PE	68280000-682d1000	Deferred        jsproxy
PE	684c0000-68610000	Deferred        combase
PE	68880000-68d46000	Deferred        user32
PE	69000000-6926d000	Deferred        gdiplus
PE	69840000-69938000	Deferred        advapi32
PE	6aac0000-6ada1000	Deferred        ucrtbase
PE	6b040000-6b065000	Deferred        spoolss
PE	6bbc0000-6bc59000	Deferred        sechost
PE	6c980000-6c9ef000	Deferred        msvcp140
PE	6da80000-6dc9c000	Deferred        gdi32
PE	6e200000-6e245000	Deferred        bcrypt
PE	70d80000-70e23000	Deferred        uxtheme
PE	71400000-720ab000	Deferred        shell32
PE	7b000000-7b51a000	Dwarf-4         kernelbase
PE	7b600000-7b757000	Dwarf-4         kernel32
PE	7bc00000-7beba000	Dwarf-4         ntdll
ELF	7d000000-7d005000	Deferred        <wine-loader>
ELF	7e4d5000-7e4ff000	Deferred        libgpg-error.so.0
ELF	7e4ff000-7e525000	Deferred        liblz4.so.1
ELF	7e525000-7e5dd000	Deferred        libzstd.so.1
ELF	7e5dd000-7e6e8000	Deferred        libgcrypt.so.20
ELF	7e6e8000-7e7bd000	Deferred        libsystemd.so.0
ELF	7e7bd000-7e84b000	Deferred        libgmp.so.10
ELF	7e84b000-7ea00000	Deferred        libunistring.so.2
ELF	7ea00000-7ec47000	Deferred        libgnutls.so.30
ELF	7ec47000-7ec4d000	Deferred        ws2_32.so
ELF	7ec4d000-7ec53000	Deferred        crypt32.so
ELF	7ec53000-7ec89000	Deferred        liblzma.so.5
ELF	7ec89000-7ec96000	Deferred        libcap.so.2
ELF	7ec96000-7eca8000	Deferred        libresolv.so.2
ELF	7eca8000-7ecf2000	Deferred        libhogweed.so.6
ELF	7ecf2000-7ed41000	Deferred        libnettle.so.8
ELF	7ee16000-7ee20000	Deferred        libffi.so.8
ELF	7ee20000-7ee27000	Deferred        libkeyutils.so.1
ELF	7ee27000-7ee3d000	Deferred        libtasn1.so.6
ELF	7ee3d000-7ee70000	Deferred        libidn2.so.0
ELF	7ee70000-7efc6000	Deferred        libp11-kit.so.0
ELF	7efc6000-7f027000	Deferred        libdbus-1.so.3
ELF	7f027000-7f037000	Deferred        libkrb5support.so.0
ELF	7f037000-7f067000	Deferred        libk5crypto.so.3
ELF	7f067000-7f145000	Deferred        libkrb5.so.3
ELF	7f145000-7f15b000	Deferred        libavahi-client.so.3
ELF	7f15b000-7f1b5000	Deferred        libgssapi_krb5.so.2
ELF	7f1b5000-7f25c000	Deferred        libcups.so.2
ELF	7f260000-7f26c000	Deferred        bcrypt.so
ELF	7f26c000-7f272000	Deferred        localspl.so
ELF	7f407000-7f40f000	Deferred        libxfixes.so.3
ELF	7f40f000-7f41c000	Deferred        libxcursor.so.1
ELF	7f41c000-7f431000	Deferred        libxi.so.6
ELF	7f431000-7f436000	Deferred        libxcomposite.so.1
ELF	7f436000-7f445000	Deferred        libxrandr.so.2
ELF	7f445000-7f453000	Deferred        libxrender.so.1
ELF	7f453000-7f45a000	Deferred        libxxf86vm.so.1
ELF	7f45a000-7f45f000	Deferred        libxinerama.so.1
ELF	7f45f000-7f46e000	Deferred        libmd.so.0
ELF	7f46e000-7f485000	Deferred        libbsd.so.0
ELF	7f485000-7f48c000	Deferred        libxdmcp.so.6
ELF	7f48c000-7f491000	Deferred        libxau.so.6
ELF	7f491000-7f4bf000	Deferred        libxcb.so.1
ELF	7f4bf000-7f610000	Deferred        libx11.so.6
ELF	7f610000-7f626000	Deferred        libxext.so.6
ELF	7f628000-7f62d000	Deferred        libcom_err.so.2
ELF	7f62d000-7f63d000	Deferred        libavahi-common.so.3
ELF	7f63d000-7f643000	Deferred        winspool.so
ELF	7f643000-7f6cd000	Deferred        winex11.so
ELF	7f6f5000-7f721000	Deferred        libexpat.so.1
ELF	7f721000-7f774000	Deferred        libfontconfig.so.1
ELF	7f774000-7f7b1000	Deferred        libpng16.so.16
ELF	7f7b1000-7f881000	Deferred        libfreetype.so.6
ELF	7f881000-7f986000	Deferred        libm.so.6
ELF	7fe01000-7fe24000	Deferred        libbrotlicommon.so.1
ELF	7fe24000-7fe32000	Deferred        libbrotlidec.so.1
ELF	7fe32000-7fe4f000	Deferred        libz.so.1
ELF	7fe6c000-7ffe0000	Deferred        win32u.so
ELF	f7c00000-f7e28000	Deferred        libc.so.6
ELF	f7e87000-f7e8c000	Dwarf           libwine.so.1
ELF	f7e8c000-f7f3b000	Deferred        ntdll.so
ELF	f7f43000-f7f78000	Deferred        ld-linux.so.2
Threads:
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	0000004c    0     wine_rpcrt4_io
	00000070    0     wine_rpcrt4_io
	000000a0    0     wine_rpcrt4_io
	000000b8    0     wine_rpcrt4_io
	000000dc    0     wine_rpcrt4_io
00000044 winedevice.exe
	00000048    0     
	00000054    0     
	00000058    0     wine_sechost_service
	0000005c    0     
	00000060    0     
	00000064    0     
	000000c4    0     
00000068 winedevice.exe
	0000006c    0     
	00000074    0     
	00000078    0     wine_sechost_service
	0000007c    0     
	00000080    0     
	00000084    0     
	00000090    0     
	00000094    0     
00000088 plugplay.exe
	0000008c    0     
	000000a4    0     
	000000a8    0     wine_sechost_service
	000000ac    0     wine_rpcrt4_server
00000098 explorer.exe
	0000009c    0     
	000000c8    0     
	000000cc    0     wine_rpcrt4_server
000000b0 svchost.exe
	000000b4    0     
	000000bc    0     
	000000c0    0     wine_sechost_service
000000d4 rpcss.exe
	000000d8    0     
	000000e4    0     
	000000e8    0     wine_sechost_service
	000000ec    0     wine_rpcrt4_server
	000000f0    0     wine_rpcrt4_server
	000000f4    0     wine_rpcrt4_io
0000010c (D) C:\Program Files (x86)\Brother\Ptedit54\ptedit54.exe
	00000110    0 <== 
	00000124    0     
0000011c conhost.exe
	00000120    0     
System information:
    Wine build: wine-8.0-rc3 (Debian 8.0~rc3~repack-1)
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 6.1.0-1-amd64
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Post by jkfloris »

Install vcrun2019 with winetricks

Code: Select all

# Install and update winetricks
sudo apt install winetricks
sudo winetricks --self-update

# Install vcrun2019
WINEPREFIX=~/build/wineprefixes/PTouchEditor winetricks -q vcrun2019

# Run P-Touch Editor
cd "${HOME}/build/wineprefixes/PTouchEditor/drive_c/Program Files (x86)/Brother/Ptedit54"
WINEPREFIX=~/build/wineprefixes/PTouchEditor wine ptedit54.exe
arcadeshopper
Newbie
Newbie
Posts: 2
Joined: Tue Mar 28, 2023 1:27 pm

Re: PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Post by arcadeshopper »

this does not resolve the issue I installed the redist and also the full redist package from microsoft's webpage and neither solves it

also warning: sha256sum mismatch! Rename /home/gregory/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.
comes up when using winetricks I had to manually run the installer from bash
Last edited by arcadeshopper on Tue Mar 28, 2023 1:33 pm, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Post by jkfloris »

Unfortunately, I can't reproduce your issue with winetricks -q vcrun2019
also warning: sha256sum mismatch! Rename /home/gregory/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.
Did you run the sudo winetricks --self-update command? This ensures the latest sha256sum's are used.
And remove/rename the vc_redist.x86.exe file.

In case you want to install vcrun2019 by hand, check out the winetricks script what steps are required.
arcadeshopper
Newbie
Newbie
Posts: 2
Joined: Tue Mar 28, 2023 1:27 pm

Re: PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Post by arcadeshopper »

that update solved it
nurber
Newbie
Newbie
Posts: 1
Joined: Wed Jan 11, 2023 9:54 pm

Re: PTouchEditor 5.4.007: Unimplemented function concrt140.dll.??0_TaskCollection

Post by nurber »

jkfloris wrote: Sat Jan 28, 2023 10:16 am Install vcrun2019 with winetricks...
thanks for posting this as I had no idea about winetricks or the further dependencies of PTouchEditor like vcrun2019 which could be installed via winetricks. Neat stuff. Having seen this post allowed me to run PTouchEditor 5.4.007 for the first time on Ubuntu 20.04.

Appreciatively
Locked