Wox: wox 1.3 exception: Couldn't acquire lock, is another instance running

Created on 11 May 2016  ·  113Comments  ·  Source: Wox-launcher/Wox

how to report this bug

  1. delete %appdata%\wox and %localappdata%\wox
  2. download 1.3.29 https://ci.appveyor.com/project/happlebao/wox/build/1.3.29/artifacts
  3. close wox
  4. execute setup.exe
  5. after exception / error window has been shown, upload logs:

    1. %APPDATA%\Wox\Logs\1.3.29\log

    2. %LOCALAPPDATA%\SquirrelTemp\SquirrelSetup.log

    3. %APPDATA%\Wox\SquirrelSetup.log (if you can find this one)

      potential reason


  • [x] proxy (fixed
  • [x] wrong register key (not
  • [x] os 6.2.9200.0
  • [x] onactived called too often (fixed in 1.3.29
  • [ ] unknown....

    exception

wox version:1.3
os:win10
general:Couldn't acquire lock, is another instance running
exceptions:
exception type:System.Exception
source:Squirrel
stack trace:
在 Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\SquirrelUtility.cs:行号 737
在 Squirrel.UpdateManager.b__1e() 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\SquirrelUpdateManager.cs:行号 248
在 System.Threading.Tasks.Task1.InnerInvoke() 在 System.Threading.Tasks.Task.Execute() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext() 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\UpdateManager.cs:行号 56 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Squirrel.Utility.<LogIfThrows>d__501.MoveNext() 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\SquirrelUtility.cs:行号 533
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.EasyModeMixin.d__11.MoveNext() 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\Squirrel\IUpdateManager.cs:行号 169
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Wox.App.d__13.MoveNext() 位置 C:projectswox\Wox\App.xaml.cs:行号 79
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

bug

All 113 comments

Can't use chinese when in company

Thanks for report bug
please try Releases\Setup.exe from latest build https://ci.appveyor.com/project/happlebao/wox/build/1.3.16/artifacts
and then upload the whole log file from %APPDATA%\Wox\Logs

Thanks for report bug
please try Releases\Setup.exe from latest build https://ci.appveyor.com/project/happlebao/wox/build/1.3.18/artifacts
and then upload the whole log file from %APPDATA%\Wox\Logs

same here

@chris-peng
试下重启电脑然后再点 1.318 的 setup.exe。然后再传 log?

@ersintarhan download 1.3.18 mentioned above and upload the log.

2016-05-12.txt
This happened once today for the first time with 1.3.18

@frisco82 did wox crash or not?

I got the exception and the results are not appearing but the application does not close itself (what I could call a crash)

@frisco82 you mentioned in #611 there are no results appearing.
then how could you access settings to check updates?

I can open the search box with Alt+Spc but whatever I type in I get no results. Stil I can right click on the box to open settings.

@frisco82 could you try restart your computer? it seems there is another instance (wox) running.

There is only one Wox process running on my machine.
I will restart later on this is my job's computer and takes some time to be usable due to the network policies, ldap, etc.

@frisco82 ok, could you try to delete C:\Users\ramiro.aparicio.ext\AppData\Roaming\Wox\Settings\Plugins\Wox.Plugin.WebSearch\Images directory?

After deleting the folder it works without issues and return results.
I tried to restart and closing and opening it again without any problem.
Also I can confirm that disabling plugins works without duplicating them.

I got the lock exception when playing with the plugins but after closing the exception everything still works.
2016-05-12 (2).txt

Thanks for confirm. The squirrel updater is still problematic. And auto copy new data is problematic too.

@haltug tracking here.

@chris-peng @frisco82 @ersintarhan

  1. when you got this lock exception, your "internet options" has some kinds of proxy settings, right?
  2. what's your settings?
  3. will you get this exception when you can connect to github without proxy?

@haltug @chris-peng @frisco82 @ersintarhan
please try Releases\Setup.exe from latest build
this version will read system proxy settings if there is no proxy settings.
https://ci.appveyor.com/project/happlebao/wox/build/1.3.21/artifacts

please upload / copy your logs if you still have problems.

2016-05-14.txt
1.3.23同样的问题

2016-05-14.txt
1.3.23
Does not work .

碰到同样问题,
2016-05-14.log.txt

@jingouwangzi
@sadimahmuds
@lunxian

As I mentioned above, please try 1.3.21
https://ci.appveyor.com/project/happlebao/wox/build/1.3.21/artifacts

文件“C:Users\chris\AppData\Roaming\WoxSettings\Plugins\Wox.Plugin.WebSearch\Images\google.png”正由另一进程使用,因此该进程无法访问此文件

在 Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\SquirrelUtility.cs:行号 737
在 Squirrel.UpdateManager.b__1e() 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\SquirrelUpdateManager.cs:行号 248
在 System.Threading.Tasks.Task1.InnerInvoke() 在 System.Threading.Tasks.Task.Execute() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext() 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\UpdateManager.cs:行号 56 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Squirrel.Utility.<LogIfThrows>d__501.MoveNext() 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\SquirrelUtility.cs:行号 533
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.EasyModeMixin.d__11.MoveNext() 位置 c:Userspaulb\code\squirrel\squirrel.windows\src\Squirrel\IUpdateManager.cs:行号 169
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Wox.Core.Updater.d__0.MoveNext() 位置 C:projectswox\Wox.CoreUpdater.cs:行号 57
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

@chris-peng 删掉 exveption 说的那个图像文件

删掉之后还是有错。日志:
2016-05-14 18:45:59.0854|INFO|Wox.App.b__8_0|Preload 62 images from cache
2016-05-14 18:45:59.7261|INFO|Wox.Plugin.Program.Main.Init|Preload 250 programs from cache
2016-05-14 18:46:11.1333|FATAL|Wox.Helper.ErrorReporting.Report|

Exception

System.Exception: Couldn't acquire lock, is another instance running
   Source: Squirrel
   TargetAssembly: Squirrel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null
   TargetModule: Squirrel.dll
   TargetSite: Void .ctor(System.String, System.TimeSpan)
   在 Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\Utility.cs:行号 737
   在 Squirrel.UpdateManager.<acquireUpdateLock>b__1e() 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\UpdateManager.cs:行号 248
   在 System.Threading.Tasks.Task`1.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext() 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\UpdateManager.cs:行号 56
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext() 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\Utility.cs:行号 533
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Squirrel.EasyModeMixin.<UpdateApp>d__11.MoveNext() 位置 c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\IUpdateManager.cs:行号 169
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Wox.Core.Updater.<UpdateApp>d__0.MoveNext() 位置 C:\projects\wox\Wox.Core\Updater.cs:行号 57
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Environment

  • Command Line: "C:Users\chris\AppData\Local\Wox\app-1.3.21Wox.exe"
  • Timestamp: 2016-05-14T18:46:11.1253479+08:00
  • IntPtr Length: 8
  • System Version: Microsoft Windows NT 6.2.9200.0
  • CLR Version: 4.0.30319.42000
  • Installed .NET Framework:

    • v2.0.50727 2.0.50727.4927 SP2

    • v3.0 3.0.30729.4926 SP2

    • v3.5 3.5.30729.4926 SP1

    • v4 Client 4.6.01038

    • v4 Full 4.6.01038

    • v4.0 Client 4.0.0.0

Assemblies - Wox.exe

  • Wox, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21Wox.exe)
  • Exceptionless, Version=1.5.2121.0, Culture=neutral, PublicKeyToken=fc181f0a46f65747 (C:Users\chris\AppData\Local\Wox\app-1.3.21\Exceptionless.dll)
  • Wox.Infrastructure, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Wox.Infrastructure.dll)
  • Wox.Core, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Wox.Core.dll)
  • Wox.Plugin, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Wox.Plugin.dll)
  • NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c (C:Users\chris\AppData\Local\Wox\app-1.3.21\NLog.dll)
  • Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed (C:Users\chris\AppData\Local\Wox\app-1.3.21\Newtonsoft.Json.dll)
  • HelloWorldCSharp, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\HelloWorldCSharp\HelloWorldCSharp.dll)
  • Wox.Plugin.Caculator, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Caculator\Wox.Plugin.Caculator.dll)
  • YAMP, Version=1.4.0.22422, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Caculator\YAMP.dll)
  • Wox.Plugin.CMD, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.CMD\Wox.Plugin.CMD.dll)
  • WindowsInput, Version=1.0.4.0, Culture=neutral, PublicKeyToken=9b287f7dc5073cad (C:Users\chris\AppData\Local\Wox\app-1.3.21\WindowsInput.dll)
  • Wox.Plugin.Color, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Color\Wox.Plugin.Color.dll)
  • Wox.Plugin.ControlPanel, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.ControlPanel\Wox.Plugin.ControlPanel.dll)
  • Wox.Plugin.Everything, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Everything\Wox.Plugin.Everything.dll)
  • Wox.Plugin.Folder, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Folder\Wox.Plugin.Folder.dll)
  • Wox.Plugin.PluginIndicator, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.PluginIndicator\Wox.Plugin.PluginIndicator.dll)
  • Wox.Plugin.PluginManagement, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.PluginManagement\Wox.Plugin.PluginManagement.dll)
  • Wox.Plugin.Program, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Program\Wox.Plugin.Program.dll)
  • Wox.Plugin.Sys, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Sys\Wox.Plugin.Sys.dll)
  • Wox.Plugin.Url, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.Url\Wox.Plugin.Url.dll)
  • Wox.Plugin.WebSearch, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Plugins\Wox.Plugin.WebSearch\Wox.Plugin.WebSearch.dll)
  • NHotkey, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\NHotkey.dll)
  • NHotkey.Wpf, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\NHotkey.Wpf.dll)
  • Squirrel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Squirrel.dll)
  • Splat, Version=1.6.2.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Splat.dll)
  • Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null (dynamic assembly doesn't has location)
  • NuGet.Squirrel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\NuGet.Squirrel.dll)
  • Wox.CrashReporter, Version=1.3.21.0, Culture=neutral, PublicKeyToken=null (C:Users\chris\AppData\Local\Wox\app-1.3.21\Wox.CrashReporter.dll)
  • mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll)
  • PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll)
  • WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll)
  • System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll)
  • System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll)
  • PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll)
  • System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll)
  • System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll)
  • System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll)
  • System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll)
  • PresentationFramework.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.resources\v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35\PresentationFramework.resources.dll)
  • System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll)
  • System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll)
  • System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll)
  • System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll)
  • System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll)
  • System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll)
  • System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll)
  • PresentationCore.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationCore.resources\v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35\PresentationCore.resources.dll)
  • PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll)
  • mscorlib.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_zh-Hans_b77a5c561934e089\mscorlib.resources.dll)
  • PresentationFramework-SystemData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll)
  • PresentationFramework-SystemXmlLinq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXmlLinq.dll)
  • PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll)
  • System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll)
  • UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSILUIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35UIAutomationTypes.dll)
  • QTTabBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=78a0cde69b47ca25 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\QTTabBar\v4.0_1.0.0.0__78a0cde69b47ca25\QTTabBar.dll)
  • System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll)

@chris-peng
操作系统 internet options 那里有设置代理吗?
怎么设的?
只有这一次 exception 吗?还是每次呼出都有?

2016-05-14.txt
删掉所有wox文件,重新安装1.3.21还是同样问题

@jingouwangzi
操作系统 internet options 那里有设置代理吗?
怎么设的?
只有这一次 exception 吗?还是每次呼出都有?

代理设置的是自动检测,开的代理有shadowsocks和xxnet,但是都自己运行,没有全局代理。每一次呼出都有。

@jingouwangzi
把 xxnet 关了,全局代理那里设成 ss 的 127.0.0.1:port 试一下。

@happlebao 好像跟呼出没有什么关系,是启动之后一会出现的,之后还会不停的出现,没有设置代理。

@chris-peng 不开代理能直连 github 吗?

这会儿又很神奇的没了,确实是自己出现的,跟呼不呼出好像没关系,我再试试能不能重现

不是一呼出就马上出现的,要等一会儿,这是异步的,不会卡 ui。
现在问题是用的更新框架会把内部的 excption 丢弃,不开 debugger 根本不知道什么问题,只能猜……

It works now using 1.3.21. After deleting the images folder you mentioned above .

刚才把两个代理软件和wox都退出,然后打开wox,然后又打开两个代理软件,目前还没出现问题。

你们能直连 github 吗?最近国内解封了是不是?

可以,似乎一直都可以

One thing I should mention that, every now and then the crash report comes up back while searching.

Mainly when leaving the focus of the search bar in the middle of searching something.

@sadimahmuds

  1. when you got this lock exception, your "internet options" has some kinds of proxy settings, right?
  2. what's your settings?
  3. will you get this exception when you can connect to github without proxy?
  4. upload your log

It might have some proxy level settings as i am connected via a router. The IP is not real at least.

Yeah, i have tried using wox after disabling my connection , problem does not occur in that case.

2016-05-14 (2).txt

@sadimahmuds
just paste your settings from "Internet Options" to here.
image

capture

ok, it's still a proxy issue.
I will test wox with pac and auto detect proxy

looking forward to that :)

@sadimahmuds when you use auto detect proxy settings in "internet options", did you disable proxy settings in wox like this?
image

@chris-peng 贴下面两张图上来

Not helped for me, time to time shows this exception.
By the way, is not that IE proxy settings? The windows doesn't have any proxy settings such as.

image
image

my proxy settings , with same error!

@happlebao
qq 20160515173439

@roose
yeah, it's ie proxy settings, also called system proxy settings.
please upload your log and two proxy settings screenshot as shown above.

@lunxian 你试了 1.3.21 对吧?

我已经更新到了 1.3.26

https://ci.appveyor.com/project/happlebao/wox/build/1.3.27/artifacts
@sadimahmuds @roose

  • try 1.3.27, it should has more verbose exception logs, execute setup.exe then upload your %APPDATA%\Wox\Logs\1.3.27\log to here.
  • try search SquirrelSetup.log in wox, could you find it within %LOCALAPPDATA% directory? if so, upload it to here.
    @chris-peng @lunxian
  • 试一下 1.3.27, 这版本有更详细的异常捕获, 执行 setup.exe 然后传%APPDATA%\Wox\Logs\1.3.27\log 上来
  • 试下在 wox 中搜索 SquirrelSetup.log, 如果你能在 %LOCALAPPDATA% 下找到,传上来。

but errors on russian language )
2016-05-16.txt

@roose that's fine, we got google. https://github.com/Squirrel/Squirrel.Windows/issues/692

@roose try search SquirrelSetup.log in wox, could you find it within %LOCALAPPDATA% directory? if so, upload it to here.

@lunxian 试下在 wox 中搜索 SquirrelSetup.log, 如果你能在 %LOCALAPPDATA% 下找到,传上来。

同样的问题,不过我是下载之后直接安装了,没有删除之前的zip版本。。
在我把appdata和localappdata里的wox都删除之后,再重新安装就ok了

@iEverX 原理上应该是没有冲突的。。。

@happlebao in %LOCALAPPDATA%\Wox no any log files.
oh, it in %LOCALAPPDATA%\SquirrelTemp :smile:
SquirrelSetup.txt

@roose

  • try search C:\Users\User\AppData\Local\wox\Wox.exe or Wox.exe in regedit or registry-workshop.
  • tell me the whole path / key
  • try to delete it.

@lunxian
这是 1.3.26 的。看能不能找到 1.3.27 的?
或者删掉,重装,再传 log ?

SquirrelSetup.log.txt

1.3.27的来了

@lunxian 什么都没有这不科学啊…
你现在还是弹这个 exception 吧?
对应 wox log 呢?

@happlebao in squirell log i see C:UsersUser\AppData\LocalwoxWox.exe but real wox path is C:UsersUser\AppData\Local\Woxapp-1.3.27Wox.exe, maybe because of this?
regedit found only MuiCache and file association entries

@roose probably, not sure, I think this is a squirell bug, I just called their update() method.
which path did you found in regedit ? C:\Users\User\AppData\Local\wox\Wox.exe or C:\Users\User\AppData\Local\Wox\app-1.3.27\Wox.exe

@happlebao
wox.regedit.txt
by the way, autorun don't work, because autorun value not Wox.exe, it's a Wox folder app-1.3.27

@roose
delete following

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers, C:\Users\User\AppData\Local\wox\Wox.exe, ~ WIN8RTM

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store, C:\Users\User\AppData\Local\wox\Wox.exe

what do you mean by autorun? auto startup after login to windows?

2016-05-16.log.txt
2016-05-17.log.txt

看log还是sequirrel的异常

@happlebao
start wox on system startup, it's app-1.3.27 folder, not app-1.3.27wox.exe
SquirrelSetup.log.txt
2016-05-17.log.txt

@roose your exception seems resolved?
ps: you imagecache seems corrupt.

  • [ ] auto startup should be a separate issue I think...

@lunxian
delete following or similar wox entries

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers, C:\Users\User\AppData\Local\wox\Wox.exe, ~ WIN8RTM

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store, C:\Users\User\AppData\Local\wox\Wox.exe

@happlebao 我也遇到相同的问题,而且这里有VS2015 可以帮你调试下,你告诉我大概需要关注的地方

@zlphoenix 现在不用了,我找到怎么 log 所有 exception 的方法了。

  1. 删掉 %appdata%wox 和 %localappdata%wox
  2. 下上面的 1.3.27
  3. 运行 setup.exe
  4. 异常出来之后把 %APPDATA%\Wox\Logs\1.3.27\log 和 %LOCALAPPDATA%\SquirrelTemp\squirreltemp 上传上来

已知可能性有

  1. 代理(已修复
  2. 错误的注册表 key (正在调查…
  3. 未知…

OK 需要话请联系我

我这里文件上传老出错,日志发到你邮箱里了。

2016-05-17.txt
SquirrelSetup.txt

@happlebao
删除注册表项后还是出现了

@chris-peng @sadimahmuds
did you guys tried 1.3.27?
it seems resolve your problems now?

@happlebao
just now:

   в Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) в c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\Utility.cs:строка 737
   в Squirrel.UpdateManager.<acquireUpdateLock>b__1e() в c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\UpdateManager.cs:строка 248
   в System.Threading.Tasks.Task`1.InnerInvoke()
   в System.Threading.Tasks.Task.Execute()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   в Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext() в c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\UpdateManager.cs:строка 56
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   в Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext() в c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\Utility.cs:строка 533
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   в Squirrel.EasyModeMixin.<UpdateApp>d__11.MoveNext() в c:\Users\paulb\code\squirrel\squirrel.windows\src\Squirrel\IUpdateManager.cs:строка 169
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   в Wox.Core.Updater.<UpdateApp>d__0.MoveNext() в C:\projects\wox\Wox.Core\Updater.cs:строка 57
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

I need to delete ImageCache.dat manually?
Ok I create a new issue about wox autorun

@roose will this exception happen on every activation (alt+space) or when you activated too fast or just init startup now?
yeah, delete it. although it is not relevant to this issue...

@happlebao time to time when I make some query, shows exception, after exception wox ~3 minute doesn't react and finally silently closes(if I press "Send report" button)

@roose so no exception on initial startup?

@happlebao on initial startup too shows exception, I tested now

@happlebao
1.3.27安装后第一次启动后没有问题,退出重新启动之后还是异常。
2016-05-18.log.txt
SquirrelSetup.log.txt

No issues any more since update to v1.3.27.
Some bugs such as replacing the icon in the web search plugin exists still

https://ci.appveyor.com/project/happlebao/wox/build/1.3.29/artifacts

logs:

  1. %APPDATA%\Wox\Logs\1.3.29\log
  2. %LOCALAPPDATA%\SquirrelTemp\SquirrelSetup.log
  3. %APPDATA%\Wox\SquirrelSetup.log (if you can find this one)

@roose @sadimahmuds
try the new version,

  1. pay attention after startup,
  2. click Check Updates in Settings -> About
    upload logs if still have this exception

@chris-peng @lunxian @zlphoenix
试一下新版本

  1. 留意一下启动的时候
  2. 设置 -> 关于 中点 Check Updates
    还是有这个 exception 的话再上传一次 log

2016-05-18.log.txt
SquirrelSetup.log.txt

shows exception on start
hmm, and wox don't work, infinite loading bar

@roose
your exception seems not the squirrel exception, right?
delete this directory
C:\Users\User\AppData\Roaming\Wox\Settings\Plugins\Wox.Plugin.WebSearch\Images

=) sorry my local time now is 4:14 morning, I didn't look in exception
after deleting web_search.png no exceptions

that's too late, so you suppose a student?
that's great! I hope this build can fix problems for all peoples...
have a good night :smile:

=) no, I like work in night time
thanks for fixing this bug )

@happlebao 按照上面的方法安装1.3.29之后没问题了,感谢修复这个问题

@lunxian @zlphoenix
还有问题吗?

验证了一下, 现在没有发现问题了

@lunxian @chris-peng
发了新版本了,能自动更新成功吗?
@roose
the new release is out, could you auto updates successfully?

@happlebao hmm, I see app-1.3.30 in %LOCALAPPDATA%\Wox, but in About shows 1.3.29

@roose

  1. did you restart wox?
  2. could you upload this image?
    image

in app-1.3.30
wox about
yes I restarted Wox with Restart Wox

oh, one sec, screenshot from folder ) if I look file properties from task manager it show 1.3.29
my mistake, it is clear that Restart Wox restarts current Wox instance =) @happlebao How i can restart Wox with new version?

no, I need you checking running instance,
right click wox.exe in task manager, select property.
check location and details

wox about
current running Wox
location AppData\Local\Wox\app-1.3.29

@roose in the general (the first one) tab, there is a field called location

I press Check new version button and restarted Wox, now 1.3.30, but again exception about web_search.png
Automatically don't restarts to new version

@roose thanks. I will ignore the file copying exception in #628.
temp fix: delete that file.

image

启动以后更新到了 1.3.30. 在更新过程中出错了, 如上图。 log如下

2016-05-19.log.txt

我猜你点太快。。
关掉,重开?
另你这 log 没有上面那个 exception 啊。。

1.3.30正常,1.3.36又出这个问题了

@jingouwangzi 版本不是越新越好。。。 1.3.36 是 pr 的代码。。。

@happlebao

Sorry , I was away for a few days .
Just tried out the latest version , working without any problem so far . :)
Great . A much needed application it is . Thanks

I will notify if further error occurs .

Was this page helpful?
0 / 5 - 0 ratings