What does Logos do when it hangs?

Timothy Ha
Timothy Ha Member Posts: 431 ✭✭

I am very fond of Logos 4 but sometimes it just hangs.

For instance, I can't edit even my first note in Owen's Hebrew commentary - the first time I am doing notetaking in Logos4.

It hangs after I enter a word, then when it comes alive, and I type a word, it hangs again and so on. I cannot finish the note.

The memory consumation is low (about 70 Mb for Logos4).  I am working on a Tablet PC (Asus EeePC T101 with 2 Gb of RAM).  Mozilla working at the same time, but it doesn't hang when Logos4 hangs.

Here is a screenshot - only the circle cursor (Windows 7 hourglass) is not visible - and Logos4 is hanging...

image

Please help me diagnose and resolve the problem.  I am working under latest beta, updated from beta channel.

Thanks.

JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

Comments

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    Timothy, could you run with Diagnostic Logging enabled and do a sesssion of this attempt at notetaking where Logos hangs periodically, then close down Logos and post the Logos4.log file here? That will show timings of internal commands and will help the Logos developers to diagnose why things are taking so long between keystrokes.

  • BillS
    BillS Member Posts: 3,805 ✭✭✭


    Timothy, could you run with Diagnostic Logging enabled and do a sesssion of this attempt at notetaking where Logos hangs periodically, then close down Logos and post the Logos4.log file here? That will show timings of internal commands and will help the Logos developers to diagnose why things are taking so long between keystrokes.


    In addition, since you're running beta, I'd suggest moving this whole discussion to the Beta Forum, to ensure you're getting the attention you should. We're with you in being eager for performance enhancements/enrichments/solutions. [:)]

    Grace & Peace,
    Bill


    MSI GF63 8RD, I-7 8850H, 32GB RAM, 1TB SSD, 2TB HDD, NVIDIA GTX 1050Max
    iPhone 12 Pro Max 512Gb
    iPad 9th Gen iOS 15.6, 256GB

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    Thanks, Rosie and Bill.

    I have turned on Logging now (by pressing Ctrl).  With just only one resource loaded - namely Owen, where I was taking notes - I have the Note taking window hanging.

    From the logs I see that Note syncing is too frequent.  Perhaps, the event to sync notes could be changing focuses in windows, not at typing words. 

    I am working from Russia, not America.  My Internet connection is very fast, but it's still not enough to sync very well with an U.S. server.

    Here are the log files: 1513.Logos4.zip

    Can the moderators move this thread to Beta section of the forum?

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    Update:  I have checked the Program settings and I have Updates turned off and Use Internet turned off.

    But it seems that in Debug mode the Internet is still active.  And with that, it still hangs.

    Please look at time stamps since 2010-09-11 09:52

    4628.Logos4.zip

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    MVPs don't have access to move threads, but I'll ask David Ladiges to move it for you.

    Yes, Note syncing is too frequent here too, but I guess we don't have as long a delay connecting to the Logos server. You can run with "Use Internet" set to No (in Tools > Program Settings, under "General") at times when you're going to be doing heavy Note editing, and that will prevent the sync from happening.

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    Yes, I have Internet turned off, it seems (please see my new note).  But the program hangs both in on and off mode of Internet.

    Perhaps, the note taking feature doesn't care about Internet access status, therefore it tries to connect anyway, which makes it hang.

    Thanks for sharing in this problem, Rosie.

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    Yes, I have Internet turned off, it seems (please see my new note).  But the program hangs both in on and off mode of Internet.

    Perhaps, the note taking feature doesn't care about Internet access status, therefore it tries to connect anyway, which makes it hang.

    Thanks for sharing in this problem, Rosie.

     

    I looked in your log file. I see where it is "Checking 'Use Internet' setting" near startup, but it doesn't report back what it found that setting to be. Then I see where it is calling the SyncManager several times, and reporting SUCCESS, even for things other than Notes, for example: "SUCCESS - { Preferences, pref:ResourceViewPreferences/Resource, , False }." So it is actually syncing. If "Use Internet" is off, then it shouldn't be.

    How about if you run with Logos completely Offline -- that is, hold down the Ctrl key when you're starting Logos, and when you get to the login screen, instead of clicking "Sign in," click "Work Offline."

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    How about if you run with Logos completely Offline -- that is, hold down the Ctrl key when you're starting Logos, and when you get to the login screen, instead of clicking "Sign in," click "Work Offline."

    Thanks.  I've done like this, but it still hangs desperately even in Offline mode.  Perhaps there is some problem with the graphic rendering subsystem.  Logos hangs at focusing on some element, but perhaps Windows 7 (I have Home Edition with Aero) cannot provide it.  The program freezes for about a minute (sometimes more) at each such operation!

    If I am not in Notes window, everything seems to be OK (regular speed).

    New logs are here:

    72720.Logos4.zip

    2010-09-11 10:57:53.3741    1    Info    AppCommand    (1941ms) Executing command: Note|NoteDocumentId=Document:Notes:df9608bfdb8e4ab7a1dc37164de3e4aa|SelectedNoteId=1
    2010-09-11 10:57:53.7321    1    Info    ElementUtility    Couldn't find default focus; focus set to first focusable item.
    2010-09-11 11:01:43.2742    1    Warn    TypedValueConverter    Unexpected value type 'String'; expected type was 'Double'
    2010-09-11 11:01:45.5303    1    Info    PanelViewModel    Got panel settings for Preferences: Contents=true|Locator=true|Milestone=DataType%3dbible%7cResource%3dLLS:WORKSOWEN20%7...=bible.79.1.1-79.1.2|ReverseInterlinear=false
    2010-09-11 11:02:55.8954    1    Info    MainWindow    MainWindow activated.
    2010-09-11 11:02:58.6245    1    Info    MainWindow    MainWindow activated.
    2010-09-11 11:03:07.3070    1    Info    PanelViewModel    Got panel settings for Preferences: Contents=true|Locator=true|Milestone=DataType%3dbible%7cResource%3dLLS:WORKSOWEN20%7c.......

    It took five minutes this time to unfreeze.  I closed the Notes window later (closing was fast) and it's OK again (at regular speed).

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    Are you always working in the same notes file? Does it happen in other notes files? What happens if you create a brand new one and play around with that? I don't expect you to spend a lot more time messing with this. Having to wait 5 minutes for it to unfreeze so you can capture a log is not fun. I'm going to leave off here and let the developers take a look at it Monday morning, since I really have no idea what is going on when it's hung.

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    Are you always working in the same notes file? Does it happen in other notes files? What happens if you create a brand new one and play around with that? I don't expect you to spend a lot more time messing with this. Having to wait 5 minutes for it to unfreeze so you can capture a log is not fun. I'm going to leave off here and let the developers take a look at it Monday morning, since I really have no idea what is going on when it's hung.

    Yes, it is a brand new one.  My first one ever in Logos 4 :-)  And that was just one line of note.  The first one.

    Thank you, Rosie, for helping!

    I hope developers will know from the code, what happens with focusing in Notes window.  

     

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    It's a long shot, but do you get the same problem if you're not typing in Cyrillic script?

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    It's a long shot, but do you get the same problem if you're not typing in Cyrillic script?

    Yes, Mark.  Same thing with English words.  I am afraid there is a conflict between Logos and Windows 7 GUI - the whole application goes to "not responding" mode.

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Dave Hooton
    Dave Hooton MVP Posts: 36,207

    It took five minutes this time to unfreeze.  I

    The log does not provide a reason for the delay, unfortunately, and you were working Offline this time! I've noticed it takes about 17-21 sec to get to the Sign-in window (Startup window)  and 49-53 sec to get to the Main window. My dual core 2 GHz processor takes about 4-5 sec and 12 sec respectively. What are the specs of your machine?

    EDIT: I see it is a Tablet PC with 2 GB RAM. What is the CPU & hard drive specs?

    Dave
    ===

    Windows 11 & Android 13

  • Dave Hooton
    Dave Hooton MVP Posts: 36,207

    So it is actually syncing. If "Use Internet" is off, then it shouldn't be.

    I've noticed that Use Internet = NO is ignored when you go through the Sign-in window (holding Ctrl key down) as Timothy has been. You have to Work Offline if you start that way. Use Internet = NO only  works when you start normally! Seems like a bug as it is checked almost immediately after starting and it occurs in both 4.0d and 4.1 beta.

    EDIT: I created a bug report in PC Beta forum.

    Dave
    ===

    Windows 11 & Android 13

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    I see it is a Tablet PC with 2 GB RAM. What is the CPU & hard drive specs?

    Windows 7 speed index of my PC is 2.3, 32-bit Home Edition.

    Intel Atom N450 (1.67 Ghz) and HDD is 160 Gb (not SSD, but SATA).  There is plenty of HDD space and the memory usage of Logos itself was very low.

    I think there is a timeout during switching focuses from window to window in this beta.  Because I had many black boxes just by clicking between windows (or by moving them from dock panel to dock panel).

    Also black box when I choose to turn on the Highlight panel.

    image

    image

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

  • Dave Hooton
    Dave Hooton MVP Posts: 36,207

    Windows 7 speed index of my PC is 2.3, 32-bit Home Edition.

    Intel Atom N450 (1.67 Ghz) and HDD is 160 Gb (not SSD, but SATA).

    I've seen those black boxes on my quad core Desktop (Index 5.9) but not in 4.1 beta. What is the limiting factor for your Index value?

    the memory usage of Logos itself was very low.

    I couldn't believe your figure of 70 MB until I saw my Beta 13 at 76 MB (Private Working Set) - it soon went to 145 MB when I activated all the tabs, with a Peak Set of 218 MB. I am accustomed to numbers like 207 MB with a Peak of 298 MB from 4.0d!

    I wonder what Logos have done there?

    EDIT: as it turns out there is nothing different between 4.0d and 4.1 memory use which does get to 70 MB when nothing is happening.

    Dave
    ===

    Windows 11 & Android 13

  • Timothy Ha
    Timothy Ha Member Posts: 431 ✭✭

    It seems like the problem is in the large article in Owen's text.

    Please see http://community.logos.com/forums/t/23170.aspx

    JesusChrist.ru - Russian Christian Portal, with free Bible software; Timh.ru - blog

This discussion has been closed.