Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22202 - [blueman] crash

Attached to Project: Community Packages
Opened by govindarajulu (17.poison) - Friday, 24 December 2010, 02:59 GMT
Last edited by Ionut Biru (wonder) - Saturday, 26 February 2011, 08:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: error in libpython


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:


just ran blueman-appplet


#dmesg
.............
...........
..............
EXT4-fs (sda1): re-mounted. Opts: commit=0
EXT4-fs (sda2): re-mounted. Opts: commit=0
blueman-applet[3026]: segfault at 7f02e4d52080 ip 00007f02e4826e5f sp 00007fff2a212818 error 7 in libpython2.7.so.1.0[7f02e47a4000+171000]
#
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 26 February 2011, 08:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  blueman 1.21-7
Comment by Øyvind Heggstad (Mr.Elendig) - Friday, 24 December 2010, 13:49 GMT
Please list the version of python2, blueman and any other relevant packages.
Comment by govindarajulu (17.poison) - Saturday, 25 December 2010, 02:19 GMT
blueman 1.21-6
python2 2.7.1-3
python-notify 0.1.1-8
dbus-python 0.83.1-2
pygobject 2.26.0-2
Comment by Jelle van der Waa (jelly) - Thursday, 20 January 2011, 17:10 GMT
works here with the latest blueman, is the bluetooth daemon running?
and edit the title and add blueman
Comment by Ionut Biru (wonder) - Thursday, 20 January 2011, 17:18 GMT
that alone doesn't say anything unless you start debugging properly.

fire up gdb, get a proper backtrace.
Comment by Allan McRae (Allan) - Saturday, 19 February 2011, 00:06 GMT
I'll add another works for me. So either this has been fixed in the meantime or we are going to need more info to fix. Request reopen if needed.
Comment by Michal Kolodziejczyk (miko) - Friday, 25 February 2011, 20:33 GMT
  • Field changed: Percent Complete (100% → 0%)
This error happens in some situations. For me blueman-applet always dumps core when run for the first time (autostarted with the desktop session):

blueman-applet[2790]: segfault at b60b3048 ip b76593d4 sp bf841d74 error 7 in libpython2.7.so.1.0[b75f1000+132000]

but then when I start it manually it works. I have the same package versions as in comment #2, except newer python2:
python2 2.7.1-6

I am using my mouse over bluetooth, so it is critical for me. It did not happen before, but does happen for some time (a guess a few weeks) after package upgrades (I do update packages every few days).
Comment by Rémy Oudompheng (remyoudompheng) - Friday, 25 February 2011, 22:37 GMT
Please don't reopen bug reports unless you have an explicit backtrace of the crash and a meaningful analysis of the problem. Saying "program X crashes" is not a description of a problem.
Comment by Rémy Oudompheng (remyoudompheng) - Friday, 25 February 2011, 22:52 GMT
Also note that finding a segfault in libpython does not necessarily mean that python is broken. It might mean that some binary python module coming with blueman is poorly written/compiled, like the problems we had with pygtk and python 2.7
Comment by Allan McRae (Allan) - Friday, 25 February 2011, 23:51 GMT
This bug report is useless unless we get a back track or even an limit it down to the package upgrade that caused the issue. Multiple people could not replicate on bug day.
Comment by govindarajulu (17.poison) - Saturday, 26 February 2011, 02:18 GMT
this is what it ways when i run it on terminal
   pastbin (8.5 KiB)
Comment by Allan McRae (Allan) - Saturday, 26 February 2011, 02:26 GMT
You will need to run it under gdb to get a backtrace.
Comment by govindarajulu (17.poison) - Saturday, 26 February 2011, 03:29 GMT
blueman-applet is written in python.
how do u run it in gdb?
Comment by Allan McRae (Allan) - Saturday, 26 February 2011, 05:42 GMT
gdb python2
run /usr/bin/blueman-applet
Comment by govindarajulu (17.poison) - Saturday, 26 February 2011, 07:53 GMT
here is the output
Comment by Allan McRae (Allan) - Saturday, 26 February 2011, 08:00 GMT
Try:

Change line 173 of
/usr/lib/python2.6/site-packages/blueman/main/PulseAudioUtils.py
from
pythonapi.Py_DecRef(data)
to
pythonapi.Py_DecRef(py_object(data))

(from https://bugzilla.redhat.com/show_bug.cgi?id=536786)
Comment by govindarajulu (17.poison) - Saturday, 26 February 2011, 08:16 GMT
its working...... :))

thanks :))
Comment by govindarajulu (17.poison) - Saturday, 26 February 2011, 08:17 GMT
i guess we can close this bug report!
Comment by Allan McRae (Allan) - Saturday, 26 February 2011, 08:17 GMT
@ioni: according to the Fedora bug report, that fix has been approved by the upstream dev. So you can rebuild away! :P

Loading...