Hello: Can anyone comment on this? Thanks ...
I am experiencing frequent sluggish/non-responsive behavior persisting several seconds upon routine use of Geany - virtually every copy/paste action. During these episodes, Geany appears to 'freeze;' it is increasingly annoying to me.
Ubuntu 12.04 LTS 64 bit Intel® Core™2 Quad CPU Q9300 @ 2.50GHz × 4 Geany 1.23
I generally several tabs open in Geany, copying and pasting text from my web browser (Firefox) and the gnome-terminal into Geany. These Geany files are rather small: at most several hundred lines long (e.g. up to ~1200 or so lines).
I have just a few plugins running (all from the default installation - nothing exotic),
Addons | Export | Extra Selection | Save Actions | Shift Column | Spell Check | Split Window | Tree Browser | Updatechecker
... although I did tweak the following two configuration files, a bit,as shown:
'snippets.conf' :
sep1============================================================================== sep2======================================== sep3=----------------------------------------------------------------------------- sep4=--------------------------------------- sep5=- - - - - - - - - -
1at=1@VictoriasJourney.com
#snip=[snip] Snip= [ ... SNIP! ... ]
'filetypes.common' :
... # third argument: if true, use this foreground color # fourth argument: if true, use this background color #white_space=0xc0c0c0;0xffffff;true;false white_space=0xFF0000;0xFFFFDD;true;true # test: test test # some colors: # http://www.color-hex.com/ # http://stackoverflow.com/questions/2188492/flex-colorpicker-load-colors-from... # http://www.color-hex.com/ # http://aprendiendocss3.files.wordpress.com/2012/01/hex_colors.jpg # more compact (fewer shown): http://www.flymedia.co.uk/help-in-general.php # navy blue: 0x23238E # red: 0xFF0000 # v. light yellow: 0xFFFFBB | 0xFFFFCC | 0xFFFFDD # v. light gray: 0xCCCCCC | 0xDDDDDD | 0xEEEEEE # 0xFFFFF is white, essent.
# http://html-color-codes.com/
# restart Geany for these to take effect: # commented text color (#): #comment=0xd00000 # red #comment=0x7a7a7a # medium gray (0x000000 = black) #comment=0x666666 # dark gray #comment=0xcc66ff # light purple comment=0x9900cc # darker purple ... # restart Geany for these to take effect: # docstring color (""" text """); e.g. Python: #string=0xff8000 # light orange string=0xff3300 # darker orange ...
===============================================================
HI,
Nothing below looks unusual. So a few questions/suggestions to help track it down.
What filetype does it happen on?
Does the slowdown happen on all filetypes?
If you set menu->edit->preferences->editor->completions "Symbol list update frequency" to 0 does that fix it?
What period do you have save actions plugin autosave period set to?
Try turning plugins off one at a time to see if one can be identified as the culprit.
Cheers Lex
On 23 July 2013 10:10, Victoria S. 1@victoriasjourney.com wrote:
Hello: Can anyone comment on this? Thanks ...
I am experiencing frequent sluggish/non-responsive behavior persisting several seconds upon routine use of Geany - virtually every copy/paste action. During these episodes, Geany appears to 'freeze;' it is increasingly annoying to me.
Ubuntu 12.04 LTS 64 bit Intel® Core™2 Quad CPU Q9300 @ 2.50GHz × 4 Geany 1.23
I generally several tabs open in Geany, copying and pasting text from my web browser (Firefox) and the gnome-terminal into Geany. These Geany files are rather small: at most several hundred lines long (e.g. up to ~1200 or so lines).
I have just a few plugins running (all from the default installation - nothing exotic),
Addons | Export | Extra Selection | Save Actions | Shift Column | Spell Check | Split Window | Tree Browser | Updatechecker
... although I did tweak the following two configuration files, a bit,as shown:
'snippets.conf' :
sep1============================================================================== sep2========================================
sep3=----------------------------------------------------------------------------- sep4=--------------------------------------- sep5=- - - - - - - - - -
1at=1@VictoriasJourney.com
#snip=[snip] Snip= [ ... SNIP! ... ]
'filetypes.common' :
... # third argument: if true, use this foreground color # fourth argument: if true, use this background color #white_space=0xc0c0c0;0xffffff;true;false white_space=0xFF0000;0xFFFFDD;true;true # test: test test # some colors: # http://www.color-hex.com/ # http://stackoverflow.com/questions/2188492/flex-colorpicker-load-colors-from... # http://www.color-hex.com/ # http://aprendiendocss3.files.wordpress.com/2012/01/hex_colors.jpg # more compact (fewer shown): http://www.flymedia.co.uk/help-in-general.php # navy blue: 0x23238E # red: 0xFF0000 # v. light yellow: 0xFFFFBB | 0xFFFFCC | 0xFFFFDD # v. light gray: 0xCCCCCC | 0xDDDDDD | 0xEEEEEE # 0xFFFFF is white, essent.
# http://html-color-codes.com/
# restart Geany for these to take effect: # commented text color (#): #comment=0xd00000 # red #comment=0x7a7a7a # medium gray (0x000000 = black) #comment=0x666666 # dark gray #comment=0xcc66ff # light purple comment=0x9900cc # darker purple ... # restart Geany for these to take effect: # docstring color (""" text """); e.g. Python: #string=0xff8000 # light orange string=0xff3300 # darker orange ...
=============================================================== _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Mon, 22 Jul 2013 17:10:29 -0700 "Victoria S." 1@VictoriasJourney.com wrote:
I am experiencing frequent sluggish/non-responsive behavior persisting several seconds upon routine use of Geany - virtually every copy/paste action. During these episodes, Geany appears to 'freeze;' it is increasingly annoying to me.
Addons | Export | Extra Selection | Save Actions | Shift Column | Spell Check | Split Window | Tree Browser | Updatechecker
Since extrasel deals with selections, you can try to temporarily turn it off, just in case... though it does almost nothing until you explicitly press a selection key, or invoke one of it's functions.
Thank you for your comments / suggestions - appreciated. I tried your suggestions: none had any effect.
Ubuntu 12.04 LTS 64 bit Intel® Core™2 Quad CPU Q9300 @ 2.50GHz × 4 Geany 1.23
UPDATE 1 (July 23):
I am (currently) working with plain-text (.txt) files. I am teaching myself RDBMS/SQL; the file I am working on (my saved text) is
"/home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt"
... i.e. a path to a nested folder, with spaces, etc. in the path.
That file is ~1100 lines in length, although many of those are long, unwrapped single lines as I typically don't employ line wrapping / right margins unless I have a specific need to do so. In teh Documents menu, I do have 'Line Wrapping' and 'Auto-Indentation' checked/selected.
The file is currently 65.4 kB (65,439 bytes; ~8900 words; ~65750 characters; UTF-8; no execute permissions (just the standard Owner/Group read/write).
This morning the pauses were averaging ~9 seconds or so, at every paste (gnome-terminal >> Geany .txt file). I quit Geany (one current/working tab), then reopened the file, and immediately did some copy/pastes from my (gnome-)terminal to this txt file: all instantly pasted, with Geany fully 'responsive.'
Here's a key observation: I then saved the file (the first save operation after opening it), and ** immediately thereafter** the aforementioned behavior began: Geany began pausing/'freezing' (up to ~2 min 35 sec i.e. 155 sec), but more typically , ~15-60+ seconds, intermittently (many but not all paste operations). Manual save operations (Ctrl-S) are instant.
While this was occurring I had one eye on my System Monitor: Geany would shoot to 100% CPU use (typically 0%, otherwise). As mentioned, I have a quad-core system: among those CPU, Geany would max out (100% useage) one of those four CPU for a bit (say 10-15 sec.?), then swap to another CPU, that would then be at 100% use (with the previous CPU freed for other system use).
I quit Geany, and launched it from the (terminal) command line (not the Ubuntu Unity Panel, as I have been doing). Here is the terminal poutput; I was hoping to see something during the freezes, but saw no system/terminal messages:
victoria@victoria:~$ geany
(geany:19046): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
I have no idea what any of that means, however. :-/
Watching the terminal window, when I made an edit to the .txt file and saved it, this line was appended to the terminal output (but nothing, if Ctrl-S on an unedited, i.e. unchanged) file):
(geany:19185): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
Hi,
Thanks for the update, please try the list of things suggested and report the results.
Regards Lex
On 24 July 2013 06:08, Victoria S. 1@victoriasjourney.com wrote:
Thank you for your comments / suggestions - appreciated. I tried your suggestions: none had any effect.
Ubuntu 12.04 LTS 64 bit Intel® Core™2 Quad CPU Q9300 @ 2.50GHz × 4 Geany 1.23
UPDATE 1 (July 23):
I am (currently) working with plain-text (.txt) files. I am teaching myself RDBMS/SQL; the file I am working on (my saved text) is
"/home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt"
... i.e. a path to a nested folder, with spaces, etc. in the path.
That file is ~1100 lines in length, although many of those are long, unwrapped single lines as I typically don't employ line wrapping / right margins unless I have a specific need to do so. In teh Documents menu, I do have 'Line Wrapping' and 'Auto-Indentation' checked/selected.
The file is currently 65.4 kB (65,439 bytes; ~8900 words; ~65750 characters; UTF-8; no execute permissions (just the standard Owner/Group read/write).
This morning the pauses were averaging ~9 seconds or so, at every paste (gnome-terminal >> Geany .txt file). I quit Geany (one current/working tab), then reopened the file, and immediately did some copy/pastes from my (gnome-)terminal to this txt file: all instantly pasted, with Geany fully 'responsive.'
Here's a key observation: I then saved the file (the first save operation after opening it), and ** immediately thereafter** the aforementioned behavior began: Geany began pausing/'freezing' (up to ~2 min 35 sec i.e. 155 sec), but more typically , ~15-60+ seconds, intermittently (many but not all paste operations). Manual save operations (Ctrl-S) are instant.
While this was occurring I had one eye on my System Monitor: Geany would shoot to 100% CPU use (typically 0%, otherwise). As mentioned, I have a quad-core system: among those CPU, Geany would max out (100% useage) one of those four CPU for a bit (say 10-15 sec.?), then swap to another CPU, that would then be at 100% use (with the previous CPU freed for other system use).
I quit Geany, and launched it from the (terminal) command line (not the Ubuntu Unity Panel, as I have been doing). Here is the terminal poutput; I was hoping to see something during the freezes, but saw no system/terminal messages:
victoria@victoria:~$ geany
(geany:19046): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
I have no idea what any of that means, however. :-/
Watching the terminal window, when I made an edit to the .txt file and saved it, this line was appended to the terminal output (but nothing, if Ctrl-S on an unedited, i.e. unchanged) file):
(geany:19185): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 24 July 2013 08:08, Victoria S. 1@victoriasjourney.com wrote:
" ... please try the list of things suggested and report the results." >>
Hi: As mentioned,
" ... I tried your [the users' list] suggestions: none had any
effect. ...",
I already tried the other suggestions. ;-)
Ok, so we move on to more detailed things :)
As you would have probably guessed, it isn't happening for anyone here, so we need you to help track it down.
Can you run geany with gdb and when it is consuming 100% cpu interrupt it (ctrl-c in the terminal) and see if you can get a backtrace to find where it is spending its time.
Also when you run from terminal you can use -v to see more information, and possibly see more warnings.
Of the warnings you listed, the menushell one is caused by Ubuntu rudely stealing the menu from an application that isn't designed for that, complaints to them, we can't fix it.
Not sure what the others are, when running in gdb you could try using the --g-fatal-warnings option, though that will stop at the first one, but you might be able to continue from there to get it to stop on the second. If you can please send the backtrace so we can see where it is happening.
Cheers Lex
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Thank you! First, from the gnome-terminal:
victoria@victoria:~$ geany -v Geany-INFO: Geany 1.23, en_CA.UTF-8 Geany-INFO: GTK 2.24.10, GLib 2.32.3 Geany-INFO: System data dir: /usr/share/geany Geany-INFO: User config dir: /home/victoria/.config/geany Geany-INFO: System plugin path: /usr/lib/x86_64-linux-gnu/geany Geany-INFO: Added filetype Scala (55). Geany-INFO: Added filetype Genie (56). Geany-INFO: Added filetype Cython (57). Geany-INFO: Added filetype Go (58). Geany-INFO: Disabling terminal support Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/addons.so (Addons) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/export.so (Export) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/saveactions.so (Save Actions) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/shiftcolumn.so (Shift Column) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/spellcheck.so (Spell Check) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/splitwindow.so (Split Window) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/treebrowser.so (TreeBrowser) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/updatechecker.so (Updatechecker) Geany-INFO: unknown : None (UTF-8)
(geany:22793): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed Updatechecker-Message: Checking for updates
(geany:22793): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Updatechecker-Message: No update available
(geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
(geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
(geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
... [SNIP! ~230 each of these two lines while Geany was 'frozen' -- Victoria] ...
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
[FOLLOWING LINE AFTER FILE SAVE -- Victoria:]
(geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
... [SNIP! >100 each of these two lines while Geany was 'frozen' -- Victoria] ...
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed ^C victoria@victoria:~$
Interrupting Geany (Ctrl-C in terminal) gave no additional output, above.
gdb [http://www.cs.cmu.edu/~gilpin/tutorial/]:
victoria@victoria:~$ gdb geany GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/bin/geany...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/geany [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff01af700 (LWP 23216)] [New Thread 0x7fffef9ae700 (LWP 23217)] [New Thread 0x7fffee948700 (LWP 23218)]
(geany:23213): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [New Thread 0x7fffda11f700 (LWP 23220)] [Thread 0x7fffda11f700 (LWP 23220) exited]
[ AS MENTIONED IN MY LAST POST, THESE '... GTK_IS_TREE_MODEL (tree_model)' failed' ARE OUTPUTS FROM THE CTRL-S / SAVE EXECUTIONS -- VICTORIA:]
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [Thread 0x7fffee948700 (LWP 23218) exited]
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23213): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
[ QUIT GEANY -- Victoria:]
[Thread 0x7fffef9ae700 (LWP 23217) exited] [Thread 0x7ffff7fc3940 (LWP 23213) exited] [Inferior 1 (process 23213) exited normally]
(gdb) q victoria@victoria:~$
I repeated the above (Geany in gdb), this time halting gdb (Ctrl-C in terminal) when Geany was frozen. Geany went to a slightly greyed-out (non-responsive but still visible, readable) window and remained as a process in the System Monitor. It finally closed when I quit gdb (below):
victoria@victoria:~$ gdb geany GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/bin/geany...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/geany [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff01af700 (LWP 23335)] [New Thread 0x7fffef9ae700 (LWP 23336)] [New Thread 0x7fffee948700 (LWP 23337)]
(geany:23332): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [Thread 0x7fffee948700 (LWP 23337) exited]
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed ^C Program received signal SIGINT, Interrupt. 0x00007ffff541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) q A debugging session is active.
Inferior 1 [process 23332] will be killed.
Quit anyway? (y or n) y victoria@victoria:~$
As menioned, the
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
lines result from File Save operations.
I hope that this helps; Although knowledgeable in Linux operation, I am entirely unfamiliar with debugging (gdb, etc.)
[...]
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
These messages are from the enchant library that the spell checker plugin uses, so step one is to disable that plugin in the plugin manager and try again.
[...]
... [SNIP! ~230 each of these two lines while Geany was 'frozen' -- Victoria] ...
Looks suspicious, lets try the disable of the spell checker :)
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
[FOLLOWING LINE AFTER FILE SAVE -- Victoria:]
(geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
I suspect (without a great deal of evidence to date) that this is from the tree browser plugin, but I doubt its the cause of the slowdown.
** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
[...]
I repeated the above (Geany in gdb), this time halting gdb (Ctrl-C in terminal) when Geany was frozen. Geany went to a slightly greyed-out (non-responsive but still visible, readable) window and remained as a process in the System Monitor. It finally closed when I quit gdb (below):
Thats what is supposed to happen, the ctrl-c just interrupts it and throws control back to gdb, freezing the UI.
victoria@victoria:~$ gdb geany GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html%3E This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/bin/geany...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/geany [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff01af700 (LWP 23335)] [New Thread 0x7fffef9ae700 (LWP 23336)] [New Thread 0x7fffee948700 (LWP 23337)]
(geany:23332): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [Thread 0x7fffee948700 (LWP 23337) exited]
(geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed ^C Program received signal SIGINT, Interrupt. 0x00007ffff541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) q
What you should do here is bt to get a backtrace before quitting.
[...]
I hope that this helps; Although knowledgeable in Linux operation, I am entirely unfamiliar with debugging (gdb, etc.)
No problem, thanks for helping.
Cheers Lex
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Hi again: Four things (updates), plus a follow-up question.
FIRST: Geany via gdb until fault, then interrupt/backtrace:
victoria@victoria:~$ gdb geany GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/bin/geany...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/geany [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff01af700 (LWP 24297)] [New Thread 0x7fffef9ae700 (LWP 24298)] [New Thread 0x7fffee948700 (LWP 24299)]
(geany:24294): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
(geany:24294): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:24294): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [New Thread 0x7fffda11f700 (LWP 24302)] [Thread 0x7fffda11f700 (LWP 24302) exited]
(geany:24294): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:24294): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [Thread 0x7fffee948700 (LWP 24299) exited]
(geany:24294): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:24294): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
** (geany:24294): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:24294): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed
** (geany:24294): CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
** (geany:24294): CRITICAL **: enchant_is_all_caps: assertion `word && *word' failed ^C Program received signal SIGINT, Interrupt. 0x00007ffff541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff616c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff616c49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff78d42f7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #4 0x000000000044927c in main () (gdb) q A debugging session is active.
Inferior 1 [process 24294] will be killed.
Quit anyway? (y or n) y victoria@victoria:~$
=============================================
SECOND: Geany (normal program launch) >> 'Spell Check' plugin disable (deselected) >> quit Geany >> gdb geany again >> Could not replicate 'freeze' behavior! gdb output anyway, for comparison to first run:
victoria@victoria:~$ gdb geany GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/bin/geany...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/geany [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff01af700 (LWP 24922)] [New Thread 0x7fffef9ae700 (LWP 24923)] [New Thread 0x7fffee948700 (LWP 24924)]
(geany:24919): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
(geany:24919): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [New Thread 0x7fffdb275700 (LWP 24926)] [Thread 0x7fffdb275700 (LWP 24926) exited]
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [Thread 0x7fffee948700 (LWP 24924) exited]
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:24919): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed ^C Program received signal SIGINT, Interrupt. 0x00007ffff541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff616c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff616c49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff78d42f7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #4 0x000000000044927c in main () (gdb) q A debugging session is active.
Inferior 1 [process 24919] will be killed.
Quit anyway? (y or n) y victoria@victoria:~$
=============================================
THIRD: Geany (regular launch; 'Spell Check' plugin disabled (deselected)): Working normally; no 'freezes'! :-) Very fast, responsive (immediate) - heavy (intensive) pastes/saves/deletes ...
=============================================
FOURTH: Geany (regular program start) >> 'Tree Browser' plugin disabled/deselected >> quit Geany >> launch via terminal (verbose) >> appears that 'Tree Browser' (deselected) cannot be causing the
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
error message, upon file saves:
victoria@victoria:~$ geany -v Geany-INFO: Geany 1.23, en_CA.UTF-8 Geany-INFO: GTK 2.24.10, GLib 2.32.3 Geany-INFO: System data dir: /usr/share/geany Geany-INFO: User config dir: /home/victoria/.config/geany Geany-INFO: System plugin path: /usr/lib/x86_64-linux-gnu/geany Geany-INFO: Added filetype Scala (55). Geany-INFO: Added filetype Genie (56). Geany-INFO: Added filetype Cython (57). Geany-INFO: Added filetype Go (58). Geany-INFO: Disabling terminal support Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/addons.so (Addons) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/export.so (Export) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/saveactions.so (Save Actions) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/shiftcolumn.so (Shift Column) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/splitwindow.so (Split Window) Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/updatechecker.so (Updatechecker) Geany-INFO: unknown : None (UTF-8)
(geany:25196): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed Updatechecker-Message: Checking for updates
(geany:25196): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Updatechecker-Message: No update available Geany-INFO: Plugin "/usr/lib/x86_64-linux-gnu/geany/addons.so" already loaded. Geany-INFO: Plugin "/usr/lib/x86_64-linux-gnu/geany/export.so" already loaded. Geany-INFO: Plugin "/usr/lib/x86_64-linux-gnu/geany/saveactions.so" already loaded. Geany-INFO: Plugin "/usr/lib/x86_64-linux-gnu/geany/shiftcolumn.so" already loaded. Geany-INFO: Plugin "/usr/lib/x86_64-linux-gnu/geany/splitwindow.so" already loaded. Geany-INFO: Plugin "/usr/lib/x86_64-linux-gnu/geany/updatechecker.so" already loaded. Geany-INFO: Added 35 plugin(s) in '/usr/lib/x86_64-linux-gnu/geany'.
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8)
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(geany:25196): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed Geany-INFO: Quitting... Geany-INFO: Unloaded: /usr/lib/x86_64-linux-gnu/geany/addons.so Geany-INFO: Unloaded: /usr/lib/x86_64-linux-gnu/geany/export.so Geany-INFO: Unloaded: /usr/lib/x86_64-linux-gnu/geany/saveactions.so Geany-INFO: Unloaded: /usr/lib/x86_64-linux-gnu/geany/shiftcolumn.so Geany-INFO: Unloaded: /usr/lib/x86_64-linux-gnu/geany/splitwindow.so Geany-INFO: Unloaded: /usr/lib/x86_64-linux-gnu/geany/updatechecker.so victoria@victoria:~$
That's good: I like the Tree Browser plugin.
=============================================
I can live without the 'Spell Check' plugin, but very grudgingly so: I use it extensively for personal/professional use. Is there a work-around/other options? I use enchant e.g. with gedit, Claws mail - seemingly without issue ...
Thanks again for your excellent help much appreciated!
Sincerely, Victoria :-)
[...]
=============================================
THIRD: Geany (regular launch; 'Spell Check' plugin disabled (deselected)): Working normally; no 'freezes'! :-) Very fast, responsive (immediate) - heavy (intensive) pastes/saves/deletes ...
Ok, well, now the culprit is identified :)
But it is still worthwhile getting the backtrace from GDB as I asked. Since it doesn't happen here, that will provide some guidance for the plugin maintainer where to look. Without that info he may not be able to recreate the fault to fix it.
Geany-plugins is separate from Geany, the plugins are not necessarily created or maintained by Geany devs. So please make a bug report on the geany-plugins bug tracker (https://sourceforge.net/p/geany-plugins/bugs/) including the backtrace from above, so the maintainer will be informed. That way he can fix it and you won't need to go without.
That's good: I like the Tree Browser plugin.
The treebrowser plugin has been orphaned for a while, but has just got a new maintainer (IIRC) so again please make a bug report so he will know about the problem.
Cheers Lex
=============================================
I can live without the 'Spell Check' plugin, but very grudgingly so: I use it extensively for personal/professional use. Is there a work-around/other options? I use enchant e.g. with gedit, Claws mail - seemingly without issue ...
Thanks again for your excellent help much appreciated!
Sincerely, Victoria :-) _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Am 24.07.2013 02:57, schrieb Lex Trotman:
[...]
============================================= THIRD: Geany (regular launch; 'Spell Check' plugin disabled (deselected)): Working normally; no 'freezes'! :-) Very fast, responsive (immediate) - heavy (intensive) pastes/saves/deletes ...
Ok, well, now the culprit is identified :)
But it is still worthwhile getting the backtrace from GDB as I asked. Since it doesn't happen here, that will provide some guidance for the plugin maintainer where to look. Without that info he may not be able to recreate the fault to fix it.
He pasted the backtrace, you don't seem to read carefully these days :) Anyway, it sat in poll() so I assume another thread causes the problems.
To the OP: Can you provide a backtrace for each thread when the freeze problem occurs? To do this repeat the GDB procedure up to the point where you enter bt. But instead of bt do this:
1) print the threads and their IDs: 'info threads' for each thread: a) switch to thread with 'thread <ID>' b) print backtrace with bt
Best regards.
"He pasted the backtrace ..." >> Ahem: 'she' [Victoria], actually! ;-)
------------
Thinking about those enchant-related (spell-checking) error messages mentioned earlier in this thread, I searched/found/read the material provided in these two links,
https://github.com/rfk/pyenchant/issues/11
https://groups.google.com/forum/#!topic/pyenchant-users/QrNRFX3jhEs
that prompted me to examine my dictionary file contents.
I opened my Geany dictionary file (/home/victoria/.config/enchant/en_CA.dic) in gedit -- which has a handy Sort feature -- sorted it, deleted the blank lines (there were a couple: 2 or 3), and saved it.
I then launched Geany from a terminal prompt ($ geany), re-enabled the 'Spell Check' plugin [with each of the four options selected -- as before -- EXCEPT that I now unchecked/de-deselected the 'Print misspelled words and suggestions in the messages window' option], and ran my paste and save steps in the large text file that I've been working on.
Run from the terminal, Geany displayed the same error messages (gtk; gtk tree model; enchant; ...) in the terminal as provided earlier in this thread, but Geany itself appeared to worked fine: quick and immediately responsive (given that I was rapidly pasting in large chunks of output from a PostgreSQL/psql session running in gnome-terminal)!
Ditto, when Geany was launched via its icon (in the Ubuntu Unity panel!
So, this issue may be resolved: practically, if not technically! :-)
Thanks again to all, for your help/suggestions! Victoria :-)
------------
TENTATIVE SOLUTION:
1. Remove blank lines from your dictionary file. 2. De-deselect the 'Print misspelled words and suggestions in the messages window' option in the 'Spell Check' plugin.
[...]
I then launched Geany from a terminal prompt ($ geany), re-enabled the
'Spell Check' plugin [with each of the four options selected -- as before -- EXCEPT that I now unchecked/de-deselected the 'Print misspelled words and suggestions in the messages window' option], and ran my paste and save steps in the large text file that I've been working on.
Run from the terminal, Geany displayed the same error messages (gtk; gtk tree model; enchant; ...)
So cleaning up your local dictionary didn't get rid of the enchant errors, so maybe the problem is in the underlying spell checker dictionary. Enchant is a front end for several of the standard spell checkers, do you know which it is using, eg ispell, aspell, or something else?
in the terminal as provided earlier in this thread, but Geany itself appeared to worked fine: quick and immediately responsive (given that I was rapidly pasting in large chunks of output from a PostgreSQL/psql session running in gnome-terminal)!
Ok, enabling the 'Print misspelled words and suggestions in the messages window' causes 100% cpu usage for a while, and very slow during that period. You should also have a progress bar in the right of the status bar.
The GTK treeview widgets (which is what the messages window is) are a known performance problem when adding a lot of lines, ie the spelling suggestions. Not sure what we could do about that.
But pasting text does not cause it to re-spell check for me, its only slow when manually triggered.
Ditto, when Geany was launched via its icon (in the Ubuntu Unity panel!
So, this issue may be resolved: practically, if not technically! :-)
Thanks again to all, for your help/suggestions! Victoria :-)
TENTATIVE SOLUTION:
- Remove blank lines from your dictionary file.
2. De-deselect the 'Print misspelled words and suggestions in the messages
window' option in the 'Spell Check' plugin.
Yes for big files.
Cheers Lex
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
do you know which it is using, eg ispell, aspell, or something else?
victoria@victoria:~$ enchant -v @(#) International Ispell Version 3.1.20 (but really Enchant 1.6.0)
victoria@victoria:~$ man ispell No manual entry for ispell
victoria@victoria:~$ man aspell # launches aspell manual
btw, my en_CA.dic is large (14,860 items)
On 24 July 2013 16:24, Thomas Martitz thomas.martitz@student.htw-berlin.dewrote:
Am 24.07.2013 02:57, schrieb Lex Trotman:
[...]
=============================================
THIRD: Geany (regular launch; 'Spell Check' plugin disabled (deselected)): Working normally; no 'freezes'! :-) Very fast, responsive (immediate) - heavy (intensive) pastes/saves/deletes ...
Ok, well, now the culprit is identified :)
But it is still worthwhile getting the backtrace from GDB as I asked. Since it doesn't happen here, that will provide some guidance for the plugin maintainer where to look. Without that info he may not be able to recreate the fault to fix it.
He pasted the backtrace, you don't seem to read carefully these days :) Anyway, it sat in poll() so I assume another thread causes the problems.
Yes, I should have been clearer, I meant a backtrace that caught where spellcheck was looping (for Enrico's benefit). As you say this doesn't.
To the OP: Can you provide a backtrace for each thread when the freeze problem occurs? To do this repeat the GDB procedure up to the point where you enter bt. But instead of bt do this:
- print the threads and their IDs: 'info threads'
for each thread: a) switch to thread with 'thread <ID>' b) print backtrace with bt
Spellcheck shouldn't be in a different thread to the UI, and the bt seems to be the main thread, but maybe you are right and this isn't the main thread. Looking at all the threads should show that.
Or maybe spellcheck is doing something that causes glib to go into a polling loop, or maybe ctrl-c wasn't typed fast enough to catch it still in slow mode.
Thats enough speculative possibilities for now. :) Lets hope it can be caught.
Cheers Lex
Best regards.
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users