running winedbg

Questions about Wine on Linux
Locked
GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

running winedbg

Post by GerryG »

A programme I have been using for years suddenly has started crashing without any useful information. I tried running it under dbg and got the following

Code: Select all

 winedbg drago.exe
WineDbg starting on pid 0114
0110:err:dbghelp:pe_load_msc_debug_info -Debug info stripped, but no .DBG file in module L"ntdll"
0110:fixme:dbghelp_dwarf:dwarf2_virtual_unwind mismatch in cpu
0110:fixme:dbghelp_dwarf:dwarf2_virtual_unwind mismatch in cpu
0110:fixme:dbghelp_dwarf:dwarf2_virtual_unwind mismatch in cpu
0110:fixme:dbghelp_dwarf:dwarf2_virtual_unwind mismatch in cpu
0x000000007bc52b41 ntdll+0x52b41: ret
Wine-dbg>
and I have no idea what to do next. Advice gratefully received.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: running winedbg

Post by jkfloris »

Which version of Wine do you use?
Which operating system do you have?
Which program do you have problems with?
GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

Re: running winedbg

Post by GerryG »

Wine 7.4-1.1
Linux (tumbleweed updated to 27.03.22)
drago.exe
GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

Re: running winedbg

Post by GerryG »

drago is freeware https://www.godrago.net/
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: running winedbg

Post by jkfloris »

GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

Re: running winedbg

Post by GerryG »

yes
GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

Re: running winedbg

Post by GerryG »

I've just tried running drago from the command line

Code: Select all

gerry@Unknown-18-c0-4d-6a-ed-f9:~/.wine/drive_c/Program Files (x86)/Drago> wine drago.exe
wine: Unhandled exception 0x0eedfade in thread 24 at address 7B012856 (thread 0024), starting debugger...
0100:fixme:imm:ImeSetActiveContext (0x251698, 1): stub
0100:fixme:imm:ImmReleaseContext (0001013C, 00251698): stub
0070:fixme:imm:ImeSetActiveContext (0x599a0, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 00000000000599A0): stub
in case it provides useful information
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: running winedbg

Post by jkfloris »

Both version 4.32 (installer) and version 4.33 (portable) work for me.
Maybe there is a problem with your default wineprefix.
You can test this by creating a new prefix:

Code: Select all

# Download Drago 4.33 portable
wget http://www.godrago.net/install/PortableDrago0433.zip

# Create a clean wineprefix
WINEPREFIX=${HOME}/drago wineboot

# Extract Drago
7z x PortableDrago0433.zip -o${HOME}/drago/drive_c/drago

# Run Drago
cd ${HOME}/drago/drive_c/drago
WINEPREFIX=${HOME}/drago wine Drago.exe
GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

Re: running winedbg

Post by GerryG »

Thank you for your help, unfortunately I got the same result

Code: Select all

wget http://www.godrago.net/install/PortableDrago0433.zip
--2022-03-31 12:30:32--  http://www.godrago.net/install/PortableDrago0433.zip
Resolving www.godrago.net (www.godrago.net)... 192.254.186.21
Connecting to www.godrago.net (www.godrago.net)|192.254.186.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7196475 (6.9M) [application/zip]
Saving to: ‘PortableDrago0433.zip’

PortableDrago0433.zip                           100%[=====================================================================================================>]   6.86M  3.62MB/s    in 1.9s    

2022-03-31 12:30:34 (3.62 MB/s) - ‘PortableDrago0433.zip’ saved [7196475/7196475]

gerry@Unknown-18-c0-4d-6a-ed-f9:~> WINEPREFIX=${HOME}/drago wineboot
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:fixme:imm:ImeSetActiveContext (0x264a00, 0): stub
0048:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000264A00): stub
002c:fixme:imm:ImeSetActiveContext (0x2592b0, 1): stub
002c:fixme:imm:ImmReleaseContext (000000000001004E, 00000000002592B0): stub
0088:fixme:file:NtLockFile I/O completion on lock not implemented yet
0088:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00dc:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
wine: configuration in L"/home/gerry/drago" has been updated.
gerry@Unknown-18-c0-4d-6a-ed-f9:~> 7z x PortableDrago0433.zip -o${HOME}/drago/drive_c/drago

7-Zip (z) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
 64-bit locale=en_GB.UTF-8 Threads:12

Scanning the drive for archives:
1 file, 7196475 bytes (7028 KiB)

Extracting archive: PortableDrago0433.zip
--
Path = PortableDrago0433.zip
Type = zip
Physical Size = 7196475

    
Would you like to replace the existing file:
  Path:     /home/gerry/drago/drive_c/drago/Drago-De.chm
  Size:     712636 bytes (696 KiB)
  Modified: 2012-03-04 00:31:58
with the file from archive:
  Path:     Drago-De.chm
  Size:     712636 bytes (696 KiB)
  Modified: 2012-03-04 00:31:58
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? A

Everything is Ok   

Files: 587
Size:       12265255
Compressed: 7196475
gerry@Unknown-18-c0-4d-6a-ed-f9:~> cd ${HOME}/drago/drive_c/drago
gerry@Unknown-18-c0-4d-6a-ed-f9:~/drago/drive_c/drago> wine drago.exe
0070:fixme:imm:ImeSetActiveContext (0x59940, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000059940): stub
0024:fixme:imm:ImeSetActiveContext (0x76ace8, 1): stub
0024:fixme:imm:ImmReleaseContext (000100B2, 0076ACE8): stub
wine: Unhandled exception 0x0eedfade in thread 24 at address 7B012856 (thread 0024), starting debugger...
0100:fixme:imm:ImeSetActiveContext (0x251698, 1): stub
0100:fixme:imm:ImmReleaseContext (00010142, 00251698): stub
GerryG
Level 1
Level 1
Posts: 7
Joined: Sun Mar 27, 2022 7:19 am

Re: running winedbg

Post by GerryG »

Randomly an upgrade to Wine 7.5 cured the problem. Thank you for your time
Locked