DECwindows not working properly (V9.2-1)

OpenVMS x86 Field Test questions, reports, and feedback.

Topic author
iblowmymind
Contributor
Posts: 17
Joined: Sun Apr 09, 2023 1:54 pm
Reputation: 0
Status: Offline

DECwindows not working properly (V9.2-1)

Post by iblowmymind » Mon Apr 10, 2023 1:34 pm

Hello,
I'm trying to use DECwindows using a remote X display. I currently do this to run the X server and start DECwindows:

Code: Select all

On Windows side:
vcxsrv :0 -clipboard -from 192.168.23.1 -nowgl -ac

On VMS side:
$ set display/create/node=192.168.23.1/transport=tcpip/server=0/exec
$ run sys$system:decw$startlogin.exe
It seems just fine, with the login prompt showing up on my Windows host, and I can log in with my user, but when I do I just get the "Starting New Desktop" blue screen for *way* too long, and I get a "welcome help" screen, but the rest of the screen remains black. I get no window manager, no session manager, no background and no tray area. Screenshot attached:
image.png
I can run applications manually from the command line (run sys$system:decw$calc.exe, for instance), but none of the CDE elements come up no matter how long I wait. No logs of interest are produced.

Could this be a bug related to x86_64? I've not had this issue on AXPVMS 8.4-2L2 with the same commands.
Any help would be appreciated!
Last edited by iblowmymind on Sat Jun 17, 2023 4:30 am, edited 1 time in total.


Topic author
iblowmymind
Contributor
Posts: 17
Joined: Sun Apr 09, 2023 1:54 pm
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by iblowmymind » Wed Apr 12, 2023 3:06 pm

Update:

Code: Select all

$ acc /full /since:12-APR-2023:21:55:00 /log
INTERACTIVE Process Termination
-------------------------------
Username:          BLW               UIC:               [BLW]
Account:                             Finish time:       12-APR-2023 21:55:36.47
Process ID:        0000042E          Start time:        12-APR-2023 21:55:15.22
Owner ID:                            Elapsed time:                0 00:00:21.24
Terminal name:     MBA82:            Processor time:              0 00:00:01.02
Remote node addr:                    Priority:          4
Remote node name:                    Privilege <31-00>: 00108000
Remote ID:                           Privilege <63-32>: 00000000
Remote full name:
Posix UID:         -2                Posix GID:         -2 (%XFFFFFFFE)
Queue entry:                         Final status code: 1000000C
Queue name:
Job name:
Final status text: %SYSTEM-F-ACCVIO, access violation, reason mask=!XB, virtual
Page faults:             1245        Direct IO:                141
Page fault reads:         189        Buffered IO:             1165
Peak working set:       19840        Volumes mounted:            0
Peak page file:        248608        Images executed:            5


Press RETURN for Next Record >
I get this accounting log, pretty sure it's related to DECW as the user is my user that I logged onto DECW with and I always get it some time after logging onto DECW. No other sessions or programs were running with that user.
I can't see the image name nor the full access violation, though, so I can't be sure. Is there any way I could retrieve that? Nothing in operator.log.
Last edited by iblowmymind on Wed Apr 12, 2023 3:06 pm, edited 1 time in total.


mickenx
Contributor
Posts: 12
Joined: Wed Apr 12, 2023 3:00 pm
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by mickenx » Wed Apr 12, 2023 4:50 pm

I have the same issue. The old DECwindows works fine.

User avatar

dmjb
Active Contributor
Posts: 49
Joined: Mon Aug 17, 2020 4:38 pm
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by dmjb » Wed Apr 12, 2023 5:36 pm

Ran into the same issue using Xming on a Windows 11 host, with E9.2-1 installed inside VMware Workstation Pro. I also attempted to run `CDE$SYSTEM_DEFAULT[BIN]DTSESSION.EXE` directly, and got an ACCVIO. I wonder if the same ACCVIO is taking place while attempting to start the desktop through DECW$STARTLOGIN.EXE.

I will grab a copy of the exact error I got tomorrow and share it here if it is helpful.

Like the previous poster, the classic DECwindows desktop works fine in my setup.
Last edited by dmjb on Wed Apr 12, 2023 5:38 pm, edited 1 time in total.

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by volkerhalle » Thu Apr 13, 2023 1:21 am

[quote=iblowmymind post_id=18098 time=1681326367 user_id=399]
I can't see the image name nor the full access violation, though, so I can't be sure. Is there any way I could retrieve that?
[/quote]

$ SET ACC/ENABLE=IMAGE will turn on image accounting, so you'll at least get the image name this way.

If that image would be invoked from a DCL procedure, you could add a $ SET PROC/DUMP before the invocation and you should get a process-dump (imagename.DMP) file written.

Volker.
Last edited by volkerhalle on Thu Apr 13, 2023 1:22 am, edited 1 time in total.


spoofy
Contributor
Posts: 21
Joined: Fri Mar 31, 2023 6:02 pm
Reputation: 0
Location: Erlangen/Germany
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by spoofy » Thu Apr 13, 2023 7:53 am

Same problem by me, ESXi 6.7.0 and Xephyr on Linux.


Topic author
iblowmymind
Contributor
Posts: 17
Joined: Sun Apr 09, 2023 1:54 pm
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by iblowmymind » Thu Apr 13, 2023 11:41 am

Hello,
Enabled image accounting and I get this:

Code: Select all

DTFILE Image Termination
------------------------
Username:          BLW               UIC:               [BLW]
Account:                             Finish time:       13-APR-2023 18:24:04.65
Process ID:        00000432          Start time:        13-APR-2023 18:23:42.21
Owner ID:                            Elapsed time:                0 00:00:22.43
Terminal name:     MBA89:            Processor time:              0 00:00:01.05
Remote node addr:                    Priority:          4
Remote node name:                    Privilege <31-00>: 00108000
Remote ID:                           Privilege <63-32>: 00000000
Remote full name:
Posix UID:         -2                Posix GID:         -2 (%XFFFFFFFE)
Queue entry:                         Final status code: 1000000C
Queue name:
Job name:
Final status text: %SYSTEM-F-ACCVIO, access violation, reason mask=!XB, virtual address=!XH, PC=!XH
Page faults:              694        Direct IO:                117
Page fault reads:         107        Buffered IO:             1052
Peak working set:       19872        Volumes mounted:            0
Peak page file:         18912        Images executed:            2

Image name: BLWX86$DKA0:[SYS0.SYSCOMMON.CDE$DEFAULTS.SYSTEM.][BIN]DTFILE.EXE;1

Code: Select all

LOGINOUT Image Termination
--------------------------
Username:          BLW               UIC:               [BLW]
Account:                             Finish time:       13-APR-2023 18:24:04.66
Process ID:        00000432          Start time:        13-APR-2023 18:24:04.66
Owner ID:                            Elapsed time:                0 00:00:00.00
Terminal name:     MBA89:            Processor time:              0 00:00:00.00
Remote node addr:                    Priority:          4
Remote node name:                    Privilege <31-00>: 4010A025
Remote ID:                           Privilege <63-32>: 00000060
Remote full name:
Posix UID:         -2                Posix GID:         -2 (%XFFFFFFFE)
Queue entry:                         Final status code: 1000000C
Queue name:
Job name:
Final status text: %SYSTEM-F-ACCVIO, access violation, reason mask=!XB, virtual address=!XH, PC=!XH
Page faults:               40        Direct IO:                  1
Page fault reads:           2        Buffered IO:                1
Peak working set:           0        Volumes mounted:            0
Peak page file:         10608        Images executed:            3

Image name: BLWX86$DKA0:[SYS0.SYSCOMMON.][SYSEXE]LOGINOUT.EXE
I have a feeling the faulty program here is dtfile. Maybe CDE hangs and aborts waiting for it to start?
Result of me manually trying to run it:

Code: Select all

$ run BLWX86$DKA0:[SYS0.SYSCOMMON.CDE$DEFAULTS.SYSTEM.][BIN]DTFILE.EXE;1
X Toolkit Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-
*-*-*-*-*-*-*-*" to type FontStruct
X Toolkit Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*
-ISO8859-1" to type FontStruct
X Toolkit Warning: Missing charsets in String to FontSet conversion
X Toolkit Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-
*-*-*-*-*-*-*-*" to type FontSet
X Toolkit Warning: Missing charsets in String to FontSet conversion
X Toolkit Warning: Cannot convert string "-dt-interface system-medium-r-normal-m
*-*-*-*-*-*-*-*-*" to type FontSet
%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=000000000000
0000, PC=000000008045BA23, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
image     module    routine               line      rel PC           abs PC
CDE$LIBDTSVC  PATHWEXP.C;1               #8946 0000000080065A23 000000008045BA23
CDE$LIBDTSVC  CONNECT.C;1               #14265 0000000080063B9E 0000000080459B9E
CDE$LIBDTSVC  CONNECT.C;1               #14226 0000000080064251 000000008045A251
DTFILE  FILEMGR.C;1  SetValues          #59145 0000000080081B86 0000000080081B86
DTFILE  ENCAPS.C;1  _DtShowDialog       #42627 00000000801385DB 00000000801385DB
DTFILE  MAIN.C;1  GetNewView            #60388 00000000800036FE 00000000800036FE
DTFILE  MAIN.C;1  OpenDirectories       #59972 000000008000BAC4 000000008000BAC4
DTFILE  MAIN.C;1  ViewHomeDirectoryHandler
                                        #61219 000000008000D2D5 000000008000D2D5
DTFILE  MAIN.C;1  main                  #58175 00000000800151B5 00000000800151B5
DTFILE  MAIN.C;1  __main                #57348 00000000800152D7 00000000800152D7
PTHREAD$RTL                                  0 000000008004122C FFFF830008D0322C
PTHREAD$RTL                                  0 0000000080002316 FFFF830008CC4316
                                             0 FFFF8300071FBDC6 FFFF8300071FBDC6
DCL                                          0 000000008006741B 000000007ADFF41B
%TRACE-I-LINENUMBER, Leading '#' specifies a source file record number.
%TRACE-I-END, end of TRACE stack dump
$
Crash trace with set proc/dump:

Code: Select all

%PROCDUMP-E-BADLOGIC, internal logic error detected at PC 00000000.7B53996E
-PROCDUMP-E-BADZERO, inconsistency found while zeroing unwanted data; range FFFF
8300.0D13C880:FFFF8300.0D13C8FF not on page FFFF8300.0D13E000
%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=000000000000
0000, PC=000000008045BA23, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
image     module    routine               line      rel PC           abs PC
CDE$LIBDTSVC  PATHWEXP.C;1               #8946 0000000080065A23 000000008045BA23
CDE$LIBDTSVC  CONNECT.C;1               #14265 0000000080063B9E 0000000080459B9E
CDE$LIBDTSVC  CONNECT.C;1               #14226 0000000080064251 000000008045A251
DTFILE  FILEMGR.C;1  SetValues          #59145 0000000080081B86 0000000080081B86
DTFILE  ENCAPS.C;1  _DtShowDialog       #42627 00000000801385DB 00000000801385DB
DTFILE  MAIN.C;1  GetNewView            #60388 00000000800036FE 00000000800036FE
DTFILE  MAIN.C;1  OpenDirectories       #59972 000000008000BAC4 000000008000BAC4
DTFILE  MAIN.C;1  ViewHomeDirectoryHandler
                                        #61219 000000008000D2D5 000000008000D2D5
DTFILE  MAIN.C;1  main                  #58175 00000000800151B5 00000000800151B5
DTFILE  MAIN.C;1  __main                #57348 00000000800152D7 00000000800152D7
PTHREAD$RTL                                  0 000000008004122C FFFF830008D0322C
PTHREAD$RTL                                  0 0000000080002316 FFFF830008CC4316
                                             0 FFFF8300071FBDC6 FFFF8300071FBDC6
DCL                                          0 000000008006741B 000000007ADFF41B
Is there any way I could file a bug report as a CLP member?

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by volkerhalle » Thu Apr 13, 2023 11:46 am

That's it. You have reproduced the problem exactly and even created a process dump.

Now all you need is a way to report this to VSI.

Volker.


Topic author
iblowmymind
Contributor
Posts: 17
Joined: Sun Apr 09, 2023 1:54 pm
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by iblowmymind » Thu Apr 13, 2023 11:47 am

Do you know where I could get in contact? I don't think the commercial support lines are available to community members.

Added in 3 minutes 25 seconds:
Trying to create an issue in the Service Platform's Organization for Community now. Thanks a lot for the help!

Added in 15 minutes 8 seconds:
Created!
https://sp.vmssoftware.com/#/org/issues/sps-996


tim.stegner
VSI Expert
Valued Contributor
Posts: 55
Joined: Wed Jul 21, 2021 9:14 am
Reputation: 0
Status: Offline

Re: DECwindows not working properly (V9.2-1)

Post by tim.stegner » Thu Apr 13, 2023 3:40 pm

i'll refer this to the forum monitor for elevation to support.

Post Reply