Bug 199139 - net-mgmt/etherape: UI does not work ("could not find signal handler")
Summary: net-mgmt/etherape: UI does not work ("could not find signal handler")
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 07:30 UTC by Martin Birgmeier
Modified: 2015-04-10 17:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2015-04-03 07:30:14 UTC
For some time now (probably since the last update to it), etherape-0.9.13_1 does not work any more: Its UI is completely dysfunctional in that none of the buttons etc. does anything. On starting, it spews the messages shown below; the first two are harmless and happen only because I am starting it via a remote X connection, but the "could not find signal handler" did not occur previously:

---------- snip ----------
[0]# etherape -i le0
_IceTransSocketUNIXConnect: Cannot connect to non-local host mizar.xyzzy

(etherape:13956): GnomeUI-WARNING **: While connecting to session manager:
Could not open network socket.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_open_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_nodes_check_toggled'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_ok_pref_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_legend_check_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_full_screen_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_nodes_toolbar_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_next_menuitem_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_about1_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_mode_radio_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_canvas1_size_allocate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_colordiag_ok_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_diagram_only_toggle_toggled'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_node_info_delete_event'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_color_add_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_color_change_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_protocol_edit_ok_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_color_remove_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_numeric_toggle_toggled'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_delete_protocol_window'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_protocol_edit_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_toolbar_check_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'cleanup'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_stop_menuitem_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_nodes_wnd_delete_event'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_start_menuitem_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_cancel_pref_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_pause_menuitem_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_save_pref_button_clicked'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_status_bar_check_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_nodes_table_row_activated'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_preferences1_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_prot_info_delete_event'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_export_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'toggle_protocols_window'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_protocol_edit_dialog_show'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_group_unk_check_toggled'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_protocols_check_activate'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_prot_list_select_row'.

(etherape:13956): libglade-WARNING **: could not find signal handler 'on_help_activate'.
^C
(etherape:13956): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(etherape:13956): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(etherape:13956): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(etherape:13956): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
---------- snip ----------

Apart from the dysfunctional UI, the program itself seems to mostly work. It can only be terminated by closing its window or killing it; it will then usually dump core.

Since the UI does not work, settings must be done manually in ~/.config/etherape, but apart from this they are honored.

It would be nice if this could be fixed.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-04-10 17:18:20 UTC
A commit references this bug:

Author: danfe
Date: Fri Apr 10 17:17:26 UTC 2015
New revision: 383745
URL: https://svnweb.freebsd.org/changeset/ports/383745

Log:
  Fix broken GUI due to infamous "libglade-WARNING **: could not find signal
  handler" errors.  This usually happens when signal handlers are not being
  exported correctly (via G_MODULE_EXPORT), but I'd leave it for upstream to
  decide how to come up with a proper fix.  For now, adding `-export-dynamic'
  to LDFLAGS is probably OK for a quick'n'dirty remedy.

  While here: rephrase COMMENT text, install a few documentation files, and
  reformat and amend port description text.

  PR:	199139

Changes:
  head/net-mgmt/etherape/Makefile
  head/net-mgmt/etherape/pkg-descr
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2015-04-10 17:22:01 UTC
Should be fixed as of ports r383745.  Ideally this port should gain a proper maintainer, and this issue reported upstream, so it can be fixed in a nicer way.

Feel free to reopen this bug if the problem persists (do not open a new one, unless it is a different, unrelated problem with the port).