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 614467 - applet crashes when disabling bluetooth (double-free).
applet crashes when disabling bluetooth (double-free).
Status: RESOLVED NOTGNOME
Product: gnome-bluetooth
Classification: Core
Component: applet
2.30.x
Other Linux
: Urgent critical
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2010-03-31 14:11 UTC by Baptiste Mille-Mathias
Modified: 2010-04-01 09:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
valgrind logs (16.38 KB, application/x-gzip)
2010-03-31 17:59 UTC, Baptiste Mille-Mathias
Details

Description Baptiste Mille-Mathias 2010-03-31 14:11:14 UTC
It seems a crasher appears in 2.30 when one disable bluetooth.
I don't have a valgrind log for now but trying to get one at https://bugs.edge.launchpad.net/bug/552140

for now I have only the stacktrace (http://launchpadlibrarian.net/42565560/Stacktrace.txt)

I try to get back with the needed material asap.
Comment 1 Fabio Durán Verdugo 2010-03-31 15:28:32 UTC
paste here the stacktrace

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 ??
    from /lib/tls/i686/cmov/libc.so.6
  • #4 ??
    from /lib/tls/i686/cmov/libc.so.6
  • #5 ??
    from /lib/tls/i686/cmov/libc.so.6
  • #6 free
    from /lib/tls/i686/cmov/libc.so.6
  • #7 IA__g_free
    at /build/buildd/glib2.0-2.24.0/glib/gmem.c line 191
  • #8 ??
  • #9 g_io_unix_dispatch
    at /build/buildd/glib2.0-2.24.0/glib/giounix.c line 162
  • #10 g_main_dispatch
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c line 1960
  • #11 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c line 2513
  • #12 g_main_context_iterate
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c line 2591
  • #13 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c line 2799
  • #14 IA__gtk_main
    at /build/buildd/gtk+2.0-2.20.0/gtk/gtkmain.c line 1219
  • #15 main

Comment 2 Baptiste Mille-Mathias 2010-03-31 17:59:46 UTC
Created attachment 157622 [details]
valgrind logs

it doens't crash under valgrind/
Comment 3 Bastien Nocera 2010-04-01 09:02:50 UTC
Bug isn't readable downstream, and the valgrind traces are missing debuginfo for gnome-bluetooth.

This is most likely wrong:
  • #7 IA__g_free
    at /build/buildd/glib2.0-2.24.0/glib/gmem.c line 191

You'll want to check your patches...
Comment 4 Sebastien Bacher 2010-04-01 09:13:46 UTC
right the issue is a distro one, we don't have specific change but backported the leak fix from git some time ago and didn't drop it with the update, it still success to apply but duplicate the g_free too , I'm fixing that now...
Comment 5 Bastien Nocera 2010-04-01 09:42:46 UTC
(In reply to comment #4)
> right the issue is a distro one, we don't have specific change but backported
> the leak fix from git some time ago and didn't drop it with the update, it
> still success to apply but duplicate the g_free too , I'm fixing that now...

The patch you shipped was not sent upstream, and I had to go fish it out of the Ubuntu packages. Not nice.