baumgarr / nixnote2

Nixnote - A clone of Evernote for Linux
http://www.nixnote.org
Other
1.11k stars 158 forks source link

Random freezing while using beta 5 on Fedora 23 #112

Closed gjermundgaraba closed 8 years ago

gjermundgaraba commented 8 years ago

When doing normal things like browsing through the stacks and notebooks, I keep getting freezes. Everything just stops working.

I ran the app through the terminal and got this message when it froze: (nixnote2:8716): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed

(nixnote2:8716): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

System: Fedora 23, 64-bit RPM package beta5 64-bit

baumgarr commented 8 years ago

Set the message level to debug & attach the logs. Thanks.

gjermundgaraba commented 8 years ago

The logs doesn't contain any errors, not even the messages I wrote in the issue. The message I talk about is at the bottom when running from the terminal. It looks like this now:

DEBUG 2015-12-03 15:44:14.577 ( main.cpp @ 156 ) Program Home: "/usr/share/nixnote2/" INFO 2015-12-03 15:44:14.577 ( main.cpp @ 157 ) Built on Nov 22 2015 at 15:45:23 INFO 2015-12-03 15:44:14.577 ( main.cpp @ 158 ) Built with Qt 4.8.7 running on 4.8.7 DEBUG 2015-12-03 15:44:14.577 ( main.cpp @ 167 ) Creating shared segment DEBUG 2015-12-03 15:44:14.577 ( main.cpp @ 168 ) QSharedMemory(0x562f99a4ea30) DEBUG 2015-12-03 15:44:14.577 ( main.cpp @ 171 ) Attaching to shared segment DEBUG 2015-12-03 15:44:14.578 ( main.cpp @ 173 ) Detaching segment DEBUG 2015-12-03 15:44:14.578 ( main.cpp @ 175 ) Creating segment DEBUG 2015-12-03 15:44:14.578 ( main.cpp @ 217 ) Initializing shared memory segment DEBUG 2015-12-03 15:44:14.578 ( main.cpp @ 219 ) Overriting segment DEBUG 2015-12-03 15:44:14.578 ( main.cpp @ 221 ) unlocking segment DEBUG 2015-12-03 15:44:14.578 ( main.cpp @ 224 ) Shared memory segment initialized. DEBUG 2015-12-03 15:44:14.592 ( nixnote.cpp @ 112 ) Looking for transaltions: "/usr/share/nixnote2/translations/nixnote2_en_US.qm" DEBUG 2015-12-03 15:44:14.593 ( sql/databaseconnection.cpp @ 37 ) SQL drivers available: ("QSQLITE") DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 64 ) * SQLITE COMPILE OPTIONS * DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "DISABLE_DIRSYNC" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "ENABLE_COLUMN_METADATA" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "ENABLE_DBSTAT_VTAB" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "ENABLE_FTS3" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "ENABLE_FTS3_PARENTHESIS" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "ENABLE_RTREE" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "ENABLE_UNLOCK_NOTIFY" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "HAVE_ISNAN" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "SECURE_DELETE" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "SYSTEM_MALLOC" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "TEMP_STORE=1" DEBUG 2015-12-03 15:44:14.594 ( sql/databaseconnection.cpp @ 66 ) "THREADSAFE=1" loaded the Generic plugin DEBUG 2015-12-03 15:44:14.723 ( gui/browserWidgets/editorbuttonbar.cpp @ 153 ) QKeySequence("") DEBUG 2015-12-03 15:44:14.777 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3697 DEBUG 2015-12-03 15:44:14.777 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: -1 3697 DEBUG 2015-12-03 15:44:14.777 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:14.777 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:14.780 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:14.780 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:14.780 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML DEBUG 2015-12-03 15:44:15.184 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:15.184 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:15.186 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 15:44:15.186 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 15:44:15.186 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title DEBUG 2015-12-03 15:44:15.190 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 15:44:15.198 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 15:44:15.198 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags DEBUG 2015-12-03 15:44:15.211 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 15:44:15.211 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 15:44:15.211 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 15:44:15.211 ( gui/nbrowserwindow.cpp @ 529 ) Setting sourceUrl DEBUG 2015-12-03 15:44:15.212 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 15:44:15.227 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 15:44:15.228 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent DEBUG 2015-12-03 15:44:15.230 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:15.230 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:15.230 ( nixnote.cpp @ 525 ) QSystemTrayIcon::isSystemTrayAvailable(): true DEBUG 2015-12-03 15:44:15.230 ( nixnote.cpp @ 530 ) Overriding close & minimize to tray because of command line or isSystemTrayAvailable DEBUG 2015-12-03 15:44:15.231 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() DEBUG 2015-12-03 15:44:15.231 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 15:44:15.234 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 15:44:15.235 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 15:44:15.235 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 15:44:15.235 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2015-12-03 15:44:15.239 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 15:44:15.240 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 15:44:15.242 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 15:44:15.242 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 15:44:15.242 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 15:44:15.242 ( nixnote.cpp @ 1465 ) Refreshing data DEBUG 2015-12-03 15:44:15.242 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection DEBUG 2015-12-03 15:44:15.243 ( gui/ntableview.cpp @ 783 ) Selecting row 4 lid: 3697 DEBUG 2015-12-03 15:44:15.243 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3697 DEBUG 2015-12-03 15:44:15.243 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 3697 3697 DEBUG 2015-12-03 15:44:15.249 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:15.249 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:15.249 ( threads/counterrunner.cpp @ 37 ) Starting CounterRunner DEBUG 2015-12-03 15:44:15.249 ( sql/databaseconnection.cpp @ 37 ) SQL drivers available: ("QSQLITE") DEBUG 2015-12-03 15:44:15.252 ( threads/counterrunner.cpp @ 39 ) CounterRunner initialization complete. DEBUG 2015-12-03 15:44:15.296 ( nixnote.cpp @ 666 ) isSystemTrayAvailable: true DEBUG 2015-12-03 15:44:15.428 ( utilities/encrypt.cpp @ 83 ) Return Code: 0 DEBUG 2015-12-03 15:44:15.561 ( utilities/encrypt.cpp @ 83 ) Return Code: 0 DEBUG 2015-12-03 15:44:15.566 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() DEBUG 2015-12-03 15:44:15.566 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 15:44:15.569 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 15:44:15.571 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 15:44:15.571 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 15:44:15.571 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2015-12-03 15:44:15.578 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 15:44:15.578 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 15:44:15.582 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 15:44:15.582 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 15:44:15.582 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 15:44:15.582 ( nixnote.cpp @ 1465 ) Refreshing data DEBUG 2015-12-03 15:44:15.582 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection DEBUG 2015-12-03 15:44:15.605 ( nixnote.cpp @ 219 ) Exiting NixNote constructor DEBUG 2015-12-03 15:44:16.299 ( threads/indexrunner.cpp @ 62 ) Starting IndexRunner DEBUG 2015-12-03 15:44:16.299 ( sql/databaseconnection.cpp @ 37 ) SQL drivers available: ("QSQLITE") DEBUG 2015-12-03 15:44:16.304 ( threads/indexrunner.cpp @ 70 ) Indexrunner initialized. DEBUG 2015-12-03 15:44:18.158 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() DEBUG 2015-12-03 15:44:18.159 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 15:44:18.162 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 15:44:18.164 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 15:44:18.164 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 15:44:18.164 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2015-12-03 15:44:18.493 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 15:44:18.493 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 15:44:18.500 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 15:44:18.500 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 15:44:18.500 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 15:44:18.501 ( nixnote.cpp @ 1465 ) Refreshing data DEBUG 2015-12-03 15:44:18.501 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection DEBUG 2015-12-03 15:44:18.503 ( gui/ntableview.cpp @ 783 ) Selecting row 152 lid: 4585 DEBUG 2015-12-03 15:44:18.503 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 4585 DEBUG 2015-12-03 15:44:18.503 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 3697 4585 DEBUG 2015-12-03 15:44:18.503 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:18.503 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:18.506 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:18.506 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:18.506 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML DEBUG 2015-12-03 15:44:18.528 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:18.529 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:18.529 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 15:44:18.529 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 15:44:18.529 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title DEBUG 2015-12-03 15:44:18.534 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 15:44:18.550 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 15:44:18.550 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags DEBUG 2015-12-03 15:44:18.561 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 15:44:18.561 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 15:44:18.561 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 15:44:18.561 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 15:44:18.563 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 15:44:18.563 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent DEBUG 2015-12-03 15:44:18.568 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:18.568 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:20.958 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 137 DEBUG 2015-12-03 15:44:20.958 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 4585 137 DEBUG 2015-12-03 15:44:20.958 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:20.958 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:20.960 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:20.960 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:20.960 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML DEBUG 2015-12-03 15:44:20.990 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:20.990 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:20.991 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 15:44:20.991 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 15:44:20.991 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title DEBUG 2015-12-03 15:44:20.994 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 15:44:20.999 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 15:44:20.999 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags DEBUG 2015-12-03 15:44:21.009 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 15:44:21.009 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 15:44:21.009 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 15:44:21.009 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 15:44:21.011 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 15:44:21.011 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent DEBUG 2015-12-03 15:44:21.014 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:21.014 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:21.621 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 134 DEBUG 2015-12-03 15:44:21.621 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 137 134 DEBUG 2015-12-03 15:44:21.621 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:21.621 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:21.623 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:21.623 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:21.623 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML DEBUG 2015-12-03 15:44:21.626 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:21.626 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:21.626 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 15:44:21.626 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 15:44:21.626 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title DEBUG 2015-12-03 15:44:21.629 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 15:44:21.630 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 15:44:21.630 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags DEBUG 2015-12-03 15:44:21.640 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 15:44:21.640 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 15:44:21.640 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 15:44:21.640 ( gui/nbrowserwindow.cpp @ 529 ) Setting sourceUrl DEBUG 2015-12-03 15:44:21.641 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 15:44:21.641 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 15:44:21.641 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent DEBUG 2015-12-03 15:44:21.643 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:21.643 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:22.253 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 140 DEBUG 2015-12-03 15:44:22.253 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 134 140 DEBUG 2015-12-03 15:44:22.253 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:22.253 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:22.255 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:22.255 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:22.255 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML DEBUG 2015-12-03 15:44:22.261 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:22.261 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:22.261 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 15:44:22.261 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 15:44:22.261 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title DEBUG 2015-12-03 15:44:22.264 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 15:44:22.267 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 15:44:22.267 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags DEBUG 2015-12-03 15:44:22.277 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 15:44:22.278 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 15:44:22.278 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 15:44:22.278 ( gui/nbrowserwindow.cpp @ 529 ) Setting sourceUrl DEBUG 2015-12-03 15:44:22.278 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 15:44:22.280 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 15:44:22.280 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent DEBUG 2015-12-03 15:44:22.284 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:22.284 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:24.148 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() DEBUG 2015-12-03 15:44:24.149 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 15:44:24.152 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 15:44:24.153 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 15:44:24.153 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 15:44:24.153 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2015-12-03 15:44:24.441 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 15:44:24.441 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 15:44:24.444 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 15:44:24.444 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 15:44:24.444 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 15:44:24.444 ( nixnote.cpp @ 1465 ) Refreshing data DEBUG 2015-12-03 15:44:24.444 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection DEBUG 2015-12-03 15:44:24.445 ( gui/ntableview.cpp @ 783 ) Selecting row 11 lid: 3588 DEBUG 2015-12-03 15:44:24.445 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3588 DEBUG 2015-12-03 15:44:24.445 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 140 3588 DEBUG 2015-12-03 15:44:24.445 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:24.445 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:24.448 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:24.448 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:24.448 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML DEBUG 2015-12-03 15:44:24.456 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:24.456 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:24.457 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 15:44:24.457 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 15:44:24.457 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title DEBUG 2015-12-03 15:44:24.460 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 15:44:24.461 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 15:44:24.461 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags DEBUG 2015-12-03 15:44:24.472 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 15:44:24.473 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 15:44:24.473 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 15:44:24.473 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 15:44:24.473 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 15:44:24.473 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent DEBUG 2015-12-03 15:44:24.482 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:24.482 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:25.396 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() DEBUG 2015-12-03 15:44:25.396 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 15:44:25.400 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 15:44:25.403 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 15:44:25.403 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 15:44:25.403 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2015-12-03 15:44:25.403 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 15:44:25.403 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 15:44:25.409 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 15:44:25.409 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 15:44:25.409 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 15:44:25.409 ( nixnote.cpp @ 1465 ) Refreshing data DEBUG 2015-12-03 15:44:25.410 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection DEBUG 2015-12-03 15:44:25.431 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3588 DEBUG 2015-12-03 15:44:25.431 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 3588 3588 DEBUG 2015-12-03 15:44:25.439 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 15:44:25.439 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false DEBUG 2015-12-03 15:44:26.180 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() DEBUG 2015-12-03 15:44:26.180 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 15:44:26.185 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 15:44:26.190 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 15:44:26.191 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 15:44:26.191 ( filters/filterengine.cpp @ 69 ) Filtering notebooks DEBUG 2015-12-03 15:44:26.198 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 15:44:26.198 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 15:44:26.201 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 15:44:26.201 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 15:44:26.201 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 15:44:26.201 ( nixnote.cpp @ 1465 ) Refreshing data DEBUG 2015-12-03 15:44:26.202 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection DEBUG 2015-12-03 15:44:26.203 ( gui/ntableview.cpp @ 762 ) Selecting row 2 lid: 3548 DEBUG 2015-12-03 15:44:26.203 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3548 DEBUG 2015-12-03 15:44:26.203 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 3588 3548 DEBUG 2015-12-03 15:44:26.203 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 15:44:26.203 ( gui/nbrowserwindow.cpp @ 398 ) Getting note DEBUG 2015-12-03 15:44:26.207 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 15:44:26.207 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 15:44:26.207 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML

(nixnote2:5280): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed

(nixnote2:5280): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

jeffbuhrt commented 8 years ago

bjaanes does it only freeze/hang or get on some notes? Can you repeat the assertion error? [See my repeat-by below.] Also what OS and window manager?

1) bring up a terminal and run top. When you open a note with an image and leave NN sit for a while do you see +/-100% cpu use? See #102.

I can repeat the exception/assertion by selecting a note with an image (I think taken as an Android Evernote photo) that doesn't peg a CPU core to another folder. [Switching among notes with images doesn't cause the assertion, just high CPU usage when the note is open.] Trace level debug: DEBUG 2015-12-03 10:42:32.753 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 10:42:32.754 ( filters/filterengine.cpp @ 69 ) Filtering notebooks TRACE 2015-12-03 10:42:32.754 ( filters/filterengine.cpp @ 472 ) Entering filterNotebook : TRACE 2015-12-03 10:42:32.754 ( filters/filterengine.cpp @ 493 ) Entering filterIndividualNotebook : DEBUG 2015-12-03 10:42:32.771 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 10:42:32.771 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 10:42:32.783 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 10:42:32.783 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 10:42:32.783 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 10:42:32.783 ( nixnote.cpp @ 1465 ) Refreshing data TRACE 2015-12-03 10:42:32.784 ( gui/ntableview.cpp @ 422 ) Getting valid lids in filter DEBUG 2015-12-03 10:42:32.784 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection TRACE 2015-12-03 10:42:32.785 ( gui/ntableview.cpp @ 476 ) Highlighting selected rows after refresh TRACE 2015-12-03 10:42:32.785 ( gui/ntableview.cpp @ 517 ) Selecting one item if nothing else is selected DEBUG 2015-12-03 10:42:32.785 ( gui/ntableview.cpp @ 783 ) Selecting row 0 lid: 3061 TRACE 2015-12-03 10:42:32.785 ( gui/ntableview.cpp @ 526 ) Highlighting complete TRACE 2015-12-03 10:42:32.785 ( gui/ntableview.cpp @ 540 ) refleshSelection() complete DEBUG 2015-12-03 10:42:32.786 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3061 DEBUG 2015-12-03 10:42:32.786 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 3492 3061 DEBUG 2015-12-03 10:42:32.786 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 10:42:32.786 ( gui/nbrowserwindow.cpp @ 398 ) Getting note TRACE 2015-12-03 10:42:32.787 ( sql/notetable.cpp @ 870 ) Fetching Resources? false With binary? false TRACE 2015-12-03 10:42:32.792 ( sql/notetable.cpp @ 875 ) Fetched resources DEBUG 2015-12-03 10:42:32.792 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 10:42:32.792 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 10:42:32.792 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML TRACE 2015-12-03 10:42:32.793 ( html/noteformatter.cpp @ 111 ) Rebuilding HTML TRACE 2015-12-03 10:42:32.793 ( html/noteformatter.cpp @ 122 ) getting resource from hash TRACE 2015-12-03 10:42:32.810 ( html/noteformatter.cpp @ 128 ) Before preHTMLFormat TRACE 2015-12-03 10:42:32.810 ( html/noteformatter.cpp @ 177 ) Entering preHtmlFormat : TRACE 2015-12-03 10:42:32.810 ( html/noteformatter.cpp @ 196 ) Exiting preHtmlFormat : TRACE 2015-12-03 10:42:32.810 ( html/noteformatter.cpp @ 136 ) About to set content TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 140 ) Starting to modify tags TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 209 ) Entering modifyTags : TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 213 ) Searching for all en-media tags; TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 215 ) Search complete: 1 TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 223 ) En-Media tag type: "image" TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 407 ) Entering modifyImageTags : TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 413 ) Getting resource TRACE 2015-12-03 10:42:32.812 ( html/noteformatter.cpp @ 415 ) resource retrieved TRACE 2015-12-03 10:42:32.813 ( html/noteformatter.cpp @ 308 ) Entering addImageHighlight : TRACE 2015-12-03 10:42:32.813 ( html/noteformatter.cpp @ 469 ) Exiting modifyImageTags : TRACE 2015-12-03 10:42:32.814 ( html/noteformatter.cpp @ 228 ) Type modified TRACE 2015-12-03 10:42:32.814 ( html/noteformatter.cpp @ 298 ) Exiting modifyTags : TRACE 2015-12-03 10:42:32.814 ( html/noteformatter.cpp @ 142 ) Done modifying tags DEBUG 2015-12-03 10:42:32.815 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 10:42:32.815 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false TRACE 2015-12-03 10:42:32.815 ( html/noteformatter.cpp @ 168 ) Done rebuiling HTML DEBUG 2015-12-03 10:42:32.815 ( gui/nbrowserwindow.cpp @ 438 ) criteria search string set DEBUG 2015-12-03 10:42:32.815 ( gui/nbrowserwindow.cpp @ 443 ) adding to cache DEBUG 2015-12-03 10:42:32.815 ( gui/nbrowserwindow.cpp @ 452 ) Setting up note title TRACE 2015-12-03 10:42:32.816 ( sql/notetable.cpp @ 870 ) Fetching Resources? false With binary? false TRACE 2015-12-03 10:42:32.821 ( sql/notetable.cpp @ 875 ) Fetched resources DEBUG 2015-12-03 10:42:32.822 ( gui/nbrowserwindow.cpp @ 457 ) Setting editor contents DEBUG 2015-12-03 10:42:32.823 ( gui/nbrowserwindow.cpp @ 465 ) Setting attributes DEBUG 2015-12-03 10:42:32.824 ( gui/nbrowserwindow.cpp @ 500 ) Setting tags TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 272 ) Entering clear : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 317 ) Entering emptyTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 323 ) Exiting emptyTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 277 ) Exiting clear : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 201 ) Entering setTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 317 ) Entering emptyTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 323 ) Exiting emptyTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 150 ) Entering loadTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditor.cpp @ 159 ) Exiting loadTags : 9TagEditor TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditornewtag.cpp @ 189 ) Entering setTags : 15TagEditorNewTag TRACE 2015-12-03 10:42:32.824 ( gui/browserWidgets/tageditornewtag.cpp @ 87 ) Entering loadCompleter : 15TagEditorNewTag TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditornewtag.cpp @ 114 ) Exiting loadCompleter : 15TagEditorNewTag TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditornewtag.cpp @ 192 ) Exiting setTags : 15TagEditorNewTag TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditor.cpp @ 211 ) Exiting setTags : 9TagEditor TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditor.cpp @ 67 ) Entering setCurrentLid : 9TagEditor TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditor.cpp @ 69 ) Exiting setCurrentLid : 9TagEditor TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditor.cpp @ 341 ) Entering setAccount : 9TagEditor TRACE 2015-12-03 10:42:32.845 ( gui/browserWidgets/tageditor.cpp @ 343 ) Exiting setAccount : 9TagEditor DEBUG 2015-12-03 10:42:32.845 ( gui/nbrowserwindow.cpp @ 519 ) Setting notebook DEBUG 2015-12-03 10:42:32.846 ( gui/nbrowserwindow.cpp @ 522 ) Setting URL DEBUG 2015-12-03 10:42:32.846 ( gui/nbrowserwindow.cpp @ 525 ) Setting note attributes DEBUG 2015-12-03 10:42:32.846 ( gui/nbrowserwindow.cpp @ 534 ) Calling set source DEBUG 2015-12-03 10:42:32.847 ( gui/nbrowserwindow.cpp @ 544 ) Checking thumbanail DEBUG 2015-12-03 10:42:32.847 ( gui/nbrowserwindow.cpp @ 552 ) Exiting setContent TRACE 2015-12-03 10:42:32.847 ( sql/notetable.cpp @ 870 ) Fetching Resources? false With binary? false TRACE 2015-12-03 10:42:32.850 ( sql/notetable.cpp @ 875 ) Fetched resources TRACE 2015-12-03 10:42:32.850 ( sql/notetable.cpp @ 870 ) Fetching Resources? false With binary? false TRACE 2015-12-03 10:42:32.853 ( sql/notetable.cpp @ 875 ) Fetched resources DEBUG 2015-12-03 10:42:32.854 ( sql/notebooktable.cpp @ 931 ) Linked Notebook Found: true DEBUG 2015-12-03 10:42:32.854 ( sql/notebooktable.cpp @ 932 ) Linked Notebook URI set: false TRACE 2015-12-03 10:42:32.854 ( gui/nnotebookview.cpp @ 478 ) Leaving NNotebookView::buildSelection() TRACE 2015-12-03 10:42:32.964 ( gui/browserWidgets/tageditornewtag.cpp @ 215 ) Entering event : 15TagEditorNewTag TRACE 2015-12-03 10:42:32.964 ( gui/browserWidgets/tageditornewtag.cpp @ 228 ) Exiting event : 15TagEditorNewTag TRACE 2015-12-03 10:42:39.062 ( gui/nnotebookview.cpp @ 430 ) Inside NNotebookView::buildSelection() DEBUG 2015-12-03 10:42:39.062 ( nixnote.cpp @ 1444 ) starting NixNote.updateSelectionCriteria() TRACE 2015-12-03 10:42:39.062 ( filters/filterengine.cpp @ 46 ) Entering filter : DEBUG 2015-12-03 10:42:39.062 ( filters/filterengine.cpp @ 50 ) Purging filters DEBUG 2015-12-03 10:42:39.064 ( filters/filterengine.cpp @ 52 ) Resetting filter table DEBUG 2015-12-03 10:42:39.069 ( filters/filterengine.cpp @ 57 ) Reset complete DEBUG 2015-12-03 10:42:39.069 ( filters/filterengine.cpp @ 67 ) Filtering favorite DEBUG 2015-12-03 10:42:39.069 ( filters/filterengine.cpp @ 69 ) Filtering notebooks TRACE 2015-12-03 10:42:39.069 ( filters/filterengine.cpp @ 472 ) Entering filterNotebook : TRACE 2015-12-03 10:42:39.070 ( filters/filterengine.cpp @ 493 ) Entering filterIndividualNotebook : DEBUG 2015-12-03 10:42:39.083 ( filters/filterengine.cpp @ 71 ) Filtering tags DEBUG 2015-12-03 10:42:39.083 ( filters/filterengine.cpp @ 73 ) Filtering trash DEBUG 2015-12-03 10:42:39.094 ( filters/filterengine.cpp @ 75 ) Filtering search string DEBUG 2015-12-03 10:42:39.094 ( filters/filterengine.cpp @ 77 ) Filtering attributes DEBUG 2015-12-03 10:42:39.094 ( filters/filterengine.cpp @ 79 ) Filtering complete DEBUG 2015-12-03 10:42:39.095 ( nixnote.cpp @ 1465 ) Refreshing data TRACE 2015-12-03 10:42:39.095 ( gui/ntableview.cpp @ 422 ) Getting valid lids in filter DEBUG 2015-12-03 10:42:39.095 ( gui/ntableview.cpp @ 440 ) Valid LIDs retrieved. Refreshing selection TRACE 2015-12-03 10:42:39.096 ( gui/ntableview.cpp @ 476 ) Highlighting selected rows after refresh TRACE 2015-12-03 10:42:39.097 ( gui/ntableview.cpp @ 517 ) Selecting one item if nothing else is selected DEBUG 2015-12-03 10:42:39.097 ( gui/ntableview.cpp @ 783 ) Selecting row 3 lid: 3297 TRACE 2015-12-03 10:42:39.097 ( gui/ntableview.cpp @ 526 ) Highlighting complete TRACE 2015-12-03 10:42:39.097 ( gui/ntableview.cpp @ 540 ) refleshSelection() complete DEBUG 2015-12-03 10:42:39.098 ( gui/nbrowserwindow.cpp @ 367 ) Setting note contents to 3297 DEBUG 2015-12-03 10:42:39.098 ( gui/nbrowserwindow.cpp @ 379 ) this.lid: 3061 3297 DEBUG 2015-12-03 10:42:39.098 ( gui/nbrowserwindow.cpp @ 387 ) editor is dirty DEBUG 2015-12-03 10:42:39.098 ( gui/nbrowserwindow.cpp @ 398 ) Getting note TRACE 2015-12-03 10:42:39.098 ( sql/notetable.cpp @ 870 ) Fetching Resources? false With binary? false TRACE 2015-12-03 10:42:39.104 ( sql/notetable.cpp @ 875 ) Fetched resources DEBUG 2015-12-03 10:42:39.104 ( gui/nbrowserwindow.cpp @ 413 ) Checking if note is in cache DEBUG 2015-12-03 10:42:39.104 ( gui/nbrowserwindow.cpp @ 429 ) Note not in cache DEBUG 2015-12-03 10:42:39.104 ( gui/nbrowserwindow.cpp @ 435 ) rebuilding note HTML TRACE 2015-12-03 10:42:39.105 ( html/noteformatter.cpp @ 111 ) Rebuilding HTML TRACE 2015-12-03 10:42:39.105 ( html/noteformatter.cpp @ 122 ) getting resource from hash TRACE 2015-12-03 10:42:39.120 ( html/noteformatter.cpp @ 128 ) Before preHTMLFormat TRACE 2015-12-03 10:42:39.120 ( html/noteformatter.cpp @ 177 ) Entering preHtmlFormat : TRACE 2015-12-03 10:42:39.120 ( html/noteformatter.cpp @ 196 ) Exiting preHtmlFormat : TRACE 2015-12-03 10:42:39.120 ( html/noteformatter.cpp @ 136 ) About to set content TRACE 2015-12-03 10:42:39.122 ( html/noteformatter.cpp @ 140 ) Starting to modify tags TRACE 2015-12-03 10:42:39.122 ( html/noteformatter.cpp @ 209 ) Entering modifyTags : TRACE 2015-12-03 10:42:39.122 ( html/noteformatter.cpp @ 213 ) Searching for all en-media tags; TRACE 2015-12-03 10:42:39.122 ( html/noteformatter.cpp @ 215 ) Search complete: 1 TRACE 2015-12-03 10:42:39.122 ( html/noteformatter.cpp @ 223 ) En-Media tag type: "application" TRACE 2015-12-03 10:42:39.122 ( html/noteformatter.cpp @ 476 ) Entering modifyApplicationTags : TRACE 2015-12-03 10:42:39.138 ( html/noteformatter.cpp @ 710 ) Entering modifyPdfTags :

(nixnote2:5455): GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed

(nixnote2:5455): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed ^C

jeffbuhrt commented 8 years ago

I think I have a much more direct way to get the assertion. Try to open a folder [notebook] that contains just a note with a PDF. All I have to do is switch from any note to a folder that has a single note with a PDF in it. The note I have contains the book: http://it-ebooks.info/book/2076/ Randy I just invited you to the note in Evernote.

baumgarr commented 8 years ago

I can't view the note in NixNote because it doesn't support single note sharing. I can only see it in the Evernote web interface and that doesn't allow me to export it.

I've created a notebook and put a single note with a single attachment in it but still can't reproduce any problem. That leads me to think it isn't in anything I can control and is window manager specific and there isn't a whole lot I can do. I'll try to reproduce it in my Gnome VM (I run KDE), but even if I can reproduce it I'm not sure there is a whole lot I can do if the problem isn't in my code.

Have you searched Google for that error? There are similar errors and they attributed it to gstreamer, but I don't know if they are related to this error.

https://bbs.archlinux.org/viewtopic.php?id=186932

jeffbuhrt commented 8 years ago

1) I can't remove gstreamer without uninstalling a lot of packages that depend on it. rpm -qa |grep gstream |sort gstreamer1-1.6.1-1.fc23.x86_64 gstreamer1-plugins-bad-free-1.6.1-2.fc23.x86_64 gstreamer1-plugins-base-1.6.1-1.fc23.x86_64 gstreamer1-plugins-good-1.6.1-1.fc23.x86_64 gstreamer-plugin-crystalhd-3.10.0-11.fc23.x86_64 libnice-gstreamer1-0.1.13-2.fc23.x86_64 PackageKit-gstreamer-plugin-1.0.11-1.fc23.x86_64

2) I invited you to the test notebook. If that doesn't work is there a way to export from Evernote something you can import? [Remember NN crashes opening it, so I can't export from NN.]

Let me know what else you would like me to try.

baumgarr commented 8 years ago

Thanks. I have a copy of it now.

I can synchronize it on may KDE environment with no issues. I can browse the note or do anythnig else I want. Searches work, exporting works, paging through the PDF works. The CPU doesn't seem to do anything unusual either. I paged through the PDF as quickly as possible and switch between that & several other notebooks and the CPU did spike, but I would expect that since it needs to read & re-render the PDF page on each click. When I stopped it fell to almost zero.

I'll try it in Gnome when I get a chance to see if I can reproduce it.

Thanks.

jeffbuhrt commented 8 years ago

I added a 2nd note to the notebook. When you are in Gnome open the note that has text + an image. For me CPU for NN will idle ~100%. I see the 100% usage from #102 on notes like it. If you don't see a repeat, I could create another Evernote account and share the notes to the new account and see if I get a repeat.

gjermundgaraba commented 8 years ago

I am using Fedora 23 64-bit with Gnome 3. I can't reproduce the 100% usage you talked about. Not on the first tries at least.

Opening a notebook with a PDF caused the error to happen, yes. Thats why it happens so often, have quite a few PDFs... It seems to be quite reproducible for me.

d1vanov commented 8 years ago

There's a tool for Linux which you could try to see the stack of the running process to figure out what it's doing so heavily - https://github.com/tbricks/tbstack.

gjermundgaraba commented 8 years ago

I didn't actually manage to install that one on Fedora. I am not that familiar with compiling stuff from source on linux (with make and stuff). I just get this message from it: src/backtrace.c:8:23: fatal error: libunwind.h: No such file or directory

I have libunwind installed as far as I can understand.

I don't know if any of this helps, but i ran a gstack against the process right after it went down: Thread 10 (Thread 0x7f90cd728700 (LWP 28634)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90d4ab2b3c in linux_udev_event_thread_main () from /lib64/libusb-1.0.so.0

2 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

3 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f90c018e700 (LWP 28635)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90df4a716c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

2 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

3 0x00007f90e280ce8e in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

4 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

5 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

6 0x00007f90e26caa89 in QThread::exec() () from /lib64/libQtCore.so.4

7 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

8 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

9 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f90bf98d700 (LWP 28636)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90df4a716c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

2 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

3 0x00007f90e280ceae in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

4 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

5 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

6 0x00007f90e26caa89 in QThread::exec() () from /lib64/libQtCore.so.4

7 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

8 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

9 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f90bf18c700 (LWP 28637)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90df4a716c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

2 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

3 0x00007f90e280ce8e in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

4 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

5 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

6 0x00007f90e26caa89 in QThread::exec() () from /lib64/libQtCore.so.4

7 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

8 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

9 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f90bd8e9700 (LWP 28638)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90df4a716c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

2 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

3 0x00007f90e280ceae in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

4 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

5 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

6 0x00007f90e26caa89 in QThread::exec() () from /lib64/libQtCore.so.4

7 0x00007f90e27bb223 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4

8 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

9 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

10 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f90bd0e8700 (LWP 28640)):

0 0x00007f90e2430b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

1 0x00007f90e57f8071 in JSC::BlockAllocator::blockFreeingThreadMain() () from /lib64/libQtWebKit.so.4

2 0x00007f90e5afc4c6 in WTF::wtfThreadEntryPoint(void_) () from /lib64/libQtWebKit.so.4

3 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

4 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f906fffd700 (LWP 28641)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90e2809b78 in qt_safepoll(pollfd, int, int, bool) () from /lib64/libQtCore.so.4

2 0x00007f90e27b7628 in QProcessManager::run() () from /lib64/libQtCore.so.4

3 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

4 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

5 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f906f7fc700 (LWP 28687)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90df4a716c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

2 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

3 0x00007f90e280ceae in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

4 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

5 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

6 0x00007f90e26caa89 in QThread::exec() () from /lib64/libQtCore.so.4

7 0x00007f90e27bb223 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4

8 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

9 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

10 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f906effb700 (LWP 28697)):

0 0x00007f90e18befdd in poll () from /lib64/libc.so.6

1 0x00007f90df4a716c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

2 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

3 0x00007f90e280ceae in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

4 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

5 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

6 0x00007f90e26caa89 in QThread::exec() () from /lib64/libQtCore.so.4

7 0x00007f90e26cd37c in QThreadPrivate::start(void_) () from /lib64/libQtCore.so.4

8 0x00007f90e242b60a in start_thread () from /lib64/libpthread.so.0

9 0x00007f90e18caa7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f90e795ea40 (LWP 28633)):

0 0x00007f90e18c4c49 in syscall () from /lib64/libc.so.6

1 0x00007f90df4eb87f in g_cond_wait () from /lib64/libglib-2.0.so.0

2 0x00007f90df4cd98b in g_once_init_enter () from /lib64/libglib-2.0.so.0

3 0x00007f90577ee998 in gtk_border_get_type () from /lib64/libgtk-3.so.0

4 0x00007f9057858d08 in _gtk_css_shorthand_property_init_properties () from /lib64/libgtk-3.so.0

5 0x00007f9057996254 in _gtk_style_property_lookup () from /lib64/libgtk-3.so.0

6 0x00007f905784de8a in gtk_css_provider_load_internal () from /lib64/libgtk-3.so.0

7 0x00007f905784ef78 in gtk_css_provider_load_from_data () from /lib64/libgtk-3.so.0

8 0x00007f906c9d33eb in NP_Initialize () from /usr/lib64/mozilla/plugins/libevbrowserplugin.so

9 0x00007f90e4eb52a1 in WebCore::PluginPackage::load() () from /lib64/libQtWebKit.so.4

10 0x00007f90e4eb5486 in WebCore::PluginPackage::fetchInfo() () from /lib64/libQtWebKit.so.4

11 0x00007f90e4c45846 in WebCore::PluginPackage::createPackage(WTF::String const&, long const&) () from /lib64/libQtWebKit.so.4

12 0x00007f90e4c4349e in WebCore::PluginDatabase::refresh() () from /lib64/libQtWebKit.so.4

13 0x00007f90e4c44232 in WebCore::PluginDatabase::installedPlugins(bool) () from /lib64/libQtWebKit.so.4

14 0x00007f90e44a19aa in WebCore::FrameLoaderClientQt::objectContentType(WebCore::KURL const&, WTF::String const&, bool) () from /lib64/libQtWebKit.so.4

15 0x00007f90e48e988f in WebCore::HTMLPlugInImageElement::isImageType() () from /lib64/libQtWebKit.so.4

16 0x00007f90e48ea616 in WebCore::HTMLPlugInImageElement::attach() () from /lib64/libQtWebKit.so.4

17 0x00007f90e46e6676 in WebCore::updateTreeAfterInsertion(WebCore::ContainerNode, WebCore::Node, bool) [clone .constprop.116]() from /lib64/libQtWebKit.so.4

18 0x00007f90e46eb1ab in WebCore::ContainerNode::replaceChild(WTF::PassRefPtrWebCore::Node, WebCore::Node_, int&, bool) () from /lib64/libQtWebKit.so.4

19 0x00007f90e48babbb in WebCore::HTMLElement::setOuterHTML(WTF::String const&, int&) () from /lib64/libQtWebKit.so.4

20 0x00007f90e4473b8e in QWebElement::setOuterXml(QString const&) () from /lib64/libQtWebKit.so.4

21 0x00005597f0e3603d in NoteFormatter::modifyPdfTags(int, QWebElement&) ()

22 0x00005597f0e3daf4 in NoteFormatter::modifyApplicationTags(QWebElement&, QString&, QString) ()

23 0x00005597f0e41a17 in NoteFormatter::modifyTags(QWebPage&) ()

24 0x00005597f0e44002 in NoteFormatter::rebuildNoteHTML() ()

25 0x00005597f0e9e527 in NBrowserWindow::setContent(int) ()

26 0x00005597f0d37b51 in NixNote::updateSelectionCriteria(bool) ()

27 0x00005597f10cb95d in ?? ()

28 0x00007f90e27f0a80 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /lib64/libQtCore.so.4

29 0x00005597f0de4b57 in NNotebookView::buildSelection() ()

30 0x00005597f10cfce5 in ?? ()

31 0x00007f90e27f0a80 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /lib64/libQtCore.so.4

32 0x00007f90e3653348 in QTreeWidgetPrivate::_q_selectionChanged(QItemSelection const&, QItemSelection const&) () from /lib64/libQtGui.so.4

33 0x00007f90e27f0a80 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /lib64/libQtCore.so.4

34 0x00007f90e362ba97 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /lib64/libQtGui.so.4

35 0x00007f90e3631183 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /lib64/libQtGui.so.4

36 0x00007f90e3631ad1 in QItemSelectionModel::select(QItemSelection const&, QFlagsQItemSelectionModel::SelectionFlag) () from /lib64/libQtGui.so.4

37 0x00007f90e361c918 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlagsQItemSelectionModel::SelectionFlag) () from /lib64/libQtGui.so.4

38 0x00007f90e361d0f4 in QTreeView::setSelection(QRect const&, QFlagsQItemSelectionModel::SelectionFlag) () from /lib64/libQtGui.so.4

39 0x00007f90e35d9d16 in QAbstractItemView::mousePressEvent(QMouseEvent_) () from /lib64/libQtGui.so.4

40 0x00005597f0de66fa in NNotebookView::mousePressEvent(QMouseEvent_) ()

41 0x00007f90e30f5d00 in QWidget::event(QEvent_) () from /lib64/libQtGui.so.4

42 0x00007f90e34ba70e in QFrame::event(QEvent_) () from /lib64/libQtGui.so.4

43 0x00007f90e35dfe93 in QAbstractItemView::viewportEvent(QEvent_) () from /lib64/libQtGui.so.4

44 0x00007f90e36218dc in QTreeView::viewportEvent(QEvent_) () from /lib64/libQtGui.so.4

45 0x00007f90e27dca46 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject, QEvent) () from /lib64/libQtCore.so.4

46 0x00007f90e309e91c in QApplicationPrivate::notifyhelper(QObject, QEvent_) () from /lib64/libQtGui.so.4

47 0x00007f90e30a5956 in QApplication::notify(QObject, QEvent) () from /lib64/libQtGui.so.4

48 0x00005597f0f704f8 in Application::notify(QObject, QEvent) ()

49 0x00007f90e27dc8dd in QCoreApplication::notifyInternal(QObject, QEvent) () from /lib64/libQtCore.so.4

50 0x00007f90e30a4f5d in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool) () from /lib64/libQtGui.so.4

51 0x00007f90e311f862 in QETWidget::translateMouseEvent(XEvent const) () from /lib64/libQtGui.so.4

52 0x00007f90e311e22d in QApplication::x11ProcessEvent(XEvent) () from /lib64/libQtGui.so.4

53 0x00007f90e3147249 in x11EventSourceDispatch(GSource, int ()(void), void_) () from /lib64/libQtGui.so.4

54 0x00007f90df4a6e3a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0

55 0x00007f90df4a71d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

56 0x00007f90df4a727c in g_main_context_iteration () from /lib64/libglib-2.0.so.0

57 0x00007f90e280ce8e in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

58 0x00007f90e31473e6 in QGuiEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtGui.so.4

59 0x00007f90e27db151 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

60 0x00007f90e27db4c5 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQtCore.so.4

61 0x00007f90e27e1069 in QCoreApplication::exec() () from /lib64/libQtCore.so.4

62 0x00005597f0d2194a in main ()

d1vanov commented 8 years ago

You might need libunwind-devel to build that one. However, this output of gstack also seems good enough to point out the place where something heavy happens:

#9 0x00007f90e4eb52a1 in WebCore::PluginPackage::load() () from /lib64/libQtWebKit.so.4
#10 0x00007f90e4eb5486 in WebCore::PluginPackage::fetchInfo() () from /lib64/libQtWebKit.so.4
#11 0x00007f90e4c45846 in WebCore::PluginPackage::createPackage(WTF::String const&, long const&) () from /lib64/libQtWebKit.so.4
#12 0x00007f90e4c4349e in WebCore::PluginDatabase::refresh() () from /lib64/libQtWebKit.so.4
#13 0x00007f90e4c44232 in WebCore::PluginDatabase::installedPlugins(bool) () from /lib64/libQtWebKit.so.4
#14 0x00007f90e44a19aa in WebCore::FrameLoaderClientQt::objectContentType(WebCore::KURL const&, WTF::String const&, bool) () from /lib64/libQtWebKit.so.4
#15 0x00007f90e48e988f in WebCore::HTMLPlugInImageElement::isImageType() () from /lib64/libQtWebKit.so.4
#16 0x00007f90e48ea616 in WebCore::HTMLPlugInImageElement::attach() () from /lib64/libQtWebKit.so.4
#17 0x00007f90e46e6676 in WebCore::updateTreeAfterInsertion(WebCore::ContainerNode, WebCore::Node, bool) clone .constprop.116 from /lib64/libQtWebKit.so.4
#18 0x00007f90e46eb1ab in WebCore::ContainerNode::replaceChild(WTF::PassRefPtrWebCore::Node, WebCore::Node, int&, bool) () from /lib64/libQtWebKit.so.4
#19 0x00007f90e48babbb in WebCore::HTMLElement::setOuterHTML(WTF::String const&, int&) () from /lib64/libQtWebKit.so.4
#20 0x00007f90e4473b8e in QWebElement::setOuterXml(QString const&) () from /lib64/libQtWebKit.so.4
#21 0x00005597f0e3603d in NoteFormatter::modifyPdfTags(int, QWebElement&) ()

It looks like WebKit is having hard times loading the pdf plugin for the editor page. The error you see is likely related to it somehow. How large is the pdf file in question?

baumgarr commented 8 years ago

I can reproduce this under Gnome 3 if PDF preview is enabled. Under KDE and Unity I can't reproduce it, so I'm not sure what the long-term solution is going to be. However, there seems to be a workaround.

1.) If your can start NixNote, go into Edit/Preferences and make sure the option "Display PDFs inline" is NOT checked. Then (just to be safe), restart NixNote.

2.) If you cannot get into NixNote without it locking up, go into ~/.nixnote/nixnote-1.conf and under the [Appearance] section and remove the line "showPDFs=true" (if it exists) and add the line "showPDFs=false".

That should disable it from trying to read the PDF directly.

gjermundgaraba commented 8 years ago

The workaround worked! Now I can at least use the client :) Thank you.

jeffbuhrt commented 8 years ago

I created a test Evernote account, moved .nixnote to .nixnote-old, and shared the test folder to the new account. I then repeated this problem (#112) and #102 under Fedora 23 64bit gnome.

1) If someone is new to NixNote they might not have an appearance section and need to add to the bottom of ~/.nixnote/nixnote-1.conf (if doesn't exist) [Appearance] showPDFs=false

2) I am putting the repeat-by into #102. [Note the problem might need the highlighter to trigger.]

baumgarr commented 8 years ago

I changed the default to not display PDFs inline and I added a warning to the Preferences dialog about using it with Gnome. That's about the best I can do.