Welcome, Guest
Submit ComicRack bugs to get them squashed

TOPIC: Errors in Win 7 64

Errors in Win 7 64 4 years 1 month ago #36518

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Happens when using Pages view:

Here is a full set of logs:

.NET Runtime Error

Application: ComicRack.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at cYo.Common.Drawing.ImageProcessing+<>c__DisplayClass4e.<ResizeFast>b__45(Int32)
at System.Threading.Tasks.Parallel+<>c__DisplayClassf`1System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(System.Threading.Tasks.Task)
at System.Threading.Tasks.Task+<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(System.Object)
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Application Error

Faulting application name: ComicRack.exe, version: 0.0.0.0, time stamp: 0x52128bd4
Faulting module name: cYo.Common.ni.dll, version: 1.0.4979.40176, time stamp: 0x52128bd0
Exception code: 0xc0000005
Fault offset: 0x00000000001976cb
Faulting process id: 0x1020
Faulting application start time: 0x01cea520110e9521
Faulting application path: C:\Program Files\ComicRack\ComicRack.exe
Faulting module path: C:\Windows\assembly\NativeImages_v4.0.30319_64\cYo.Common\1b6f15692acbfe9e9e22889d1c94096c\cYo.Common.ni.dll
Report Id: 414ca77c-111c-11e3-8490-00248c2ff5e3

Windows Error Reporting

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: comicrack.exe
P2: 0.0.0.0
P3: 52128bd4
P4: cYo.Common
P5: 1.0.4979.40176
P6: 52128bd0
P7: c99
P8: 119
P9: System.AccessViolationException
P10:

Attached files:

These files may be available here:

----
File in safe keeping if needed.
----

Analysis symbol:
Rechecking for solution: 0
Report Id: 414ca77c-111c-11e3-8490-00248c2ff5e3
Report Status: 0
Last Edit: 4 years 1 month ago by jkthemac.
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36519

  • forkicks
  • forkicks's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 869
  • Thank you received: 108
  • Karma: 37
Can you replicate this at will?

Could you try with hardware acceleration disabled under preferences?

And with
EnableParallelQueries = false
QueryCacheMode = Disabled
DisableBackgroundQueryCacheUpdate = true

in your comicrack.ini?

fK
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36523

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Yes, first thing I tried was turning off HW acceleration, makes no odds.

Will try the ini settings.

It's intermittent but if I am going through cbz files clearing out superfluous pages or marking the page types this is a pretty consistent error, my log has 4 or 5 of the errors every time I do that kind of work.

I used to assume it was because my files were on NAS but I recently put them on my new internal HDD and it is still happening.

Will try the ini settings.

It may be coincidence but I think it happens a little less when I increase my cache sizes etc. which may suggest a memory leak.
Last Edit: 4 years 1 month ago by jkthemac.
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36524

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Do you know if there is a way of turning off the background comic image in the bottom left in pages view?

There is a noticeable glitch whenever it pauses to display that. It draws some of the pages, pauses and then the pages blink out and back while the background image is rendered. Once this is loaded work on the comics in that stack seems safer so it may be related.


Edit
Actually been looking more closely and the glitch isn't related to the background image, but it does occur on some comics and not others.
Last Edit: 4 years 1 month ago by jkthemac.
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36526

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Been trying to make it crash in last half hour, rapidly switching to next book in list and selecting pages tab, then once loaded switching to next.

Can do this for a great many files before it crashes, easily exceeding the cache size, even with cache sizes reduced, but the thing that makes it crash most frequently (1-3 comics) is if I am using windows to copy files from one directory to another in the background.

My experiment involved copying 200 files from one directory to another within a partition that does not contain my database, but is on the same volume.

This causes my paging exercise to crash before the copy process is complete every time.

Suggests some kind of file handling problem.

This is probably not a coincidence. Most often when I am tidying my comic files within ComicRack I am also multi tasking with moving files around. Or ComicRack is updating files in the background.
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36527

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Next tried the suggested ini settings - only difference is CR runs much slower, it still crashes before the files are copied.

This is the stack from that run its quite extensive:

at cYo.Common.Drawing.ImageProcessing+<>c__DisplayClass4e.<ResizeFast>b__45(Int32)
at System.Threading.Tasks.Parallel+<>c__DisplayClassf`1System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(System.Threading.Tasks.Task)
at System.Threading.Tasks.Task+<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(System.Object)
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean, System.Object)
at System.Threading.Tasks.Task.InternalRunSynchronously(System.Threading.Tasks.TaskScheduler)
at System.Threading.Tasks.Parallel.ForWorkerSystem.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089(Int32, Int32, System.Threading.Tasks.ParallelOptions, System.Action`1<Int32>, System.Action`2<Int32,System.Threading.Tasks.ParallelLoopState>, System.Func`4<Int32,System.Threading.Tasks.ParallelLoopState,System.__Canon,System.__Canon>, System.Func`1<System.__Canon>, System.Action`1<System.__Canon>)
at System.Threading.Tasks.Parallel.For(Int32, Int32, System.Action`1<Int32>)
at cYo.Common.Drawing.ImageProcessing.ResizeFast(System.Drawing.Bitmap, Int32, Int32, System.Drawing.Imaging.PixelFormat, cYo.Common.Drawing.ResizeFastInterpolation)
at cYo.Common.Drawing.BitmapExtensions.Resize(System.Drawing.Bitmap, System.Drawing.Size, cYo.Common.Drawing.BitmapResampling, System.Drawing.Imaging.PixelFormat)
at cYo.Common.Drawing.BitmapExtensions.Scale(System.Drawing.Bitmap, System.Drawing.Size, cYo.Common.Drawing.BitmapResampling, System.Drawing.Imaging.PixelFormat)
at cYo.Projects.ComicRack.Engine.IO.ThumbnailImage.CreateFrom(System.Drawing.Bitmap, System.Drawing.Size, Boolean)
at cYo.Projects.ComicRack.Engine.IO.Cache.ImagePool+<>c__DisplayClass13.<GetThumbnail>b__11(cYo.Projects.ComicRack.Engine.IO.ImageKey)
at cYo.Projects.ComicRack.Engine.IO.Cache.ImageManagerBase`1+<>c__DisplayClass8System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.<AddImage>b__7(cYo.Projects.ComicRack.Engine.IO.ImageKey)
at cYo.Common.Collections.Cache`2System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.LockItem(System.__Canon, System.Func`2<System.__Canon,System.__Canon>, Boolean)
at cYo.Projects.ComicRack.Engine.IO.Cache.ImagePool.GetThumbnail(cYo.Projects.ComicRack.Engine.IO.ThumbnailKey, cYo.Projects.ComicRack.Engine.IO.Provider.IImageProvider, Boolean)
at cYo.Projects.ComicRack.Engine.IO.Cache.ImagePool.GetThumbnail(cYo.Projects.ComicRack.Engine.IO.ThumbnailKey, cYo.Projects.ComicRack.Engine.IO.Provider.IImageProvider, cYo.Projects.ComicRack.Engine.ComicBook)
at cYo.Projects.ComicRack.Viewer.Controls.PageViewItem.CreateThumbnail(cYo.Projects.ComicRack.Engine.IO.ThumbnailKey)
at cYo.Projects.ComicRack.Viewer.Controls.ThumbnailViewItem.MakePageThumbnail(cYo.Projects.ComicRack.Engine.IO.ThumbnailKey, Boolean)
at cYo.Projects.ComicRack.Viewer.Controls.ThumbnailViewItem+<>c__DisplayClass1.<GetThumbnail>b__0(System.IAsyncResult)
at cYo.Common.Threading.ProcessingQueue`1+QueueItemSystem.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.ProcessCallbacks()
at cYo.Common.Threading.ProcessingQueue`1System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.ProcessThread(ProcessData<System.__Canon>)
at cYo.Common.Threading.ThreadUtility+<>c__DisplayClass2.<CreateWorkerThread>b__1()
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Last Edit: 4 years 1 month ago by jkthemac.
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36529

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Have been right through event viewer, and every time it crashes the top of the stck contains:

at cYo.Common.Drawing.ImageProcessing+<>c__DisplayClass4e.<ResizeFast>b__45(Int32)
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36736

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Further to this, today after changing a couple of hundred entries I set CR to update the files and from that point on I could hardly do anything else without crashing had over 15 crashes in the last 4 hours.. It certainly seems like an I/O related issue. But the crashes are the same error so it is presumably a clash between I/O operatations and drawing routines.

This program just isn't stable on win 7 64.

I have tried various video drivers / cache settings / administrator privileges / library locations / graphics acceleration settings; without any noticable change.

Also bear in mind my windows install is less than a month old and my error logs have no other issues at all, so this is unlikely to be a system config problem.
The administrator has disabled public write access.

Re: Errors in Win 7 64 4 years 1 month ago #36739

  • mal
  • mal's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
  • Karma: -1
Sorry to see you have issues, but glad you're investigating it, as I am having the same issues. It definitely seems to be an I/O problem. I have had the same crashing issues on the win 7 64bit version for about the last 6 or 7 versions of comicrack. I can easily reproduce the error (open a comic, close, open another and maybe change something, save and close, scroll down a few comics, and open another, and crash)If I wait after scrolling for a minute or 2 I can sometimes avoid the crash. I have 16 gigs of memory, so that's not the issue, and this is the second pc (one laptop, and One desktop) that I have tried, and I have the same issue. I hope you find a fix. I love the program, but it has gotten so buggy, it is hard to use.
The administrator has disabled public write access.
Time to create page: 0.202 seconds

Who's Online

We have 197 guests and 5 members online