Notepads icon indicating copy to clipboard operation
Notepads copied to clipboard

[Bug] crash at open

Open theweeeknd opened this issue 2 years ago • 22 comments

卡在如图这里,1min后强退 重置应用数据暂时恢复正常,但没多久(<1天?)问题会重现 重启 / 修复 / 卸载 / 禁用快照 均不能彻底解决。 Notepads 是我使用最高频的 app 之一,但之前没见过这种 重置数据都不能彻底解决 的诡异 bug 。 比起 EmEditor,Notepads 的 UI 要更加 modern 一万倍。但在此让人脑溢血的 bug(?) 解决前,我不得不先切换到前者。

Screenshots image

Desktop (please complete the following information): OS: [Windows 11 21H2 22000.556] Version [1.4.7.0]

theweeeknd avatar Mar 22 '22 05:03 theweeeknd

你之前有打开过什么大文件吗?每一次出现这种情况之前有没有特例?上一次关闭的时候是否有很多tab?然后出现这种情况是恢复休眠之后还是?

0x7c13 avatar Mar 22 '22 08:03 0x7c13

I'm having the same issue using the latest version on Windows 10 20H2 (OS Build 19042.1586). As a bit of additional information in my case, the Windows Store process is blocked by a firewall and it's impossible for it to connect to the internet. Not sure if this would affect notepads but it was working just fine until the last update.

Now whenever I try opening a file, or open notepads.exe from the start menu I get the screen in the screenshot above and there's nothing else I can do. If there are any logs I can supply to help debug this I'd be glad to, if you can tell me where to find them.

Pitu avatar Mar 23 '22 08:03 Pitu

I'm having the same issue using the latest version on Windows 10 20H2 (OS Build 19042.1586). As a bit of additional information in my case, the Windows Store process is blocked by a firewall and it's impossible for it to connect to the internet. Not sure if this would affect notepads but it was working just fine until the last update.

Now whenever I try opening a file, or open notepads.exe from the start menu I get the screen in the screenshot above and there's nothing else I can do. If there are any logs I can supply to help debug this I'd be glad to, if you can tell me where to find them.

Seems suspicious, since all store apps do connect to Store directly for analysis purposes (out of my control). Another thing that might cause this issue is the AppCenter which I was using in this app for recording app analysis. Try unblocking the firewall first and see if it helps. Since this is not a crash, I don't think event viewer will be helpful in this case.

0x7c13 avatar Mar 23 '22 17:03 0x7c13

你之前有打开过什么大文件吗?每一次出现这种情况之前有没有特例?上一次关闭的时候是否有很多tab?然后出现这种情况是恢复休眠之后还是?

都没有,我感觉没发现任何规律

另补充些线索:

重启 无用

应用和功能 - 终止 无用

应用和功能 - 修复 无用

应用和功能 - 重置 暂时正常,1天内问题会复现

应用和功能 - 卸载 同 重置

应用和功能 - 后台应用权限 无用

关闭 快照备份与还原 无用

theweeeknd avatar Mar 26 '22 00:03 theweeeknd

你平时有用别的UWP app吗?比如windows的mail或者其他的?

0x7c13 avatar Apr 09 '22 00:04 0x7c13

你平时有用别的UWP app吗?比如windows的mail或者其他的?

应该就notepads一个…

theweeeknd avatar Apr 12 '22 21:04 theweeeknd

Facing the same issue after installing the latest version from the releases page. I don't have any antivirus or firewall on my system. Is there any fix for this yet? Thanks

sameer-coder avatar May 03 '22 08:05 sameer-coder

我也是这样,摊手

xiaoyv404 avatar May 14 '22 00:05 xiaoyv404

我也是这样,摊手

v1.4.7.0以前都正常,就1.4.70开始有问题了

xiaoyv404 avatar May 14 '22 00:05 xiaoyv404

你平时有用别的UWP app吗?比如windows的mail或者其他的?

@0x7c13 Yes, I do have multiple UWP apps installed and they are working fine. Notepads just starts and shows the blanks screen and you can't do anything. I don't have any firewalls or antivirus blocking it. I have blocked windows update though but other UWP apps still work fine. Not pushing anyone to fix this urgently but would have really liked to try out this app.

image

sameer-coder avatar May 15 '22 09:05 sameer-coder

你平时有用别的UWP app吗?比如windows的mail或者其他的?

@0x7c13 Yes, I do have multiple UWP apps installed and they are working fine. Notepads just starts and shows the blanks screen and you can't do anything. I don't have any firewalls or antivirus blocking it. I have blocked windows update though but other UWP apps still work fine. Not pushing anyone to fix this urgently but would have really liked to try out this app.

image

You can try this release v1.4.7.0 it can run

Please forgive my bad English :)

xiaoyv404 avatar May 20 '22 13:05 xiaoyv404

Temporary fix on Windows 10: search by hitting your windows key search "App" click "Add or remove programs" scroll down to Notepads left click it left click "Advanced options" scroll down & hit the "Reset" button now Notepads should work.

Note to developer: C:\Users\MyUsername\AppData\Local\Packages\19282JackieLiu.Notepads-Beta_echhpq9pdbte8\LocalState\Microsoft.AppCenter.Storage SQLite table file I'm 3% sure is the problem with Notepads not working.

Version I'm using: 1.4.7 on the Windows 10 Store. My crashing happened randomly. Not on an update. The crashing was ever-persistent. The problem only happened once. I've been using Notepads quite a lot. (like at least 80 launches within a 10-20 day period). I'm using the latest Windows 10 (the 2H20 one or whatever).

user95f85f avatar May 22 '22 01:05 user95f85f

Resetting the data doesn't work for me. Also, the new latest release has the issue.

sameer-coder avatar May 23 '22 14:05 sameer-coder

Temporary fix on Windows 10: search by hitting your windows key search "App" click "Add or remove programs" scroll down to Notepads left click it left click "Advanced options" scroll down & hit the "Reset" button now Notepads should work.

Note to developer: C:\Users\MyUsername\AppData\Local\Packages\19282JackieLiu.Notepads-Beta_echhpq9pdbte8\LocalState\Microsoft.AppCenter.Storage SQLite table file I'm 3% sure is the problem with Notepads not working.

Version I'm using: 1.4.7 on the Windows 10 Store. My crashing happened randomly. Not on an update. The crashing was ever-persistent. The problem only happened once. I've been using Notepads quite a lot. (like at least 80 launches within a 10-20 day period). I'm using the latest Windows 10 (the 2H20 one or whatever).

I also have a feeling that this might be caused by AppCenter. I will update the version of the AppCenter and create a new release to see if it will solve the problem for you guys.

0x7c13 avatar May 23 '22 18:05 0x7c13

image

0x7c13 avatar May 23 '22 18:05 0x7c13

1.4.8.0 is released today, please help verify if the issue is mitigated.

0x7c13 avatar May 24 '22 21:05 0x7c13

1.4.8.0 is released today, please help verify if the issue is mitigated.

I can't seem to find 1.4.8.0 release. Latest I can see is 1.4.7.0 🤔

sameer-coder avatar May 25 '22 08:05 sameer-coder

1.4.8.0 is released today, please help verify if the issue is mitigated.

I can't seem to find 1.4.8.0 release. Latest I can see is 1.4.7.0 🤔

https://github.com/0x7c13/Notepads/releases/tag/v1.4.8.0

0x7c13 avatar May 25 '22 09:05 0x7c13

1.4.8.0 is released today, please help verify if the issue is mitigated.

Thanks for the effort. Unfortunately the issue persists :(

sameer-coder avatar May 26 '22 07:05 sameer-coder

1.4.8.0 is released today, please help verify if the issue is mitigated.

Thanks for the effort. Unfortunately the issue persists :(

Remove Notepads from your computer, go to release page and download 1.4.6.0 and see if it works: https://github.com/0x7c13/Notepads/releases/tag/v1.4.6.0

0x7c13 avatar May 26 '22 20:05 0x7c13

Thanks for the effort. Unfortunately the issue persists :( Huh. Are you using the Windows Store version? If you installed the .msi from github release have you tried uninstalling the Windows Store version? If you are using the Windows Store version there are some special Windows Store stuff you can try: microsoft store cache reset:

  1. open up admin cmd
  2. WSReset.exe

If that doesn't work you can go full crazy and see if your Windows PC has serious problems (do this in admin cmd.exe) one after another:

SFC /SCANNOW DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH

I got these commands from a Epic Games Troubleshooting Help Email because Fortnite would stop downloading in the Epic Games Store. (It didn't fix my problem and the commands basically did nothing).

On Thu, May 26, 2022 at 7:27 AM Sameer Srivastava @.***> wrote:

1.4.8.0 is released today, please help verify if the issue is mitigated.

Thanks for the effort. Unfortunately the issue persists :(

— Reply to this email directly, view it on GitHub https://github.com/0x7c13/Notepads/issues/1064#issuecomment-1138248323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQPOQ2QKHFOUOXXW6QMF2TVL4RWNANCNFSM5RJXV4FA . You are receiving this because you commented.Message ID: @.***>

user95f85f avatar May 26 '22 20:05 user95f85f

Thanks for the effort. Unfortunately the issue persists :( OK I think I have a potential solution:

  1. open up task manager (WIN+X and select Task Manager is the fastest way to open it IMO)
  2. end all "Notepads" processes.
  3. now try to Reset the Notepads App in the Add and Remove Programs -> Notepads -> Advanced Settings page.
  4. now try starting Notepads.

On Thu, May 26, 2022 at 8:56 PM Corey H @.***> wrote:

Thanks for the effort. Unfortunately the issue persists :( Huh. Are you using the Windows Store version? If you installed the .msi from github release have you tried uninstalling the Windows Store version? If you are using the Windows Store version there are some special Windows Store stuff you can try: microsoft store cache reset:

  1. open up admin cmd
  2. WSReset.exe

If that doesn't work you can go full crazy and see if your Windows PC has serious problems (do this in admin cmd.exe) one after another:

SFC /SCANNOW DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH

I got these commands from a Epic Games Troubleshooting Help Email because Fortnite would stop downloading in the Epic Games Store. (It didn't fix my problem and the commands basically did nothing).

On Thu, May 26, 2022 at 7:27 AM Sameer Srivastava < @.***> wrote:

1.4.8.0 is released today, please help verify if the issue is mitigated.

Thanks for the effort. Unfortunately the issue persists :(

— Reply to this email directly, view it on GitHub https://github.com/0x7c13/Notepads/issues/1064#issuecomment-1138248323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQPOQ2QKHFOUOXXW6QMF2TVL4RWNANCNFSM5RJXV4FA . You are receiving this because you commented.Message ID: @.***>

user95f85f avatar Jun 04 '22 22:06 user95f85f