GNOME Bugzilla – Bug 625465
Anjuta crashed when input code with function hint enabled
Last modified: 2011-01-20 03:35:36 UTC
When I coding in Anjuta, it crashed at certain place. I'm working on an gtkmm program, and every time I try to input following code, add_accel_group (ui_manager->get_accel_group()); The Anjuta will crashed after I input "->". Following is the gdb information with the call stack: GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 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 "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/anjuta...Reading symbols from /usr/lib/debug/usr/bin/anjuta...done. done. (gdb) r Starting program: /usr/bin/anjuta [Thread debugging using libthread_db enabled] [New Thread 0xb6a60b70 (LWP 5169)] [New Thread 0xb625fb70 (LWP 5170)] [New Thread 0xb5a5eb70 (LWP 5172)] [Thread 0xb5a5eb70 (LWP 5172) exited] [Thread 0xb625fb70 (LWP 5170) exited] [New Thread 0xb625fb70 (LWP 5175)] [New Thread 0xb5a5eb70 (LWP 5193)] [New Thread 0xb41e4b70 (LWP 5194)] [New Thread 0xb3579b70 (LWP 5198)] [New Thread 0xb2d78b70 (LWP 5199)] [Thread 0xb2d78b70 (LWP 5199) exited] [Thread 0xb6a60b70 (LWP 5169) exited] GladeUI-Message: No displayable values for property GtkScaleButton::size GladeUI-Message: No displayable values for property GtkImage::icon-size (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-sizegroup' was found for object class 'GtkSizeGroup'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-accelgroup' was found for object class 'GtkAccelGroup'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-adjustment' was found for object class 'GtkAdjustment'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-uimanager' was found for object class 'GtkUIManager'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-treemodelfilter' was found for object class 'GtkTreeModelFilter'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-treemodelsort' was found for object class 'GtkTreeModelSort'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-treeselection' was found for object class 'GtkTreeSelection'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-statusicon' was found for object class 'GtkStatusIcon'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-textbuffer' was found for object class 'GtkTextBuffer'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-texttag' was found for object class 'GtkTextTag'. GladeUI-Message: No displayable values for property GtkTextTag::direction (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-texttagtable' was found for object class 'GtkTextTagTable'. (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtk-filefilter' was found for object class 'GtkFileFilter'. (anjuta:5166): GladeUI-CRITICAL **: Unable to load module 'gtksourceview-2.0' from any search paths (anjuta:5166): GladeUI-WARNING **: Failed to load external library 'gtksourceview-2.0' (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-gtksourceview-gtksourceview' was found for object class 'GtkSourceView'. (anjuta:5166): GladeUI-CRITICAL **: Unable to load module 'vte' from any search paths (anjuta:5166): GladeUI-WARNING **: Failed to load external library 'vte' GladeUI-Message: No displayable values for property VteTerminal::backspace-binding GladeUI-Message: No displayable values for property VteTerminal::cursor-blink-mode GladeUI-Message: No displayable values for property VteTerminal::cursor-shape GladeUI-Message: No displayable values for property VteTerminal::delete-binding (anjuta:5166): GladeUI-WARNING **: No icon named 'widget-anjuta-vcsstatus' was found for object class 'AnjutaVcsStatusTreeView'. (anjuta:5166): GladeUI-WARNING **: Cannot find symble“gm_audio_profile_edit_get_type” (anjuta:5166): GladeUI-WARNING **: Cannot get type from“\xb8 \u0015\u0008udio_profile_edit_get_type” (anjuta:5166): GladeUI-WARNING **: Failed to load the GType for 'GMAudioProfileEdit' (anjuta:5166): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `delete' is invalid for instance `0xa03da10' [New Thread 0xb6a60b70 (LWP 5235)] [Thread 0xb6a60b70 (LWP 5235) exited] [New Thread 0xb6a60b70 (LWP 5236)] [New Thread 0xb2d78b70 (LWP 5237)] [New Thread 0xb18f2b70 (LWP 5238)] [Thread 0xb3579b70 (LWP 5198) exited] [Thread 0xb2d78b70 (LWP 5237) exited] [Thread 0xb6a60b70 (LWP 5236) exited] [New Thread 0xb6a60b70 (LWP 5239)] [Thread 0xb6a60b70 (LWP 5239) exited] [New Thread 0xb6a60b70 (LWP 5240)] [Thread 0xb6a60b70 (LWP 5240) exited] [Thread 0xb18f2b70 (LWP 5238) exited] [New Thread 0xb18f2b70 (LWP 5241)] [New Thread 0xb6a60b70 (LWP 5242)] [Thread 0xb6a60b70 (LWP 5242) exited] [New Thread 0xb6a60b70 (LWP 5244)] [New Thread 0xb2d78b70 (LWP 5245)] [New Thread 0xb3579b70 (LWP 5246)] [Thread 0xb6a60b70 (LWP 5244) exited] [Thread 0xb2d78b70 (LWP 5245) exited] [Thread 0xb3579b70 (LWP 5246) exited] [New Thread 0xb3579b70 (LWP 5247)] [New Thread 0xb2d78b70 (LWP 5248)] [New Thread 0xb6a60b70 (LWP 5249)] [Thread 0xb2d78b70 (LWP 5248) exited] [Thread 0xb3579b70 (LWP 5247) exited] [Thread 0xb6a60b70 (LWP 5249) exited] Program received signal SIGSEGV, Segmentation fault. 0x00a471fd in g_list_insert_before () from /lib/libglib-2.0.so.0 (gdb) bt
+ Trace 223023
Is that reproducable for you? And if yes, could you provide steps? We have another report about something like this happening but it's difficult to fix as nobody can reliable reproduce it. Thanks!
It was able to reproducable on my ubuntu. The step is very simple, just open anjuta, which will open my last project automatically, and open the .cpp file, and enter the above line, then anjuta crashed. It happened every time. Anjuta did not crash on other place of "->" with hint. I think it might be a bug in the searching function for hint. So, this perticular place may trigger the bug. I switched to Eclipse to pass those lines caused crash, and continue my development. After a while, then I'm back to anjuta, everything is fine again. Even I remove the line caused the crash and re-enter it again, it will not crash anymore. Yesterday, I reached another point caused the crash with exactly same symptom, then I use Eclipse or gedit to continue the development for a while, then I back to anjuta, the bug disappeared again. Currently, I cannot reproduce the bug since they are disappeared. But, I provided the stack trace and core dump last time, are they not enough? I'm not sure the bug can be easily reproduced, so could you tell me, what else should I provide to help you locate the bug?
Thanks for your additional information. Your report is perfectly OK, I was just interested if there would be more info to fix that. As we still have this problem in git master sometimes we will definitly work on that.
I made some additional changes in git master that should catch that bug. I would very much appreciate if you could try if that problems still remains for you there. Thanks!
*** Bug 626812 has been marked as a duplicate of this bug. ***
*** Bug 610394 has been marked as a duplicate of this bug. ***
*** Bug 634791 has been marked as a duplicate of this bug. ***
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!