GNOME Bugzilla – Bug 664550
Segfault in adapter_added() when BT dongle is replugged in search page
Last modified: 2011-11-25 10:49:22 UTC
Created attachment 201914 [details] [review] Check if variant is valid and unref it only if not NULL Steps to reproduce: 1. plug an USB Bluetooth dongle 2. start bluetooth-wizard and go to Device Search page 3. unplug the dongle 4. replug the dongle, segfault backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00867184 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 (gdb) bt
+ Trace 229096
After fixing this segfault the following message would appear: (bluetooth-wizard:10493): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
Review of attachment 201914 [details] [review]: Looks good.