#1 sshmenu crashes when there are too many servers in .sshmenu

closed
None
5
2007-12-04
2007-11-15
Anonymous
No

Firstly a word of appreciation - sshmenu looks to be an excellent tool and perfect for our needs.

Unfortunately both my colleague and I have discovered that the attached file causes sshmenu to crash when you click on the SSH icon. Reducing the number of entries in .sshmenu restores functionality.

I would be grateful if you could look into this.

------------------------------------------------

Gnome Bug Buddy generated the following report:

Memory status: size: 58712064 vsize: 0 resident: 58712064 share: 0 rss: 19750912 rss_rlim: 0
CPU usage: start_time: 1195141007 rtime: 0 utime: 36 stime: 0 cutime:33 cstime: 0 timeout: 3 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/libexec/SSH Menu Applet'

(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 -1208056128 (LWP 4864)]
(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 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 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 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)
0x0016e410 in __kernel_vsyscall ()
#0 0x0016e410 in __kernel_vsyscall ()
#1 0x0048fd23 in __waitpid_nocancel () from /lib/libpthread.so.0
#2 0x0331bc26 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0x02dd0862 in gtk_menu_item_new_with_label ()
from /usr/lib/libgtk-x11-2.0.so.0
#5 0x02dc5000 in gtk_marshal_BOOLEAN__VOID ()
from /usr/lib/libgtk-x11-2.0.so.0
#6 0x006ef6f9 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
#7 0x006f0fed in g_closure_invoke () from /lib/libgobject-2.0.so.0
#8 0x007024d3 in g_signal_override_class_closure ()
from /lib/libgobject-2.0.so.0
#9 0x00703147 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#10 0x00703539 in g_signal_emit () from /lib/libgobject-2.0.so.0
#11 0x02ed90a8 in gtk_widget_get_default_style ()
from /usr/lib/libgtk-x11-2.0.so.0
#12 0x02d2e797 in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
#13 0x02d2e801 in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
#14 0x02dd1a69 in gtk_menu_shell_select_first ()
from /usr/lib/libgtk-x11-2.0.so.0
#15 0x02d2f1eb in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x02d2f2df in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x02dcbd32 in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x02dc5000 in gtk_marshal_BOOLEAN__VOID ()
from /usr/lib/libgtk-x11-2.0.so.0
#19 0x006ef6f9 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
#20 0x006f0f0b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#21 0x007024d3 in g_signal_override_class_closure ()
from /lib/libgobject-2.0.so.0
#22 0x00703147 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#23 0x00703539 in g_signal_emit () from /lib/libgobject-2.0.so.0
#24 0x02ed90a8 in gtk_widget_get_default_style ()
from /usr/lib/libgtk-x11-2.0.so.0
#25 0x02dbf8c4 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x0024b80f in gdk_window_is_viewable () from /usr/lib/libgdk-x11-2.0.so.0
#27 0x0024ba57 in gdk_window_process_all_updates ()
from /usr/lib/libgdk-x11-2.0.so.0
#28 0x02d2f462 in gtk_container_check_resize ()
from /usr/lib/libgtk-x11-2.0.so.0
#29 0x001985e1 in g_source_is_destroyed () from /lib/libglib-2.0.so.0
#30 0x0019a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x0019d31f in g_main_context_check () from /lib/libglib-2.0.so.0
#32 0x0019d6c9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#33 0x03253a23 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#34 0x03251c89 in bonobo_generic_factory_main_timeout ()
from /usr/lib/libbonobo-2.so.0
#35 0x03251d13 in bonobo_generic_factory_main ()
from /usr/lib/libbonobo-2.so.0
#36 0x03177ff1 in panel_applet_factory_main_closure ()
from /usr/lib/libpanel-applet-2.so.0
#37 0x031780d5 in panel_applet_factory_main ()
from /usr/lib/libpanel-applet-2.so.0
#38 0x0087039a in ?? () from /usr/lib/site_ruby/1.8/i386-linux/panelapplet2.so
#39 0x004c0da8 in rb_provide () from /usr/lib/libruby.so.1.8
#40 0x004c847b in rb_iter_break () from /usr/lib/libruby.so.1.8
#41 0x004c9198 in rb_iter_break () from /usr/lib/libruby.so.1.8
#42 0x004d0e66 in rb_apply () from /usr/lib/libruby.so.1.8
#43 0x004d226c in rb_apply () from /usr/lib/libruby.so.1.8
#44 0x004d6a37 in rb_load_protect () from /usr/lib/libruby.so.1.8
#45 0x004d6a82 in ruby_exec () from /usr/lib/libruby.so.1.8
#46 0x004d6abf in ruby_run () from /usr/lib/libruby.so.1.8
#47 0x080485f2 in main ()

Thread 1 (Thread -1208056128 (LWP 4864)):
#0 0x0016e410 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0048fd23 in __waitpid_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2 0x0331bc26 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0x02dd0862 in gtk_menu_item_new_with_label ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#5 0x02dc5000 in gtk_marshal_BOOLEAN__VOID ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6 0x006ef6f9 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
No symbol table info available.
#7 0x006f0fed in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#8 0x007024d3 in g_signal_override_class_closure ()
from /lib/libgobject-2.0.so.0
No symbol table info available.
#9 0x00703147 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x00703539 in g_signal_emit () from /lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x02ed90a8 in gtk_widget_get_default_style ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x02d2e797 in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x02d2e801 in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x02dd1a69 in gtk_menu_shell_select_first ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x02d2f1eb in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x02d2f2df in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x02dcbd32 in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x02dc5000 in gtk_marshal_BOOLEAN__VOID ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x006ef6f9 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x006f0f0b in g_closure_invoke () from /lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x007024d3 in g_signal_override_class_closure ()
from /lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x00703147 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
No symbol table info available.
#23 0x00703539 in g_signal_emit () from /lib/libgobject-2.0.so.0
No symbol table info available.
#24 0x02ed90a8 in gtk_widget_get_default_style ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#25 0x02dbf8c4 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x0024b80f in gdk_window_is_viewable () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#27 0x0024ba57 in gdk_window_process_all_updates ()
from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#28 0x02d2f462 in gtk_container_check_resize ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0x001985e1 in g_source_is_destroyed () from /lib/libglib-2.0.so.0
No symbol table info available.
#30 0x0019a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#31 0x0019d31f in g_main_context_check () from /lib/libglib-2.0.so.0
No symbol table info available.
#32 0x0019d6c9 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#33 0x03253a23 in bonobo_main () from /usr/lib/libbonobo-2.so.0
No symbol table info available.
#34 0x03251c89 in bonobo_generic_factory_main_timeout ()
from /usr/lib/libbonobo-2.so.0
No symbol table info available.
#35 0x03251d13 in bonobo_generic_factory_main ()
from /usr/lib/libbonobo-2.so.0
No symbol table info available.
#36 0x03177ff1 in panel_applet_factory_main_closure ()
from /usr/lib/libpanel-applet-2.so.0
No symbol table info available.
#37 0x031780d5 in panel_applet_factory_main ()
from /usr/lib/libpanel-applet-2.so.0
No symbol table info available.
#38 0x0087039a in ?? () from /usr/lib/site_ruby/1.8/i386-linux/panelapplet2.so
No symbol table info available.
#39 0x004c0da8 in rb_provide () from /usr/lib/libruby.so.1.8
No symbol table info available.
#40 0x004c847b in rb_iter_break () from /usr/lib/libruby.so.1.8
No symbol table info available.
#41 0x004c9198 in rb_iter_break () from /usr/lib/libruby.so.1.8
No symbol table info available.
#42 0x004d0e66 in rb_apply () from /usr/lib/libruby.so.1.8
No symbol table info available.
#43 0x004d226c in rb_apply () from /usr/lib/libruby.so.1.8
No symbol table info available.
#44 0x004d6a37 in rb_load_protect () from /usr/lib/libruby.so.1.8
No symbol table info available.
#45 0x004d6a82 in ruby_exec () from /usr/lib/libruby.so.1.8
No symbol table info available.
#46 0x004d6abf in ruby_run () from /usr/lib/libruby.so.1.8
No symbol table info available.
#47 0x080485f2 in main ()
No symbol table info available.
#0 0x0016e410 in __kernel_vsyscall ()

Discussion

  • Nobody/Anonymous

     
  • Nobody/Anonymous

    Logged In: NO

    OS is RHEL 5 workstation

     
  • Grant McLean

    Grant McLean - 2007-11-19

    Logged In: YES
    user_id=242694
    Originator: NO

    Thank you for your report.

    The problem appears to be due to the menu with the title 'NO'. If I delete all items except that one then the problem persists. As a workaround, you can add a trailing space to the title so it gets saved as "NO ".

    It appears that this is a result of the Ruby YAML library misinterpreting a string with a value of NO as a boolean value of false. It may be possible to set some option when saving the file so that this doesn't happen. I will investigate further.

     
  • Grant McLean

    Grant McLean - 2007-11-19
    • assigned_to: nobody --> grantm
     
  • Grant McLean

    Grant McLean - 2007-11-19
    • status: open --> pending
     
  • Grant McLean

    Grant McLean - 2007-11-19

    Logged In: YES
    user_id=242694
    Originator: NO

    I was assuming that the file you attached was created by SSHMenu. However, further investigation reveals that (at least on my system) the string NO is written out with double quotes as "NO" and does not suffer from the same problem as your sample file.

    If you generated the config file using some other system, then you can adjust the YAML generation options on that system and this ticket can be closed.

    If you did create the file using SSHMenu, then please advise what version of Ruby you're using.

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks