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 150388 - Crashed on file send
Crashed on file send
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
0.5
Other other
: Normal critical
: ---
Assigned To: Edd Dumbill
Edd Dumbill
: 158310 163266 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-08-17 18:06 UTC by Santiago Gala
Modified: 2009-02-25 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Santiago Gala 2004-08-17 18:07:30 UTC
Distribution: Gentoo Base System version 1.5.2
Package: gnome-bluetooth
Severity: critical
Version: GNOME2.6.2 0.5.1
Gnome-Distributor: Gentoo Linux
Synopsis: Crashed on file send
Bugzilla-Product: gnome-bluetooth
Bugzilla-Component: obex
Bugzilla-Version: 0.5.1
BugBuddy-GnomeVersion: 2.0 (2.6.1.1)
Description:
Description of the crash:

I sent a file from the phone to the computer. It asked if I accepted it
and crashed

Steps to reproduce the crash:
1. 
2. 
3. 

Expected Results:

File transfer

How often does this happen?


Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/gnome-obex-server'

(no debugging symbols found)...Using host libthread_db library
"/lib/libthread_db.so.1".
0x0ee48360 in waitpid ()
   from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 gnomebt_permissiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #4 gnomebt_permissiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #5 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #6 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #7 gtk_widget_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 _start
  • #9 g_cclosure_marshal_VOID__STRING
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 btctl_obex_new
    from /usr/lib/libbtctl.so.1
  • #15 btctl_discovery_source_set_callback
    from /usr/lib/libbtctl.so.1
  • #16 btctl_discovery_source_set_callback
    from /usr/lib/libbtctl.so.1
  • #17 FdOBEX_TransportSetup
    from /usr/lib/libopenobex-1.0.so.1
  • #18 FdOBEX_TransportSetup
    from /usr/lib/libopenobex-1.0.so.1
  • #19 FdOBEX_TransportSetup
    from /usr/lib/libopenobex-1.0.so.1
  • #20 OBEX_CustomDataFeed
    from /usr/lib/libopenobex-1.0.so.1
  • #21 btctl_obexserver_source_client_close
    from /usr/lib/libbtctl.so.1
  • #22 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #24 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #25 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 main




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-08-17 14:07 -------


Unknown version 0.5.1 in product gnome-bluetooth. Setting version to "0.5".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-bluetooth".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Wade Mealing 2004-09-14 11:19:22 UTC
Fedora Core 2, Rawhide 0908.0 PPC

[wmealing@ibook ~]$ rpm -qa | grep blue
bluez-hcidump-1.10-1
bluez-utils-2.10-2
bluez-libs-2.10-2
bluez-pin-0.23-3
bluez-bluefw-1.0-5
gnome-bluetooth-0.5.1-3



gnome-bluetooth 0.5.1 

Different backtrace, same problem.  The file transfers correctly except
gnome-obex-server crashes. 


Program received signal SIGTRAP, Trace/breakpoint trap.

Thread 805547392 (LWP 7083)

  • #0 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #1 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #2 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #3 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #4 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #5 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #6 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #7 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #8 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #9 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #10 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #11 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #12 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #13 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #14 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #15 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #16 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #17 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #18 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #19 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #20 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #21 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #22 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #23 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #24 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #25 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #26 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #27 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #28 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #29 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #30 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #31 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #32 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0
  • #33 gnomebt_fileactiondialog_get_type
    from /usr/lib/libgnomebt.so.0



Comment 2 Edd Dumbill 2004-09-15 07:28:36 UTC
I believe this has been fixed in CVS.  
Comment 3 harald 2004-10-08 11:54:35 UTC
is the bug in gob2?
Comment 4 Edd Dumbill 2004-10-08 11:58:12 UTC
Well, it's in the code that uses gob, yeah.  Here's the diff:



% cvs diff -u -r1.2 fileactiondialog.gob
Index: fileactiondialog.gob
===================================================================
RCS file: /cvs/gnome/gnome-bluetooth/src/fileactiondialog.gob,v
retrieving revision 1.2
diff -u -r1.2 fileactiondialog.gob
--- fileactiondialog.gob        17 Jun 2004 20:42:55 -0000      1.2
+++ fileactiondialog.gob        8 Oct 2004 11:57:46 -0000
@@ -51,13 +51,16 @@
     private const gchar *fname;

     private GdkPixbuf *icon = { gnomebt_icon (); }
-        destroywith gdk_pixbuf_unref;
+        destroywith g_object_unref;

     private GdkPixbuf *mimeicon = { NULL; }
-        destroywith gdk_pixbuf_unref;
+        destroywith g_object_unref;

        private GnomeVFSFileInfo *vfsinf = { NULL; }
-        destroywith gnome_vfs_file_info_unref;
+        destroy {
+                gnome_vfs_file_info_unref (vfsinf);
+                vfsinf = NULL;
+       };

     private gchar *uri = { NULL; }
         destroywith g_free;
@@ -114,6 +117,7 @@
             gnome_vfs_mime_application_free (self->_priv->app);
         }

+/* FIXME: make this DISCARD, not DELETE */
                self->_priv->deletebutton = GTK_WIDGET (gtk_dialog_add_button (
             GTK_DIALOG(self), GTK_STOCK_DELETE, GNOMEBT_FILEACTION_DELETE));
Comment 5 harald 2004-10-08 12:01:50 UTC
and the fixes in permissiondialog.gob ... thanks!
Comment 6 Edd Dumbill 2004-10-08 12:03:28 UTC
% cvs diff -u -r1.7 permissiondialog.gob
Index: permissiondialog.gob
===================================================================
RCS file: /cvs/gnome/gnome-bluetooth/src/permissiondialog.gob,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- permissiondialog.gob        17 Jun 2004 20:42:55 -0000      1.7
+++ permissiondialog.gob        29 Jul 2004 17:13:39 -0000      1.8
@@ -43,7 +43,7 @@
     private GtkWidget *rememberbutton;

     private GdkPixbuf *icon = { gnomebt_icon (); }
-        destroywith gdk_pixbuf_unref;
+        destroywith g_object_unref;

     private gboolean remember = FALSE;
Comment 7 Edd Dumbill 2004-11-15 10:21:33 UTC
*** Bug 158310 has been marked as a duplicate of this bug. ***
Comment 8 Edd Dumbill 2005-01-07 20:38:27 UTC
*** Bug 163266 has been marked as a duplicate of this bug. ***
Comment 9 Wade Mealing 2005-01-07 22:23:12 UTC
Gday Edd,

It is fixed in the upstream.  Have it working fine as of Nov 2004.

Fixed for my bug at least.
Comment 10 Edd Dumbill 2005-01-07 22:29:03 UTC
Yeah, I've just not dropped a new release with this fix in yet.  I'll mark this
bug fixed when I have done so.
Comment 11 Bastien Nocera 2005-08-01 22:56:00 UTC
Hopefully a release soon :)

2004-07-29  Frederic Crozat  <fcrozat@mandrakesoft.com>

        * src/fileactiondialog.gob:
        * src/permissiondialog.gob:
        Fix crash when using gcc 3.4.