After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635189 - Crash on creating ad-hoc network
Crash on creating ad-hoc network
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
0.8.x
Other Linux
: Normal critical
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2010-11-18 16:39 UTC by Maciej (Matthew) Piechotka
Modified: 2011-02-10 20:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2010-11-18 16:39:21 UTC
1. I create new network ad-hoc
2. I fill the first dialog box choosing WPA & WPA2 encryption
3. The second dialog box appear informing that network I'm about to connect is encrypted (??? - I already awere about it) and display disabled, empty dropdown list(???). All I can do is click on next.
4. nm-applet crashes


Distribution: Gentoo Base System release 2.0.1-r1
Gnome Release: 2.32.0 2010-11-04 (Gentoo)
BugBuddy Version: 2.32.0

System: Linux 2.6.36-zen1+ #8 ZEN SMP PREEMPT Sun Nov 14 02:05:51 GMT 2010 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10902901
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Tango
GTK+ Modules: canberra-gtk-module, gnomesegvhandler, gnomebreakpad

Memory status: size: 424259584 vsize: 424259584 resident: 23941120 share: 18010112 rss: 23941120 rss_rlim: 18446744073709551615
CPU usage: start_time: 1290097857 rtime: 156 utime: 150 stime: 6 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/nm-applet'

[Thread debugging using libthread_db enabled]
[New Thread 0x7f8915ca3710 (LWP 2695)]
0x00007f891f82702d in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7f89224ed780 (LWP 2694))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 g_spawn_sync
    at gspawn.c line 392
  • #2 g_spawn_command_line_sync
    at gspawn.c line 706
  • #3 run_bug_buddy
    at gnome-segvhanlder.c line 240
  • #4 bugbuddy_segv_handle
    at gnome-segvhanlder.c line 191
  • #5 <signal handler called>
  • #6 IA__gtk_tree_model_get_valist
    at gtktreemodel.c line 1473
  • #7 IA__gtk_tree_model_get
    at gtktreemodel.c line 1435
  • #8 nma_wireless_dialog_nag_user
    at wireless-dialog.c line 1389
  • #9 get_secrets_dialog_response_cb
    at applet-device-wifi.c line 1630
  • #10 g_closure_invoke
    at gclosure.c line 766
  • #11 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #12 g_signal_emit_valist
    at gsignal.c line 2983
  • #13 g_signal_emit
    at gsignal.c line 3040
  • #14 g_closure_invoke
    at gclosure.c line 766
  • #15 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #16 g_signal_emit_valist
    at gsignal.c line 2983
  • #17 g_signal_emit
    at gsignal.c line 3040
  • #18 gtk_real_button_released
    at gtkbutton.c line 1725
  • #19 g_closure_invoke
    at gclosure.c line 766
  • #20 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #21 g_signal_emit_valist
    at gsignal.c line 2983
  • #22 g_signal_emit
    at gsignal.c line 3040
  • #23 gtk_button_button_release
    at gtkbutton.c line 1617
  • #24 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #25 g_closure_invoke
    at gclosure.c line 766
  • #26 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #27 g_signal_emit_valist
    at gsignal.c line 2993
  • #28 g_signal_emit
    at gsignal.c line 3040
  • #29 gtk_widget_event_internal
    at gtkwidget.c line 4977
  • #30 IA__gtk_propagate_event
    at gtkmain.c line 2460
  • #31 IA__gtk_main_do_event
    at gtkmain.c line 1665
  • #32 gdk_event_dispatch
    at gdkevents-x11.c line 2377
  • #33 g_main_dispatch
    at gmain.c line 2267
  • #34 g_main_context_dispatch
    at gmain.c line 2824
  • #35 g_main_context_iterate
    at gmain.c line 2902
  • #36 g_main_loop_run
    at gmain.c line 3110
  • #37 main
    at main.c line 101

	Inferior 1 [process 2694] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** GLib-GObject **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
** Gtk **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
Comment 1 Dan Williams 2010-11-18 22:36:42 UTC
Does creating a WEP-protected network work?

As of the 2.6.32 - 2.6.34 kernel WPA Adhoc networking did not work in the kernel (the drivers said it succeeded but it showed up as WEP not WPA) so we may still have kernel issues.  If a WEP protected network works, but WPA does not, then that's likely the issue.  Let me know...
Comment 2 Maciej (Matthew) Piechotka 2010-11-19 00:46:56 UTC
(In reply to comment #1)
> Does creating a WEP-protected network work?
> 
> As of the 2.6.32 - 2.6.34 kernel WPA Adhoc networking did not work in the
> kernel (the drivers said it succeeded but it showed up as WEP not WPA) so we
> may still have kernel issues.  If a WEP protected network works, but WPA does
> not, then that's likely the issue.  Let me know...

I'll try but after starting nm-applet again it seems to work - iwlist seems to show a WPA network.
Comment 3 Maciej (Matthew) Piechotka 2010-11-23 15:54:27 UTC
It does not crash with WEP.
Comment 4 Dan Williams 2010-11-24 05:02:50 UTC
Thanks, good to know. This is most likely an issue with NM trying to match the network that the card actually created with the one that NM wanted the card to create.  It should probably fail the whole operation, but clearly NM should not crash when that happens.
Comment 5 Maciej (Matthew) Piechotka 2010-12-09 22:46:34 UTC
(In reply to comment #4)
> Thanks, good to know. This is most likely an issue with NM trying to match the
> network that the card actually created with the one that NM wanted the card to
> create.  It should probably fail the whole operation, but clearly NM should not
> crash when that happens.

After it crash I can create the network but it is unencrypted despite all indicates it is (including key in iwconfig).
Comment 6 Jiri Klimes 2011-02-10 20:40:59 UTC
It should be fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=632123#c12