[Bug 58598] New: Realterm_2.0.0.70 / Crashes on start
http://bugs.winehq.org/show_bug.cgi?id=58598 Bug ID: 58598 Summary: Realterm_2.0.0.70 / Crashes on start Product: Wine Version: 10.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: janne.kekkonen(a)gmail.com Distribution: --- Created attachment 79134 --> http://bugs.winehq.org/attachment.cgi?id=79134 Application error messagebox Tested with Wine 22.04 on Ubuntu 22.04 running on VMware. Created new 32bit prefix. Application seems to install normally. During startup it crashes. Attached screenshot of message box shown with backtrace window. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 Janne <janne.kekkonen(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://sourceforge.net/pro | |jects/realterm/files/Realte | |rm/2.0.0.70/Realterm_2.0.0. | |70_Signed_Wrapper_setup.exe | |/download -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 --- Comment #1 from Janne <janne.kekkonen(a)gmail.com> --- Created attachment 79135 --> http://bugs.winehq.org/attachment.cgi?id=79135 console log -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 --- Comment #2 from Janne <janne.kekkonen(a)gmail.com> --- Created attachment 79136 --> http://bugs.winehq.org/attachment.cgi?id=79136 backtrace -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x(a)gmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Confirming. I think it expects something present under the registry key "HARDWARE\\DEVICEMAP\\PARALLEL PORTS" With the stupid hack below, which populates it with wrong entries(!!!), the application starts for me. Also just just disabling mountmgr.sys prevents the crash. Maybe someone who knows more about parallel ports might have a look at it. diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c index ba019cdb13d..53f51d41529 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c @@ -1992,7 +1992,7 @@ static void create_port_devices( DRIVER_OBJECT *driver, const char *devices ) windows_ports_key_name = L"HARDWARE\\DEVICEMAP\\SERIALCOMM"; port_prefix = L"COM"; } - else + //else { dosdev_fmt = "lpt%u"; windows_ports_key_name = L"HARDWARE\\DEVICEMAP\\PARALLEL PORTS"; -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com Component|-unknown |serial -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 --- Comment #4 from Janne <janne.kekkonen(a)gmail.com> --- I tested to create symlink for lpt port to /dev folder. Command used: sudo ln -s /dev/null /dev/lp0 After this i checked registry and there is one entry in: HARDWARE\DEVICEMAP\PARALLEL PORTS With this change realterm starts. On start there is message complaining about invalid handle but that does not prevent starting. Question related to that key in registry. In case there is no lpt port on system, is there need for the PARALLEL PORT key in registry? In Windows 11 & computer without parallel port, this key does not exists in registry. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 --- Comment #5 from Janne <janne.kekkonen(a)gmail.com> --- Windows 11 does not have PARALLEL_PORTS key in registry so i tried to remove it in Wines registry. After removing the key realterm started. Steps used: 1. Open regedit 2. Delete key PARALLEL_PORTS at HARDWARE\DEVICEMAP. 3. Leave regedit open 4. Open another terminal 5. Start realterm -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 --- Comment #6 from Janne <janne.kekkonen(a)gmail.com> --- I tried to make a patch which prevents creation of the PARALLEL_PORTS key into registry in case where char array devices is empty. Made two test with patch: 1. Without symlink to lp0. Realterm starts. 2. With symlink to lp0. Key & content are created and Realterm starts. diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c index ba019cdb13d..26517597c68 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c @@ -1997,6 +1997,7 @@ static void create_port_devices( DRIVER_OBJECT *driver, const char *devices ) dosdev_fmt = "lpt%u"; windows_ports_key_name = L"HARDWARE\\DEVICEMAP\\PARALLEL PORTS"; port_prefix = L"LPT"; + if (strlen(devices)==0) return; } /* @@ Wine registry key: HKLM\Software\Wine\Ports */ -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |bc5f39ebf5fa3e936ad8fea7264 | |41b88716724c4 CC| |infyquest(a)gmail.com --- Comment #7 from Vijay Kamuju <infyquest(a)gmail.com> --- Should be fixed by commit bc5f39ebf5fa3e936ad8fea726441b88716724c4 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58598 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.18. -- 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.
participants (1)
-
WineHQ Bugzilla