Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112217

Summary: net-wireless/gnome-bluetooth - gnome-obex-server crashes when receiving file
Product: Gentoo Linux Reporter: Tadas Dailyda <tadas>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED FIXED    
Severity: major CC: steven
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: permissiondialog.gob patch
fixed ebuild (0.6.0)

Description Tadas Dailyda 2005-11-11 12:54:23 UTC
As discussed in gnome-bluetooth mailing list
(http://lists.gnomehack.com/pipermail/gnome-bluetooth/2005-October/000996.html)
There is a bug in src/permissiondialog.gob file.
A patch
(http://cvs.gnome.org/viewcvs/gnome-bluetooth/src/permissiondialog.gob?r1=1.9&r2=1.10&makepatch=1&diff_format=u)
is available.
I attach this patch and fixed ebuild.

Reproducible: Always
Steps to Reproduce:
1. run gnome-obex-server
2. send a file from another bluetooth device to computer
Actual Results:  
gnome-obex-server crashes

Expected Results:  
gnome-obex-server should not crash
Comment 1 Tadas Dailyda 2005-11-11 12:55:59 UTC
Created attachment 72698 [details, diff]
permissiondialog.gob patch
Comment 2 Tadas Dailyda 2005-11-11 12:57:36 UTC
Created attachment 72699 [details]
fixed ebuild (0.6.0)
Comment 3 Tadas Dailyda 2005-11-11 12:58:34 UTC
I forgot to mention that this only happens with version 0.6.0
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-11 13:22:49 UTC
Please, always put ebuild name and version into bug summary. 
Comment 5 Steven 2006-02-06 13:26:14 UTC
Also had this bug with gnome-obex-server-6.0

Output was:
conn_request:   bdaddr 00:01:E3:32:4D:D6
conn_complete:  status 0x00
** Message: Incoming connection from 00:01:E3:32:4D:D6
** Message: Device 00:01:E3:32:4D:D6 is about to send an object.
*** glibc detected *** double free or corruption (!prev): 0x080b16e0 ***


The patch above worked like a charm.

Now I have 2 remarks:
- This bug was filed in november 2005, the patch seems to work very well. Is there a reason why it's not added to the portage tree ?
- It's kinda hard to find info about applying patches.  Isn't it possible to create a link on this page to a short walkthrough to do this ?
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 14:54:55 UTC
yeah, haven't had time to fix it and plus this bug was assigned to me rather than the correct herd so that it could be correctly picked up by other herd devs.

fixed in 0.6.0-r1