Adding a new menu item Alacarte crash and exit

Bug #72298 reported by Nicola Jelmorini
54
Affects Status Importance Assigned to Milestone
Alacarte Menu Editor
Fix Released
Medium
alacarte (Ubuntu)
Fix Released
Undecided
Travis Watkins

Bug Description

Binary package hint: alacarte

This bug is present not on a regular basis, but sometimes, if I try to add a menu item, Alacarte crash and exit.

Attached to this bug report is the bugs-buddy crash report.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :
Revision history for this message
Philip Paquette (pcpaquette) wrote :

Confirming Bug... Alacarte crashes sometimes when typing in the "command" textbox while adding a new entry... Full backtrace and Bug Report joined.

Changed in alacarte:
status: Unconfirmed → Confirmed
Revision history for this message
Philip Paquette (pcpaquette) wrote :

Backtrace with libglib-2.0-dbgsym installed.

Bug is hard to reproduce, but basically I created a new entry in System->Administration named "test" with description "test" and I started typing random characters in the "Command" textbox with backspaces. Then I saved, reedited and restarted typing characters and it crashed.

Revision history for this message
Philip Paquette (pcpaquette) wrote :
Revision history for this message
Philip Paquette (pcpaquette) wrote :
Download full text (5.9 KiB)

Here is the output when run from a terminal:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selection_bounds()
ValueError: need more than 0 values to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py", line 295, in on_item_command_entry_key_press_event
    start, end = entry.get_selectio...

Read more...

Revision history for this message
Philip Paquette (pcpaquette) wrote :

Assigning to Ubuntu Desktop Bugs...

Changed in alacarte:
assignee: nobody → desktop-bugs
Revision history for this message
timjowers (timjowers) wrote :
Download full text (17.5 KiB)

Ditto for Fedora Core 6 with almost all updates.

in console:

[root@localhost Desktop]# /usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py:221: Warning: g_signal_handler_block: assertion `handler_id > 0' failed
  command_entry.set_text(self.item.get_exec())
/usr/lib/python2.4/site-packages/Alacarte/DialogHandler.py:221: Warning: g_signal_handler_unblock: assertion `handler_id > 0' failed
  command_entry.set_text(self.item.get_exec())

60: GtkWarning: gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed
  response = dialog.run()

** (bug-buddy:3804): WARNING **: Couldn't load icon for Open Folder
"/usr/bin/alacarte": not in executable format: File format not recognized

[1]+ Exit 1 alacarte

System: Linux 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:36:14 EST 2006 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Disabled
----------- .xsession-errors (182 sec old) ---------------------
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_color that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_filename that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_set that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_color that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_filename that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_set that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_color that already exists.
(nautilus:2952): Eel-WARNING **: Trying to add a callback for preferences/background_filename that already exists.
--------------------------------------------------

Memory status: size: 130863104 vsize: 0 resident: 130863104 share: 0 rss: 29265920 rss_rlim: 0
CPU usage: start_time: 1164997702 rtime: 0 utime: 1599 stime: 0 cutime:1519 cstime: 0 timeout: 80 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/alacarte'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208666432 (LWP 3701)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols f...

Changed in alacarte:
status: Unknown → Unconfirmed
Revision history for this message
Justin Chudgar (justinzane) wrote :

I'm using alacarte 0.10.2-0ubuntu1; and, I can also duplicate this bug. I've gotten it while trying to change the executable path for an item or when trying to change an item. Attached is my crash log.

Revision history for this message
C. Drake (codemunkey2) wrote :

Confirmed here too.

Also, if I try to just edit the textbox of the command, it starts slowing down and eventually dies.

I'm running on an AMD 64 bit Dual Core Processor with 2GB of RAM on Ubuntu 6.10 Edgy AMD 64 bit Edition.

Revision history for this message
Travis Watkins (amaranth) wrote :

This should be fixed in the 0.11.0 version of alacarte (in feisty). Please try it and see.

Changed in alacarte:
assignee: desktop-bugs → amaranth
status: Confirmed → Needs Info
Changed in alacarte:
status: Needs Info → Fix Released
Revision history for this message
Justin Chudgar (justinzane) wrote :

Very nice. I've tried to duplicate the problems with no failures noted. I am very happy that general performance seems to have improved. Drag-n-drop from one menu to another now works well. It never did before for me.

Thanks.

Changed in alacarte:
status: Unconfirmed → Fix Released
Changed in alacarte:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.