2024.0.0.35 64-bit closes very slowly

2024.0.0.35 64-bit closes very slowly

41
NewbieNewbie
41

    5:31 - 10 days ago#1

    I have used UltraEdit since 2009.

    I purchased a lifetime license when it first became available in 2014.

    I am very familiar with the program.

    After 15 years of being a moderately happy and satisfied customer, the 2024 upgrade now takes 3 seconds to close the active window.

    I imagine this is because of a new commitment to cloud-based services or AI or some other feature that does not interest me in the least.

    UE has suddenly started behaving like bloatware.

    I am using UE as I always have for very modest text files. Once in a while, I do open multi-gigabyte SQL dumps, but that is not the case at the moment.

    Does anyone know of a remedy to speed up exiting the program?

    I doubt very much that the designers of the bloat will be ready to trim the fat any time soon. After all, everybody knows that "More is more!"

    ūüėĎ

    UltraEdit 
    2024.0.0.35 64-bit

    Windows 11 Pro
    Edition Windows 11 Pro
    Version 23H2
    Installed on ‚Äé9/‚Äé23/‚Äé2022
    OS build 22631.3880
    Experience Windows Feature Experience Pack 1000.22700.1020.0


    Processor AMD Ryzen 9 5900HX with Radeon Graphics           3.30 GHz
    Installed RAM 32.0 GB (31.4 GB usable)

    A partial list of programs that show no signs of deterioration other than standard operating Microsoft asininity:

    Office 365 -- Word, Excel, Powerpoint
    WhatsApp
    Zoom
    Photoscape X Pro
    Microsoft Teams

    Marty

    6,651559
    Grand MasterGrand Master
    6,651559

      9:22 - 8 days ago#2

      I could find out with free Windows Sysinternals (Microsoft) tool Process Monitor that there is a delay of about 2.175 seconds on exiting 64-bit UltraEdit v2024.0.0.35 on Windows 11 23H2 between closing the file %APPDATA%\IDMComp\UltraEdit\autorec\%COMPUTERNAME%@%USERNAME% (file with data for the case of an application crash or crash of Windows or an unexpected  power off of the computer or a user killing UltraEdit process instead of graceful terminating it) and opening of the file %APPDATA%\Roaming\IDMComp\UltraEdit\volatile\ue.in0 for saving the volatile data (mainly histories).

      There is recorded by Process Monitor in these 2.175 seconds:

      Code: Select all

      1,"10:15:58,2674576","10:15:58,2674787","uedit64.exe","3944","CloseFile","%APPDATA%\IDMComp\UltraEdit\autorec\%COMPUTERNAME%@%USERNAME%","SUCCESS",""
      2,"10:15:58,3739746","10:15:58,3739746","uedit64.exe","3944","Thread Exit","","SUCCESS","Thread ID: 13644, User Time: 0.0000000, Kernel Time: 0.0000000"
      3,"10:15:58,3740990","10:15:58,3740990","uedit64.exe","3944","Thread Exit","","SUCCESS","Thread ID: 11788, User Time: 0.0000000, Kernel Time: 0.0000000"
      4,"10:15:58,3741741","10:15:58,3741741","uedit64.exe","3944","Thread Exit","","SUCCESS","Thread ID: 12488, User Time: 0.0000000, Kernel Time: 0.0000000"
      5,"10:15:58,3742983","10:15:58,3742983","uedit64.exe","3944","Thread Exit","","SUCCESS","Thread ID: 12540, User Time: 0.0000000, Kernel Time: 0.0000000"
      6,"10:15:58,4300975","10:15:58,4301033","uedit64.exe","3944","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      7,"10:15:58,4301298","10:15:58,4301470","uedit64.exe","3944","RegOpenKey","HKLM\SYSTEM\CurrentControlSet\Services\Winsock\Parameters","REPARSE","Desired Access: Read"
      8,"10:15:58,4301695","10:15:58,4302102","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Winsock\Parameters","SUCCESS","Desired Access: Read"
      9,"10:15:58,4302335","10:15:58,4302659","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Winsock\Parameters\Transports","BUFFER OVERFLOW","Length: 12"
      10,"10:15:58,4302917","10:15:58,4303168","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Winsock\Parameters\Transports","SUCCESS","Type: REG_MULTI_SZ, Length: 82, Data: Tcpip6, Tcpip, Psched, vmbus, afunix, RFCOMM"
      11,"10:15:58,4303404","10:15:58,4303450","uedit64.exe","3944","RegCloseKey","HKLM\System\CurrentControlSet\Services\Winsock\Parameters","SUCCESS",""
      12,"10:15:58,4303663","10:15:58,4303701","uedit64.exe","3944","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      13,"10:15:58,4303912","10:15:58,4304038","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock","REPARSE","Desired Access: Read"
      14,"10:15:58,4304239","10:15:58,4304573","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock","SUCCESS","Desired Access: Read"
      15,"10:15:58,4304784","10:15:58,4304891","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock\Mapping","BUFFER OVERFLOW","Length: 12"
      16,"10:15:58,4305084","10:15:58,4305163","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock\Mapping","SUCCESS","Type: REG_BINARY, Length: 104, Data: 08 00 00 00 03 00 00 00 17 00 00 00 01 00 00 00"
      17,"10:15:58,4305380","10:15:58,4305421","uedit64.exe","3944","RegCloseKey","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock","SUCCESS",""
      18,"10:15:58,4305625","10:15:58,4305664","uedit64.exe","3944","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      19,"10:15:58,4305868","10:15:58,4305993","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","REPARSE","Desired Access: Read"
      20,"10:15:58,4306188","10:15:58,4306507","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","SUCCESS","Desired Access: Read"
      21,"10:15:58,4306714","10:15:58,4306816","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock\Mapping","BUFFER OVERFLOW","Length: 12"
      22,"10:15:58,4307008","10:15:58,4307084","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock\Mapping","SUCCESS","Type: REG_BINARY, Length: 104, Data: 08 00 00 00 03 00 00 00 02 00 00 00 01 00 00 00"
      23,"10:15:58,4307293","10:15:58,4307333","uedit64.exe","3944","RegCloseKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","SUCCESS",""
      24,"10:15:58,4307531","10:15:58,4307569","uedit64.exe","3944","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      25,"10:15:58,4307773","10:15:58,4307897","uedit64.exe","3944","RegOpenKey","HKLM\SYSTEM\CurrentControlSet\Services\Winsock\Setup Migration\Providers","REPARSE","Desired Access: Read"
      26,"10:15:58,4308089","10:15:58,4308420","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers","SUCCESS","Desired Access: Read"
      27,"10:15:58,4308625","10:15:58,4308700","uedit64.exe","3944","RegQueryKey","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      28,"10:15:58,4308906","10:15:58,4309227","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers\Tcpip","SUCCESS","Desired Access: Read"
      29,"10:15:58,4309435","10:15:58,4309546","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers\Tcpip\WinSock 2.0 Provider ID","SUCCESS","Type: REG_BINARY, Length: 16, Data: A0 1A 0F E7 8B AB CF 11 8C A3 00 80 5F 48 A1 92"
      30,"10:15:58,4309760","10:15:58,4309799","uedit64.exe","3944","RegCloseKey","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers\Tcpip","SUCCESS",""
      31,"10:15:58,4310002","10:15:58,4310037","uedit64.exe","3944","RegCloseKey","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers","SUCCESS",""
      32,"10:15:58,4310242","10:15:58,4310277","uedit64.exe","3944","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      33,"10:15:58,4310483","10:15:58,4310605","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","REPARSE","Desired Access: Read"
      34,"10:15:58,4310798","10:15:58,4311108","uedit64.exe","3944","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","SUCCESS","Desired Access: Read"
      35,"10:15:58,4311312","10:15:58,4311417","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock\MinSockaddrLength","SUCCESS","Type: REG_DWORD, Length: 4, Data: 16"
      36,"10:15:58,4311615","10:15:58,4311668","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock\MaxSockaddrLength","SUCCESS","Type: REG_DWORD, Length: 4, Data: 16"
      37,"10:15:58,4311856","10:15:58,4311909","uedit64.exe","3944","RegQueryValue","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock\UseDelayedAcceptance","SUCCESS","Type: REG_DWORD, Length: 4, Data: 0"
      38,"10:15:58,4312119","10:15:58,4312158","uedit64.exe","3944","RegCloseKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","SUCCESS",""
      39,"10:15:58,4315548","10:15:58,4315548","uedit64.exe","3944","Thread Create","","SUCCESS","Thread ID: 1252"
      40,"10:15:58,9386447","10:15:58,9386447","uedit64.exe","3944","TCP Reconnect","127.0.0.1:56276 -> 127.0.0.1:5572","SUCCESS","Length: 0, seqnum: 0, connid: 0"
      41,"10:15:59,4411433","10:15:59,4411433","uedit64.exe","3944","TCP Reconnect","127.0.0.1:56276 -> 127.0.0.1:5572","SUCCESS","Length: 0, seqnum: 0, connid: 0"
      42,"10:15:59,9436199","10:15:59,9436199","uedit64.exe","3944","TCP Reconnect","127.0.0.1:56276 -> 127.0.0.1:5572","SUCCESS","Length: 0, seqnum: 0, connid: 0"
      43,"10:16:00,3829429","10:16:00,3829621","uedit64.exe","3944","CreateFile","C:\Program Files (x86)\Microsoft\EdgeWebView\Application\126.0.2592.102\msedgewebview2.exe","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"
      44,"10:16:00,3829715","10:16:00,3829746","uedit64.exe","3944","QueryBasicInformationFile","C:\Program Files (x86)\Microsoft\EdgeWebView\Application\126.0.2592.102\msedgewebview2.exe","SUCCESS","CreationTime: 12.07.2024 09:34:22, LastAccessTime: 12.07.2024 10:15:52, LastWriteTime: 11.07.2024 08:59:33, ChangeTime: 12.07.2024 09:34:23, FileAttributes: A"
      45,"10:16:00,3829827","10:16:00,3829980","uedit64.exe","3944","CloseFile","C:\Program Files (x86)\Microsoft\EdgeWebView\Application\126.0.2592.102\msedgewebview2.exe","SUCCESS",""
      46,"10:16:00,4452454","10:16:00,4452454","uedit64.exe","3944","TCP Reconnect","127.0.0.1:56276 -> 127.0.0.1:5572","SUCCESS","Length: 0, seqnum: 0, connid: 0"
      47,"10:16:00,4453165","10:16:00,4453165","uedit64.exe","3944","TCP Disconnect","127.0.0.1:56276 -> 127.0.0.1:5572","SUCCESS","Length: 0, seqnum: 0, connid: 0"
      48,"10:16:00,4457338","10:16:00,4457505","uedit64.exe","3944","CreateFile","%APPDATA%\IDMComp\UltraEdit\volatile\ue.in0","SUCCESS","Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"
      The issue is the creation of a thread with three local TCP reconnect attempts as seen on the lines 39 to 43 which takes more than 2 seconds because of 500 ms timeout for each reconnect attempt. The next lines let me think this has something to do with Microsoft Edge WebView2.

      I recorded also with Process Monitor the file system, registry, thread and network activity on exit of 32-bit UltraEdit v2024.0.0.35 on Windows 7 with Microsoft Edge WebView2 not available at all.

      Code: Select all

      1,"10:39:00,7030331","10:39:00,7030400","uedit32.exe","2852","CloseFile","%APPDATA%\IDMComp\UltraEdit\autorec\%COMPUTERNAME%@%USERNAME%","SUCCESS",""
      2,"10:39:00,7980134","10:39:00,7980134","uedit32.exe","2852","Thread Exit","","SUCCESS","Thread ID: 1748, User Time: 0.0000000, Kernel Time: 0.0000000"
      3,"10:39:00,7982733","10:39:00,7982733","uedit32.exe","2852","Thread Exit","","SUCCESS","Thread ID: 2816, User Time: 0.0000000, Kernel Time: 0.0000000"
      4,"10:39:00,7986311","10:39:00,7986311","uedit32.exe","2852","Thread Exit","","SUCCESS","Thread ID: 392, User Time: 0.0000000, Kernel Time: 0.0000000"
      5,"10:39:00,7989160","10:39:00,7989160","uedit32.exe","2852","Thread Exit","","SUCCESS","Thread ID: 1152, User Time: 0.0000000, Kernel Time: 0.0000000"
      6,"10:39:00,8379627","10:39:00,8379722","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      7,"10:39:00,8380554","10:39:00,8380650","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: Name"
      8,"10:39:00,8381632","10:39:00,8381944","uedit32.exe","2852","RegOpenKey","HKLM\SYSTEM\CurrentControlSet\Services\Winsock\Parameters","REPARSE","Desired Access: Read"
      9,"10:39:00,8382838","10:39:00,8383117","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Winsock\Parameters","SUCCESS","Desired Access: Read"
      10,"10:39:00,8383990","10:39:00,8384052","uedit32.exe","2852","RegSetInfoKey","HKLM\System\CurrentControlSet\services\Winsock\Parameters","SUCCESS","KeySetInformationClass: KeySetHandleTagsInformation, Length: 0"
      11,"10:39:00,8384906","10:39:00,8385024","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Winsock\Parameters\Transports","SUCCESS","Type: REG_MULTI_SZ, Length: 42, Data: Tcpip6, Tcpip, Psched"
      12,"10:39:00,8385892","10:39:00,8385980","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Winsock\Parameters\Transports","SUCCESS","Type: REG_MULTI_SZ, Length: 42, Data: Tcpip6, Tcpip, Psched"
      13,"10:39:00,8386912","10:39:00,8386992","uedit32.exe","2852","RegCloseKey","HKLM\System\CurrentControlSet\services\Winsock\Parameters","SUCCESS",""
      14,"10:39:00,8387902","10:39:00,8387971","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      15,"10:39:00,8388756","10:39:00,8388840","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: Name"
      16,"10:39:00,8389753","10:39:00,8389955","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock","REPARSE","Desired Access: Read"
      17,"10:39:00,8390831","10:39:00,8391040","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters\Winsock","SUCCESS","Desired Access: Read"
      18,"10:39:00,8391883","10:39:00,8391942","uedit32.exe","2852","RegSetInfoKey","HKLM\System\CurrentControlSet\services\TCPIP6\Parameters\Winsock","SUCCESS","KeySetInformationClass: KeySetHandleTagsInformation, Length: 0"
      19,"10:39:00,8392763","10:39:00,8392880","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\TCPIP6\Parameters\Winsock\Mapping","SUCCESS","Type: REG_BINARY, Length: 104, Data: 08 00 00 00 03 00 00 00 17 00 00 00 01 00 00 00"
      20,"10:39:00,8393679","10:39:00,8393771","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\TCPIP6\Parameters\Winsock\Mapping","SUCCESS","Type: REG_BINARY, Length: 104, Data: 08 00 00 00 03 00 00 00 17 00 00 00 01 00 00 00"
      21,"10:39:00,8394640","10:39:00,8394710","uedit32.exe","2852","RegCloseKey","HKLM\System\CurrentControlSet\services\TCPIP6\Parameters\Winsock","SUCCESS",""
      22,"10:39:00,8395619","10:39:00,8395685","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      23,"10:39:00,8396466","10:39:00,8396583","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: Name"
      24,"10:39:00,8397540","10:39:00,8397738","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","REPARSE","Desired Access: Read"
      25,"10:39:00,8398644","10:39:00,8398864","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","SUCCESS","Desired Access: Read"
      26,"10:39:00,8399751","10:39:00,8399809","uedit32.exe","2852","RegSetInfoKey","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock","SUCCESS","KeySetInformationClass: KeySetHandleTagsInformation, Length: 0"
      27,"10:39:00,8400620","10:39:00,8400719","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock\Mapping","SUCCESS","Type: REG_BINARY, Length: 104, Data: 08 00 00 00 03 00 00 00 02 00 00 00 01 00 00 00"
      28,"10:39:00,8401522","10:39:00,8401613","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock\Mapping","SUCCESS","Type: REG_BINARY, Length: 104, Data: 08 00 00 00 03 00 00 00 02 00 00 00 01 00 00 00"
      29,"10:39:00,8402482","10:39:00,8402544","uedit32.exe","2852","RegCloseKey","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock","SUCCESS",""
      30,"10:39:00,8403413","10:39:00,8403483","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      31,"10:39:00,8404264","10:39:00,8404348","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: Name"
      32,"10:39:00,8405265","10:39:00,8405444","uedit32.exe","2852","RegOpenKey","HKLM\SYSTEM\CurrentControlSet\Services\Winsock\Setup Migration\Providers","REPARSE","Desired Access: Read"
      33,"10:39:00,8406317","10:39:00,8406511","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Winsock\Setup Migration\Providers","SUCCESS","Desired Access: Read"
      34,"10:39:00,8407351","10:39:00,8407409","uedit32.exe","2852","RegSetInfoKey","HKLM\System\CurrentControlSet\services\Winsock\Setup Migration\Providers","SUCCESS","KeySetInformationClass: KeySetHandleTagsInformation, Length: 0"
      35,"10:39:00,8408289","10:39:00,8408359","uedit32.exe","2852","RegQueryKey","HKLM\System\CurrentControlSet\services\Winsock\Setup Migration\Providers","SUCCESS","Query: HandleTags, HandleTags: 0x400"
      36,"10:39:00,8409235","10:39:00,8409386","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\services\Winsock\Setup Migration\Providers\Tcpip","SUCCESS","Desired Access: Read"
      37,"10:39:00,8410291","10:39:00,8410386","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Winsock\Setup Migration\Providers\Tcpip\WinSock 2.0 Provider ID","SUCCESS","Type: REG_BINARY, Length: 16, Data: A0 1A 0F E7 8B AB CF 11 8C A3 00 80 5F 48 A1 92"
      38,"10:39:00,8411281","10:39:00,8411343","uedit32.exe","2852","RegCloseKey","HKLM\System\CurrentControlSet\services\Winsock\Setup Migration\Providers\Tcpip","SUCCESS",""
      39,"10:39:00,8412187","10:39:00,8412245","uedit32.exe","2852","RegCloseKey","HKLM\System\CurrentControlSet\services\Winsock\Setup Migration\Providers","SUCCESS",""
      40,"10:39:00,8413162","10:39:00,8413231","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: HandleTags, HandleTags: 0x0"
      41,"10:39:00,8414020","10:39:00,8414100","uedit32.exe","2852","RegQueryKey","HKLM","SUCCESS","Query: Name"
      42,"10:39:00,8415017","10:39:00,8415208","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","REPARSE","Desired Access: Read"
      43,"10:39:00,8416076","10:39:00,8416249","uedit32.exe","2852","RegOpenKey","HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock","SUCCESS","Desired Access: Read"
      44,"10:39:00,8417081","10:39:00,8417140","uedit32.exe","2852","RegSetInfoKey","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock","SUCCESS","KeySetInformationClass: KeySetHandleTagsInformation, Length: 0"
      45,"10:39:00,8417976","10:39:00,8418071","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock\MinSockaddrLength","SUCCESS","Type: REG_DWORD, Length: 4, Data: 16"
      46,"10:39:00,8418892","10:39:00,8418973","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock\MaxSockaddrLength","SUCCESS","Type: REG_DWORD, Length: 4, Data: 16"
      47,"10:39:00,8419783","10:39:00,8419871","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock\UseDelayedAcceptance","SUCCESS","Type: REG_DWORD, Length: 4, Data: 0"
      48,"10:39:00,8420674","10:39:00,8420758","uedit32.exe","2852","RegQueryValue","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock\HelperDllName","SUCCESS","Type: REG_EXPAND_SZ, Length: 70, Data: %SystemRoot%\System32\wshtcpip.dll"
      49,"10:39:00,8432435","10:39:00,8432890","uedit32.exe","2852","CreateFile","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS","Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"
      50,"10:39:00,8437450","10:39:00,8437564","uedit32.exe","2852","QueryBasicInformationFile","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS","CreationTime: 14.07.2009 01:12:08, LastAccessTime: 14.07.2009 01:12:08, LastWriteTime: 14.07.2009 03:16:20, ChangeTime: 23.05.2017 02:26:22, FileAttributes: A"
      51,"10:39:00,8438510","10:39:00,8438664","uedit32.exe","2852","CloseFile","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS",""
      52,"10:39:00,8445311","10:39:00,8445740","uedit32.exe","2852","CreateFile","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS","Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened"
      53,"10:39:00,8448299","10:39:00,8448339","uedit32.exe","2852","CreateFileMapping","C:\Windows\SysWOW64\WSHTCPIP.DLL","FILE LOCKED WITH ONLY READERS","SyncType: SyncTypeCreateSection, PageProtection: "
      54,"10:39:00,8449938","10:39:00,8449963","uedit32.exe","2852","CreateFileMapping","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS","SyncType: SyncTypeOther"
      55,"10:39:00,8452651","10:39:00,8452651","uedit32.exe","2852","Load Image","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS","Image Base: 0x74b40000, Image Size: 0x5000"
      56,"10:39:00,8453164","10:39:00,8453245","uedit32.exe","2852","CloseFile","C:\Windows\SysWOW64\WSHTCPIP.DLL","SUCCESS",""
      57,"10:39:00,8454660","10:39:00,8454700","uedit32.exe","2852","RegCloseKey","HKLM\System\CurrentControlSet\services\Tcpip\Parameters\Winsock","SUCCESS",""
      58,"10:39:00,8457402","10:39:00,8457402","uedit32.exe","2852","Thread Create","","SUCCESS","Thread ID: 3304"
      59,"10:39:01,3594429","10:39:01,3594429","uedit32.exe","2852","TCP Reconnect","127.0.0.1:49259 -> 127.0.0.1:5572","SUCCESS","Length: 0, seqnum: 0, connid: 0"
      60,"10:39:01,8758831","10:39:01,8759341","uedit32.exe","2852","CreateFile","%APPDATA%\IDMComp\UltraEdit\volatile\ue.in0","SUCCESS","Desired Access: Read Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened"
      There is also created the thread after closing the file %APPDATA%\IDMComp\UltraEdit\autorec\%COMPUTERNAME%@%USERNAME% and making the WinSock registry query accesses as it can be seen on line 58. But there is only one local TCP reconnect attempt. The delay is for that reason just 1.030 seconds instead of 2.175 seconds.

      I find it curious that on exiting an application a thread is created which tries local TCP reconnects. This seems to make no sense without knowing more details about the purpose of this thread. I think that on all Windows just one TCP reconnect attempt should be made and the timeout should be reduced to 20 ms as the source and the destination are on localhost, if it is not possible avoiding that thread completely on exit of UltraEdit.

      I played with some UltraEdit feature locks if there is one which changes the behavior on exit like locking the usage of RClone (support for third-party cloud storage systems as introduced with UE v2024.0) or Plugins (built-in WebView2 interpreted scripts as introduced with UE v2023.2), but no feature lock changed the exit behavior as described here.

      I reported everything written here also with an email to UltraEdit support. I suggest complaining also about the unnecessary long delay on exit of UE/UES by email to UltraEdit support. The more users do that the higher becomes the priority for UltraEdit, Inc. looking on this issue and improving the exit behavior of UE/UES.
      Best regards from an UC/UE/UES for Windows user from Austria

      41
      NewbieNewbie
      41

        9:38 - 8 days ago#3

        Mofi wrote: ‚ÜĎ
        9:22 - 8 days ago
        I could find out with free Windows Sysinternals (Microsoft) tool Process Monitor that there is a delay of about 2.175 seconds on exiting 64-bit UltraEdit v2024.0.0.35 on Windows 11 23H2 between closing the file %APPDATA%\IDMComp\UltraEdit\autorec\%COMPUTERNAME%@%USERNAME% (file with data for the case of an application crash or crash of Windows or an unexpected  power off of the computer or a user killing UltraEdit process instead of graceful terminating it) and opening of the file %APPDATA%\Roaming\IDMComp\UltraEdit\volatile\ue.in0 for saving the volatile data (mainly histories).
        ...
        I reported everthing written here also with an email to UltraEdit support. I suggest complaining also about the unnecessary long delay on exit of UE/UES by email to UltraEdit support. The more users do that the higher becomes the priority for UltraEdit, Inc. looking on this issue and improving the exit behavior of UE/UES.
        I bow before you, Master.

        Thanks for doing such excellent work on tracking what is happening.

        I will send an email to UE support.

        THANKS!

          17:14 - 7 days ago#4

          From UE support:

          "Thank you for your message.  I'm very sorry for any inconvenience this issue may be causing you.  We are aware of this issue and our developers will be addressing this in the very near future.  We will be sure to let you know when we have an updated build that corrects this."