One approach would be to bisect your profile.

Basically, you are performing a binary search, tossing roughly half of
your profile (save a backup), starting J, and repeating based on
whether the problem occurs.

Unless your profile is huge, you probably won't need many attempts to
narrow things down.

-- 
Raul

On Sun, May 22, 2022 at 5:15 AM 'Michael Day' via Beta
<[email protected]> wrote:
>
> OK - the Beta thread must be the right one - this problem has arisen for
> me (only me?) on
> upgrading from J904 beta-c to beta-d.
>
> Sorry to Raul and Bill - I've just realised yesterday's rushed message
> was private;  Bill wouldn't
> have seen it.
>
> Re Raul's comments (below):  Windows permissions are a pain.   I'd
> always assumed the ctrl-alt-del
> method of summoning Task Manager would bestow admin privs.  Anyway,
> reopening it (TM),  forcing
> these privileges resulted in the same dialog box,  failing to
> terminate.  I discovered the "killtask"
> command,  to be used in a cmd window.   There's no trouble closing an
> instance of JQt at level 903,
> presumably because it's still running;  however, J904 processes (qt or
> console) can't be terminated,
> even with admin privileges;  it appears that if they're already
> "suspended", nothing further can be
> done,  bar rebooting. As their memory is displayed as 32k,  I might as
> well live with them staying there!
>
> Re Bill's suggestion:
>
>     Can you try start J with an empty profile? eg
>
>     jconsole.exe -jprofile
>     jqt -jprofile
>
> Both work!  The sessions aren't usable as all the startup stuff is
> missing,  and it's a long long time since
> I used native J as it was meant to be!
>
> How can I test what is wrong,  perhaps in my personal set-up?
>
> Thanks,
>
> Mike
>
> On 21/05/2022 14:45, Mike Day wrote:
> > Apologies for wrong thread!
> >
> > V busy with a concert today,  so thanks to you & Bill,  but I’ll
> > follow up yr ideas tomorrow
> > Cheers,
> > Mike
> > Sent from my iPad
> >
> > On 21 May 2022, at 05:08, Raul Miller <[email protected]> wrote:
> >
> >> (switching to general forum, which is hopefully the correct forum for
> >> this kind of content... (also resending -- I thought I sent this
> >> earlier but now it looks like it was not sent.))
> >>
> >> If you are getting the message "Unable to terminate process - The
> >> operation could not be completed.  Access is denied" from task manager
> >> or process explorer, likely you need administrative privileges to
> >> terminate that process.
> >>
> >> If you are using process explorer, you can ask it to restart itself
> >> with administrative privileges by selecting the menu option:  File >
> >> Show Details for All Processes.
> >>
> >> (But, I have not yet tried windows 11. I'm sort of waiting for things
> >> to settle down a bit more, before I try it.)
> >>
> >> I hope this helps,
> >>
> >>
> >> --
> >> Raul
> >>
> >> On Fri, May 20, 2022 at 5:05 PM 'Michael Day' via Programming
> >> <[email protected]> wrote:
> >>>
> >>> Thanks.  The upgrade was easy,  but the result is unfortunate,  at
> >>> least on this laptop running Windows 11.
> >>>
> >>> Attempting to open any of Jqt, JHS, Jconsole does establish a new
> >>> instance of
> >>> jqt.exe or jconsole.exe, according to the details display of Task
> >>> Manager,  but it
> >>> immediately shows its status as "suspended."
> >>>
> >>> (Raul MIller recently suggested I use Process Explorer - it shows
> >>> the same
> >>> information as far as I can see.)
> >>>
> >>> Task Manager refused to terminate these tasks.  ("Unable to terminate
> >>> process -
> >>> The operation could not be completed.  Access is denied")
> >>> Restarting windows removed them of course.
> >>>
> >>> I had added some stuff to the startup.ijs file,  trying to establish
> >>> threads,  and
> >>> I wondered whether that was creating a problem given Henry's changed
> >>> some
> >>> behaviour;  After commenting out those operations in the startup,
> >>> opening
> >>> the exes still results in suspended status.
> >>>
> >>> I'm not aware of having changed the setup in any way other than
> >>> doing the
> >>> upgrade,  until I altered the startup.ijs file,  anyway.
> >>>
> >>> It's difficult to give any useful information.
> >>>
> >>> Any ideas?
> >>>
> >>> Thanks,
> >>>
> >>> Mike
> >>>
> >>> On 20/05/2022 16:06, Eric Iverson wrote:
> >>>> J904-beta-d is available for windows/linux/macos.
> >>>>
> >>>> If you already run J904-beta, then upgrade is easy:
> >>>>    load'pacman'
> >>>>    'upgrade'jpkg'jengine'
> >>>>
> >>>> If you have not yet installed J904-beta, time to get started!
> >>>> https://code.jsoftware.com/wiki/System/Installation/J904
> >>>> <https://code.jsoftware.com/wiki/System/Installation/J903>
> >>>>
> >>>> Release notes:
> >>>> https://code.jsoftware.com/wiki/System/ReleaseNotes/J904
> >>>> <https://code.jsoftware.com/wiki/System/ReleaseNotes/J903>
> >>>>
> >>>> Questions/bug reports/etc. should go to the beta forum.
> >>>> ----------------------------------------------------------------------
> >>>> For information about J forums see http://www.jsoftware.com/forums.htm
> >>>
> >>>
> >>> --
> >>> This email has been checked for viruses by Avast antivirus software.
> >>> https://www.avast.com/antivirus
> >>>
> >>> ----------------------------------------------------------------------
> >>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to