lakinduakash/linux-wifi-hotspot

MAC filter crashes program when enabled

tredI9100 opened this issue · 2 comments

Describe the bug
If you try to create a hotspot while the MAC filter is enabled, the program crashes.

To Reproduce

  1. Open advanced settings
  2. Enable the MAC filter
  3. Try to create a hotspot
  4. Program crashes with no error message

Expected behavior
The program should create a hotspot that denies access to devices not on the specified list of MAC addresses.

Desktop (please complete the following information):

  • OS: Linux Mint 21.3 Cinnamon
  • Version: 21.3 (Cinnamon, Linux 5.15.0-112-generic)

Additional context
Terminal output:

(wihotspot-gui:10860): GLib-GObject-WARNING **: 22:55:48.229: invalid cast from 'GtkEntry' to 'GtkTextView'

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:55:48.229: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed

(wihotspot-gui:10860): GLib-GObject-WARNING **: 22:55:48.229: invalid (NULL) pointer instance

(wihotspot-gui:10860): GLib-GObject-CRITICAL **: 22:55:48.229: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:56:00.840: gtk_text_buffer_get_start_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:56:00.840: gtk_text_buffer_get_end_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:56:00.840: gtk_text_buffer_get_text: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:56:00.840: gtk_text_buffer_get_start_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:56:00.840: gtk_text_buffer_get_end_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:10860): Gtk-CRITICAL **: 22:56:00.840: gtk_text_buffer_get_text: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed
Segmentation fault (core dumped)

This was fixed in #391, but it's not in the latest release yet.

Will release new version soon. Thanks