Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 07-22-2015, 04:16 PM   #181
NSILMike
Guru
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
Quote:
Originally Posted by cybmole View Post
All is in Default locations. Early in the thread are reports that task manager also freezes if used to investigate this. I rarely reboot but will try to remember to try it though. It is a rare event, will need multiple users comparing notes to solve, I suspect
Even when started prior to Calibre? Task manager itself runs with very high priority, but it may not be able to start if the system is frozen.
Event Viewer may also provide a clue...

Last edited by NSILMike; 07-22-2015 at 04:21 PM.
NSILMike is offline   Reply With Quote
Old 07-22-2015, 04:59 PM   #182
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
DMA gone bad? If the DMA transfer block fails, it must timeout. This can happen with a failing Disk. Does modern Graphics use DMA?
theducks is offline   Reply With Quote
Old 07-22-2015, 05:23 PM   #183
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
Quote:
Originally Posted by cybmole View Post
i dont think this problem is fully solved yet.
yes we have collectively whittled down the freeze from minutes to seconds, but I still see an oaccasional total freeze i.e. cannot move mouse, when calibre in launching for the first time after a reboot.

No other program freezes my controls like that and in my case it is for 5 -10 secs when it happens.
Possibly it is because my wireless mouse uses the logitech unifying receiver which is a USB device, so if calibre is scanning that for some weird reason, in case it might have morphed into an e-reader... ?

is anyone else experiencing occasional short freezes, despite all the "fixes" in this thread ?
Calibre locks up my entire system for about 45 seconds, and I don't have a wireless mouse. I don't remember (I'm at work) how many of the fixes above I've tried, other than I know I haven't cleared out the Windows Update/hotfix folder(s).

Calibre didn't always do this. It started up when I upgraded....but I couldn't tell you if it was 6 months ago or when it started. I found it annoying, but I figured Kovid would just tut-tut about what a PITA Microsoft was, so I never asked about it here.
FizzyWater is offline   Reply With Quote
Old 07-22-2015, 05:34 PM   #184
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by cybmole View Post
All [data] is in Default locations.
@cybmole - try moving them all elsewhere via the environment variables, as in

Click image for larger version

Name:	Capture.JPG
Views:	259
Size:	18.2 KB
ID:	140466

I don't have the problem, but I don't pretend that's because I relocated config, temp and cache, but... you'll never ever know if you never have a go

I've never excluded anything from MSE+Malwarebytes, Indexing etc. Libraries are on a compressed, indexed, drive. I see the indexer kick in but it runs at lowest possible priority so there's no impact.

@theducks - re DMA, but why only calibre - QT, then why not Sigil?

BR
BetterRed is offline   Reply With Quote
Old 07-22-2015, 05:45 PM   #185
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by FizzyWater View Post
- other than I know I haven't cleared out the Windows Update/hotfix folder(s).
@FizzyWater & cybmole - have you declined and hidden any MS updates in WU?

BR
BetterRed is offline   Reply With Quote
Old 07-22-2015, 05:48 PM   #186
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
Quote:
Originally Posted by BetterRed View Post
@FizzyWater & cybmole - have you declined and hidden any MS updates in WU?

BR
Not before this started. I think I recently declined/hid the update that wants to advertise Windows 10 to me.
FizzyWater is offline   Reply With Quote
Old 07-23-2015, 01:04 AM   #187
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
no declined updates.

i think , attempting a summary of the thread, that all of these are eliminated:
usb devices, usb port scans, networked drives, DLLs, AV interference... and I'm pretty sure we can add folder locations to that list.

some initial interaction between python and windows seems prime suspect still, partially fixed via the windows update cleanups...
re-reading the entire thread, it seems that several respected contributors have said, " I also see that , occasionally", which suggests program code , not PEBCAK

also that it has been around for a long time, at an almost annoying enough to need it fixed, but not quite, level.

e.g. I think I only get it after a cold start, which is rare, and knowing that its can happen there I tent to launch calibre before it's needed ,& just walk away until any freeze is over.
so yesterday it was because I'd shut down to swap out a case fan, not something I need to do daily!

because it's rare, I'd like to see to see a togglable progress log/debug option added to calibre, so that it reports OK so far to screen or to a timestamped log file at each step of launch, in order to help determine exactly where it stalls.
cybmole is offline   Reply With Quote
Old 07-23-2015, 01:16 AM   #188
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
revisiting the attempt at a summary

i think all reports in this thread are windows installs, maybe even all cases are Windows 7.
if no-one posts rebuttal to that, we could assume it is a specific-to-Windows 7 issue which may help us focus.
I don't know if we can narrow it down further to 64 bit windows ?

anyone who has posted on this in the past please chip in with confirmations or rebuttals.
cybmole is offline   Reply With Quote
Old 07-23-2015, 01:49 AM   #189
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
In order to use such an option, one would have to select to do so, yes? Unless you suggest this be the default for everyone???

The solution is simple. calibre comes with a debug option. Use it ahead of time.


I use linux, and have never seen this problem, but as a general rule I always start in debug mode. I've proxied it, using the following bash script:

Code:
[eschwartz@arch ~]$ cat ~/bin/calibre
#!/bin/bash

if [ $# -eq 0 ] || [[ "$1" = "--detach" ]]; then
    echo -e "\n\n\nStarting calibre at $(date).\n\n\n" >> /tmp/calibre-debug-$USER.log 2>&1
    calibre-debug -g 2>&1 | tee -a /tmp/calibre-debug-$USER.log 
else
    /usr/bin/calibre $@
fi

Note: Only certain types of errors will appear, and the ones we might be looking for are vanishingly unlikely to be ammong them. Far more useful would be attaching a *proper* debugger to calibre, which might give better insight into how it interacts with other software/the Windows environment.



...
Hmm, seems you already suggested this. see post #124.

Last edited by eschwartz; 07-23-2015 at 03:07 AM.
eschwartz is offline   Reply With Quote
Old 07-23-2015, 02:58 AM   #190
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
Really strange is the Inital launch aspect. Something has to wake up, then persists wethere C is running or not.

Cloud?
Do people with the problem use a cloud service - I can't see anything in the thread that eliminates this suggestion from theducks

I run Onedrive, but it rarely has anything in it.

BR
BetterRed is offline   Reply With Quote
Old 07-23-2015, 03:15 AM   #191
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
i am not using cloud services for any live library

here is my (today) closely observed cold start ( after reboot)

I set up task manager as suggested

I manually launch calibre by a single click on task bar icon...

for a few seconds it appears all ok, I still have mouse control, I can hear some disc activity....
then mouse freezes, task manager display also freezes ( confirming a previous report from the OP).. I try the windows key on my basic wired keyboard, that is also frozen.
everything stays like this for maybe 15 seconds then normal service is resumed and the calibre window makes it's first appearance. at that time the windows start menu also finally appears in response to me pressing the windows key on my keyboard during the freeze. calibre.exe does not show up in task manager until the freeze is over.

all of that is in line with numerous other reports.

If I look at the usage history graph in task manager there are no 100% cpu spikes, nothing above 50% on either core, unless I waited too long before checking this & the freeze time has scrolled off stage left. I will repeat that latter check sometime soon, I will also try to remember to have open hardware monitor running with min / max reset as that will tell me max CPU use, OHM currently shows max of 100% but that could be from ages before the reboot

calibre will now open & close with no issues until another reboot


so where do we go from here ?

PS I recently cured a slow start 1st time after reboot issue with VLC player, so calibre is next on my to-do list.
The VLC issue, after months of intermittent failed attempts turned out to be old carp in the qt-interface-ini folder which I'd been preserving across many program updates, to save having to redo controls layout. i.e. after every install on a new PC I'd added that file to app data from a backup. so all my PCs showed the same slow start symptom. once I wiped and rebuilt that file all was good, and I saw that the new build .ini file was much simpler. a lot of goobledygook that I did not understand had gone away, and so had the slow start issue.
I strongly doubt this will work for calibre though as I am sure, early in the thread, all of the clean install, no plugins etc ideas were tested, along with all the disabling AV.

Last edited by cybmole; 07-23-2015 at 03:22 AM.
cybmole is offline   Reply With Quote
Old 07-23-2015, 03:30 AM   #192
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I am not sure why all of this is being raised again. Perhaps a summary of what I think we learned back in posts 130-170, ignoring the bonjour bits, is in order.

At some point after a boot Windows will verify that its program files are consistent with what should be there, where "should" is determined by the windows update files. As far as I can tell, almost any program can trigger this check. Once it is triggered it runs to completion. Windows is doing this check for security reasons. It is trying to detect if some malware has made it onto the system since the last boot. If it detects inconsistencies it (I think) replaces the broken program file with a correct copy. The time it takes is proportional to the number of updates stored on the computer. Reducing that number to the minimum using the disk cleaner and a reboot is the best one can do.

Calibre has the bad luck of being a trigger. As far as I can tell, there is zero that calibre can do about it.

On my system some other program triggers the scan during the boot cycle. I am not sure which one, but by the time my system has stabilized after a boot (multiple minutes) the scan has been done.
chaley is offline   Reply With Quote
Old 07-23-2015, 03:35 AM   #193
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
On my system, though, chaley, it is only Calibre which does this, and it doesn't matter if it's 5 minutes or 5 hours after booting Windows; there will always be a freeze when Calibre first runs. Personally I suspect it's related to Qt library initialisation.
HarryT is offline   Reply With Quote
Old 07-23-2015, 03:40 AM   #194
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Chaney, also I can at anytime manually start a windows system file check.doing so does not freeze my controls.
So it is being raised again because the root cause of only calibre doing this is still not found or fixed I don't accept that nothing can be done about it, if we collectively pool findings
cybmole is offline   Reply With Quote
Old 07-23-2015, 03:42 AM   #195
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@cybmole - have we checked the list of services running before and after the initial slow start.

As theducks said

Quote:
Something has to wake up, then persists whether Calibre is running or not
BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to allow calibre scan my entire device? drmadhupk Calibre 13 08-11-2014 12:56 AM
Calibre locks up since last update MikeFortkamp Devices 6 03-15-2014 11:27 PM
Calibre Locks up Laptop during news D/L yocalif Devices 5 03-25-2011 12:16 AM
Please Help - My Entire Calibre Library Disappeared Marcy Calibre 17 08-14-2010 09:56 AM
Did Calibre really just delete my entire collection?! GavinZac Calibre 12 02-06-2009 10:23 PM


All times are GMT -4. The time now is 05:16 PM.


MobileRead.com is a privately owned, operated and funded community.