After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 352970 - Alacarte crashes when trying to go to a menu entry's properties
Alacarte crashes when trying to go to a menu entry's properties
Status: RESOLVED FIXED
Product: alacarte
Classification: Applications
Component: general
0.9.x
Other All
: Normal critical
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
: 352882 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-26 11:03 UTC by Alex Smith
Modified: 2006-10-22 14:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Alex Smith 2006-08-26 11:03:15 UTC
Steps to reproduce:
1. Start Alacarte
2. Go into a folder
3. Right click an program's launcher
4. Click Properties


Stack trace:
Starting program: /usr/bin/python /usr/bin/alacarte
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47321013009152 (LWP 6858)]
(no debugging symbols found)
<snip - repeated lots of times>
GLib-GObject-CRITICAL **: g_signal_handler_block: assertion `handler_id > 0' failed
aborting...
Program received signal SIGABRT, Aborted.
[Switching to Thread 47321013009152 (LWP 6858)]
0x00002b09c80bd535 in raise () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 1 (Thread 47321013009152 (LWP 6858))

  • #0 raise
    from /lib/libc.so.6
  • #1 abort
    from /lib/libc.so.6
  • #2 g_logv
    from /usr/X11R6/lib/libglib-2.0.so.0
  • #3 g_log
    from /usr/X11R6/lib/libglib-2.0.so.0
  • #4 gtk_entry_set_text
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #5 _wrap_gtk_entry_set_text
    from /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
  • #6 PyEval_EvalFrame
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #7 PyEval_EvalCodeEx
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #8 PyEval_EvalFrame
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #9 PyEval_EvalCodeEx
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #10 function_call
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #11 PyObject_Call
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #12 instancemethod_call
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #13 PyObject_Call
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #14 PyEval_CallObjectWithKeywords
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #15 pyg_closure_marshal
    from /usr/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  • #16 g_closure_invoke
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #17 signal_emit_unlocked_R
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_valist
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #19 g_signal_emit
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #20 gtk_widget_activate
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #21 gtk_menu_shell_activate_item
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #22 gtk_menu_shell_button_release
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #23 _gtk_marshal_BOOLEAN__BOXED
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #24 g_closure_invoke
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #25 signal_emit_unlocked_R
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /usr/X11R6/lib/libgobject-2.0.so.0
  • #28 gtk_widget_event_internal
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #29 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #30 gtk_main_do_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #31 gdk_event_dispatch
    from /usr/X11R6/lib/libgdk-x11-2.0.so.0
  • #32 g_main_context_dispatch
    from /usr/X11R6/lib/libglib-2.0.so.0
  • #33 g_main_context_iterate
    from /usr/X11R6/lib/libglib-2.0.so.0
  • #34 g_main_loop_run
    from /usr/X11R6/lib/libglib-2.0.so.0
  • #35 gtk_main
    from /usr/X11R6/lib/libgtk-x11-2.0.so.0
  • #36 _wrap_gtk_main
    from /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
  • #37 PyEval_EvalFrame
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #38 PyEval_EvalFrame
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #39 PyEval_EvalFrame
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #40 PyEval_EvalCodeEx
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #41 PyEval_EvalCode
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #42 PyRun_FileExFlags
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #43 PyRun_SimpleFileExFlags
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #44 Py_Main
    from /usr/X11R6/lib/libpython2.4.so.1.0
  • #45 __libc_start_main
    from /lib/libc.so.6
  • #46 _start

Other information:
Comment 1 Joseph Sacco 2006-08-27 20:47:48 UTC
I am seeing the same issue with the CVS code as of 24-aug-06.  When "properties" is selected for an item that is a member of a folder, alacarte crashes. 

Runing from a terminal window reveals a complaint about a missing attribute as shown below.

-Joseph

=========================

% alacarte 
Traceback (most recent call last):
  • File "/usr/local/src/GARNOME/2.15/garnome-2.15.x/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 246 in on_item_contents_changed
    self.saveItem(self.item_original_values, True)
AttributeError: DialogHandler instance has no attribute 'item_original_values'
Traceback (most recent call last):
  • File "/usr/local/src/GARNOME/2.15/garnome-2.15.x/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 246 in on_item_contents_changed
    self.saveItem(self.item_original_values, True)
AttributeError: DialogHandler instance has no attribute 'item_original_values'
GLib-GObject-CRITICAL **: g_signal_handler_block: assertion `handler_id > 0' failed
aborting...

Comment 2 Alex Smith 2006-09-01 18:16:07 UTC
Right, we have 5 days until Gnome 2.16. I reported this bug a week ago, it has been confirmed by somebody else. Are you just gonna sit by and release buggy software as "stable"? Not a good idea...

I don't mean to be rude by the way, I just don't want Gnome 2.16 to be buggy
Comment 3 Karsten Bräckelmann 2006-09-01 18:35:34 UTC
Alex, this is a Critical Warning crasher. These are enabled by default for the unstable GNOME branches, to easily spot those issues, and make GNOME even more stable.

Note that these warnings generally do not result in a crash for *stable* GNOME releases. They may affect other code later, though, and therefore lead to crashes (that's why the yneed to be spotted and eliminated).


While the developers and the entire GNOME user community does appreciate your caring about bugs and smoketesting, please keep in mind that developers usually are pretty busy folks, and there may be more urgent issues to fix.

Anyway, thanks for smoketesting and caring about GNOME. :)
Comment 4 Karsten Bräckelmann 2006-09-01 18:41:32 UTC
Also, if you want to check how the app behaves in a stable GNOME branch, you can change the G_DEBUG env var, which is set to fatal_criticals in unstable releases.

You should be able to 'unset G_DEBUG' in your session script for the entire Desktop, or on a per app basis:

$ G_DEBUG= application
Comment 5 Alex Smith 2006-09-01 19:07:18 UTC
Bah, sorry for bugging you then ><
Comment 6 Karsten Bräckelmann 2006-09-01 22:59:46 UTC
No problem, Alex. You just showed that you are interested in GNOME and got some strong opinions about it. That's good.

And yes, sometimes developers *need* some poking on their bugs. :)
Comment 7 Donnavon Hallgren 2006-09-04 23:54:33 UTC
Let's hope... I have the same issue here. I've dealt with this guy
before and his answer to me was to switch distro's. Hopefully now
that this is part of gnome he'll be much easier to work with..
Comment 8 Travis Watkins 2006-10-02 01:59:57 UTC
Fixed in CVS. The fix will go into the next patch release. Thank you for your bug report.

2006-10-01  Travis Watkins  <alleykat@gmail.com>

        * Alacarte/DialogHandler.py: fix crash bug with command entry
Comment 9 Travis Watkins 2006-10-02 02:01:52 UTC
*** Bug 352882 has been marked as a duplicate of this bug. ***
Comment 10 Travis Watkins 2006-10-22 14:28:28 UTC
*** Bug 364080 has been marked as a duplicate of this bug. ***