Schematic hanging under Wine

For general questions regarding the software and for all questions that do not fit in any of the threads above.
Post Reply
Message
Author
dieterv
Posts: 19
Joined: 16 Sep 2020, 02:37

Schematic hanging under Wine

#1 Post by dieterv » 02 Nov 2021, 02:34

I am running Diptrace (4.1.3.1) under Wine, using a 64bit prefix.
I have had no issues using the component or pattern editors, but when using the schematic I get frequent hangs where it will not respond to any input anymore.

Opening the Wine debugger and attaching to the pid give me the message

Code: Select all

0x000000007bc58925 EntryPoint+0xffffffffffffffff in ntdll: ret
.

It feels like this is consistently happening when editing text, though not always.

Is there anything I can try to get this to work?

Some more info, not sure how helpful this could be (out of my league here):

Code: Select all

Wine-dbg>info locals
0x000000007bc58925 EntryPoint+0xffffffffffffffff: (00000000)
Wine-dbg>info reg
Register dump:
 rip:000000007bc58925 rsp:0000000004cbfcd8 rbp:0000000000000000 eflags:00000246 (   - --  I  Z- -P- )
 rax:0000000004cbfd00 rbx:00007fffffd80000 rcx:0000000004cbfd20 rdx:0000000004cbfd00
 rsi:0000000000000000 rdi:0000000000000000  r8:000000007bc754b0  r9:000000007bc754a0 r10:0000000000000000
 r11:0000000000000000 r12:0000000000000000 r13:0000000000000000 r14:0000000000000000 r15:0000000000000000
Wine-dbg>info share
Module  Address                                 Debug info      Name (50 modules)
PE                220000-          3ce000       Deferred        winmm
PE                400000-         14c9000       Deferred        schematic
PE               14d0000-         170b000       Deferred        setupapi
PE               1710000-         1c62000       Deferred        comctl32
PE               1c70000-         1f56000       Deferred        msvcrt
PE               1f60000-         21ff000       Deferred        comdlg32
PE               2c80000-         2c8f000       Deferred        security
PE               3b70000-         3b90000       Deferred        fwpuclnt
PE              61540000-        61663000       Deferred        advapi32
PE              61740000-        619b8000       Deferred        wininet
PE              62dc0000-        6306b000       Deferred        rpcrt4
PE              63280000-        632a0000       Deferred        version
PE              635c0000-        6391e000       Deferred        urlmon
PE              639c0000-        63a11000       Deferred        shcore
PE              63e40000-        63e68000       Deferred        spoolss
PE              64840000-        6498e000       Deferred        shlwapi
PE              64cc0000-        651cd000       Deferred        oleaut32
PE              65380000-        653a7000       Deferred        wtsapi32
PE              67a80000-        67c27000       Deferred        d3d9
PE              67d40000-        67f14000       Deferred        wineps
PE              68300000-        68490000       Deferred        combase
PE              68500000-        685b1000       Deferred        uxtheme
PE              68900000-        68916000       Deferred        normaliz
PE              68b00000-        68b8a000       Deferred        localspl
PE              69e40000-        69eb8000       Deferred        msacm32
PE              6a200000-        6a7b8000       Deferred        ole32
PE              6a840000-        6a84f000       Deferred        usp10
PE              6ba00000-        6bac9000       Deferred        sechost
PE              6c7c0000-        6ce96000       Deferred        gdi32
PE              6ea40000-        6ea60000       Deferred        dwmapi
PE              6eb00000-        6f2aa000       Deferred        user32
PE              6f700000-        6f84a000       Deferred        msctf
PE              70740000-        707a6000       Deferred        mpr
PE              70940000-        70ca7000       Deferred        ucrtbase
PE              71000000-        71058000       Deferred        imm32
PE              7a850000-        7a854000       Deferred        opengl32
PE              7ac00000-        7aeb6000       Deferred        riched20
PE              7b000000-        7b3d2000       Deferred        kernelbase
PE              7b600000-        7b96c000       Deferred        kernel32
PE              7bc00000-        7bf88000       Dwarf           ntdll
PE          7fcd81270000-    7fcd81273000       Deferred        secur32
PE          7fcd81d80000-    7fcd81d83000       Deferred        kerberos
PE          7fcd821b0000-    7fcd821b4000       Deferred        winex11
PE          7fcd82780000-    7fcd82784000       Deferred        wined3d
PE          7fcd82930000-    7fcd8293b000       Deferred        winspool
PE          7fcd82990000-    7fcd83267000       Deferred        shell32
PE          7fcd83400000-    7fcd83404000       Deferred        dnsapi
PE          7fcd83420000-    7fcd83424000       Deferred        ws2_32
PE          7fcd83470000-    7fcd83474000       Deferred        iphlpapi
PE          7fcd835a0000-    7fcd835a3000       Deferred        netapi32

Serg
Technical Support
Posts: 519
Joined: 09 Jun 2010, 01:12

Re: Schematic hanging under Wine

#2 Post by Serg » 02 Nov 2021, 19:53

We recommend to use the stable version of Wine and install 32-bit version of DipTrace.

dieterv
Posts: 19
Joined: 16 Sep 2020, 02:37

Re: Schematic hanging under Wine

#3 Post by dieterv » 03 Nov 2021, 00:03

@Serg

Thanks!
That makes sense actually, and I hadn't thought of that. I'm purging my current Wine install now and will install in a 32bit environment. Somehow I expected Diptrace to work better in a 64bit environment.
Will reply with results.

dieterv
Posts: 19
Joined: 16 Sep 2020, 02:37

Re: Schematic hanging under Wine

#4 Post by dieterv » 04 Nov 2021, 10:38

So, I've
  • purged all Wine related packages and config files.
  • Reinstalled the latest Wine stable,
  • created a clean wine32 prefix
  • installed a freshly downloaded DipTrace 32 bit version
  • copied my schematic inside the wine prefix drive_c (to rule out some possible link issues)
I still get the same issue, and can confirm it is easy to recreate:
  • create table
  • double click a cell to edit
The second step sometimes works once, but most often on first opening a cell for editing, the process will hang and I either have to kill the wineserver or the process.

Any thoughts?

Serg
Technical Support
Posts: 519
Joined: 09 Jun 2010, 01:12

Re: Schematic hanging under Wine

#5 Post by Serg » 04 Nov 2021, 23:30

Thank you for the detailed describing of problem:
To resolve it you can try the next actions:
1. Close all apps which using Wine;
2. Open Terminal and run "winecfg";
3. Unmark "Allow the window manager to control the windows" at "Graphics" Tab;
4. Apply changes and run Schematic.

dieterv
Posts: 19
Joined: 16 Sep 2020, 02:37

Re: Schematic hanging under Wine

#6 Post by dieterv » 05 Nov 2021, 05:38

Serg,

Your solution was in the right direction. Disabling the option you recommended did solve the hanging, but keyboard input did not seem to be captured by Schematic anymore. If I would open a text editor under linux, then open Schematic, no keyboard input was captured by the program. I would later find the typed characters in the text editor.

Some digging around pointed that this might be an issue with Cinnamon/Compiz configuration and one of the recommendations was to enable the option "Emulate a virtual desktop". This seems to be a workable workaround.
It's far from ideal but works for now. I'll look into what these options in wine actually do and hope to find out what's going on and figure out a better solution.

If you have any more insight in to what is happening, I'd love your feedback.

Regards,
dieter

Alex
Technical Support
Posts: 3894
Joined: 13 Jun 2010, 23:43

Re: Schematic hanging under Wine

#7 Post by Alex » 08 Nov 2021, 02:39

I see you found workaround solution. If you want to dig in the issue we need more information about your system, desktop environment, Wine version, DipTrace version and text editor you mentioned. For all of above, we need to know build number and 32 or 64 bit version.

Post Reply