lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.01k stars 278 forks source link

MAC filter crashes program when enabled #410

Open tredI9100 opened 2 weeks ago

tredI9100 commented 2 weeks ago

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):

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)
MacaylaMarvelous81 commented 1 week ago

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

lakinduakash commented 1 week ago

Will release new version soon. Thanks